Centos查找Tomcat路径并重启
[root@devrestcloud ~\]# find / -name \*tomcat\*
[root@devrestcloud ~]# cd /usr/tomcat/apache-tomcat-8.5.37/bin/
[root@devrestcloud bin]# sh startup.sh
Using CATALINA_BASE: /usr/tomcat/apache-tomcat-8.5.37 Using CATALINA_HOME: /usr/tomcat/apache-tomcat-8.5.37 Using CATALINA_TMPDIR: /usr/tomcat/apache-tomcat-8.5.37/temp
Using JRE_HOME: /usr/jdk/jdk1.8.0_201
Using CLASSPATH: /usr/tomcat/apache-tomcat-8.5.37/bin/bootstrap.jar:/usr/tomcat/apache-tomcat-8.5.37/bin/tomcat-juli.jar
Tomcat started.
喜欢请赞赏一下啦^_^