CentOS Linux关闭防火墙

新安装完CentOS Linux,发现配置完apache后没法访问,估计是防火墙问题。

/etc/init.d/iptables status

会得到一系列信息,说明防火墙开着。/etc/init.d/iptables stop

永久关闭: chkconfig --level 35 iptables off

原文地址:https://www.cnblogs.com/myphoebe/p/2229987.html