全部博文(164)
分类: LINUX
2012-07-13 16:07:58
一. 编译和安装apr,apr下载:
# tar -zxvf apr-1.3.0.tar.gz
#cd apr-1.3.0
#./configure --prefix=/usr/local/apr
# make
# make install
# 编译和安装 apr-util-1.3.0.tar.gz
#cd apr-util-1.3.0
#./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr
# make
# make install
下载Apache ht
tp://apache.mirror.phpchina.com/httpd/httpd-2.2.9.tar.gz
解压缩 安装 httpd
#tar -zxvf httpd-2.2.9.tar.gz
#cd httpd-2.2.9
#./configure --prefix=/usr/local/apache2安装路径 --enable-module=so生成动态文件 --enable-ssl=sharedSSL安全链接 --enable-rewrite=shared 写入 --enable-proxy=shared代理 --enable-deflate=shared --with-mpm=worker --enable-expires=shared --enable-speling=shared --enable-mods-shared=all --enable-module=most --enable-mods-shared=all --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util --with-included-apr