summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/cacti/files/postinstall-en.txt')
-rw-r--r--net-analyzer/cacti/files/postinstall-en.txt23
1 files changed, 21 insertions, 2 deletions
diff --git a/net-analyzer/cacti/files/postinstall-en.txt b/net-analyzer/cacti/files/postinstall-en.txt
index 787ede337029..2653f5fe5903 100644
--- a/net-analyzer/cacti/files/postinstall-en.txt
+++ b/net-analyzer/cacti/files/postinstall-en.txt
@@ -22,17 +22,36 @@ New Install
Make sure to fill in all of the path variables carefully and
correctly on the following screen.
+Upgrading
+
+1. Backup DB in the case that something goes wrong.
+ shell> mysqldump -l --add-drop-table cacti > mysql.cacti
+2. Backup your rra/ directory and any custom scripts in your scripts/
+ directory.
+3. Edit ${MY_INSTALLDIR}/include/config.php, and confirm that the MySQL user,
+ password and database is correct for your cacti configuration.
+
+ Example:
+ \$database_default = "cacti";
+ \$database_hostname = "localhost";
+ \$database_username = "cactiuser";
+ \$database_password = "cacti";
+4. Point your web browser to: http://your-server/cacti/
+ Select "Upgrade:.
+ Make sure to fill in all of the path variables carefully and
+ correctly on the following screen.
+
Cronjob
Either new or upgrading, make sure you have a cron job - Add this line to
your /etc/crontab file:
- */5 * * * * ${VHOST_SERVER_GID} php ${MY_INSTALLDIR}/poller.php > /dev/null 2>&1
+ */5 * * * * ${VHOST_SERVER_GID} /usr/bin/php ${MY_INSTALLDIR}/poller.php > /dev/null 2>&1
Note that you should use poller.php as the cronjob instead of cmd.php (as it was with
earlier versions) to enable you to switch between cmd.php and cactid.
-Also make sure that the user poller.php runs ( ${VHOST_SERVER_GID} ) as has
+Also make sure that the user poller.php runs as ( ${VHOST_SERVER_GID} ) has
permission to create new files in Cacti's 'rra/' directory which is
${MY_INSTALLDIR}/rrd