2005-04-20 12:49:03 +02:00
|
|
|
==================================================================
|
2003-12-21 18:01:41 +01:00
|
|
|
Cacti is now installed. You may have to follow this steps
|
|
|
|
to make it work correctly.
|
|
|
|
|
|
|
|
1: Create the MySQL database
|
|
|
|
# mysqladmin --user=root create cacti
|
|
|
|
2: Create a mysql user/password for cacti
|
2005-04-20 12:49:03 +02:00
|
|
|
# echo "GRANT ALL ON cacti.* TO cactiuser at localhost IDENTIFIED BY 'cactiuser'; FLUSH PRIVILEGES;" | mysql &&
|
2003-12-21 18:01:41 +01:00
|
|
|
3: Import the default cacti database
|
|
|
|
# mysql cacti < %%PREFIX%%/%%CACTIDIR%%/cacti.sql
|
|
|
|
4: Edit your config.php
|
2005-04-20 12:49:03 +02:00
|
|
|
Specify the MySQL user, password and database for your cacti configuration.
|
2003-12-21 18:01:41 +01:00
|
|
|
5: Add a line to your /etc/crontab file similar to:
|
2004-10-18 01:47:28 +02:00
|
|
|
*/5 * * * * %%CACTIUSER%% %%LOCALBASE%%/bin/php %%PREFIX%%/%%CACTIDIR%%/poller.php > /dev/null 2>&1
|
|
|
|
6: Point your web browser to the cacti dir and login with admin/admin
|
2003-12-21 18:01:41 +01:00
|
|
|
|
|
|
|
Have fun!
|
2005-04-20 12:49:03 +02:00
|
|
|
==================================================================
|