CentOS中使用yum安装rrdtool
rrdtool的依赖问题可以说是比较坑爹,使用源码或者RPM都不容易安装成功。本人是在折腾了一天,快要放弃的时候,发现了使用yum安装的方法。
而在CentOS官方的源里没有rrdtool。如果使用yum安装,则需要添加dag源。
# vim /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
#rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
[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
#rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
搞定后,直接yum安装如下:
#yum install rrdtool
即可安装成功.
相关推荐
bluecarrot 2015-07-12
zjhqlmzldx 2008-03-05
tryhl 2011-05-12
wuxiaobingandbob 2010-03-22
CJforever 2013-11-13
jacknichao 2012-01-08
TuxedoLinux 2011-11-23
tongledeng 2011-05-23
中草药代码 2014-02-03
chinadm 2013-11-06
xiaoyangyang0 2013-05-22
hanjinixng00 2010-05-26
小小苏 2012-07-11
hehuistudent 2012-02-10
drise 2012-01-18