centos_tomcat
centos_tomcat
wget http://archive.apache.org/dist/tomcat/tomcat-8/v8.0.24/bin/apache-tomcat-8.0.24.tar.gz
tar -zxvf apache-tomcat-8.0.24.tar.gz
启动你的tomcat ./apache-tomcat-6.0.39/bin/startup.sh
访问: http://localhost:8080
./apache-tomcat-6.0.39/bin/shutdown.sh
让tomcat开机启动:编辑 /etc/rc.d/rc.local
vi /etc/rc.d/rc.local
export JAVA_HOME=/usr/local/jdk1.6.0_32
/home/admin/soft/apache-tomcat-6.0.39/bin/startup.sh
/usr/local/tomcat/apache-tomcat-8.0.24/bin
/usr/local/tomcat/apache-tomcat-8.0.24/bin
jdk1.7.0_79