tar zxvf apache-tomcat-8.5.38.tar.gz
mv apache-tomcat-8.5.38 /usr/local/tomcat
cd /usr/local/tomcat/
/usr/local/tomcat/bin/startup.sh (报错的话就是缺少jdk)
tar zxvf jdk-8u191-linux-x64.tar.gz
cd jdk1.8.0_191/
vim /usr/local/tomcat/bin/setclasspath.sh(添加jdk路径)
/usr/local/tomcat/bin/startup.sh