SVN Setup on Linux Box

  • Create the Repository
  • sudo svnadmin create /var/svn/repositories/test

  • Allow the Apache to read and write to the repository
  • sudo chown -R www-data:www-data /var/svn/repositories/test

  • Create the permissions file with the first user.
  • sudo htpasswd -c /etc/subversion/passwd dragon

    Subsequent users can be added by same command WITHOUT the -c option.

  • Edit the apache2.conf file
  • sudo gedit /etc/apache2/apache2.conf
    <Location /svn>
         DAV svn
         SVNParentPath /var/svn/repositories/
         SVNListParentPath On
         AuthType Basic
         AuthName "Test"
         AuthUserFile /etc/subversion/passwd
         <LimitExcept GET PROPFIND OPTIONS REPORT>
            Require valid-user
         </LimitExcept>
    </Location>
    

Comments

Popular posts from this blog

Personal Contact Manager

An apt quote

Alone