diff options
author | Aaron Walker <ka0ttic@gentoo.org> | 2005-03-15 14:00:06 +0000 |
---|---|---|
committer | Aaron Walker <ka0ttic@gentoo.org> | 2005-03-15 14:00:06 +0000 |
commit | 1156af2255a64a4a135c58f4879c68f95c4d4977 (patch) | |
tree | 03136fd7aa2895ee00499b1583ec636c57f36165 /net-analyzer | |
parent | forgoten to remove a # that was commenting a small sleep (diff) | |
download | gentoo-2-1156af2255a64a4a135c58f4879c68f95c4d4977.tar.gz gentoo-2-1156af2255a64a4a135c58f4879c68f95c4d4977.tar.bz2 gentoo-2-1156af2255a64a4a135c58f4879c68f95c4d4977.zip |
More updates to postinst-en.txt for bug 83673. Thanks to Jakub Moc for helping me get the upgrade instructions up-to-date (and correct).
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/cacti/ChangeLog | 6 | ||||
-rw-r--r-- | net-analyzer/cacti/Manifest | 14 | ||||
-rw-r--r-- | net-analyzer/cacti/files/postinstall-en.txt | 23 |
3 files changed, 28 insertions, 15 deletions
diff --git a/net-analyzer/cacti/ChangeLog b/net-analyzer/cacti/ChangeLog index 37725ba9abe9..51b46230f2f4 100644 --- a/net-analyzer/cacti/ChangeLog +++ b/net-analyzer/cacti/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-analyzer/cacti # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/cacti/ChangeLog,v 1.40 2005/03/09 12:23:35 ka0ttic Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/cacti/ChangeLog,v 1.41 2005/03/15 14:00:06 ka0ttic Exp $ + + 15 Mar 2005; Aaron Walker <ka0ttic@gentoo.org> files/postinstall-en.txt: + More updates to postinst-en.txt for bug 83673. Thanks to Jakub Moc for + helping me get the upgrade instructions up-to-date (and correct). 09 Mar 2005; Aaron Walker <ka0ttic@gentoo.org> files/postinstall-en.txt, cacti-0.8.6b.ebuild, cacti-0.8.6c.ebuild: diff --git a/net-analyzer/cacti/Manifest b/net-analyzer/cacti/Manifest index f30bef442257..761dabdc6731 100644 --- a/net-analyzer/cacti/Manifest +++ b/net-analyzer/cacti/Manifest @@ -1,17 +1,7 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 f336eb6ba3c459b9b17078d8a317871a cacti-0.8.6c.ebuild 1358 MD5 2c655694731b7e285fed83e0f3a7d069 cacti-0.8.6b.ebuild 1358 -MD5 8e598d47cdb8ef04bb623824ed32f923 ChangeLog 5369 +MD5 4543229e268e130a8e5176eadac173fc ChangeLog 5586 MD5 9683bb7323c40d69b48d54ad0eb169ed metadata.xml 221 -MD5 25166aaea15b1a7bf1f6b0e212240b91 files/postinstall-en.txt 1364 +MD5 384a779398e56811a62445c20ddc5a72 files/postinstall-en.txt 2083 MD5 5415dc0df13fd1528eb90acce7f44989 files/digest-cacti-0.8.6b 65 MD5 92214d64b7a546022d81ca37cb137262 files/digest-cacti-0.8.6c 65 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.0 (GNU/Linux) - -iD8DBQFCLurTEZCkKN40op4RAjTmAKCwplMtKq3JXBZQh4RfG0OUU/Y4OgCgmcBC -MAs0gC36d8LbwaZ/fflKc20= -=O+I7 ------END PGP SIGNATURE----- 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 |