1. 安装包下载1.1 安装环境Red Hat Enterprise Linux Server release 5.3 X86_64 (rhel5)1.2 安装包下载路径下载最新的SVN稳定版本svn 1.6.12 全部rpm安装包。http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/1.6.12/rhel5/x86_64/mod_dav_svn-1.6.12-1.rhel5.x86_64.rpm 19-Jun-2010 19:58 261Kneon-0.28.4-1.x86_64.rpm 28-Mar-2009 18:57 267Kneon-devel-0.28.4-1.x86_64.rpm 28-Mar-2009 18:57 339Ksqlite-3.5.9-2.x86_64.rpm 28-Mar-2009 18:51 547Ksqlite-devel-3.5.9-2.x86_64.rpm 28-Mar-2009 18:51 86Ksubversion-1.6.12-1.rhel5.x86_64.rpm 19-Jun-2010 19:58 3.6Msubversion-devel-1.6.12-1.rhel5.x86_64.rpm 19-Jun-2010 19:58 3.1M 2 安装过程2.1 检查SVN版本并卸载旧的版本 以root用户上传svn安装包到服务器并尝试安装。[root@www.linuxidc.com svn]# rpm -qa | grep subversion[root@www.linuxidc.com bin]# rpm -e subversion-1.4.2-4.el5error: "subversion-1.4.2-4.el5" specifies multiple packages [root@www.linuxidc.com bin]# rpm -e --allmatches subversion-1.4.2-4.el5[root@www.linuxidc.com svn]# rpm -ivh subversion-1.6.12-1.rhel5.x86_64.rpmerror: Failed dependencies: libneon.so.27()(64bit) is needed by subversion-1.6.12-1.x86_64 neon >= 0.26.1 is needed by subversion-1.6.12-1.x86_64 sqlite >= 3.4 is needed by subversion-1.6.12-1.x86_64 2.2 SVN1.6安装过程先升级sqlite,请注意,rpm管理本身对sqlite有依赖,所以不能卸载sqlite,如果卸载,会出现rpm命令不可用的问题,最好直接升级至最新版本的sqlite。 [root@www.linuxidc.com svn]# rpm -Uvh sqlite-3.5.9-2.x86_64.rpmPreparing... ########################################### [100%] 1:sqlite ########################################### [100%][root@www.linuxidc.com svn]# rpm -Uvh neon-0.28.4-1.x86_64.rpmerror: Failed dependencies: libneon.so.25()(64bit) is needed by (installed) cadaver-0.22.3-4.el5.x86_64 [root@www.linuxidc.com svn]# rpm -qa | grep cadavercadaver-0.22.3-4.el5[root@www.linuxidc.com svn]# rpm -e cadaver-0.22.3-4.el5[root@www.linuxidc.com svn]# rpm -Uvh neon-0.28.4-1.x86_64.rpmPreparing... ########################################### [100%] 1:neon ########################################### [100%][root@www.linuxidc.com svn]# rpm -Uvh neon-devel-0.28.4-1.x86_64.rpmPreparing... ########################################### [100%] 1:neon-devel ########################################### [100%][root@www.linuxidc.com svn]# rpm -ivh subversion-1.6.12-1.rhel5.x86_64.rpmPreparing... ########################################### [100%] 1:subversion ########################################### [100%][root@www.linuxidc.com svn]# rpm -Uvh mod_dav_svn-1.6.12-1.rhel5.x86_64.rpmPreparing... ########################################### [100%] 1:mod_dav_svn ########################################### [100%]Stopping httpd: [ OK ]Starting httpd: httpd: Could not reliably determine the server"s fully qualified domain name, using 200.95.160.202 for ServerName [ OK ][root@www.linuxidc.com svn]#[root@www.linuxidc.com svn]# rpm -Uvh sqlite-devel-3.5.9-2.x86_64.rpmPreparing... ########################################### [100%] 1:sqlite-devel ########################################### [100%][root@www.linuxidc.com svn]# rpm -Uvh subversion-devel-1.6.12-1.rhel5.x86_64.rpmPreparing... ########################################### [100%] 1:subversion-devel ########################################### [100%][root@www.linuxidc.com svn]# 3 安装验证[root@www.linuxidc.com ~]# svnserve --versionsvnserve, version 1.6.12 (r955767) compiled Jun 19 2010, 10:46:32 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 back-end (FS) modules are available: * fs_base : Module for working with a Berkeley DB repository.* fs_fs : Module for working with a plain file (FSFS) repository. Cyrus SASL authentication is available.Shell文件从Windows上传到Linux问题RedHat 6.0 Enterprise企业版如何设置DHCPD相关资讯 svn
- Ubuntu下Apache+SVN+submin实现WEB (07月22日)
- CentOS6.4 搭建SVN管理服务 (05月02日)
- CentOS6.5安装SVN & 可视化管理工 (12/19/2015 13:50:24)
| - 基于SVN的项目管理——集中与分散 (05月16日)
- ReadHat Linux 5.5 安装SVN (01月11日)
- Apache Subversion 1.9.3/1.8.15 (12/16/2015 13:36:43)
|
本文评论 查看全部评论 (0)