SVN Setup on Linux Box
- Create the Repository
- Allow the Apache to read and write to the repository
- Create the permissions file with the first user.
- Edit the apache2.conf file
sudo svnadmin create /var/svn/repositories/testsudo chown -R www-data:www-data /var/svn/repositories/testsudo htpasswd -c /etc/subversion/passwd dragon
Subsequent users can be added by same command WITHOUT the -c option.
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
Post a Comment