Before installing SVN, assume that your Apache has been installed.
Apache detailed installation instructions see: http://www.bkjia.com/ OS /201203/125411.html 1. install svn sudo apt-get install subversion sudo apt-get install libapache2-svn 2. configure httpd of Apache. conf file vi/etc/apache2/httpd. conf <Location/svn> DAV repository/svnAuthType Basic AuthName "subversion repository" AuthUserFile/svn/passwd AuthzSVNAccessFile/svn/authRequire valid-user </Location> www.2cto.com to create the svn root directory, create a repos version Library
# Mkdir/svn/repos # svnadmin create/svn/repos # chmod 777-R/svn/repos 3. when the user name and password are configured in step 1, we have specified the user password configuration file:/svn/passwd # htpasswd-c/svn/passwd admin to create an admin user 4. when configuring user (Group) permissions in step 1, we have specified the user permission configuration file as follows: /svn/auth # vi/svn/auth [groups] developers = admin [/] developers = rw * = r 5. restart Apache sudo/etc/init. d/apache2 restart 6. open the browser on another computer and enter the svn URL for authentication. Then, you can see that the SVN server has basically been installed. From Zhang jianbo's column