首页 > 其他 > 详细

【Vegas原创】Centos查找Tomcat路径并重启

时间:2021-05-25 15:35:15      阅读:24      评论:0      收藏:0      [点我收藏+]
[root@devrestcloud ~]# find / -name *tomcat*
/etc/selinux/targeted/active/modules/100/tomcat
/usr/local/hostguard/benchmarks/tomcat.zip
/usr/lib/python2.7/site-packages/sos/plugins/tomcat.pyo
/usr/lib/python2.7/site-packages/sos/plugins/tomcat.pyc
/usr/lib/python2.7/site-packages/sos/plugins/tomcat.py
/usr/tomcat
/usr/tomcat/apache-tomcat-8.5.37.tar.gz
/usr/tomcat/apache-tomcat-8.5.37
/usr/tomcat/apache-tomcat-8.5.37/lib/tomcat-util.jar
/usr/tomcat/apache-tomcat-8.5.37/lib/tomcat-i18n-es.jar
/usr/tomcat/apache-tomcat-8.5.37/lib/tomcat-jdbc.jar
/usr/tomcat/apache-tomcat-8.5.37/lib/tomcat-api.jar
/usr/tomcat/apache-tomcat-8.5.37/lib/tomcat-util-scan.jar
/usr/tomcat/apache-tomcat-8.5.37/lib/tomcat-dbcp.jar
/usr/tomcat/apache-tomcat-8.5.37/lib/tomcat-websocket.jar
/usr/tomcat/apache-tomcat-8.5.37/lib/tomcat-coyote.jar
/usr/tomcat/apache-tomcat-8.5.37/lib/tomcat-i18n-ja.jar
/usr/tomcat/apache-tomcat-8.5.37/lib/tomcat-i18n-ru.jar
/usr/tomcat/apache-tomcat-8.5.37/lib/tomcat-i18n-fr.jar
/usr/tomcat/apache-tomcat-8.5.37/lib/tomcat-jni.jar
/usr/tomcat/apache-tomcat-8.5.37/bin/tomcat-native.tar.gz
/usr/tomcat/apache-tomcat-8.5.37/bin/tomcat-juli.jar
/usr/tomcat/apache-tomcat-8.5.37/webapps/ROOT/WEB-INF/lib-provided/tomcat-embed-el-9.0.27.jar
/usr/tomcat/apache-tomcat-8.5.37/webapps/ROOT/WEB-INF/lib-provided/tomcat-embed-core-9.0.27.jar
/usr/tomcat/apache-tomcat-8.5.37/webapps/ROOT/WEB-INF/lib-provided/tomcat-embed-websocket-9.0.27.jar
/usr/tomcat/apache-tomcat-8.5.37/webapps/ROOT/WEB-INF/lib-provided/spring-boot-starter-tomcat-2.2.0.BUILD-SNAPSHOT.jar
/usr/tomcat/apache-tomcat-8.5.37/webapps/restcloud-V4.2/restcloud-V4.2/WEB-INF/lib-provided/tomcat-embed-el-9.0.27.jar
/usr/tomcat/apache-tomcat-8.5.37/webapps/restcloud-V4.2/restcloud-V4.2/WEB-INF/lib-provided/tomcat-embed-core-9.0.27.jar
/usr/tomcat/apache-tomcat-8.5.37/webapps/restcloud-V4.2/restcloud-V4.2/WEB-INF/lib-provided/tomcat-embed-websocket-9.0.27.jar
/usr/tomcat/apache-tomcat-8.5.37/webapps/restcloud-V4.2/restcloud-V4.2/WEB-INF/lib-provided/spring-boot-starter-tomcat-2.2.0.BUILD-SNAPSHOT.jar
/usr/tomcat/apache-tomcat-8.5.37/conf/tomcat-users.xsd
/usr/tomcat/apache-tomcat-8.5.37/conf/tomcat-users.xml
[root@devrestcloud ~]# cd /usr/tomcat/apache-tomcat-8.5.37/bin/
[root@devrestcloud bin]# ls
bootstrap.jar  catalina.sh         commons-daemon.jar            configtest.bat  daemon.sh   digest.sh         setclasspath.sh  shutdown.sh  startup.sh       tomcat-native.tar.gz  tool-wrapper.sh  version.bat
catalina.bat   catalina-tasks.xml  commons-daemon-native.tar.gz  configtest.sh   digest.bat  setclasspath.bat  shutdown.bat     startup.bat  tomcat-juli.jar  tool-wrapper.bat      velocity.log     version.sh
[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.

【Vegas原创】Centos查找Tomcat路径并重启

原文:https://www.cnblogs.com/amadeuslee/p/14808529.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!