Yes, I know CentOS 5 does not come with a repository that holds valid redhat style rpm’s for rrdtool. So here is how we fix that. We are going to echo to a new file the repo information you will need to allow yum to install rrdtool.
We create a file called dag.repo in /etc/yum.repos.d/ by running the echo cmd below. Just copy and past it in to your putty window and hit [enter] once. Then let’s cat the file to make sure it has saved correctly.
echo "[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" > /etc/yum.repos.d/dag.repo
Now run
[root@localhosts]#cat /etc/yum.repos.d/dag.repo
And you will see this
[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
Now run
[root@localhosts]# yum install rrdtool
This is also good for
awstats
cacti
bandwidth
cfengine
ClamAV
Claws Mail
darkstat
dante
devilspie
dnstop
dvd95
dvdrip
etherape
flash-plugin
fuse
gkrellm
iperf
Another good place to get rrdtool for cent if you just want to download the RPM’s and go..
RRDTOOL
not working..
[root@ns21 yum.repos.d]# yum install rrdtool \Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: mirror.nus.edu.sg
* base: mirror.nus.edu.sg
* extras: mirror.nus.edu.sg
* updates: mirror.nus.edu.sg
http://apt.sw.be/redhat/el%5C5/en/%5Ci386/dag/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: dag. Please verify its path and try again
lovely
Excellent!!!
root@tempdsbox src#cat /etc/yum.repos.d/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@tempdsbox src# yum install rrdtool
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: mirror.ubiquityservers.com
* base: mirror.rackspace.com
* extras: mirror.team-cymru.org
* updates: mirrors.rit.edu
Segmentation fault
root@tempdsbox src#
I ran it again to show a buddy, worked like a champ!
Hi ,
EPEL is a repository that provide a lot of well tested rpm files for Red Had distributions . This repo also provides the rrdtool , so installation with the usual method vs ” yum install rrdtool ” was verry easy .
That works perfect .. Thanks a lot!
Works perfect to me too. Thanks!!!!
Very good, worked for me.
Thanks!!!
Works like a charm.
[…] – In order to install the rrdtool, I followed: http://www.squidworks.net/2009/10/how-to-installing-rrdtool-on-centos-5-using-yum/ […]
I try follow from your script it’s dose not work.
I try script below
[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
it diff by
1. delete echo ”
2. delete ” > /etc/yum.repos.d/dag.repo
and follow your step
It’s work!
Thank you sanderson and this link below
http://www.crucial.com.au/blog/2009/11/20/how-to-install-rrdtool-using-yum/
-SWEETDEMON
The idea is to echo to a file the following, So if your linux system need to be configured fast the full cmd including the echo was there for you to cut and paste to a command terminal. But I suppect you got in none the less so enjoy rrdtool.
Just Fyi for the resent *nix users, echo and pipe will place text to a file and cat reads it back out.
Do not try to cat before you echo and pipe.(smiles)
Ok, It works!! My SO is a CENTOS 5.6
thanks
It also works on CentOS 6 The repo’s are kept up to date across OS verions.
it works on centos 5.6 also! thanks dude!
in latest Centos 5, just open and add above to file:
#nano /etc/yum.repos.d/CentOS-Base.repo
…
then run:
#yum install rrdtool
Works for me too. Very well!
Works like a charm! Thank you sir, very helpful
super!!!
[…] How-to: Installing RRDTool on Centos 5 using Yum, Cube Dweller. October 05, 2009. […]
Thanks dude… it worked for me also…
thanks on this men! it works!
I am glad everyone is getting the quick and easy answer to this common issue.
Party on Garth!!
😎
works….good
its work thank you…..
It worked !!!
Thanks for the contributor.
[…] http://www.squidworks.net/2009/10/how-to-installing-rrdtool-on-centos-5-using-yum/ […]