1、运行命令sudo vim /etc/sysconfig/selinux

2、找到行SELINUX=enforcing

3、替换为SELINUX=disabled保存退出reboot

4、重启后 运行命令 sestatusSELinux status : disabled永久关闭selinux成功

1、运行命令sudo vim /etc/sysconfig/selinux

2、找到行SELINUX=enforcing

3、替换为SELINUX=disabled保存退出reboot

4、重启后 运行命令 sestatusSELinux status : disabled永久关闭selinux成功
