SVN: Create New Repository in Ubuntu

SVN: Create New Repository in Ubuntu

Check SVNParentPath at /etc/apache2/mods-available/dav_svn.conf

Go to the [SVNParentPath]:

$ cd [SVNParentPath]

Create the project directory:

$ sudo mkdir myproject

The SVN repository can be created using the following command:

$ sudo svnadmin create [SVNParentPath]/myproject

And use the following commands to correct file permissions:

$ cd [SVNParentPath]
$ sudo chown -R www-data:subversion myproject
$ sudo chmod -R g+rws myproject

Leave a Reply

Your email address will not be published. Required fields are marked *

1 × two =