1

1.下载tomcat7

wget http://mirrors.hust.edu.cn/apache/tomcat/tomcat-7/v7.0.85/bin/apache-tomcat-7.0.85.tar.gz

2.解压

tar -zxvf apache-tomcat-7.0.85.tar.gz

3.添加端口8080到防火墙并重启

firewall-cmd --zone=public --add-port=8080/tcp --permanent
firewall-cmd --reload

4.启动tomcat

cd apache-tomcat-7.0.85/bin/
./startup.sh 

5.打开浏览器测试

clipboard.png

出现一只三脚猫,至此安装成功


Apollo
39 声望0 粉丝