1.启动tomcat
进入tomcat目录的bin目录下
执行
[root@iZ253lxv4i0Z bin]# ./startup.sh
Using CATALINA_BASE: /usr/local/tomcat/apache-tomcat-7.0.
Using CATALINA_HOME: /usr/local/tomcat/apache-tomcat-7.0.
Using CATALINA_TMPDIR: /usr/local/tomcat/apache-tomcat-7.0./temp
Using JRE_HOME: /usr
Using CLASSPATH: /usr/local/tomcat/apache-tomcat-7.0./bin/bootstrap.jar:/usr/local/tomcat/apache-tomcat-7.0./bin/tomcat-juli.jar
Tomcat started.