selinux

禁止selinux方法

永久关闭

修改/etc/sysconfig/selinux,SELINUX=enforcing /enabled改为 SELINUX=disabled,重启

临时关闭

[root@localhost ~]# getenforce

Enforcing

[root@localhost ~]# setenforce 0

[root@localhost ~]# getenforce

Permissive

原文地址:https://www.cnblogs.com/7q4w1e/p/9553690.html