luyibo 2011-07-20
1. 安装subversion包
sudo apt-get install subversion
2. 创建仓库存储路径
sudo mkdir /var/svn sudo svnadmin create /var/svn/repos
3. 设置passwd
vim passwd
其中格式为:
[users] username = password
4. 修改svnserve.conf,取消如下行的注释:
anon-access = read auth-access = write password-db = passwd
5. 启动svn服务:
svnserve -d -r /var/svn/repos --listen-host xxx.xxx.xxx.xxx
此配置为最简单的svn协议,如需其他协议,请移步:
http://www.subversionary.org/howto/setting-up-a-subversion-server-on-ubuntu-gutsy-gibbon-server