CentOS 6.6永久关闭 SELinux与iptables 的方法
永久关闭SELinux
修改配置文件
# vi /etc/selinux/config
将SELINUX=enforcing改为SELINUX=disabled
需要重启机器生效!!
关闭防火墙
开启: chkconfig iptables on
关闭: chkconfig iptables off
临时关闭防火墙
开启: service iptables start
关闭: service iptables stop

浙公网安备 33010602011771号