因爲安全提示升級到svn 1.7sql
可是使用yum 又沒有源,因此使用源碼編譯apache
1) SSH to your server as root and remove old version if installed from yum
yum remove subversion
2) Goto /usr/local/src
cd /usr/local/src
3) Download source from安全
http://subversion.apache.org/download/svn
wget http://labs.mop.com/apache-mirror/subversion/subversion-1.7.6.tar.bz2
tar xvf subversion-1.7.6.tar.bz2post
若是沒有這個文件,到主站下載 http://subversion.apache.org/download/server
4) 進入svn目錄sqlite
cd /usr/local/src/subversion-1.7.6
wget http://rahulsoni.me/files/apr-util-1.3.12.tar.gz
wget http://rahulsoni.me/files/apr-1.4.5.tar.gz
tar zxf apr-util-1.3.12.tar.gz
tar zxf apr-1.4.5.tar.gz
wget http://www.sqlite.org/sqlite-amalgamation-3071300.zip
unzip sqlite-amalgamation-3071300.zip
mv sqlite-amalgamation-3071300 sqlite-amalgamation
./configure
make
make installip
執行命令看svn版本rem
/usr/local/bin/svn --versionget
Result would be.
svn, version 1.7.6 (r1370777)
Please feel free to post comment if you face problems with installation.