diff options
author | Eldad Zack <eldad@gentoo.org> | 2005-05-02 11:23:48 +0000 |
---|---|---|
committer | Eldad Zack <eldad@gentoo.org> | 2005-05-02 11:23:48 +0000 |
commit | 37dee68c4d24f314779cf05effd7e5f8f34eb7eb (patch) | |
tree | 23c4a6fd4b39d541ca3489ce4b6f082e213354be /net-analyzer/cacti/files | |
parent | fix bug #82422 (diff) | |
download | gentoo-2-37dee68c4d24f314779cf05effd7e5f8f34eb7eb.tar.gz gentoo-2-37dee68c4d24f314779cf05effd7e5f8f34eb7eb.tar.bz2 gentoo-2-37dee68c4d24f314779cf05effd7e5f8f34eb7eb.zip |
fixed to use webapp_configfile function for include/config.php. closes bug #90908.
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-analyzer/cacti/files')
-rw-r--r-- | net-analyzer/cacti/files/postinstall-en.txt | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/net-analyzer/cacti/files/postinstall-en.txt b/net-analyzer/cacti/files/postinstall-en.txt index 0a59c13bf169..ec5b7b7f4dd2 100644 --- a/net-analyzer/cacti/files/postinstall-en.txt +++ b/net-analyzer/cacti/files/postinstall-en.txt @@ -9,8 +9,8 @@ New Install shell> mysql -p --user=root mysql mysql> GRANT ALL ON cacti.* TO cactiuser@localhost IDENTIFIED BY 'somepassword'; mysql> flush privileges; -4. Copy ${MY_INSTALLDIR}/include/config-sample.php to config.php - And modify the MySQL user, password and database for your cacti configuration. +4. Edit ${MY_INSTALLDIR}/include/config.php and modify the MySQL user, + password and database for your cacti configuration. Example: \$database_default = "cacti"; @@ -28,10 +28,7 @@ Upgrading shell> mysqldump -l --add-drop-table cacti > mysql.cacti 2. Backup your rra/ directory and any custom scripts in your scripts/ directory. -3. Copy ${MY_INSTALLDIR}/include/config-sample.php to config.php - And modify the MySQL user, password and database for your cacti - configuration. -4. Edit ${MY_INSTALLDIR}/include/config.php, and confirm that the MySQL user, +3. Edit ${MY_INSTALLDIR}/include/config.php, and confirm that the MySQL user, password and database is correct for your cacti configuration. Example: @@ -39,7 +36,7 @@ Upgrading \$database_hostname = "localhost"; \$database_username = "cactiuser"; \$database_password = "cacti"; -5. Point your web browser to: http://your-server/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. |