This post was published to Silicon Magic at 5:22:42 PM 3/28/2009
[Enter Post Title Here]
- Create repository
Create a svn repository by the command
$ svnadmin create /usr/svn/svnroot
Edit for authenticationEdit [general] section of svnroot/conf/svnserve.conf file as[general]anon-access = write
This will allow anonymous user to checkout and commit svn server. To restrict access to user do the followingEdit the [general] section of svnserve.conf as[general]
anon-access = none
auth-access = write
authz-db = authz
password-db = passwd
- Edit the [/] section of authz file as
[/]
user1 = rw
user2 = r
* =
c. Edit the [user] section of passwd file as
[user]
user1 = pass1
user2 = pass2
Start SVN repositoryStart/Initiate repository by the following command$ svnserve -d -r /usr/svn/svnroot
