Note: The standard is not original, but the original author based on a slight improvement and add content, please support the original author, thank you
Original Author Blog: http://51power.blog.51cto.com/3549599/1663904
About SVN
SVN is the abbreviation for Subversion, is an open source version control system, compared to RCS, CVS, it uses the branch management system, its design goal is to replace CVS. Many version control services on the Internet have migrated from CVS to Subversion
Demo Environment
1.centos6.5 x64
2. Turn off iptables, SELinux
#/etc/init.d/iptables Stop//Turn off Firewall # chkconfig iptables off//set boot not on
# Vim/etc/selinux/config//Switch off selinux# selinux=enforcing to selinux=disabled
Software version
Apr-1.5.1.tar.gz
Apr-util-1.5.3.tar.gz
Httpd-2.2.27.tar.gz
Sqlite-amalgamation-3.6.17.tar.gz
Sqlite-amalgamation-3071501.zip
Subversion-1.8.10.tar.gz
Click to download all packages above
SVN build
1. Installing Apache
# tar zxf httpd-2.2.27.tar.gz# cd httpd-2.2.27#./configure--prefix=/usr/local/svn/apache--enable-dav--enable-so-- enable-modules=most# make && make install
2. Install Apr
# tar zxf apr-1.5.1.tar.gz# cd apr-1.5.1#./buildconf #验证系统是否已经安装python, autoconf, Libtool, if not installed, use Yum or RPM to install the appropriate package.
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/75/ED/wKioL1ZFRlKQtJf6AAAV_Bg5RFs411.png "title=" 1.png " alt= "Wkiol1zfrlkqtjf6aaav_bg5rfs411.png"/>
#./configure--prefix=/usr/local/svn/apr# make && make install
3. Installing Apr-util
# tar zxf apr-util-1.5.3.tar.gz# cd apr-util-1.5.3#./configure--prefix=/usr/local/svn/apr-util--with-apr=/usr/local /svn/apr# make && make install
4. Install SQLite
Note: Error when configuring SVN due to normal installation of SQLite
Error encountered while configure: Get the SQLite 3.7.15.1amalgamation from:http://www.sqlite.org/ Sqlite-amalgamation-3071501.zipunpack the archive Usingunzip and rename the Resultingdirectory to:/app/soft/ Subversion-1.8.10/sqlite-amalgamationconfigure:error:subversion requires SQLite
Addressing the dependency approach
# tar zxf sqlite-amalgamation-3.6.17.tar.gz# unzip Sqlite-amalgamation-3071501.zip # CP sqlite-amalgamation-3071501/* S qlite-3.6.17# CD sqlite-3.6.17/#./configure--prefix=/usr/local/svn/sqlite# make && make install
5. Install SVN
# tar zxf subversion-1.8.10.tar.gz# cd subversion-1.8.10#./configure--prefix=/usr/local/svn/subversion--with-apxs=/ Usr/local/svn/apache/bin/apxs--with-apr=/usr/local/svn/apr/bin/apr-1-config--with-apr-util=/usr/local/svn/ Apr-util/bin/apu-1-config--with-sqlite=/usr/local/svn/sqlite/--with-openssl--with-zlib--enable-maintainer-mod# Make && make install
This article is from the "Chun Blog" blog, please be sure to keep this source http://ssc4469.blog.51cto.com/6315913/1712389
Apache + SVN Environment setup and Svnsync backup