2014年8月6日 星期三

[研究] RRDTool 1.4.8 安裝(yum) (CentOS 7.0 x64_86)

[研究] RRDTool 1.4.8 安裝(yum) (CentOS 7.0 x64_86)

2014-08-06

CentOS 7.0 的 yum 提供 1.4.8 版

[root@localhost ~]# yum list | grep rrdtool
rrdtool.i686                               1.4.8-8.el7                 base
rrdtool.x86_64                             1.4.8-8.el7                 base
rrdtool-devel.i686                         1.4.8-8.el7                 base
rrdtool-devel.x86_64                       1.4.8-8.el7                 base
rrdtool-doc.x86_64                         1.4.8-8.el7                 base
rrdtool-lua.x86_64                         1.4.8-8.el7                 base
rrdtool-perl.x86_64                        1.4.8-8.el7                 base
rrdtool-php.x86_64                         1.4.8-8.el7                 base
rrdtool-python.x86_64                      1.4.8-8.el7                 base
rrdtool-ruby.x86_64                        1.4.8-8.el7                 base
rrdtool-tcl.x86_64                         1.4.8-8.el7                 base
[root@localhost ~]#

安裝

[root@localhost ~]# yum -y install rrdtool

[root@localhost ~]# find / -name stripes.pl
find: ‘/run/user/1000/gvfs’: Permission denied

找不到 stripes.pl,全部安裝吧

[root@localhost ~]# yum -y install rrdtool*

[root@localhost ~]# find / -name stripes.pl
find: ‘/run/user/1000/gvfs’: Permission denied
/usr/share/doc/rrdtool-doc-1.4.8/examples/stripes.pl

[root@localhost ~]# /usr/share/doc/rrdtool-doc-1.4.8/examples/stripes.pl
-bash: /usr/share/doc/rrdtool-doc-1.4.8/examples/stripes.pl: Permission denied

[root@localhost ~]# perl /usr/share/doc/rrdtool-doc-1.4.8/examples/stripes.pl
This script has created stripes.png in the current directory
This demonstrates the use of the TIME and % RPN operators

[root@localhost ~]# cp stripes.png /var/www/html/

[root@localhost ~]# yum -y install httpd
[root@localhost ~]# systemctl restart httpd



(完)

相關

[研究] RRDTool-1.4.8.tar.gz安裝 (CentOS 6.5 x64)
http://shaurong.blogspot.tw/2014/03/rrdtool-148targz-centos-65-x64.html

沒有留言:

張貼留言