1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/net/cacti/files/pkg-message.in
Sergey Matveychuk badc834778 - Fix removing logic for user config [1]
- Remove useless empty dirs
- Fix package
- Makefile refactoring
- Utilize SUB_FILES magic
- Update pkg-message

Reported by:    kris (via pointyhat) [1]
2005-04-21 07:02:05 +00:00

22 lines
996 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
(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 include/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%% %%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!
==================================================================