由于自学phalcon7的需要centos的支持,所以在阿里云服务器上搭建了Lnmp环境,开启phalcon扩展,拟搭建SVN服务器,以方便代码上传。
SVN的安装
首先讲一下如何安装
可以通过svnserve --version 来查看服务器是否安装
```
# svnserve --version
```
如果安装了会出现相应的版本信息,如下
svnserve, version 1.7.14 (r1542130)
compiled Apr 11 2018, 02:40:28
Copyright (C) 2013 The Apache Software Foundation.
This software consists of contributions made by many people; see the NOTICE
file for more information.
Subversion is open source software, see http://subversion.apache.org/
The following repository back-end (FS) modules are available:
fs_base : Module for working with a Berkeley DB repository.
fs_fs : Module for working with a plain file (FSFS) repository.
Cyrus SASL authentication is available.
然后可以通过yum源安装最为简便了,yum源赛高
yum install -y subversion
然后就是创建仓库了,这里要注意一点,要在上级目录创建,其次要是一个空文件,或者说是不存在的文件。
svnadmin create 路径
这里会自动生成相应文件