欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

SVN Installation 博客分类: Software Process SVNsubversionUbuntuApacheWindows 

程序员文章站 2024-03-19 17:33:58
...

SVN , Subversion

http://subversion.tigris.org/

 

       Subversion 是一款开放源代码的版本控制系统。使用 Subversion,您可以重新加载源代码和文档的历史版本。Subversion 管理了源代码在各个时期的版本。一个文件树被集中放置在文件仓库中。这个文件仓库很像是一个传统的文件服务器,只不过它能够记住文件和目录的每一次变化。

       Subversion 是在全球各分布式企业机构中使用的软件配置管理(SCM)或版本控制工具的新标准。

 

一、Windows 环境

在Windows环境下,有下面几种建立 SVN 服务器的方式:

      1、Apache

        我尝试了使用 Apache 的方式,但是非常的麻烦,需要在 Apache 中配置对 Subversion 的支持,拷贝支持文件,但是还是报加载错误,只有另寻他径。尝试使用VisualSVN ,发现非常的简单方便。

 

      2、VisualSVN ,非常的方便,只要简单的进行安装,就可以建立起一个 SVN 服务器。其官方网站是这样表述的:

VisualSVN Server is a package that contains everything you need to install, configure and manage Subversion server for your team on Windows platform. It includes Subversion, Apache and a management console.

You can use any Subversion client to connect to VisualSVN Server or a web browser to quickly browse though repositories. Also you may find VisualSVN useful to integrate Subversion into Visual Studio.

VisualSVN Server is less than 6MB in size and can be downloaded and installed in a couple of minutes with just few clicks.

 

Zero Friction Setup and Maintenance
  • One package with latest versions of all required components
  • Next-Next-Finish installation
  • Smooth upgrade to new version
Enterprise-ready Server for Windows Platform
  • Stable and secure Apache-based Windows service
  • Support for SSL connections
  • SSL certificate management
  • Active Directory authentication and authorization with groups support
  • Logging to the Windows Event Log
  • Based on open protocols and standards
  • Configured by Subversion committer to work correctly out-of-the-box
User-friendly Management Console
  • Create, import and remove repositories
  • Create and delete folders in repository
  • Dashboard showing overview status of Subversion server
  • Manage Subversion security policy
  • Start, stop and restart service
  • Repository browser
  • Manage users and groups
  • Edit Subversion hooks
And last but not least - VisualSVN Server is completely free!
 

      3、CollabNet Subversion是Subversion的一个企业级产品发布包,包括经过验证测试的运行包、在不同操作系统下的安装包和其他经认证的集成插件, 例如与Eclipse, HP Quality Center,以及 IBM Rational ClearCase等的集成插件.

 

      4、SlikSVN provide a standalone command line Subversion package for Windows. The installer contains all command line tools (svn, svnadmin, svnsync, svnserve, svnmucc, etc.) but no application bindings nor Apache modules. The tools are fully side-by-side compatible with other packages.

 

二、Ubuntu 环境

        root 登录,命令:apt-get install subversion

        安装配置 http://wiki.ubuntu.org.cn/SubVersion