Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1502736
  • 博文数量: 164
  • 博客积分: 2993
  • 博客等级: 少校
  • 技术积分: 1718
  • 用 户 组: 普通用户
  • 注册时间: 2011-06-24 11:42
文章分类

全部博文(164)

文章存档

2014年(1)

2013年(36)

2012年(90)

2011年(37)

分类: 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 

大家根据自己的情况有所取舍
#make;make install

阅读(2082) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~