启动svn
ps -ef|grep svn 查看svn服务是否启动 ,查看svn进程号
kill -9 进程号
启动 svnserve -d -r 安装路径
如:
[root@iZ8vb98cmww5it0mh3rzxaZ console]# cd /
[root@iZ8vb98cmww5it0mh3rzxaZ /]# ps -ef|grep svn
root 2759 2233 0 09:57 pts/0 00:00:00 grep svn
[root@iZ8vb98cmww5it0mh3rzxaZ /]# cd /opt/
[root@iZ8vb98cmww5it0mh3rzxaZ opt]# ll
total 8
drwxr-xr-x 3 root root 4096 Apr 25 02:05 svn
drwxr-xr-x 6 root root 4096 Apr 23 07:18 wkhtmltopdf
[root@iZ8vb98cmww5it0mh3rzxaZ opt]# cd svn/
[root@iZ8vb98cmww5it0mh3rzxaZ svn]# ll
total 4
drwxr-xr-x 6 root root 4096 Apr 24 2018 svnrepos
[root@iZ8vb98cmww5it0mh3rzxaZ svn]# cd svnrepos/
[root@iZ8vb98cmww5it0mh3rzxaZ svnrepos]# ll
total 24
-rw-r--r-- 1 root root 229 Apr 23 2018 README.txt
drwxr-xr-x 2 root root 4096 Jun 21 10:49 conf
drwxr-sr-x 6 root root 4096 Jun 6 10:54 db
-r--r--r-- 1 root root 2 Apr 23 2018 format
drwxr-xr-x 2 root root 4096 Apr 23 2018 hooks
drwxr-xr-x 2 root root 4096 Apr 23 2018 locks
[root@iZ8vb98cmww5it0mh3rzxaZ svnrepos]# cd ..
[root@iZ8vb98cmww5it0mh3rzxaZ svn]# pwd
/opt/svn
[root@iZ8vb98cmww5it0mh3rzxaZ svn]# cd c
-bash: cd: c: No such file or directory
[root@iZ8vb98cmww5it0mh3rzxaZ svn]# cd svnrepos/
[root@iZ8vb98cmww5it0mh3rzxaZ svnrepos]# pewd
-bash: pewd: command not found
[root@iZ8vb98cmww5it0mh3rzxaZ svnrepos]# \pwd
/opt/svn/svnrepos
[root@iZ8vb98cmww5it0mh3rzxaZ svnrepos]# pwd
/opt/svn/svnrepos
[root@iZ8vb98cmww5it0mh3rzxaZ svnrepos]# svnserve -d -r /opt/svn/svnrepos
[root@iZ8vb98cmww5it0mh3rzxaZ svnrepos]# ps -ef|grep svn
root 2767 1 0 09:58 ? 00:00:00 svnserve -d -r /opt/svn/svnrepos
root 2769 2233 0 09:58 pts/0 00:00:00 grep svn
[root@iZ8vb98cmww5it0mh3rzxaZ svnrepos]# ^C
[root@iZ8vb98cmww5it0mh3rzxaZ svnrepos]#
启动php
service php-fpm start 开启
service php-fpm stop 停止
service php-fpm restart 重启