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

2、找到行SELINUX=enforcing

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

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

时间:2024-10-30 17:45:06
1、运行命令sudo vim /etc/sysconfig/selinux
2、找到行SELINUX=enforcing
3、替换为SELINUX=disabled保存退出reboot
4、重启后 运行命令 sestatusSELinux status : disabled永久关闭selinux成功