第一道

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

 

相关文章:

  • 2021-09-25
  • 2021-08-06
猜你喜欢
  • 2021-12-05
  • 2021-11-18
  • 2021-12-27
相关资源
相似解决方案