正文CentOS 7 关闭SelinuxIP云V管理员/2022-11-30/3 阅读 11/30提示:扫一扫查出行【扫一扫了解最新限行尾号】复制提示 临时关闭: [root@localhost ~]# getenforce Enforcing [root@localhost ~]# setenforce 0 [root@localhost ~]# getenforce Permissive 永久关闭: [root@localhost ~]# vim /etc/sysconfig/selinux SELINUX=enforcing 改为 SELINUX=disabled 修改配置需要重启 [root@localhost ~]# reboot