SVNサーバー側にスクリプトをインストール
インストール手順:
1.モジュールをダウンロード
#!/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"
2.opensslのインストール
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
3.aprのインストール
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
4.apr-utilのインストール
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
5.sqliteのインストール
cd /dist/src
tar xf /dist/dist/sqlite-autoconf-3071602.tar.gz
cd sqlite-autoconf-3071602
./configure –prefix=/usr/local/sqlite
make
make install
6.neonのインストール
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
7.subversionのインストール
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`