下载httpd-2.2.3.tar.gz
#cd /usr/local/src
#tar zxvf httpd-2.2.23.tar.gz
#cd httpd-2.2.3
首先配置
#./config\
?--prefix=/usr/local/apache
apache安装目录
?--enable-shares=max\
?--enable-module=rewrite\
?--enable-module=so
#make
#make install
安装结束
/bin执行目录/conf配置文件/htdocs网页文件/logs日志文件
#/usr/local/apache/bin/httpd -k start/stop/restart