2013-01-04 21:14:12 +00:00
|
|
|
In order for Cacti to function properly, please edit the following:
|
|
|
|
|
|
|
|
/etc/cacti/db.php
|
|
|
|
/etc/cron.d/cacti
|
|
|
|
/etc/http/conf.d/cacti.conf
|
|
|
|
|
|
|
|
The installation procedure, briefly summarized:
|
|
|
|
|
|
|
|
Create the cacti MySQL database:
|
|
|
|
|
|
|
|
# mysqladmin create cacti
|
|
|
|
|
|
|
|
Import the default cacti database:
|
|
|
|
|
|
|
|
# mysql cacti < /usr/share/doc/cacti-0.8.8a/cacti.sql
|
|
|
|
|
|
|
|
Create the user:
|
|
|
|
|
|
|
|
# mysql
|
|
|
|
mysql> GRANT ALL ON cacti.* TO cactiuser@localhost IDENTIFIED BY 'cactiuser';
|
|
|
|
|
2013-01-08 18:00:00 +00:00
|
|
|
(Use a different password in the above GRANT command.)
|
|
|
|
|
2013-01-04 21:14:12 +00:00
|
|
|
Then visit http://localhost/cacti/ to complete the installation.
|
|
|
|
|
|
|
|
Cacti's install procedure is not fully compatible with mod_security. If you use
|
|
|
|
mod_security, please uncomment the SecRuleRemoveById lines in
|
|
|
|
/etc/http/conf.d/cacti.conf.
|
|
|
|
|
|
|
|
Cacti should work with SELinux. If you cannot get it to work, please file a bug.
|