下载地址:http://httpd.apache.org/download.cgi
1,解压缩
tar -xzvf httpd-2.0.63.tar.gz
2,配置
./configure --prefix=/usr/local/apache --enable-module=all --enable-shared=max
3,编译
make
4,安装
make install
5,管理
apachectl start
apachectl stop
apachectl restart
6,删除
rm -rf /usr/local/apache