`
SnailWong
  • 浏览: 179847 次
  • 性别: Icon_minigender_1
  • 来自: 成都
社区版块
存档分类
最新评论

Redhat AS4中安装SVN服务器

阅读更多

1、到http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/网站上下载需要安装的版本。

 

2、主要下载以下几个安装包,以subversion1.6.1为例:

   apr-0.9.12-2.i386.rpm

   apr-util-0.9.12-1.i386.rpm

   neon-0.28.4-1.i386.rpm

   subversion-1.6.1-1.i386.rpm

   sqlite-3.5.9-4.1.i386.rpm

3、安装这些包之前,检查一下这些安装包是否已经存在和它的版本。

例:

#rpm –q apr

若检查出包已存在且版本低于当前下载的版本,安装是要采用rpm –Uvh来升级一下。

4、安装这些包。

#rpm –ivh apr-0.9.12-2.i386.rpm或(rpm –Uvh apr-0.9.12-2.i386.rpm)

#rpm –ivh apr-util-0.9.12-1.i386.rpm或(rpm –Uvh apr-util-0.9.12-1.i386.rpm)

#rpm –ivh neon-0.28.4-1.i386.rpm或(rpm –Uvh neon-0.28.4-1.i386.rpm)

#rpm –ivh sqlite-3.5.9-4.1.i386.rpm

#rpm –ivh subversion-1.6.1-1.i386.rpm

5、安装完之后,检查一下安装版本。

#svn  --version

svn: warning: cannot set LC_CTYPE locale

svn: warning: environment variable LANG is en_CN.GB18030

svn: warning: please check that your locale name is correct

svn, version 1.6.1 (r37116)

   compiled Apr 11 2009, 14:26:16

 

Copyright (C) 2000-2009 CollabNet.

Subversion is open source software, see http://subversion.tigris.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

  - handles 'https' scheme

* 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

6、出现上面的警告情况时,需要做以下设置:

# echo "export LC_ALL=C" >> /etc/profile

# export LC_ALL=C

警告即可消除。

7、启动svnserve服务。

#svnserve –d

安装时不指定安装路径的话,svn服务存在/usr/bin目录下。

8、卸载subversion  rpm安装包:

#rpm  –e  subversion-1.6.1-1.i386

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics