How to install RRDTool in Centos

Source: Internet
Author: User
Tags rrdtool
RRDTool installation method in linux 1. use yum to install RRDTool in/etc/yum. repos. d/create a dag below. repo file input source address in File: [root@hmg2yum.repos.d] # catdag. repo [dag] name = DagRPMRepositoryforRedHatEnterpriseLinux

How to install RRDTool in linux

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 test installation successful:
[Root @ HM2 src] # rrdtool-v // You can view the RRDTool usage and version information.

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 *

Related Article

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.