Centos6.5环境下搭建svn服务器

1、资源准备
(1)apache,
下载地址:http://mirrors.cnnic.cn/apache//httpd/httpd-2.2.29.tar.gz
(2)Subverson
下载地址 :http://subversion.tigris.org/downloads/subversion-1.6.12.tar.gz
2、安装(网上资源提示须先安装apache,再安装Subverson)
把安装压缩包[ httpd-2.2.29.tar.gz ]上传linux环境
$ tar zxf httpd-2.2.29.tar.gz
$ mv httpd-2.2.29   /usr/local/
$ cd /usr/local/httpd-2.2.29/
$ ./configure --prefix=/usr/local/apache 
        --enable-dav --enable-so --with-included-apr && make && make install
   在安装过程中遇到了:no acceptable C compiler found in $PATH 这个错误,
   参考解决方案:http://www.shangxueba.com/jingyan/121655.html
$ cd /usr/local/apache/bin
   ./apachectl start
   遇到问题: Could not reliably determine the server's fully qualified domain name, 
    using 127.0.0.1 for ServerNa
    ./bin/apachectl restart
   浏览器输入ip:80 出现 It works! apache 安装成功.....

安装Svn
$ tar zxf subversion-1.6.12.tar.gz
$ tar zxf subversion-deps-1.6.12.tar.gz  
$ cd /usr/local/subversion-1.6.12
$ rm -rf apr
$ rm -rf apr-util
$ ./configure --prefix=/usr/local/subversion --with-apxs=/usr/local/apache/bin/apxs 
  --with-apr=/usr/local/apache/bin/apr-1-config --with-apr-util=/usr/local/apache/bin/apu-1-config    --without-berkeley-db --with-openssl=/usr/local/ssl  && make && make install    
    遇到错误:error: no XML parser was found: expat or libxml 2.x required 
  参考解决:http://theron19.iteye.com/blog/709652 
  遇到错误:configure: error: We require OpenSSL; try --with-openssl
    参考解决:http://blog.csdn.net/wwww1988600/article/details/24182919
   遇到错误:Apache version incompatible with APR version
    参考解决:http://jingyan.baidu.com/article/4b07be3c5cd75348b380f3c3.html





$
参考:http://www.educity.cn/net/1619051.html
http://blog.csdn.net/han_dongwei/article/details/8269639
http://www.cnblogs.com/selfly/archive/2011/01/14/1935715.html 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值