In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article shows you what Apache Tomcat vulnerabilities and upgrade methods, concise and easy to understand, absolutely can make your eyes shine, through the detailed introduction of this article I hope you can gain something.
Download the new version of 7.5, stable version 7.5.107.
Address Link: tomcat.apache.org/download-70.cgi
2. Upload Apache Tomcat installation package apache-tomcat-7.0.107.tar.gz to the host/usr/local directory.
3. View tomcat installation directory
by ps-ef| After grep java finds the process PID, use pwdx + process PID to find the specific path, as shown in the following figure:
You can see the specific directory location of tomcat: /home/weblogic/apache-tomcat-7.0.57/bin
End the original tomcat process
ps –ef |grep tomcat
kill -9 27683
ps -ef |grep tomcat confirms tomcat service is down
The requested URL/home/weblogic/was not found on this server.
tar -zxvf apache-tomcat-7.0.107.tar.gz
6. Replace the old tomcat configuration file TOMCAT_HOME/conf/server.xml with the server.xml of the new version of tomcat to avoid reconfiguring the content.
cp /home/weblogic/apache-tomcat-7.0.57/conf/server.xml /home/weblogic/apache-tomcat-7.0.107/conf/
Copy the project to the new tomcat project directory
Project directory default path: /home/weblogic/apache-tomcat-7.0.57/webapps docs, examples, host-manager, manager, ROOT are not moved, these are tomcat default projects
Switch to the webapps directory of the new version of tomcat and check whether the copy is successful, as shown in the following figure:
Backup the old Tomcat and rename the new Tomcat
mv apache-tomcat-7.0.57 apache-tomcat-7.0.57.20201222
9. Start a new tomcat
cd /home/weblogic/apache-tomcat-7.0.107/bin
./ startup.sh
10. Verify that the app works:
The above is what Apache Tomcat vulnerability and upgrade methods, you learned knowledge or skills? If you want to learn more skills or enrich your knowledge reserves, 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.