diff options
Diffstat (limited to 'net-mgmt/cacti/pkg-message')
-rw-r--r-- | net-mgmt/cacti/pkg-message | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/net-mgmt/cacti/pkg-message b/net-mgmt/cacti/pkg-message index aef3e932a4ae..9b37b13e9b41 100644 --- a/net-mgmt/cacti/pkg-message +++ b/net-mgmt/cacti/pkg-message @@ -1,21 +1,18 @@ -========================================================== +================================================================== 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 -# echo "CREATE DATABASE cacti; -GRANT ALL ON cacti.* TO cactiuser at localhost IDENTIFIED BY 'cactiuser'; -FLUSH PRIVILEGES;" | mysql && +# echo "GRANT ALL ON cacti.* TO cactiuser at localhost IDENTIFIED BY 'cactiuser'; FLUSH PRIVILEGES;" | mysql && 3: Import the default cacti database # mysql cacti < %%PREFIX%%/%%CACTIDIR%%/cacti.sql 4: Edit your config.php -Specify the MySQL user, password and database for -your cacti configuration. +Specify the MySQL user, password and database for your cacti configuration. 5: Add a line to your /etc/crontab file similar to: */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 Have fun! -========================================================== +================================================================== |