标签:svn
yum install subversion
svnserve --version
mkdir -p /opt/svn
mkdir -p /opt/svn/shop/
svnadmin create /opt/svn/shop/
vi /opt/svn/shop/conf/svnserve.conf
[general]
anon-access = none
auth-access = write
password-db = passwd
authz-db = authz
realm = shop
vi /data/svn/repos/conf/passwd
[users]
admin = admin
wangsu = wangsu
test = test
vi /data/svn/repos/conf/authz
[groups]
admin = admin
test = wangsu,test
[shop:/]
@admin = rw
[shop:/test]
@admin = rw
@test = rw
svnserve -dr /opt/svn
ps aux | grep svn
kill -9 进程号
参考:
http://my.oschina.net/fhd/blog/383280
http://www.ha97.com/4467.html
标签:svn
原文地址:http://guowang327.blog.51cto.com/6513732/1708886