RedHat6.2 under RRDtool installation method

Source: Internet
Author: User
Tags rrdtool

In the installation of ganglia, you need to install TTDTOL, otherwise it is not shipped to install. You can do a lot of checking.

My environment:

[Email protected] ~]$ lsb_release-a
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

Third, another Yum installation
[[email protected] src] #wget http://packages.sw.be/rpmforge-r ... 6-1.el5.rf.i386.rpm
[[email protected] src] #rpm-ivh rpmforge-release-0.3.6-1.el5.rf.i386.rpm
[[email protected] src] #yum-y install rrdtool*

This basically can be used

There are several more:

One, install with Yum:
Create a new Dag.repo file under/etc/yum.repos.d/Enter the source address in the file:
[[email protected] 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
[[email protected] yum.repos.d] #yum-y install RRDtool
So you can complete the RRDtool installation ...
Two, package installation:
First yum Install the desired library file:
[[email protected] yum.repos.d] #yum install Cairo-devel libxml2-devel Pango-devel Pango libpng-devel freetype freetype-devel libart_lgpl-devel
Then download the RRDtool package, install:
[[email  Protected] src] #wget  http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.3.1.tar.gz
[[email protected] src] #tar-zxvf rrdtool-1.3.1.tar.gz
[[email protected] Src]#./configure–prefix=/usr/local/rrdtool && Make && make install
Run RRDTOOL–V test installation succeeded:
[[email protected] src] #rrdtool-V// You can see the usage of RRDtool and the version information

I'm not going to try any of these, maybe you can.

The result after installation is:

[Email protected] desktop]# Ls/etc/yum.repos.d/dag.repo
Ls:cannot access/etc/yum.repos.d/dag.repo:no such file or directory
[Email protected] desktop]# ls/etc/yum.repos.d/
Mirrors-rpmforge Packagekit-media.repo Redhat.repo Rhel-source.repo Rpmforge.repo
[Email protected] desktop]# yum-y install rrdtool*
Loaded Plugins:product-id, Refresh-packagekit, security, Subscription-manager
Updating certificate-based repositories.
Rpmforge | 1.9 KB 00:00
rpmforge/primary_db | 7.3 MB 02:55
Setting up Install Process
Resolving Dependencies
--Running Transaction check
---> Package rrdtool.i386 0:1.4.7-1.el5.rf'll 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 0:1.4.7-1.el5.rf'll be installed
--Running Transaction check
---> Package perl-rrdtool.i386 0:1.4.7-1.el5.rf'll be installed
---> Package rrdtool.i386 0:1.4.7-1.el5.rf'll 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 could try using--skip-broken to work around the problem
You could try Running:rpm-va--nofiles--nodigest

RedHat6.2 under RRDtool installation method

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.