在linux服务器上搭建自己的svn服务器

服务器自己安装svn

安装

yum -y install subversion
svn help

创建库

mkdir /opt/svn
svnadmin create /opt/svn/test

该配置文件

authz中追加
[/]
libin26=rw

svnserver.conf追加
anon-access = none
auth-access = write
password-db = passwd
authz-db = authz

passwd
libin26 = hest

服务启动

svnserve -d -r /opt/svn/
killall svnserve
svnserve -d -r /opt/svn/

服务启动

svn://111.231.137.11/test

组权限配置

authz

[aliases]
# joe = /C=XZ/ST=Dessert/L=Snake City/O=Snake Oil, Ltd./OU=Research Institute/CN=Joe Average

[groups]
# harry_and_sally = harry,sally
# harry_sally_and_joe = harry,sally,&joe

# [/foo/bar]
# harry = rw
# &joe = r
# * =

# [repository:/baz/fuz]
# @harry_and_sally = rw
# * = r

coder = tom,jim
[/]
* = r
@coder=rw

passwd

[users]
tom = hest
jim = 234xx

你可能感兴趣的:(spring)