###mac系统配置svnhtml
环境:mac 10.8.3
svn
svn,已经安装XCODE
.net
确保svn已经安装,终端执行svn --version
便可code
建立svn仓库htm
svnadmin create /Users/zhaozhx/svnrepos
配置svnserve.confblog
[general] anon-access = none auth-access = write password-db = passwd authz-db = authz [sasl]
配置authzget
格式为 [groups] 用户组名 = 用户组成员 [须要受权的目录] @组名 = 权限 用户名 = 权限 例如: [groups] user = zhaozhx,zhangsan [/] @user = r zhaozhx = rw [/project] zhaozhx = rw
配置passwdit
格式 [users] 用户名 = 密码 例如: [users] zhaozhx = 123456
启动svn服务io
svnserve -d -r /Users/zhaozhx/svnrepos
访问配置
svn://localhost
中止svn服务
killall -9 svnserve