日期:2014-05-16  浏览次数:20790 次

Install subversion on Redhat Enterprise Linux Version 5 from CDROM.
Install subversion on Redhat Enterprise Linux Version 5 from CDROM.

Step 1:
[cmuser@sixconnex-server1 RHEL_5.4 x86_64 DVD]$ cd Server/
[cmuser@sixconnex-server1 Server]$ find . -name "*subversion*"
./subversion-1.4.2-4.el5_3.1.i386.rpm
./subversion-1.4.2-4.el5_3.1.x86_64.rpm
./subversion-devel-1.4.2-4.el5_3.1.i386.rpm
./subversion-devel-1.4.2-4.el5_3.1.x86_64.rpm
./subversion-javahl-1.4.2-4.el5_3.1.x86_64.rpm
./subversion-perl-1.4.2-4.el5_3.1.x86_64.rpm
./subversion-ruby-1.4.2-4.el5_3.1.x86_64.rpm

Step 2: 安装,但提示缺少依赖包
[cmuser@sixconnex-server1 Server]$ rpm -ivh subversion-1.4.2-4.el5_3.1.i386.rpm
warning: subversion-1.4.2-4.el5_3.1.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
error: Failed dependencies:
        libapr-1.so.0 is needed by subversion-1.4.2-4.el5_3.1.i386
        libaprutil-1.so.0 is needed by subversion-1.4.2-4.el5_3.1.i386
        libneon.so.25 is needed by subversion-1.4.2-4.el5_3.1.i386

Note:
libapr-1.so.0的包属于:apr-1.2.7-11.el5_3.1.i386.rpm
libaprutil-1.so.0的包属于:apr-util-1.2.7-7.el5_3.2.i386.rpm
libneon.so.25的包属于:neon-0.25.5-10.el5.i386.rpm


Step 3:在CD中搜索相应的缺少包
[cmuser@sixconnex-server1 Server]$ find . -name "*neon*"
./neon-0.25.5-10.el5.i386.rpm
./neon-0.25.5-10.el5.x86_64.rpm
./neon-devel-0.25.5-10.el5.i386.rpm
./neon-devel-0.25.5-10.el5.x86_64.rpm

Step 4:安装neon 包
[cmuser@sixconnex-server1 Server]$ sudo rpm -ivh neon-0.25.5-10.el5.i386.rpm
Password:
warning: neon-0.25.5-10.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing...                ########################################### [100%]
   1:neon                   ########################################### [100%]

Step 5: 在CD中搜索apr包
[cmuser@sixconnex-server1 Server]$ find . -name "*apr*"
./apr-1.2.7-11.el5_3.1.i386.rpm
./apr-1.2.7-11.el5_3.1.x86_64.rpm
./apr-devel-1.2.7-11.el5_3.1.i386.rpm
./apr-devel-1.2.7-11.el5_3.1.x86_64.rpm
./apr-docs-1.2.7-11.el5_3.1.x86_64.rpm
./apr-util-1.2.7-7.el5_3.2.i386.rpm
./apr-util-1.2.7-7.el5_3.2.x86_64.rpm
./apr-util-devel-1.2.7-7.el5_3.2.i386.rpm
./apr-util-devel-1.2.7-7.el5_3.2.x86_64.rpm
./apr-util-docs-1.2.7-7.el5_3.2.x86_64.rpm
./xorg-x11-drv-dynapro-1.1.0-2.x86_64.rpm

Step 6:安装apr包
[cmuser@sixconnex-server1 Server]$ sudo rpm -ivh apr-util-1.2.7-7.el5_3.2.i386.rpm
warning: apr-util-1.2.7-7.el5_3.2.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
error: Failed dependencies:
        libapr-1.so.0 is needed by apr-util-1.2.7-7.el5_3.2.i386
        libpq.so.4 is needed by apr-util-1.2.7-7.el5_3.2.i386
        libsqlite3.so.0 is needed by apr-util-1.2.7-7.el5_3.2.i386


Note:
libpq.so.4的包属于:postgresql-libs-8.1.11-1.el5_1.1.i386.rpm
libsqlite3.so.0 的包属于:sqlite-3.3.6-5.i386.rpm[/color]

Step 7: 搜索sqlite包
[cmuser@sixconnex-server1 Server]$ find . -name "*sqlite*"
./python-sqlite-1.1.7-1.2.1.x86_64.rpm
./qt4-sqlite-4.2.1-1.x86_64.rpm
./sqlite-3.3.6-5.i386.rpm
./sqlite-3.3.6-5.x86_64.rpm
./sqlite-devel-3.3.6-5.i386.rpm
./sqlite-devel-3.3.6-5.x86_64.rpm

Step 8:安装sqlite包
[cmuser@sixconnex-server1 Server]$ sudo rpm -ivh sqlite-3.3.6-5.i386.rpm
warning: sqlite-3.3.6-5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing...                ########################################### [100%]
   1:sqlite                 ########################################### [100%]


Step 9:搜索postgresql包
[cmuser@sixconnex-server1 Server]$ find . -name "*postgresql*"
./freeradius-postgresql-1.1.3-1.4.el5.x8