手机版
你好,游客 登录 注册
背景:
阅读新闻

Linux下安装配置SVN图文详解(CentOS 5.5)

[日期:2012-11-10] 来源:Linux社区  作者:learon [字体:大 中 小]

部署svn
 
系统环境:
 
CentOS 5.5 32位
 
软件版本:
 
subversion-1.6.19.tar.gz
 
subversion-deps-1.6.19.tar.gz
 
一、搭建svn环境
 
软件下载地址:
 
http://subversion.apache.org/download/#supported-releases
 
http://subversion.tigris.org/downloads/subversion-1.6.19.tar.gz
 
http://subversion.tigris.org/downloads/subversion-deps-1.6.19.tar.gz
 
[root@acong tools]# pwd
 
/home/acong/tools
 
[root@acong tools]# wget http://subversion.tigris.org/downloads/subversion-1.6.19.tar.gz
 
[root@acong tools]# wget http://subversion.tigris.org/downloads/subversion-deps-1.6.19.tar.gz
 
[root@acong tools]# tar zxf subversion-1.6.19.tar.gz
 
[root@acong tools]# tar zxf subversion-deps-1.6.19.tar.gz
 
[root@acong tools]# cd subversion-1.6.19
 


[root@acong subversion-1.6.19]# ./configure --prefix=/usr/local/svn
 
配置后提示如下,无影响因为不使用db存储
 
You don't seem to have Berkeley DB version 4.0.14 or newer
 
installed and linked to APR-UTIL.  We have created Makefiles which
 
will build without the Berkeley DB back-end; your repositories will
 
use FSFS as the default back-end.  You can find the latest version of
 
Berkeley DB here:
 
  http://www.Oracle.com/technology/software/products/berkeley-db/index.html
 
[root@acong subversion-1.6.19]# make
 
[root@acong subversion-1.6.19]# make install
 
root@acong subversion-1.6.19]# ll /usr/local/svn/
 
total 40
 
drwxr-xr-x 2 root root 4096 Oct 12 18:22 bin
 
drwxr-xr-x 2 root root 4096 Oct 12 18:21 build-1
 
drwxr-xr-x 6 root root 4096 Oct 12 18:22 include
 
drwxr-xr-x 4 root root 4096 Oct 12 18:22 lib
 
drwxr-xr-x 5 root root 4096 Oct 12 18:22 share
 
[root@acong subversion-1.6.19]# /usr/local/svn/bin/svnserve --version ##验证svn版本
 
svnserve, version 1.6.19 (r1383947)
 
  compiled Oct 12 2012, 18:16:25
 
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 back-end (FS) modules are available:
 
* fs_fs : Module for working with a plain file (FSFS) repository.
 
Cyrus SASL authentication is available.
 
[root@acong subversion-1.6.19]# echo "PATH=$PATH:/usr/local/svn/bin/" >> /etc/profile
 
[root@acong subversion-1.6.19]# source /etc/profile

linux
相关资讯       svn  CentOS SVN  CentOS SVN安装  CentOS SVN 配置 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款