linux 安装apache(apr & apr-unit)
1.解压apache源码
# tar xvjf httpd-2.2.21.tar.gz # cd httpd-2.2.21
2.安装apr
# cd srclib/apr # ./configure --prefix=/usr/local/apr # make # make install
3.安装apr-util
# cd ../apr-util/ # ./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr # make # make install
4.安装apache
# cd ../../ #./configure --prefix=/usr/local/apache2 --enable-modules=so --enable-mods-shared=all --enable-proxy --enable-proxy-connect --enable-proxy-ftp --enable-proxy-http --enable-proxy-ajp --enable-proxy-balancer --enable-rewrite --enable-status --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util/ # make # make install
也可以不安装apr和apr-unit参见:
http://evan-shen.iteye.com/blog/1336141
相关推荐
Kafka 2020-09-18
Wepe0 2020-10-30
杜倩 2020-10-29
windle 2020-10-29
minerd 2020-10-28
mengzuchao 2020-10-22
Junzizhiai 2020-10-10
bxqybxqy 2020-09-30
风之沙城 2020-09-24
kingszelda 2020-09-22
大唐帝国前营 2020-08-18
yixu0 2020-08-17
TangCuYu 2020-08-15
xiaoboliu00 2020-08-15
songshijiazuaa 2020-08-15
xclxcl 2020-08-03
zmzmmf 2020-08-03
newfarhui 2020-08-03
likesyour 2020-08-01