临时关闭
[root@xuegod63~]# getenforce
Enforcing
[root@xuegod63~]# setenforce 0
setenforce:SELinux is disabled
永久关闭
[root@xuegod63 ~]# vim /etc/selinux/config
改:7SELINUX=enforcing #前面的7,表示文档中第7行。方便你查找
为:7SELINUX=disabled
[root@xuegod63 ~]# reboot