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.gz2、安装(网上资源提示须先安装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