标签:
最快的三步:
1,SVNADMIN CREATE NAME
2, 改写CONF目录下的相关三个文件。
3,重写一个SVN的启动脚本,指定这个SVN不同的目录及端口号。
[general] ### These options control access to the repository for unauthenticated ### and authenticated users. Valid values are "write", "read", ### and "none". The sample settings below are the defaults. # anon-access = read # auth-access = write anon-access = none auth-access = write password-db = /xxxx/conf/pwd.conf authz-db = /xxxx/conf/authz.conf realm = repos2
[groups] admins=xxxx [/] @admins=rw [repos2:/] *=r @admins=rw [repos2:/projects] *=r @admins=rw xxxx=rw [repos2:/projects/xxxx] *= @admins=rw
[users]
ddd=xxx
#!/bin/bash svnserve -d -r /xxxx/svndata2015/ --listen-host=192.168.x.x --listen-port 3691 --log-file=/var/log/svn/svn2015.log
标签:
原文地址:http://www.cnblogs.com/aguncn/p/4296962.html