centos关闭防火墙
systemctl stop firewalld
systemctl stop iptables
systemctl disable firewalld.service
systemctl disable iptables.service
sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config
setenforce 0
systemctl stop firewalld
systemctl stop iptables
systemctl disable firewalld.service
systemctl disable iptables.service
sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config
setenforce 0