SELinuxの無効化について - CentOS|Systems Engineer Wiki

Systems Engineer Wiki

訪問者:23,852,578 人目

<< 2021年06月 

12345
6789101112
13141516171819
20212223242526
27282930
お知らせ・メンテナンス情報
  >  
  >  
SELinuxの無効化について

SELinuxの無効化について

投稿日:2015-01-04 03:27:29

SELinuxの無効化について

CentOS 6.X SELinuxを有効化しているとhttpを経由したSubversionの環境構築やApacheログローテーション設定に影響を及ぼすため機能を停止します。

# vi /etc/sysconfig/selinux

# This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled - No SELinux policy is loaded. # SELINUX=enforcing SELINUX=disabled # SELINUXTYPE= can take one of these two values: # targeted - Targeted processes are protected, # mls - Multi Level Security protection. SELINUXTYPE=targeted

追記が完了したら、ファイルを上書き保存しCentOSの再起動を行います。

# reboot または # shutdown -r now