|
|
发表于 2005-8-26 11:42:51
|
显示全部楼层
Post by bonitoyu
Go to Applictions-->Security Level --> SELinux, mark the checkbox of "Disable SELinux protection for httpd daemon". Then I can stard my apache.
我发现很多人都把SELinux禁用了。建议有什么问题之后暂时改成permissive,看log然后再改相应配置。直接disable简直浪费了这个功能。
安全第一!
/etc/sysconfig/selinux
[PHP]# 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
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted[/PHP] |
|