Installing SVN on Ubuntu
A step by step guide can be found here:
The above link should be very informative. A few quick points to note,
- Enabling http/https protocol means other protocols cannot be used in parallel (at least for write), since the user (owner) needs to be changed to www-data for http and https, and other protocols would not be able to write. (Checkout should still be possible)
- Setup the svn directory inside /home. i.e., /home/svn, and add repositories inside this. e.g., /home/svn/repository1 . Projects are created inside the repository. Make sure the repository has the right directory permissions to allow for writes/reads.
- Assuming, you need only the svn protocol, you may need to edit a couple of files to make things work,
- In the svnserve.conf file under repository/conf/, set anon-access = none, unless you want to allow anyone to checkout. auth-access = write.
- You can add users and passwords in the passwd file inside repository/conf/ .
