参考:https://jingyan.baidu.com/article/54b6b9c08b35382d593b477c.html?qq-pf-to=pcqq.c2c
https://www.cnblogs.com/lpyan/p/5612017.html?tdsourcetag=s_pctim_aiomsg
# yum install subversion -y
# mkdir -p /home/svn/php
# svnadmin create /home/svn/php/
# cd /home/svn/php/conf/
# vim passwd
[users]
# harry = harryssecret
# sally = sallyssecret
dongzhenyu = 123456
rongkanwen = 123456
wangzhen = 12345
# vim authz
[groups]
# harry_and_sally = harry,sally
# harry_sally_and_joe = harry,sally,&joe
php = dongzhenyu,rongkanwen,wangzhen
# [/foo/bar]
# harry = rw
# &joe = r
# * =
# [repository:/baz/fuz]
# @harry_and_sally = rw
# * = r
[/]
@php = rw
* =
# vim svnserve.conf
[general]
anon-access = read
auth-access = write
password-db = /home/svn/php/conf/passwd
authz-db = /home/svn/php/conf/authz
realm = /home/svn/php
# svnserve -d -r /home/svn/php/