# yum install subversion
# cd /usr/local/
# mkdir svnrep
# svnadmin create /usr/local/svnrep
cd conf
authz 是权限控制文件 passwd 是帐号密码文件 svnserve.conf 是SVN服务配置文件
[users]
# harry = harryssecret
# sally = sallyssecret
guest = 123456
[/]
guest = rw
* =
[groups]
group1 = aaa,bbb
group2 = guest
[/]
@group1 = rw
@group2 = r
* =
anon-access = read # 匿名用户可读
auth-access = write # 授权用户可写
password-db = passwd # 使用哪个文件作为账号文件
authz-db = authz # 使用哪个文件作为权限文件
realm = Ensk's SvnRep # 版本库认证域 , 使用 SVN 客户端访问时 , 会出现在提示信息中 , 最好自定义下域的标志以方便辨别库
# svnserve -d -r /usr/local/svnrep
默认3690
# svnserve -d -r /usr/local/svnrep --listen-port 3691
# svnserve -d -r /usr/local/svnrep1 --listen-port 3692