freebsd-ports/net-mgmt/cacti/files/pkg-message.in
Sergey Matveychuk 75dd93c875 - Update tp 0.8.6h
* Numerous bugs fixed
* A few notable features include MySQL 5.x support
* New 5th percentile functionality, and multiple command line scripts
- Refine a little pkg-message.in
2006-01-05 22:10:06 +00:00

21 lines
1.1 KiB
Text

=======================================================================
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@localhost IDENTIFIED BY 'cactiuser'; FLUSH PRIVILEGES;" | mysql
3. Import the default cacti database:
# mysql cacti < %%PREFIX%%/%%CACTIDIR%%/cacti.sql
4. Edit %%PREFIX%%/%%CACTIDIR%%/include/db-settings.php.
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 a cacti login page in your web browser and login with admin/admin.
If you update cacti, open a login page right now. An updating process
will run automatically.
=======================================================================