CentOS7安装SVN1.9.12
- 检查卸载原有的svn
svn --version # 检查是否原有svn yum remove svn # 卸载原有svn
- 安装依赖:
apr-1.6.5
mkdir /opt/software/svnpackage cd /opt/software/svnpackage wget http://mirror.bit.edu.cn/apache/apr/apr-1.6.5.tar.gz tar -zxvf apr-1.6.5.tar.gz cd apr-1.6.5 ./configure --prefix=/opt/module/svnpackage/apr-1.6.5 make make install
apr-util-1.6.1
cd /opt/software/svnpackage wget https://mirrors.aliyun.com/apache/apr/apr-util-1.6.1.tar.gztar zx apr-util-1.6.1.tar.gz cd apr-util-1.6.1 ./configure --prefix=/opt/module/svnpackage/apr-util-1.6.1 --with-apr=/opt/module/svnpackage/apr-1.6.5/bin/apr-1-config make && make install sqlite-autoconf-3210000 cd /opt/software/svnpackage wget http://www.sqlite.org/2017/sqlite-autoconf-3210000.tar.gz tar -zxvf sqlite-autoconf-3210000.tar.gz cd sqlite-autoconf-3210000 ./configure --prefix=/opt/module/svnpackage/sqlite make && make install zlib-1.2.11 cd /opt/software/svnpackage wget http://www.zlib.net/zlib-1.2.11.tar.gz tar -zxvf zlib-1.2.11.tar.gz cd zlib-1.2.11 ./configure --prefix=/opt/module/svnpackage/zlib make && make install subversion-1.9.12 cd /opt/software/svnpackage wget http://mirrors.tuna.tsinghua.edu.cn/apache/subversion/subversion-1.9.7.tar.gz tar -zxvf subversion-1.9.12.tar.gz cd subversion-1.9.12 ./configure --prefix=/opt/module/subversion-1.9.12 --with-apr=/opt/module/svnpackage/apr-1.6.5 --with-apr-util=/opt/module/svnpackage/apr-util-1.6.1 --with-sqlite=/opt/module/svnpackage/sqlite --with-zlib=/opt/module/svnpackage/zlib make && make install
- 环境变量
vi /etc/profile export SVN_HOME=/opt/module/subversion-1.9.12 export PATH=$PATH:$GIT_HOME/bin
- 测试安装版本
svn --version
相关推荐
ECSHOP专属建设 2020-11-13
xzjforDream 2020-09-23
fenggit 2020-09-15
起点 2020-08-17
leehbhs 2020-07-26
leehbhs 2020-07-04
pub_svnserve.conf的 pub_authz.conf的配置文件有非法字符的原因引起,需要查找pub_authz.conf提的非法内容比如多余的空格删除或直接将pub_authz.conf
起点 2020-06-28
leehbhs 2020-06-20
dingqinghu 2020-06-16
dengweijunkedafu 2020-06-09
nebulali 2020-05-27
起点 2020-05-10
起点 2020-05-05
83520298 2020-05-04