Cacti : Upgrade from version 0.8.7b to version 0.8.7d

By BXTra |
It's been a while that I do nothing with Cacti. So, I decided to upgrade Cacti from version 0.8.7b ( ) to version 0.8.7d.

1. Get Cacti version 0.8.7d

cd /var/www/html

2. Change directory of Cacti 0.8.7b (Old) to something Else. Then, extract Cacti 0.8.7d and change directory name to the one we use.

mv cacti cacti_old_version
tar xzvf cacti-0.8.7d.tar.gz
mv cacti-0.8.7d cacti

3. Set configuration setting in a new config file.

Start by open an old configuration file.
cd /var/www/html/cact_oldversion/include
nano -w config.php

Take a note on all configuration settings that look like below:

$database_default = "cacti";
$database_hostname = "localhost";
$database_username = "cactiuser";
$database_password = "somepassword";

Then, copy it to a new configuration file below :

cd /var/www/html/cacti/include
nano -w config.php

4. Set the appropriate permissions on Cacti directory. In DirectAdmin, You may get 500 Internal Server Error if you don't do this. So, you need to do the following:

cd /var/www/html
chown -R webapps:webapps cacti

5. Update Cacti Database by using Web Browser to enter to your Cacti page.


Follow the on-screen steps to upgrade your database. Then, you can log on and use Cacti as usual.

Add new comment

  • No HTML tags allowed.
  • Web page addresses and email addresses turn into links automatically.
  • Lines and paragraphs break automatically.
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.