本人安装的subversion的版本是:1.8.11
1.去各官方网站下载安装包:
a. apr-1.5.1.tar.gz http://apr.apache.org/download.cgi
b. apr-util-1.5.4.tar.gz http://apr.apache.org/download.cgi
c. httpd-2.2.29.tar.gz http://httpd.apache.org/
d. serf-1.2.1.tar.bz2
e. neon-0.30.1.tar.gz http://www.webdav.org/neon/
f. subversion-1.8.11.tar.bz2和subversion-1.8.11.tar.gz(这个版本需要这两个文件)
http://subversion.apache.org/download/#recommended-release
2. 首先通过rpm -qa | grep 包名 查看是否对应的软件是否已经安装(具体可以百度)
3. # tar -zxvf apr-1.5.1.tar.gz解压对应的软件包
# cd apr-1.5.1
# ./configure --prefix=/usr/local/apr
# make && make install
4. # tar -zxvf apr-util-1.5.4.tar.gz
# cd apr-util-1.5.4
# . /configure --with-apr=/usr/local/apr
# make && make install
5. # tar -zxvf httpd-2.2.29.tar.gz
# cd httpd-2.2.29
# ./configure --prefix=/usr/local/apache --enable-dav --enable-modules=so --enable-maintainer-mode
--enable-rewrite --with-apr=/usr/local/apr/bin/apr-1-config --with-apr-util=/usr/local/apr/bin/apu-1-config
# make && make install
6. # tar -zxvf serf-1.2.1.tar.bz2
# cd serf-1.2.1
# ./configure --prefix=/usr/local/serf
# make && make install
7. # tar -zxvf neon-0.30.1.tar.gz
# cd neon-0.30.1
#./configure --prefix=/usr/local/neon
# make && make install
8. # tar -zxvf subversion-1.8.11.tar.bz2
# tar -zxvf subversion-1.8.11.tar.gz
# cd subversion-1.8.11
# cd zlib
#./configure --prefix=/usr/local/zlib
#make
#make install
# cd .. # ./configure --with-apxs=/usr/local/apache/bin/apxs --prefix=/usr/local/subversion
--with-apr=/usr/local/apr/bin/apr-1-config --with-apr-util=/usr/local/apr/bin/apu-1-config
–with-neon=/usr/local/neon --with-ssl --with-zlib=/usr/local/zlib --enable-maintainer-mode
备注:不同系统环境,由于文件的依赖关系,可能会出现安装的问题,具体问题,可以百度查找.
查看页面:
(1):http://hlz2599.wap.blog.163.com/w2/blogDetail.do?blogId=fks_087065092081087070081094085065072087085065087081094071083082&p=3&hostID=hlz_2599
(2):http://www.centoscn.com/CentosServer/ftp/2014/0202/2408.html
(3):http://bovin.szecp.com/?p=109