安装
yum install subversion
进入/var目录创建svn目录
mkdir svn
继续创建文件夹repositories
mkdir repositories
进入该文件夹创建仓库zafu
svnadmin create zafu
启动服务
svnserve -d -r /var/svn/repositories
进入zafu下的conf目录修改配置
编辑svnserve.conf文件增加下面语句后保存
anon-access = none auth-access = write password-db = passwd authz-db = authz
lizhangqu=lizhangqu
编辑authz文件配置权限
增加组admin
admin=lizhangqu
配置admin组权限
[/] @admin=rw