Installing Cacti on Debian

I started to notice some limtations with MRTG – it seems that you don’t have any options to select a specific timespan to investigate. I did some digging around and found this really cool application called Cacti (http://www.cacti.net).

If you are running Debian you can just do "apt-get install cacti" and it will install everything it needs, unfortunately the Debian box I am using is not connected to the Internet so I’ve had to manually install everything with dpkg. This meant resolving all the dependencies manually, which was really tedious, so to save you all the work, I’ve listed all my dpkg commands here. I got all the .deb files from http://www.debian.org/distrib/packages so your versions may be slightly different. The latest version of Cacti is currently in the "unstable" repository, but works fine. Also because I already have MRTG on this box, some packages are installed already (e.g. libpng) so there may be others you’ll have to install on top of this little lot.

This isn’t necessarily an exhaustive list, it’s just what worked for me…

dpkg -i ./libart-2.0-2_2.3.17-1_i386.deb
dpkg -i ./librrd2_1.2.15-0.3_i386.deb
dpkg -i ./rrdtool_1.2.15-0.3_i386.deb
dpkg -i ./mysql-common_5.0.32-7etch1_all.deb
dpkg -i ./libmysqlclient15off_5.0.32-7etch1_i386.deb
dpkg -i ./libnet-daemon-perl_0.38-1.1_all.deb
dpkg -i ./libplrpc-perl_0.2017-1.1_all.deb
dpkg -i ./libdbi-perl_1.53-1_i386.deb
dpkg -i ./libdbd-mysql-perl_3.0008-1_i386.deb
dpkg -i ./mysql-client-5.0_5.0.32-7etch1_i386.deb
dpkg -i ./mysql-server-5.0_5.0.32-7etch1_i386.deb
dpkg -i ./php4-common_4.4.4-8+etch3_i386.deb
dpkg -i ./libzzip-0-12_0.12.83-8_i386.deb
dpkg -i ./php4-cgi_4.4.4-8+etch3_i386.deb
dpkg -i ./libapache2-mod-php4_4.4.4-8+etch3_i386.deb
dpkg -i ./php4-mysql_4.4.4-8+etch3_i386.deb
dpkg -i ./php4-snmp_4.4.4-8+etch3_i386.deb
dpkg -i ./php4_4.4.4-8+etch3_all.deb
dpkg -i ./php4-cli_4.4.4-8+etch3_i386.deb
dpkg -i ./libphp-adodb_4.93a-1.1_all.deb
dpkg -i ./dbconfig-common_1.8.29+etch1_all.deb
dpkg -i ./cacti_0.8.6j-1_all.deb

Advertisements
This entry was posted in Computers and Internet. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s