iptables -L iptables -F systemctl disable firewalld
[root@python3 ~]# getenforce Enforcing [root@python3 ~]# setenforce 0 [root@python3 ~]# getenforce
vim /etc/selinux/config
将文件的SELINUX的值改为0
SELINUX=0
原文:https://www.cnblogs.com/zhaijihai/p/10222158.html