一、基本步骤
1.安装SVN服务端
sudo apt-get install subversion
2.创建版本库
svnadmin create /home/myrepos //这里的文件目录自己随便设置
3.配置svnserve
cd /home/myrepos/confsudo vim svnserve.confanon-access = read auth-access = write password-db = passwd authz-db = authzsudo vim passwd[users] yourusername = yourpassword #member1 = 123456sudo vim authz[groups]groupname = members1,members2[/]@groupname = rwmember1 = rw* = rw
4.启动服务
svnserve -d -r /home/myrepos/ //此时目录为根目录
5.关闭服务
ps -ef|grep svnserve //查看进程kill xxx //杀死进程