1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/net/cacti/pkg-message
Pav Lucistnik 5b92ee5df5 Add cacti, a PHP based frontend to RRDtool configuration.
PR:		ports/59996
Submitted by:	Vincent Tantardini <vinc@freebsd-fr.org>
2003-12-21 17:01:41 +00:00

22 lines
821 B
Plaintext

==========================================================
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 &&
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.
5: Add a line to your /etc/crontab file similar to:
*/5 * * * * %%CACTIUSER%% php %%PREFIX%%/%%CACTIDIR%%/cmd.php > /dev/null 2>&1
6: Point your web browser to the cacti dir
Have fun!
==========================================================