Chinaunix首页 | 论坛 | 博客
  • 博客访问: 390568
  • 博文数量: 58
  • 博客积分: 2096
  • 博客等级: 大尉
  • 技术积分: 608
  • 用 户 组: 普通用户
  • 注册时间: 2008-09-29 16:09
个人简介

专注于数据库技术研究和实践,目前就职于互联网金融企业,提供Oracle数据库技术支持和维护。 联系电话:18616803656

文章分类

全部博文(58)

文章存档

2020年(1)

2019年(4)

2018年(1)

2017年(3)

2015年(4)

2014年(7)

2012年(1)

2011年(27)

2010年(8)

2009年(2)

我的朋友

分类: LINUX

2010-05-22 13:54:49

本来打算用Apache 2.2.14的,可以安装成功,但是在和SVN集成的时候出了点错误(libsvn_subr-1.so.0: undefined symbol: apr_hash_clear),没找到解决办法,所以继续使用Apache 2.2.8.

I. Install Environment and Software Version

1. Centos 5.4

2. 

3. 

4. 

5. 

6. 

7.

 

1. Install BDB 4.4.20

      tar zxf db-4.4.20.tar.gz
cd db-4.4.20/build_unix/
../dist/configure
make
make install

 

2. Install openldap-2.4.21

      tar zxf openldap-2.4.21.tgz
cd openldap-2.4.21
CPPFLAGS="-I/usr/local/BerkeleyDB.4.4/include" LDFLAGS="-L/usr/local/BerkeleyDB.4.4/lib" LD_LIBRARY_PATH="/usr/local/BerkeleyDB.4.4/lib" ./configure -prefix=/usr/local/openldap -enable-ldbm
make depend
make
make test
make install

3. Install Zlib

        tar xjf subversion-deps-1.6.9.tar.bz2
tar xjf subversion-1.6.9.tar.bz2
cd subversion-1.6.9/zlib
CFLAGS="-O3 -fPIC" ./configure
make
make install

 

4. Install openssl-1.0.2

        tar zxf openssl-1.0.2.tar.gz
cd openssl-1.0.2
./config --prefix=/usr/local/openssl zlib
make
make install

5. Install Apr,Apr-til

        tar xjf httpd-2.2.8.tar.bz2
cd httpd-2.2.8/srclib/apr
./configure --prefix=/usr/local/apache2/apr --with-berkeley-db=/usr/local/BerkeleyDB.4.4
make
make install
cd ../apr-util
./configure --prefix=/usr/local/apache2/apr-util --with-apr=/usr/local/apache2/apr --with-ldap --with-ldap-include=/usr/local/openldap/include/ --with-ldap-lib=/usr/local/openldap/lib --with-berkeley-db=/usr/local/BerkeleyDB.4.4 LD_LIBRARY_PATH="/usr/local/BerkeleyDB.4.4/lib"
make
make install

 

6. Install Neon

       cd subversion-1.6.9/neon

      ./configure --with-apr=/usr/local/apache2/apr --with-ssl --with-libs=/usr/local/openssl
make
make install

      这里安装可能会报个错:error: could not find library containing RSA_new

      需要安装: yum install openssl-devel expat-devel libxml2-devel

 

7. Install Apache 2.2.8

        cd httpd-2.2.8
./buildconf
./configure -enable-lib64 -libdir=/usr/lib64 --prefix=/usr/local/apache2 --with-apr=/usr/local/apache2/apr --with-apr-util=/usr/local/apache2/apr-util --enable-so --enable-dav --enable-dav-fs --enable-dav-lock --enable-ldap --enable-authnz-ldap --enable-mods-shared=most --enable-ssl --enable-module=shared --enable-maintainer-mode
make
make install

8. Install Subversion 1.6.9

      cd subversion-1.6.9

      ./configure --prefix=/usr/local/subversion --with-apxs=/usr/local/apache2/bin/apxs --with-apr=/usr/local/apache2/apr/bin/apr-1-config --with-apr-util=/usr/local/apache2/apr-util/bin/apu-1-config --with-ssl --with-berkeley-db LD_LIBRARY_PATH="/usr/local/BerkeleyDB.4.4/lib"
make
make install

 

安装就大功告成了,后面就是从SVN 1.4.6迁移到1.6.9的事情了,继续!


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