SELinuxはセキュリティ上、とても強力だと思いますが、その為に、サーバ運用時には少し不便になる場合があります。 そのような場合は、SELinuxを無効にします。 まずは、SELinxの状況確認をします。 確認コマンドは下記となります。 sestatus 有効の場合は、下記のように表示されます。 SELinux status: enabled SELinuxfs mount: /selinux Current mode: enforcing Mode from config file: disabled Policy version: 21 Policy from config file: targeted 設定を無効にする場合は、下記を修正します。 /etc/selinux/config 【変更前】 SELINUX=enforcing 【変更後】 SELINUX=disabled 設定
![cloudpackブログ - SELinux設定を無効にする](https://cdn-ak-scissors.b.st-hatena.com/image/square/377a9c51a86d20c871561f0ba1caf65409e4f7f2/height=288;version=1;width=512/https%3A%2F%2Firet.media%2Fwp-content%2Fthemes%2Fclp_media%2Fimg%2Fcommon%2Fogp-thumbnail_1200x630.png%3F135792468)