Apache 服务安装

安装:
[root@yznvm1 yzn]# wget http://labs.renren.com/apache-mirror//httpd/httpd-2.2.21.tar.gz

[root@yznvm1 yzn]# tar xzvf httpd-2.2.21.tar.gz
[root@yznvm1 yzn]# cd httpd-2.2.21
[root@yznvm1 httpd-2.2.21]# ./configure -prefix=/usr/local/apache -enable-so -enable-rewrite -with-mpm=worker
[root@yznvm1 httpd-2.2.21]# make && make install
检查
[root@yznvm1 httpd-2.2.21]# /usr/local/apache/bin/apachectl -l

posted @ 2012-01-11 11:22  羽化成蝶  阅读(130)  评论(0编辑  收藏  举报