⒈软件获取:http://httpd.apache.org/现在最新的版本是http-2.2.6
⒉安装步骤:
cd download path
tar zvxf httpd-2.2.6.tar.gz
cd download path/httpd-2.2.6
./configure –prefix=/usr/local/apache2 –enable-so –enable-ssl
make
make install
现在已经将 httpd-2.2.6 安装在 /usr/local/apache2.
启动apache
cd /usr/local/apache2/bin apachectl start
如果成功,可以停止 Apache 服务器:
/usr/local/apache2/bin/apachectl stop
#vi /etc/rc.d/rc.local
添加:
/var/www/bin/apachectl start ---开机自动启动apache服务
(From:http://www.diybl.com/course/6_system/linux/Linuxjs/2007114/84114.html)