253828149 发表于 2011-9-8 11:06:14

centos 5.5下cacti的安装

1.安装前面的教程搭建LAMP http://www.8gwl.com/article-112-1.html
2.cacti的安装http://www.8gwl.com/article-116-1.html

hlwywhmr 发表于 2011-9-10 00:06:21

请指导一下,谢谢了

hlwywhmr 发表于 2011-9-10 00:06:32

请指导一下,谢谢了

253828149 发表于 2011-9-10 00:41:36

回复 hlwywhmr 的帖子

你可上面网站给我留言,或者QQ联系我。。

会吐烟圈的猪 发表于 2011-9-12 23:51:03

经过了解,很牛B的东西。

hlwywhmr 发表于 2011-9-19 22:23:24

经过了解,很牛B的东西。

会吐烟圈的猪 发表于 2011-9-22 18:52:56

按照那个教程,没有安装成功。再找找其它的教程去。

wsl573 发表于 2011-10-2 20:19:53

谢谢,参考参考

zebra880 发表于 2011-10-20 11:27:40

好像,不錯.

yishan 发表于 2011-11-7 08:14:13

#!/bin/sh
platform=`uname -i`
if [ $platform = "unknown" ]; then
platform="i386"
fi
server_ip=`ifconfig| grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk 'NR==1 { print $1}'`
rpm -Uvh http://download.fedora.redhat.com/pub/epel/5Server/$platform/epel-release-5-4.noarch.rpm
rpm -Uvh http://repo.webtatic.com/yum/centos/5/$platform/webtatic-release-5-1.noarch.rpm
yum install -y php php-mysql php-snmp mysql mysql-server php-pdo perl-DBD-MySQL
yum install -y net-snmp net-snmp-libs net-snmp-utils -y
yum install -y rrdtool rrdtool rrdtool-devel rrdtool-php -y
service snmpd restart
chkconfig snmpd on
wget http://www.cacti.net/downloads/cacti-0.8.7h.tar.gz
tar xvf cacti-0.8.7h.tar.gz
mv cacti-0.8.7h /var/www/html/cacti_www_yishanhome_com
service mysqld start
mysql -uroot
create database cacti;
grant all privileges on cacti.* to cactiuser@localhost identified by 'cactiuser' with grant option;
grant all privileges on cacti.* to cactiuser@127.0.0.1 identified by 'cactiuser' with grant option;
use cacti;
source /var/www/html/cacti_www_yishanhome_com/cacti.sql;
quit;
service httpd start
echo "*/1 * * * * root /usr/bin/php /var/www/html/cacti_www_yishanhome_com/poller.php" >>/etc/crontab
service crond reload
echo "http://$server_ip/cacti_www_yishanhome_com"

fuzhend 发表于 2011-11-14 10:46:47

好东西,下载了看看!

蚁族奋斗__涂 发表于 2012-4-7 14:56:05

按照那个教程,没有安装成功。再找找其它的教程去

374533905 发表于 2014-11-29 12:35:19

楼主威武知道我辈学习
页: [1]
查看完整版本: centos 5.5下cacti的安装