[[email protected] ~]# getenforce ← SELinux状態確認
Enforcing ← SELinux有効
[[email protected] ~]# setenforce 0 ← SELinux無効化
[[email protected] ~]# getenforce ← SELinux状態確認
Permissive ← SELinux無効
[[email protected] ~]# vi /etc/sysconfig/selinux ← SELinux設定ファイル編集
SELINUX=enforcing
↓
SELINUX=disabled ← システム起動時にSELinuxを無効化