Home | 简体中文 | 繁体中文 | 杂文 | Search | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 作品与服务 | Email

第 36 章 cacti

yum install cacti
		

database

		
mysqladmin -uroot -p create cacti
echo "GRANT ALL ON cacti.* TO cacti@localhost IDENTIFIED BY '1ba0128c';" | mysql -uroot -p
echo "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/

comments powered by Disqus