一、SVN 介绍和安装

subversion使用3690端口
         Subversion是基于APR构建的。APR全称为Apache Portable Runtime library,是一个移植性很好的程序库。APR库提供了全部与操作系统相关的操作接口,如磁盘访问、内存管理等等,这使得Subversion自身能够在不加修改的情况下运行于不同的操作系统之上。Subversion对APR的依赖并不意味着必须使用Apache作为它的网络服务器程序,相反,Apache只是Subversion支持的网络服务器程序之一。APR是一个独立的程序库,任何应用程序都可以使用它(Apache也是基于它开发的)。这就是说,Subversion能够在所有可运行Apache服务器的操作系统上运转,如Windows、Linux、各种BSD、Mac OS X、Netware等等。

        最简单的安装Subversion的方法就是下载与你的操作系统对应的二进制程序包。在Subversion的网站( http://subversion.tigris.org)上通常可以找到由志愿者提供下载的程序包。在这个网站上,会提供微软操作系统上的图形化应用程序安装包。而对于类Unix系统,则可以使用其自身的程序包系统(PRMs、DEBs、ports tree等等)来获取Subversion。

一、使用系统包管理工具安装svn方法

centos 7为例子:

[root@dns ~]# yum install svn

然后完成后,使用下面方式查看安装是否成功,有输出表示安装成功:

[wengjixi@host1 jenkins]$ svn help
usage: svn <subcommand> [options] [args]
Subversion command-line client, version 1.7.14.
Type 'svn help <subcommand>' for help on a specific subcommand.
Type 'svn --version' to see the program version and RA modules
  or 'svn --version --quiet' to see just the version number.

Most subcommands take file and/or directory arguments, recursing
on the directories.  If no arguments are supplied to such a
command, it recurses on the current directory (inclusive) by default.

Available subcommands:
   add
   blame (praise, annotate, ann)
   cat
   changelist (cl)
   checkout (co)
   cleanup
   commit (ci)
   copy (cp)
   delete (del, remove, rm)
   diff (di)
   export
   help (?, h)
   import
   info
   list (ls)

二、源码包的安装方法见apache+svn笔记




评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值