一、安装
apt-get install subversion subversion-tools
- 创建存储库
mkdir /data/svnroot/leoiceo
设置权限
chown www.www /data/svnroot -R
chmod –R 770 /data/svnroot
配置用户
- auth
[groups]
me = leoiceo
[/]
@me = rw
leoiceo = rw
- passwd
[users]
leoiceo = 123456
- svnserve.conf
[general]
anon-access = read
auth-access = write
password-db = passwd
authz-db = authz
[sasl]
- 启动svnserve服务
svnserve -d -r /data/svnroot/
二、svn访问
svn://host/leoiceo