Tomcat8.0.15 because there is CVE 2020-1938 Tomcat file read Inclusion Vulnerabilities
So tell 8.0.15 version upgrade to version 8.5.51
With linux-based
Download Link
Linux :
http://archive.apache.org/dist/tomcat/tomcat-8/v8.5.51/bin/apache-tomcat-8.5.51.tar.gz
win
http://archive.apache.org/dist/tomcat/tomcat-8/v8.5.51/bin/apache-tomcat-8.5.51.zip
- The end of the original tomcat
ps -ef |grep tomcat
kill -9 2775
ps -ef | grep tomcat tomcat has confirmed closed
- Install the new original tomcat tomcat installation directory defaults to / usr / local / tomcat
tar -zxvf apache-tomcat-8.5.51.tar.gz
- The old tomcat configuration file TOMCAT_HOME / conf / server.xml server.xml replace the new version of tomcat, avoid reconfiguring content
cp /usr/local/tomcot/apache-tomcat-8.0.15/conf/server.xml /usr/local/tomcot/apache-tomcat-8.5.51/conf/
- Copy the project to the new project directory tomcat
The default project directory path: /usr/local/tomcot/apache-tomcat-8.0.15/webapps
docs, examples, host-manager, manager, ROOT is not moving, which is the default tomcat project
- Start tomcat
cd /usr/local/tomcot/apache-tomcat-8.5.51/bin/
./startup.sh