Skip to content

Commit cf47f90

Browse files
committed
2017-03-03
1 parent 8366412 commit cf47f90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tomcat-Install-And-Settings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
- 一种方式:先关闭 iptables,防止出现拦截问题而测试不了:`service iptables stop`
1818
- 一种方式:在 iptables 中添加允许规则(Tomcat 默认端口是 8080):
1919
- 添加规则:`iptables -I INPUT -p tcp -m tcp --dport 8080 -j ACCEPT`
20-
- 保存规则:`/etc/rc.d/init.d/iptables save`
20+
- 保存规则:`service iptables save`
2121
- 重启 iptables:`service iptables restart`
2222
- 测试安装好后的 Tomcat:
2323
- 启动 Tomcat:`sh /usr/program/tomcat8/bin/startup.sh ; tail -200f /usr/program/tomcat8/logs/catalina.out`

0 commit comments

Comments
 (0)