linux-centos下源代码安装subversion (svn)

简介:

1、svn的源代码

  1.1 可以在官方下载,官方地址 :svn 1.6.17源码包

   http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=260&expandFolder=74

  这里选择subversion-1.6.17.tar.gz 和subversion-deps-1.6.17.tar.gz下载

  注意:版本号必须一致。

  1.2 或者在我的百度网盘下载 subversion-1.6.17.tar.bz2 和 subversion-deps-1.6.17.tar.bz2

  1.3 如果觉得两个压缩包比较麻烦,我把解压后的文件重新压缩到了一个压缩包,subversion-1.6.17-full.tar.bz2

    网盘下载地址  链接: https://pan.baidu.com/s/1slyYfnB 密码: 3fsr

 

2、解压

tar xjf subversion-1.6.17.tar.bz2
tar xjf subversion-deps-1.6.17.tar.bz2

注意:解压后的文件应该在同一个目录,如:subversion-1.6.17

否则会提示:configure: error: no suitable apr found
因为上面的依赖文件没有解压到相同目录下导致的

3、检查配置

#./autogen.sh 
# ./configure

4、编译和安装

# make
# make install

 5、查看svn版本信息,以检查是否安装成功

复制代码
# svn --version
svn, version 1.6.17 (r1128011)
   compiled Dec  4 2014, 14:34:46

Copyright (C) 2000-2009 CollabNet.
Subversion is open source software, see http://subversion.apache.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
  - handles 'http' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
  - 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
复制代码

 


本文转自郝峰波博客园博客,原文链接:http://www.cnblogs.com/fengbohello/p/4142810.html,如需转载请自行联系原作者

相关文章
|
存储 网络协议 Ubuntu
Linux环境下的SVN服务器搭建并结合内网穿透实现远程连接
Linux环境下的SVN服务器搭建并结合内网穿透实现远程连接
432 0
|
8月前
|
Java Linux 开发工具
Linux下版本控制器(SVN) -命令行客户端
Linux下版本控制器(SVN) -命令行客户端
249 4
|
8月前
|
Linux
Linux下版本控制器(SVN) -服务器端环境搭建步骤
Linux下版本控制器(SVN) -服务器端环境搭建步骤
347 0
Linux下版本控制器(SVN) -服务器端环境搭建步骤
|
Linux
Linux安装svn并启动
Linux安装svn并启动
314 10
|
Linux 数据安全/隐私保护 Windows
centos 7.2 搭建svn服务器
centos 7.2 搭建svn服务器
553 0
|
Linux 数据安全/隐私保护
Linux下svn服务端的安装与配置
Linux下svn服务端的安装与配置
417 0
|
存储 Linux
linux上SVN出现 "Unable to connect to a repository at URL 'svn://xx.xx.xx.xx/xxx' 和 No repository ...
centos上安装了svn, 有时候会不知道什么原因出现客户端小乌龟无法连接或无法提交等情况
1278 5
|
运维 Apache 数据安全/隐私保护
CentOS6.5搭建SVN服务器(Apache+SVN)
CentOS6.5搭建SVN服务器(Apache+SVN)
|
存储 网络协议 Ubuntu
如何使用内网穿透远程访问Linux SVN服务?
如何使用内网穿透远程访问Linux SVN服务?
180 0
|
网络协议 Ubuntu Linux
如何在Linux环境搭建本地SVN服务器并结合cpolar实现公网访问
如何在Linux环境搭建本地SVN服务器并结合cpolar实现公网访问