1、安装subversion yum install -y subversion mod_dav_svn 2、配置数据仓库 mkdir -p /var/svn/repo1 svnadmin create /var/svn/repo1/ cd /var/svn/repo1/conf vim svnserve.conf anon-access = read auth-access = write password-db = passwd authz-db = authz 3、新增用户 vim passwd root = 123456 4、设置权限 vim authz [repo1:/] root = rw * = r 5、启动服务 systemctl enable svnserve systemctl start svnserve (责任编辑:IT) |