How to install RRDTool in RedHat6.2
Install ttdtol when installing ganglia in RedHat6.2. I checked a lot. This is acceptable.
My environment:
[Hadoop @ host8 ~] $ Lsb_release-
LSB Version: core-4.0-ia32: core-4.0-noarch: graphics-4.0-ia32: graphics-4.0-noarch: printing-4.0-ia32: printing-4.0-noarch:
Distributor ID: RedHatEnterpriseServer
Description: Red Hat Enterprise Linux Server release 6.2 (Santiago)
Release: 6.2
Codename: Santiago
3. install another yum
[Root @ hm2 src] # wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
[Root @ hm2 src] # rpm-ivh rpmforge-release-0.3.6-1.el5.rf.i386.rpm
[Root @ hm2 src] # yum-y install rrdtool *
This is basically usable
There are also several types:
1. Install using yum:
Create a new dag. repo file under/etc/yum. repos. d/and enter the source address in the file:
[Root @ hm2 yum. repos. d] # cat dag. repo
[Dag]
Name = Dag RPM Repository for Red Hat Enterprise Linux
Baseurl = http://apt.sw.be/redhat/el?releasever/en/?basearch/dag
Gpgcheck = 1
Gpgkey = http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
Enabled = 1
[Root @ hm2 yum. repos. d] # yum-y install rrdtool
In this way, you can install RRDTool ......
Ii. install the software package:
First install the library file yum:
[Root @ hm2 yum. repos. d] # yum install cairo-devel libxml2-devel pango-devel pango libpng-devel freetype-devel libart_lgpl-devel
Then download the rrdtool package and install:
[Root @ hm2 src] # wget http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.3.1.tar.gz
[Root @ hm2 src] # tar-zxvf rrdtool-1.3.1.tar.gz
[Root @ hm2 src] #./configure-prefix =/usr/local/rrdtool & make install
Run rrdtool-v to test whether the installation is successful:
[Root @ hm2 src] # rrdtool-v // you can view the RRDTool usage and version information.
I can't even try these. Maybe you can.
After installation, the result is:
[Root @ host6 Desktop] # ls/etc/yum. repos. d/dag. repo
Ls: cannot access/etc/yum. repos. d/dag. repo: No such file or directory
[Root @ host6 Desktop] # ls/etc/yum. repos. d/
Mirrors-rpmforge Co., packagekit-media.repo. redhat. repo rhel-source.repo rpmforge. repo
[Root @ host6 Desktop] # yum-y install rrdtool *
Loaded plugins: product-id, refresh-packagekit, security, subrole-manager
Updating certificate-based repositories.
Rpmforge | 1.9 kB: 00
Rpmforge/primary_db | 7.3 Mbps
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package rrdtool. i386. 4.7-1. el5.rf will be installed
--> Processing Dependency: perl (RRDp) for package: rrdtool-1.4.7-1.el5.rf.i386
--> Processing Dependency: ruby for package: rrdtool-1.4.7-1.el5.rf.i386
--> Processing Dependency: libdbi. so.0 for package: rrdtool-1.4.7-1.el5.rf.i386
--> Processing Dependency: perl (RRDs) for package: rrdtool-1.4.7-1.el5.rf.i386
---> Package rrdtool-devel.i386. 4.7-1. el5.rf will be installed
--> Running transaction check
---> Package perl-rrdtool.i386. 4.7-1. el5.rf will be installed
---> Package rrdtool. i386. 4.7-1. el5.rf will be installed
--> Processing Dependency: ruby for package: rrdtool-1.4.7-1.el5.rf.i386
--> Processing Dependency: libdbi. so.0 for package: rrdtool-1.4.7-1.el5.rf.i386
--> Finished Dependency Resolution
Error: Package: rrdtool-1.4.7-1.el5.rf.i386 (rpmforge)
Requires: ruby
Error: Package: rrdtool-1.4.7-1.el5.rf.i386 (rpmforge)
Requires: libdbi. so.0
You cocould try using -- skip-broken to work around the problem
You cocould try running: rpm-Va -- nofiles -- nodigest
Use RRDtool to customize plotting to monitor Oracle databases
Simple Image Rendering using RRDtool
When installing RRDtool, the following error occurs: configure: error: Please fix the library issues listed above and try again.
RHEL5.5 installing RRDtool solves many Dependencies
Use yum to install RRDtool in CentOS