首页 > 代码库 > centos7安装svn1.8.16

centos7安装svn1.8.16

svn下载地址:http://subversion.apache.org/download/

svn要依赖一些包,可以提前装好

yum install apr-util apr-util-devel
yum install sqlite sqlite-devel

还要依赖openssl和zlib,可以参考http://www.cnblogs.com/ystq/articles/5919114.html

解压后,进入svn主目录

./configure --prefix=/usr/local/svn --with-openssl=/usr/local/openssl --with-zlib=/usr/local/lib/zlib --without-berkeley-db
make && make install

查看是否安装成功

/usr/local/svn/bin/svnserve --version

技术分享

 

centos7安装svn1.8.16