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
原文:https://www.cnblogs.com/psycho/p/14821786.html