1. Install Subversion
sudo apt-get install subversion libapache2-svn apache2
2. Where you want to keep repository?
sudo mkdir /svn
sudo gedit /etc/apache2/mods-enabled/dav_svn.conf
Delete everything and make it this instead:
<Location /svn>
DAV svn
SVNParentPath /svn
AuthType Basic
AuthName "Subversion Repository"
AuthUserFile /etc/apache2/dav_svn.passwd
Require valid-user
</Location>
3. Create a user
sudo htpasswd -cm /etc/apache2/dav_svn.passwd username
4. Setup first repository
cd /svn
sudo svnadmin create test
5. Make sure you have all of the proper permissions for the repository
sudo chown -R www-data:www-data /svn
6. Restart Apache service
sudo /etc/init.d/apache2 restart
7. You are now ready to use TortoiseSVN for Windows or RapidSVN for Linux
8. Your repository URL is http://localhost/svn/test
Note: It looks like RapidSVN does not like spaces in its file names.
Please see PDF for original notes.
