Nerdy Drunk

Drunk on technology

User Tools

Site Tools


linux:cacti-centos

Cacti on CentOS

## Cacti
yum install http://epel.rpm
yum install cacti mysql-utilities mysql-server
mysql cactidb -u cacti -p < /usr/share/doc/.../cacti.sql
vim /etc/cron.d/cacti
vim /etc/php.ini
	#timezone America/Chicago

Upgrade to Cacti 1.0.0

$ sudo yum install php-gd php-process
# mysql_tzinfo_to_sql /usr/share/zoneinfo/ | mysql -u root -p mysql
# mysql -u root -p
mysql> select user,host from mysql.user;
mysql> grant select on mysql.time_zone_name to CACTIDBNAME@DBHOSTNAME identified by 'CACTIDBPASSWORD';
mysql> flush privileges;
mysql> quit;
linux/cacti-centos.txt · Last modified: 2022/07/21 10:41 by 127.0.0.1