svn 版本库创建
--创建版本库
svnadmin create /opt/repos
--导入版本库
svn import -m ?"init" code/ file:///opt/repos/
--启动svn
svnserve -d --listen-port 9999 -r /opt/repos/
/opt/repos/ ?版本库路径
?
?
-- vi ?/opt/repos/conf/svnserve.conf?
添加
anon-access = read
auth-access = write
anon-access = none
password-db = passwd
authz-db = authz
?
?
---vi ?/opt/repos/conf/passwd
?
[users]
# harry = harryssecret
# sally = sallyssecret
dc = ?111111
?
---vi ?/opt/repos/conf/authz?
[groups]
brenches = dc
?
[/]
dc = rw
?
访问地址
svn://192.168.11.105:9999