svnadmin create /opt/svn/daicw #创建版本库
创建好了cd到创建文件夹这里是daicw,在加入文件夹conf
里面有三文件authz passwd svnserve.conf
vim authz:
[groups] # harry_and_sally = harry,sally # harry_sally_and_joe = harry,sally,&joe g_admin=dcw [/] @g_admin = rw * =
vim passwd:
[users] # harry = harryssecret # sally = sallyssecret dcw = 123456 # 账号 = 密码
vim svnserve.conf启动如下行
anon-access = read auth-access = write password-db = passwd authz-db = authz realm = My First Repository
原文地址:https://www.cnblogs.com/daicw/p/11676907.html
时间: 2024-11-01 22:19:29