1. 程式人生 > >Apache2.2.9 安裝

Apache2.2.9 安裝

安裝:

·apr

#tar -zxvf apr-1.3.2.tar.gz
#cd apr-1.3.2
#./configure --prefix=/usr/java/apr-httpd/
#make
#make install

·apr-util

#tar -zxvf apr-util-1.3.2.tar.gz
#cd apr-util-1.3.2
#./configure --prefix=/usr/java/apr-util-httpd/ --with-apr=/usr/java/apr-httpd/
#make
#make install

·apache

#tar -zxvf httpd-2.2.9.tar.gz
#cd httpd-2.2.9
#./configure --prefix=/usr/java/apache22 /
--with-apr=/usr/java/apr-httpd /
--with-apr-util=/usr/java/apr-util-httpd /
--enable-so /
--enable-rewrite /
--enable-vhost-alias /
#make