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