Code Snippet

Just another Code Snippet site

[SVN] Create new repo

Create repo :

svnadmin create --fs-type fsfs /home/svn/REPO

Change permission :

chown -R www-data:subversion /home/svn/REPO
chmod -R 770 /home/svn/REPO

Restart SVN :

/etc/init.d/svnserve restart

Update WebSVN file :

/etc/apache2/mods-enabled/dav_svn.conf

Add :

                <Location /REPO>
                  DAV svn
                  SVNPath /home/svn/REPO
                  AuthType Basic
                  AuthName "Subversion Repository"
                  AuthUserFile /etc/apache2/dav_svn.passwd
                  Require valid-user
                  SSLRequireSSL
                </Location>


Comments are currently closed.