http://svn.collab.net/repos/svn/trunk/doc/user/svn-best-practices.html
http://svn.collab.net/repos/svn/trunk/INSTALL
Installing subversion on CentOS
1. Install packages using yum
yum install subversion mod_dav_svn 2. Prepare the repository. mkdir /var/www/svn
cd /var/www/svn
svnadmin create myrepo
chown -R apache.apache myrepo
3. create user password
### First time: use -c to create the file
### Use -m to use MD5 encryption of the password, which is more secure
htpasswd -cm /etc/svn-auth-file mpecher #adding more users:
#htpasswd -m /etc/svn-auth-file sally 4. setup httpd.conf <Location /svn>
DAV svn
SVNParentPath /var/www/svn
#commenting the limit below will block all access
#<LimitExcept GET PROPFIND OPTIONS REPORT>
AuthType Basic
AuthName "Subversion repos"
AuthUserFile /etc/svn-auth-file
Require valid-user
#</LimitExcept>
</Location> CustomLog logs/svn_logfile "%t %u %{SVN-ACTION}e" env=SVN-ACTION
5.
Now we are ready to restart httpd.
service httpd restart