#!/bin/bash yum -y remove subversion mkdir -p /dist/{dist,src} cd /dist/dist /bin/rm -f openssl* subversion* wget "http://www.openssl.org/source/openssl-1.0.1e.tar.gz" wget "http://labs.mop.com/apache-mirror/subversion/subversion-1.7.9.tar.gz" wget "http://mirror.bjtu.edu.cn/apache/apr/apr-1.4.6.tar.gz" wget "http://mirror.bjtu.edu.cn/apache/apr/apr-util-1.5.2.tar.gz" wget "http://www.sqlite.org/2013/sqlite-autoconf-3071602.tar.gz" wget "http://www.webdav.org/neon/neon-0.29.6.tar.gz" wget "http://zlib.net/zlib-1.2.8.tar.gz" cd /dist/src rm -rf openssl* rm -rf subversion* rm -rf apr* rm -rf sqlite* rm -rf neon* tar xf /dist/dist/openssl-1.0.1e.tar.gz cd openssl-1.0.1e ./config --prefix=/usr/local/ssl-1.0.1e shared ./config -t make make install echo '/usr/local/ssl-1.0.1e/lib' >/etc/ld.so.conf.d/openssl.conf ldconfig -v cd /dist/src tar xf /dist/dist/apr-1.4.6.tar.gz cd apr-1.4.6/ ./configure --prefix=/usr/local/apr make make install cd /dist/src tar xf /dist/dist/apr-util-1.5.2.tar.gz cd apr-util-1.5.2/ ./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr make make install cd /dist/src tar xf /dist/dist/sqlite-autoconf-3071602.tar.gz cd sqlite-autoconf-3071602 ./configure --prefix=/usr/local/sqlite make make install cd /dist/src tar xf /dist/dist/neon-0.29.6.tar.gz cd neon-0.29.6 ./configure --prefix=/usr/local/neon --with-ssl=openssl make make install cd /dist/src tar xf /dist/dist/zlib-1.2.8.tar.gz cd zlib-1.2.8 ./configure make make install cd /dist/src tar xf /dist/dist/subversion-1.7.9.tar.gz cd subversion-1.7.9 ./configure --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util --with-sqlite=/usr/local/sqlite --with-ssl --without-berkeley-db --with-neon=/usr/local/neon make make install mv /usr/bin/svn /usr/bin/oldsvn ln -s /usr/local/bin/svn /usr/bin/svn echo `svn --version`
svn服务端安装脚本
原创muzinan110 博主文章分类:版本管理 ©著作权
©著作权归作者所有:来自51CTO博客作者muzinan110的原创作品,请联系作者获取转载授权,否则将追究法律责任

提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
服务端测试之PostMan自动生成测试脚本
PostMan智能化测试实战
接口测试 自动化测试 服务端测试 PostMan -
服务端测试实战
服务端测试开发技术详解
自动化测试 服务端测试 API测试 接口自动化测试 -
centos(linux)安装SVN(subversion)服务端
centos(linux)安装SVN(subversion)服务端
linux centos svn javascript