centos 下tomcat安装
1. 下载jdk8
wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F;oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u73-b02/jdk-8u73-linux-x64.rpm
rpm -ivh jdk*.rpm
2. 下载 tomcat
wget http://mirrors.cnnic.cn/apache/tomcat/tomcat-8/v8.0.32/bin/apache-tomcat-8.0.32.tar.gz
tar xzf apache-tomcat-8.0.32.tar.gz
mv apache-tomcat-8 /usr/local/tomcat8
3. 启动tomcat
# cd /usr/local/tomcat8
# ./bin/startup.sh