必备条件:
webserver
php
mysql
一。安装 net-snmp
yum install net-snmp*
注意加个*,把所有的咚咚都装上,否则没有cacti需要的命令.
二。安装 php-snmp
yum install php-snmp
三。安装rrdtool
vi /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
#yum install rrdtool
四。安装cacti