在CentOS下面永久关闭SELinux - 鼎峰VPS 帮助中心
在CentOS下面永久关闭SELinux
文章分类: [Linux] 发布时间:2015-4-17 12:29 Friday 浏览(684)

1      # vi /etc/selinux/config

2      #SELINUX=enforcing     #注释掉
3      #SELINUXTYPE=targeted  #注释掉
4      SELINUX=disabled  #增加
5      Esc,:wq  #保存,关闭。
6      shutdown -r now   #重启系统

标签: CentOS SELinux