本文共 633 字,大约阅读时间需要 2 分钟。
yum install cacti
database
mysqladmin -uroot -p create cactiecho "GRANT ALL ON cacti.* TO cacti@localhost IDENTIFIED BY '1ba0128c';" | mysql -uroot -pecho "flush privileges;" | mysql -uroot -p mysql -uroot -p cacti < /usr/share/doc/cacti-0.8.7e/cacti.sql
enable crontab
# cat /etc/cron.d/cacti*/5 * * * * cacti /usr/bin/php /usr/share/cacti/poller.php > /dev/null 2>&1
install cacti
http://localhost/cacti/install/
Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a>comments powered by Disqus 原文出处:Netkiller 系列 手札 本文作者:陈景峯 转载请与作者联系,同时请务必标明文章原始出处和作者信息及本声明。