摘要: ...看到报错:DocumentRoot must be a directory,请查看SELinux的状态# getenforceEnforcing请关闭SELinux# setenforce 0# getenforcePermissive# vim /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 阅读全文
posted @ 2012-07-12 10:28 陳聽溪 阅读(354) 评论(0) 推荐(0)
摘要: #cd /data/src#tar -xvzf httpd-2.0.52.tar.gz#cd httpd-2.0.52#./configure --prefix=/usr/local/apache2 --enable-module=so --enable-rule=SHARED_CORE\--enable-rewrite && make && make install备注:不要添加参数:--with-mpm=worker了[root@lc httpd-2.0.52]# cd /usr/local/apache2/[root@lc apache2]# ./bin/ 阅读全文
posted @ 2012-07-12 10:22 陳聽溪 阅读(397) 评论(0) 推荐(0)