#vi svnserve.conf
打开下面的几个注释:
anon-access = none #匿名用户可读
auth-access = write #授权用户可写
password-db = passwd #使用哪个文件作为账号文件
authz-db = authz #使用哪个文件作为权限文件
realm = /var/svn/repos # 认证空间名,版本库所在根目录
5.启动版本库
/usr/bin/svnserve --daemon --listen-port 1023 -r /var/svn/repos --config-file=/var/svn/conf/svnserve.conf --pid-file=/var/run/svnserve.pid
6.客户端checkout测试
#svn co svn://127.0.0.1:1023/pro1/ test