Setting up a Subversion server
sudo apt-get install subversion
Create 'svn' user
Copy svn repositories or create svn repositories in /home/svn. In the first case make sure to set svn as the owner of the files.
sudo chmod g+w -R /home/svn
sudo chmod g+s -R /home/svn
Add start-up command:
svnserve -d -r /home/svn/