Installing rrdtool on Redhat5

I have installed rrdtool by following the instruction from  this web

Actually, I don’t know what for rrdtool is.  I just follow instruction and choose B2 methods to fulfill requirement of some applications that we deployed. Rrdtool is not packaged by RHEL or Centos, that why we should create repository to instruct our server to download rrdtool package from other site, not from Redhat Network or Centos repository. Redhat does not provide rrdtool, so does Centos. The second way, we should install rpm repository which is instruction our OS to download from rrdtool repository (not from RHN or centos) behind the scene. It’s the easiest way for me.

First step, download RPM Forge :

[root@localhost packages]# wget http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS//rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
–07:31:20–  http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS//rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
Resolving apt.sw.be… 193.1.193.67
Connecting to apt.sw.be|193.1.193.67|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 16697 (16K) [application/x-redhat-package-manager]
Saving to: `rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm’

100%[==================================================>] 16,697      22.7K/s   in 0.7s

07:31:21 (22.7 KB/s) – `rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm’ saved [16697/16697]

Second step, install or upgrade rpmforge and install rrdtool. I used upgrade mode by command below:

[root@localhost packages]# rpm -Uhv rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
warning: rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
Preparing…                ########################################### [100%]
1:rpmforge-release       ########################################### [100%]
[root@localhost packages]# yum install rrdtool
Loaded plugins: rhnplugin, security
rpmforge                                                            | 1.9 kB     00:00
primary.sqlite.bz2                                                  | 6.9 MB     00:04
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
–> Running transaction check
—> Package rrdtool.x86_64 0:1.4.7-1.el5.rf set to be updated
–> Processing Dependency: perl(RRDp) for package: rrdtool
–> Processing Dependency: lua for package: rrdtool
–> Processing Dependency: perl(RRDs) for package: rrdtool
–> Running transaction check
—> Package perl-rrdtool.x86_64 0:1.4.7-1.el5.rf set to be updated
—> Package lua.x86_64 0:5.1.4-2.el5.rf set to be updated
–> Finished Dependency Resolution

Dependencies Resolved

===========================================================================================
Package                Arch             Version                  Repository          Size
===========================================================================================
Installing:
rrdtool                x86_64           1.4.7-1.el5.rf           rpmforge           916 k
Installing for dependencies:
lua                    x86_64           5.1.4-2.el5.rf           rpmforge           235 k
perl-rrdtool           x86_64           1.4.7-1.el5.rf           rpmforge            55 k

Transaction Summary
===========================================================================================
Install      3 Package(s)
Update       0 Package(s)
Remove       0 Package(s)

Total download size: 1.2 M
Is this ok [y/N]: y
Downloading Packages:
(1/3): perl-rrdtool-1.4.7-1.el5.rf.x86_64.rpm                       |  55 kB     00:00
(2/3): lua-5.1.4-2.el5.rf.x86_64.rpm                                | 235 kB     00:00
(3/3): rrdtool-1.4.7-1.el5.rf.x86_64.rpm                            | 916 kB     00:00
——————————————————————————————-
Total                                                      324 kB/s | 1.2 MB     00:03
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing     : lua                                               [1/3]
Installing     : perl-rrdtool                            [2/3]
Installing     : rrdtool                                      [3/3]

Installed: rrdtool.x86_64 0:1.4.7-1.el5.rf
Dependency Installed: lua.x86_64 0:5.1.4-2.el5.rf perl-rrdtool.x86_64 0:1.4.7-1.el5.rf
Complete!
[root@localhost packages]#

Finally, rrdtool can be installed.

Note: verify that the repository website for rrdtool is still valid.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s