SVN setup, first time, using Apache:
1. install mod_dav_svn:
$ yum install mod_dav_svn.i386
2. edit /etc/httpd/conf.d/subversion.conf, add:
<Location /svn>
DAV svn
SVNPath /var/www/svn
</Location>
Which will create an SVN-repository (WebDAV-based) location in http://yourserver/svn based on the files in /var/www/svn
3. Create SVN repository:
$ svnadmin create /var/www/svn
4. Fix permissions:
$ chown -R apache.apache /var/www/svn
5. Restart Apache:
$ /etc/rc.d/init.d/httpd restart
Note: instead of using SVNPath, you can use SVNParentPath [as in: "SVNParentPath /var/www/svn"] to place mutiple svn repositories under a single DAV path.
For more info:
http://vibhu.info/tag/linux/
Back to Tech Journal