Svn 安装
检查安装:
[[email protected] /]# rpm -qa|grep subversion
[[email protected] /]# mdir -p /application/svndata
[[email protected] /]# mdir -p /application/svnpasswd
[[email protected] /]# tree /application/
/application/
├── svndata
└── svnpasswd
[[email protected] /]# svnserve -h ---相对比较常用的几项
-d [--daemon] : daemon mode
-r [--root] ARG : root of directory to serve
--listen-port ARG : listen port
--listen-host ARG : listen hostname or IP address
启动服务:
[[email protected] /]# svnserve -d -r /application/svndata/
查看svn服务是否启动
[[email protected] /]# netstat -tunlp
tcp 0 0 0.0.0.0:3690 6214/svnserve
[[email protected] /]# lsof -i :3690
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
svnserve 6214 root 3u IPv4 26090 0t0 TCP *:svn (LISTEN)
OK,安装启动完成,接下来是配置。不喜欢太长,所以分开了。