summaryrefslogtreecommitdiff
path: root/net-mgmt/cacti/files/pkg-message.in
blob: 4192345754601bff0fc918144235b3c41075be6e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
==================================================================
Cacti is now installed. If you intall it for the first time,
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:
(change user and/or password if requered)
# 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 %%CACTIDIR%%/include/db-settings.php:
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: Add alias in apache config for the cacti dir:
Alias /cacti "%%PREFIX%%/%%CACTIDIR%%/"
7: Open cacti login page in your web browser and login with admin/admin

Have fun!
==================================================================