执行 ./startup.sh 报错
[root@VM-0-5-centos bin]# ./startup.sh
Cannot find /usr/local/apache-tomcat-7.0.105/bin/setclasspath.sh
This file is needed to run this program
[root@VM-0-5-centos bin]# unset CATALINA_HOME
[root@VM-0-5-centos bin]# ./startup.sh
Using CATALINA_BASE: /usr/local/tomcat/apache-tomcat-7.0.105
Using CATALINA_HOME: /usr/local/tomcat/apache-tomcat-7.0.105
Using CATALINA_TMPDIR: /usr/local/tomcat/apache-tomcat-7.0.105/temp
Using JRE_HOME: /usr
Using CLASSPATH: /usr/local/tomcat/apache-tomcat-7.0.105/bin/bootstrap.jar:/usr/local/tomcat/apache-tomcat-7.0.105/bin/tomcat-juli.jar
Tomcat started.
执行
unset CATALINA_HOME
后启动成功