/sbin/iptables -I INPUT -p tcp --dport 8080 -j ACCEPT /etc/rc.d/init.d/iptables save
进入tomcat的bin下启动:./startup.sh 进入tomcat的bin下关闭:./shutdown.sh