源码安装rrdtool没成功,依赖太多了,下面进行yum 安装rrdtool,首先加入dag的yum.
[root@localhost]# cd /etc/yum.repos.d/
[root@localhost]# vim 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@localhost]#yum install ntp vim-enhanced gcc gcc-c++ gcc-g77 flex bison autoconf automake bzip2-devel ncurses-devel zlib-devel libjpeg-devel libpng-devel libtiff-devel freetype-devel libXpm-devel gettext-devel pam-devel
[root@localhost]# yum install -y rrdtool perl-rrdtool rrdtool-devel
留言
張貼留言