CentOS 7安装与配置Tomcat8
1.下载安装包并上传服务器
2.解压
tar -zxvf apache-tomcat-8.5.16.tar.gz -C /opt/java
3.启动
cd /opt/java/apache-tomcat-8.5.16/bin
./startup.sh
4.将8080端口添加到防火墙例外并重启
firewall-cmd --zone=public --add-port=8080/tcp --permanent
firewall-cmd --reload