sed -i s#SELINUX=Enforcing#SELINUX=disabled#g /etc/selinux/config   //更改配置文件

cat /etc/selinux/config  //查看是否生效

init 6   //重启后生效


说明:建议此操作在新装linux时操作