CentOS下启动Tomcat
http://tianlihu.iteye.com/blog/2010028
1. Tomcat的部署包存放的路径
/var/lib/tomcat6/webapps/
2. Tomcat的配置文件路径
/etc/tomcat6/
3. Tomcat的Jar包存放的路径
/usr/share/java/tomcat6
4. Tomcat中的Servlet API包存放的路径
/usr/share/java/apache-tomcat-apis/
其它配置文件
/etc/rc.d/init.d/tomcat6
/etc/sysconfig/tomcat6
/sbin/iptables -I INPUT -p tcp --dport 8080 -j ACCEPT
/etc/rc.d/init.d/iptables save
/etc/init.d/iptables status
启动Tomcat:
service tomcat6 restart
/etc/init.d/tomcat6 start
/etc/rc.d/init.d/tomcat6
posted on 2015-05-06 10:08 weiguoyuan 阅读(1121) 评论(0) 编辑 收藏 举报