设置自启动
打开自启动文件 /etc/rc.local
在最后一句加 你要启动的版本库
svnserve -d -r /usr/local/svnRepo/first
停止所有svn
Linux
Windows
停止某个svn
关闭SVN服务:
使用以下命令查找进程
ps aux | grep svn
# ps aux | grep svn root 64434 0.0 0.0 181584 1120 ? Ss 02:01 0:00 svnserve -d -r /home/svn root 64481 0.0 0.0 103256 848 pts/1 S+ 02:03 0:00 grep svn
使用Kill命令杀死进程
kill -s 9 64434
启动SVN服务:
svnserve -d -r /home/svn
/home/svn 为版本库的根目录;