centos simple process set up SVN server

yum -y install subversion

mkdir -p /work/svn && cd /work/svn

// Create Repository

svnadmin create test

--------------------------------------------

// add user name, password

vim test/conf/passwd

[users]

manhelp = 123456

--------------------------------------------

// add user groups and authentication

vim test/conf/authz

[groups]

admin = manhelp

[/]
@admin = rw
* = 

--------------------------------------------

// open configuration (to put out a few below the line)

vim test/conf/svnserve.conf

anon-access = read

auth-access = write

password-db = passwd

authz-db = authz

--------------------------------------------

// Find the SVN service, and turn off the (modified svnserve.conf file to restart SVN)

ps -ef | grep svn

kill -9 xx

// start with port SVN

svnserve -d -r /work/svn --listen-port 8999

// detected using SVN repository way

svn co svn://localhost:8999/test

 

Guess you like

Origin www.cnblogs.com/manhelp/p/11576609.html
Recommended