Repository xyz:
$ sudo mkdir -p /var/lib/svn/ $ sudo svnadmin create /var/lib/svn/xyz <-- create repository named 'xyz' $ sudo chown -R www-data:www-data /var/lib/svn <-- change owner $ sudo chmod -R 775 /var/lib/svn
$ sudo htpasswd -cm /etc/apache2/dav_svn.passwd admin <-- admin $ sudo htpasswd -m /etc/apache2/dav_svn.passwd user1 <-- user1 $ sudo htpasswd -m /etc/apache2/dav_svn.passwd user2 <-- user2
$ sudo apt-get install subversion libapache2-mod-svn libapache2-svn libsvn-dev
$ svn --version svn, version 1.9.3 (r1718519) compiled Aug 10 2017, 16:59:15 on x86_64-pc-linux-gnu Copyright (C) 2015 The Apache Software Foundation.