selinux disable - 猿码设计师

selinux disable - 猿码设计师

 

临时关闭:

[root@localhost ~]# getenforce
Enforcing

[root@localhost ~]# setenforce 0
[root@localhost ~]# getenforce
Permissive

 

永久关闭:

[root@localhost ~]# vim /etc/sysconfig/selinux

SELINUX=enforcing 改为 SELINUX=disabled

重启服务reboot

posted @ 2019-10-14 15:02  ppju  阅读(446)  评论(0编辑  收藏  举报

加我,一起讨论技术噢