穗花,3mxx,江老虎
subversion(简称svn)是近年来崛起的版本管理软件系统,是cvs的接班人。目前,绝大多数开源软件都使用svn作为代码版本管理软件。
subversion是一个版本控制系统,相对于的rcs、cvs,采用了分支管理系统,它的设计目标就是取代cvs。互联网上免费的版本控制服务多基于subversion。
subversion的版本库可以通过网络访问,从而使用户可以在不同的电脑上进行操作。从某种程度上来说,允许用户在各自的空间里修改和管理同一组数据可以促进团队协作。因为修改不再是单线进行(单线进行也就是必须一个一个进行),开发进度会进展迅速。此外,由于所有的工作都已版本化,也就不必担心由于错误的更改而影响软件质量—如果出现不正确的更改,只要撤销那一次更改操作即可。某些版本控制系统本身也是软件配置管理系统(scm),这种系统经过精巧的设计,专门用来管理源代码树,并且具备许多与软件开发有关的特性—比如,对编程语言的支持,或者提供程序构建工具。不过subversion并不是这样的系统。它是一个通用系统,可以管理任何类型的文件集。
subversion 1.8中http客户端基于neon已经被移除,改用self。如果要支持http方式需要在安装svn前安装serf,安装serf推荐用serf-1.2.1,安装是./configure;serf-1.3.0安装是用scons(yum -y install scons)方式,安装serf-1.3.0后安装可能会报误,google没找到解决方法,如下报错
checking for serf-2 library... no
checking for serf-1 library... no
checking was serf enabled... no
an appropriate version of serf could not be found, so libsvn_ra_serf
will not be built. if you want to build libsvn_ra_serf, please
install serf 1.2.1 or newer.
configure: error: serf was explicitly enabled but an appropriate version was not found.
安装步骤:
(本文只基于lamp一键安装包环境部署好之后进行)
1. 安装apr、apr-unit
2. 安装serf-1.2.1
3. 安装svn
4. 检查是否安装成功
安装成功会在/usr/local/apache/conf/httpd.conf自己加入下面2行
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 access (ra) modules are available:
* ra_svn : module for accessing a repository using the svn network protocol.
- with cyrus sasl authentication
- handles 'svn' scheme
* ra_local : module for accessing a repository on local disk.
- handles 'file' scheme
* ra_serf : module for accessing a repository via webdav protocol using serf.
- handles 'http' scheme
- handles 'https' scheme
如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复
网友评论