//启动tomcat服务[root@localhost bin]# ./startup.sh
Using CATALINA_BASE:/usr/local/tomcat
Using CATALINA_HOME:/usr/local/tomcat
Using CATALINA_TMPDIR:/usr/local/tomcat/temp
Using JRE_HOME:/usr/local/java/jdk1.8.0_211/jre
Using CLASSPATH:/usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar
Tomcat started.
如果启动失败,就到tomcat文件目录下的logs中查看日志文件
//注意,此时我是在 bin 目录下,你对应的路径自己进行修改[root@localhost bin]# cat ../logs/catalina.out