[root@localhost nagios]# rpm -Uvh rpmforge-release-0.3.6-1.el5.rf.i386.rpm
warning: rpmforge-release-0.3.6-1.el5.rf.i386.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
Preparing... ########################################### [100%]
1:rpmforge-release ########################################### [100%]
[root@localhost nagios]# cd -
/media/KINGSTON/linux_study
[root@localhost linux_study]# cd /temp/
[root@localhost temp]# ls
cacti-0.8.7g.tar.gz perl-rrdtool-1.2.23-1.el5.rf.i386.rpm rrdtool-1.2.23-1.el5.rf.i386.rpm
[root@localhost temp]# yum install rrdtool
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
rpmforge | 1.9 kB 00:00
rpmforge/primary_db | 912 kB 04:42
http://mirror1.hs-esslingen.de/repoforge/redhat/el5/en/i386/rpmforge/repodata/primary.sqlite.bz2: [Errno 4] Socket Error: timed out
Trying other mirror.
rpmforge/primary_db | 3.0 MB 08:34
http://be.mirror.eurid.eu/rpmforge/redhat/el5/en/i386/rpmforge/repodata/primary.sqlite.bz2: [Errno 4] Socket Error: timed out
Trying other mirror.
rpmforge/primary_db 77% [======================= ] 8.8 kB/s | 5.5 MB 03:08 ETA rpmforge/primary_db | 7.1 MB 08:01
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package rrdtool.i386 0:1.4.7-1.el5.rf set to be updated
--> Processing Dependency: perl(RRDp) for package: rrdtool
--> Processing Dependency: ruby for package: rrdtool
--> Processing Dependency: lua for package: rrdtool
--> Processing Dependency: libdbi.so.0 for package: rrdtool
--> Processing Dependency: perl(RRDs) for package: rrdtool
--> Running transaction check
---> Package libdbi.i386 0:0.8.1-2.1 set to be updated
---> Package lua.i386 0:5.1.4-2.el5.rf set to be updated
---> Package perl-rrdtool.i386 0:1.4.7-1.el5.rf set to be updated
---> Package ruby.i386 0:1.8.5-5.el5_3.7 set to be updated
--> Processing Dependency: ruby-libs = 1.8.5-5.el5_3.7 for package: ruby
--> Processing Dependency: libruby.so.1.8 for package: ruby
--> Running transaction check
---> Package ruby-libs.i386 0:1.8.5-5.el5_3.7 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================================================
Package Arch Version Repository Size
=============================================================================================================
Installing:
rrdtool i386 1.4.7-1.el5.rf rpmforge 906 k
Installing for dependencies:
libdbi i386 0.8.1-2.1 Server 35 k
lua i386 5.1.4-2.el5.rf rpmforge 242 k
perl-rrdtool i386 1.4.7-1.el5.rf rpmforge 52 k
ruby i386 1.8.5-5.el5_3.7 Server 274 k
ruby-libs i386 1.8.5-5.el5_3.7 Server 1.6 M
Transaction Summary
=============================================================================================================
Install 6 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 3.1 M
Is this ok [y/N]: y
Is this ok [y/N]: y
Downloading Packages:
(2/6): perl-rrdtool-1.4.7-1.el5.rf.i386.rpm | 52 kB 00:01
(3/6): lua-5.1.4-2.el5.rf.i386.rpm | 242 kB 00:12
(5/6): rrdtool-1.4.7-1.el5.rf.i386.rpm | 906 kB 00:54
-------------------------------------------------------------------------------------------------------------
Total 43 kB/s | 3.1 MB 01:12
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : lua 1/6
Installing : ruby-libs 2/6
Installing : ruby 3/6
Installing : libdbi 4/6
Installing : perl-rrdtool 5/6
Installing : rrdtool 6/6
Installed:
rrdtool.i386 0:1.4.7-1.el5.rf
Dependency Installed:
libdbi.i386 0:0.8.1-2.1 lua.i386 0:5.1.4-2.el5.rf perl-rrdtool.i386 0:1.4.7-1.el5.rf
ruby.i386 0:1.8.5-5.el5_3.7 ruby-libs.i386 0:1.8.5-5.el5_3.7
本文出自 “spark” 博客,谢绝转载!