systemctl status firewalld.service
systemctl status iptables.service
关闭防火墙,selinux
15:54:43
运维-李浩 2017/11/8 15:54:43

systemctl stop firewalld.service #停止firewall
systemctl disable firewalld.service #禁止firewall开机启动
firewall-cmd --state #查看默认防火墙状态(关闭后显示notrunning,开启后显示running)

###########################
setenforce 0
vi /etc/selinux/config  将SELINUX=enforcing改为SELINUX=disabled  

05-16 13:48