First start off by installing Apache: sudo apt-get install apache2 Enter the root password and follow the instructions. Check that is it installed correctly by going to http://localhost and checking that you see the standard Apache "It works!" message. Then install subversion and the subversion Apache module: sudo apt-get install subversion libapache2-svn Then create a directory to store repositories in: sudo mkdir /var/svn/ sudo mkdir /var/svn/repositories and create a test repository: sudo svnadmin create /var/svn/repositories/test So that Apache can read and write the repository its user ( www-data ) needs to be given ownership of it: sudo chown -R www-data:www-data /var/svn/repositories/test To be able to authenticate users who access the repository a password file is needed: sudo htpasswd -c /etc/subversion/passwd paul Enter a password for the user paul . For additional users repeat the command without the -c option to make sure the existing file is appended to rather ...