[HOWTO] Installing Cacti on Ubuntu

If you figure out how to do something interesting/cool in Cacti and want to share it with the community, please post your experience here.

Moderators: Developers, Moderators

jdr0berts
Posts: 1
Joined: Fri Oct 12, 2007 10:21 am

Post by jdr0berts »

Is this the easiest way to get cacti to work?

I'm having real trouble getting this running - I've been through the instructions (though not those complicated ones listed by 7echno7im) and it seems to install without any hassle, but when I go to the myip/cacti/ I get a blank page....

Not exactly apt-get install simplicity... which is what I was expecting.

However, I'm new to this linux stuff - so far set home server up with slimserver, samba.... :-?

(Edgy 6.10)

Cheers
J
User avatar
7echno7im
Posts: 21
Joined: Tue Oct 02, 2007 5:17 pm
Contact:

Post by 7echno7im »

I tried many, many times to get all of the easy install instructions to work on ubuntu server and never once got any of them to work fully. Thta's why i wrote my own. If you are using Uubntu desktop, you can follow the XAMPP ones, but trust me when I say, I tried it many times. About 10 rebuilds on virtual servers before getting it right.
My Site
www.techtronic.us
aldibi
Posts: 11
Joined: Tue May 12, 2009 12:49 am
Location: Mill Valley
Contact:

Added here - post is top Google result for this subject

Post by aldibi »

When using the instruction "apt-get install cacti-cactid" to install Cacti in an Ubuntu 9.04 (or earlier) environment you will find that the distribution actually downloads Cacti version 0.8.7b, it places the application and data files in Ubuntu specific directories, and requires Unbuntu/Debian specific patches for config.php, debian.php, global.php, and global-settings.php (not a complete list)

We have updated our tutorial on how to work through this, in particular upgrading from the 0.8.7b distribution Ubuntu provides, now to 0.8.7e, and applying the Debian/Ubuntu specific patches for 0.8.7e

01_config.php.patch
05_no-adodb.patch
06_config_settings.php_cactid_path.patch
cli-include-path.patch

http://patch-tracking.debian.net/package/cacti/0.8.7e-1

The full tutorial is here: http://www.open4energy.com/tutorials/virtualbox/cacti

PS - I would post it here, but it is really too many pages!

PPS - We are not a support business, we use Cacti for data center energy management - we use Ubuntu and Virtual machines to get a standard quick build, and have worked through these issues for our needs - We hope that our experience might help others using cacti with Ubuntu or Debian, particularly those new to Cacti
sergiomc
Posts: 6
Joined: Thu Mar 26, 2009 3:40 pm
Location: Chile

Installing Cacti on Ubuntu

Post by sergiomc »

I used http://forums.cacti.net/about34055.html to install cacti 0.8.7e, spine and PA 2.5 in Ubuntu 9.04 and it work perfect
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests