close

--CentOS7

1. check SELinux status: getenforce

2. disable SELinux temporarily:setenforce 0

3. disable SELinux permanent: vi /etc/sysconfig/selinux and replace "SELINUX=enforcing" to "SELINUX=disabled" then reboot.

 

--Ubuntu 16.04

There is no SELinux installed default in Ubuntu.

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 stellaforauto 的頭像
    stellaforauto

    狂暴綿羊完勝企鵝教戰手冊

    stellaforauto 發表在 痞客邦 留言(0) 人氣()