进入/usr/local/apache-tomcat-8.0.24/bin 中执行:./startup.sh开启tomcat再执行如下systemctl stop firewalld.service(systemctl start firewalld.service),关闭防火墙。到此在Cnetos7下,已经能访问tomcat