SELinux

root>getenfore

root>setenforcec [0|1]

root> chcon

root>restorecon

================================

root>yum install ploicycoreutils-python

root>semanage

=============================

root>yum install setools-console

root>seinfo

root>sesearch --all -t httpd_sys_content_t

root>getsebools -a

root>setsebool -P httpd_enable_homedirs=1

===================================

root>yum install setroubleshoot setroubleshoot-server

root>/etc/init.d/auditd restart

root>/etc/init.d/httpd start

root>netstat -tnlp | grep http

root>echo "jdwang 2013.4.30" > index.html

root>ll index.html

root>mv index.html /var/www/html

root>links http://localhost/index.html -dump

root>cat /var/log/messages | grep setroubleshoot

root>sealert -l ????????????

root>links http://localhost/index.html -dump