Jack Posted May 12 Share Posted May 12 ------------------------------------------------------------------------- 關閉AppArmor ------------------------------------------------------------------------- 查看apparmor是否開啟與保護情況 sudo apparmor_status 列出apparmor所有可用配置檔案 ls /etc/apparmor.d/ 完全停用apparmor sudo systemctl disable apparmor 重新開機 sudo reboot ------------------------------------------------------------------------- 遇到有安裝selinux時,如何關閉selinux ------------------------------------------------------------------------- 觀看selinux的狀態 sudo sestatus 如果啟用,會顯示 SELinux status: enabled vi /etc/selinux/config 查找 SELINUX=permissive 或者 SELINUX=enforcing 改為 SELINUX=disabled 儲存並離開 :wq 重開機 sudo reboot Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now