Create Subversion repository

How to create a Subversion repository in Linux (e.g. Ubuntu)

Create a subversion repository

If your Subversion server is located in /srv/svn/:

  1. sudo svnadmin create /srv/svn/myproject
  2. sudo chown -R www-data:subversion /srv/svn/myproject
  3. sudo chmod -R g+rws /srv/svn/myproject