本文共 773 字,大约阅读时间需要 2 分钟。
mkdir -p /svn/repository
svnadmin create /svn/repository/project1svnadmin create /svn/repository/project2
# /svn/repository/project1/confcd /svn/repository/project1/confmkdir -p /svn/confcp authz /svn/confcp passwd /svn/conf
# project1 下svnserve.conf文件anon-access = readauth-access = writepassword-db = /svn/conf/passwdauthz-db = /svn/conf/authzrealm =project1# project2 下svnserve.conf文件anon-access = readauth-access = writepassword-db = /svn/conf/passwdauthz-db = /svn/conf/authzrealm =project2
cd /svn/confvi passwd# 用户密码配置 passwd文件内容[users]# harry = harryssecret# sally = sallyssecretking=123456admin=123456test=123456
#authz 文件[groups]admin=admindevelop=kingtest=test[/]@admin=rw@develop=rw@test=r* =
#启动svnserve -d -r /svn/repository停止命令killall svnserve
开放防火墙等操作 See
转载地址:http://qpawb.baihongyu.com/