下载Tomcat:
cd /home
wget http://mirrors.shu.edu.cn/apache/tomcat/tomcat-8/v8.0.50/bin/apache-tomcat-8.0.50.tar.gz
解压压缩包:
tar -zxv apache-tomcat-8.0.50.tar.gz
启动Tomcat:
/home/apache-tomcat-8.0.50/bin/startup.sh
如果在尝试运行后提示CentOS未安装或者未配置Java运行环境,请安装:
yum install java