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

Systems Engineer Wiki

訪問者:23,223,439 人目

<< 2021年05月 

1
2345678
9101112131415
16171819202122
23242526272829
3031
お知らせ・メンテナンス情報
  >  
  >  
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