In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
Today, the editor will share with you the relevant knowledge points about how to upgrade Jspxcms software. The content is detailed and the logic is clear. I believe most people still know too much about this knowledge, so share this article for your reference. I hope you can get something after reading this article. Let's take a look at it.
Folders that need to be kept
/ uploads: attachment folder. Files uploaded in the program are saved in this folder by default.
/ template: template folder. The template for the website is saved in this folder.
/ WEB-INF/fulltext: full-text indexed folder. The index files generated by the full-text search engine Lucene are saved in this folder.
Database configuration file
The Jspxcms6.0 and earlier database configuration files are located in / WEB-INF/conf/custom.properties.
Jspxcms6.5 and 7. 0 database configuration files are located in / WEB-INF/classes/custom.properties.
Jdbc.url, jdbc.username and jdbc.password are used to set up the database connection.
The Jspxcms8.0 and later database configuration files are located in / WEB-INF/classes/application.properties.
Spring.datasource.url, spring.datasource.username and spring.datasource.password are used to set up the database connection.
Install the package's web.xml
Jspxcms7.0 and earlier installers have two web.xml files, / WEB-INF/web.xml and / setup/file/web.xml. / WEB-INF/web.xml is used during installation, the installer creates database tables and initializes data, configures database connection addresses, and overrides / WEB-INF/web.xml with the formal / setup/file/web.xml.
Jspxcms8.0 and later versions do not have web.xml files.
Upgrade step
Read CHANGELOG.txt first to determine if an upgrade is required. In particular, the upgrade guide (if any) describes what changes need to be made to the template.
Complete backup of the original database and programs. Avoid data loss due to misoperation.
Stop the tomcat service.
Delete or move the original program ROOT directory to another directory.
Copy the installation package ROOT directory to the Tomcat deployment directory.
Delete the / uploads, / template, / WEB-INF/fulltext folders of the installation package (if they exist), and copy the original program folder with the same name.
Modify the installation package database configuration file. Spring.datasource.url, spring.datasource.username, spring.datasource.password values in / WEB-INF/classes/application.properties. (modified according to the corresponding files of the original program)
For Jspxcms7.0 and below, the / setup/file/web.xml of the installation package needs to be overwritten / WEB-INF/web.xml. This step is not required for Jspxcms8.0 and later versions.
Execute the database upgrade script, if necessary. The large version upgrade database usually changes (such as 5.x.x upgrade 6.x.x); the medium version upgrade database may change (e.g. 5.0.x upgrade 5.1.x) or it may not (e.g. 5.1.x upgrade 5.2.x); and the small version upgrade database usually does not change (e.g. 6.5.0 upgrade 6.5.1).
Modify the template according to CHANGELOG.txt 's upgrade guidelines, if any.
Start the tomcat service.
Upgrade complete.
These are all the contents of the article "how to upgrade Jspxcms Software". Thank you for reading! I believe you will gain a lot after reading this article. The editor will update different knowledge for you every day. If you want to learn more knowledge, please pay attention to the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.