CentOS Install SVN Server

# yum install subversion

# cd /usr/local/

# mkdir svnrep

# svnadmin create /usr/local/svnrep

cd conf

authz is the permission control file passwd is the account password file svnserve.conf is the SVN service configuration file

[users]

# harry = harryssecret

# sally = sallyssecret

guest = 123456

[/]

guest = rw

* =

[groups]

group1 = aaa,bbb

group2 = guest

[/]

@group1 = rw

@group2 = r

* =

anon-access = read # anonymous user Readable
auth-access = write # Authorized users can write
password-db = passwd # Which file to use as the account file
authz-db = authz # Which file to use as the authority file
realm = Ensk’s SvnRep # Repository authentication domain, when using SVN client access, it will appear in the prompt message, it is best to customize the domain logo to facilitate the identification of the library

# svnserve -d -r /usr/local/svnrep

default 3690

# svnserve -d -r /usr/local/svnrep –listen-port 3691

< p># svnserve -d -r /usr/local/svnrep1 –listen-port 3692

Leave a Comment

Your email address will not be published.