Thursday, January 29, 2009

HOWTO install rrdtool 1.3.6 - lasted version

HOWTO Install RRDTOOL 1.3.6 - Ubuntu 8.04

1.- Download RRDTOOL from official site

Last version: RRDTOOL 1.3.6
Released: Mon, 19 Jan 2009
Package: rrdtool-1.3.6.tar.gz
From console: (Go to Temp directory if you want)
root@server:/var/www# wget

2.- Install dependencies
Use apt-get to make sure you have all that is required.
root@server:/var/www# apt-get install libpango1.0-dev libxml2-dev

3.- Uncompress and Install rddtool
BUILD_DIR=/var/www/rddtool-1.3.6 (Temporal directory)
INSTALL_DIR=/usr (Very important directory)
root@server:/var/www# tar -xzvf rrdtool-1.3.6.tar.gz
root@server:/var/www# chown -R root:root rrdtool-1.3.6
root@server:/var/www# cd rrdtool-1.3.6
root@server:/var/www/rrdtool-1.3.6# ./configure --prefix=/usr && make && make install

4.- Verify
Go to /usr/bin directory
root@server:/var/www# cd /usr/bin
root@server:/usr/bin# ls rr* -l
-rwxr-xr-x 1 root root 49679 2009-01-29 14:38 rrdcgi
-rwxr-xr-x 1 root root 42241 2009-01-29 14:38 rrdtool
-rwxr-xr-x 1 root root 183993 2009-01-29 14:38 rrdupdate

No comments:

Post a Comment