SELinux Shutdown

要讓 KSMG 在 RED OS、Red Hat Enterprise Linux 和 Rocky Linux 作業系統上執行,您必須停用 SELinux

要停用 SELinux:

  1. 請在系統啟動時檢查 SELinux 的啟動設定。為此,請執行以下指令:

    cat /etc/selinux/config

  2. 如果 SELINUX 參數執行值,則停用在系統啟動時啟動 SELinux。要執行此操作,請在 /etc/selinux/config file 中指定 SELINUX=disabled 而非 SELINUX=enforcing
  3. 檢查 SELinux 的目前狀態。為此,請執行以下指令:

    sestatus

  4. 如果 SELinux 狀態參數有已允許值,則停用 SELinux。為此,請執行以下指令:

    setenforce 0

SELinux 將被停用。

頁面頂端