Installing RRDTool
SCP the tarball into the /usr/src directory on your linux box. From a command prompt, change into the /usr/src directory, and un-tar the tarball:
cd /usr/src
tar -xzvf rrdtool-1.2.12.tar.gz
Change into the newly created directory:
cd rrdtool-1.2.12
Compile and install RRDTool:
./configure --disable-tcl
make
make install
TCL is disabled, as compilation of some of the TCL components for RRDTool 1.2.12 will otherwise fail on RedHat 9.
Run ./configure --help for more information on configuration options.
The default installation location is /usr/local/rrdtool-VERSION, so make some symbolic links to the executables:
ln -sf /usr/local/rrdtool-1.2.12/bin/rrdtool /usr/bin/rrdtool
ln -sf /usr/local/rrdtool-1.2.12/bin/rrdupdate /usr/bin/rrdupdate
ln -sf /usr/local/rrdtool-1.2.12/bin/rrdcgi /usr/bin/rrdcgi
The RRDTool Perl library simplifies things when using RRDTool from a Perl script, so to compile and install the Perl library for RRDTool:
make site-perl-install
Create a directory for RRDTool databases, and a directory for the web images which it'll generate:
mkdir /var/lib/rrd
mkdir /var/www/html/rrdtool
SCP the tarball into the /usr/src directory on your linux box. From a command prompt, change into the /usr/src directory, and un-tar the tarball:
cd /usr/src
tar -xzvf rrdtool-1.2.12.tar.gz
Change into the newly created directory:
cd rrdtool-1.2.12
Compile and install RRDTool:
./configure --disable-tcl
make
make install
TCL is disabled, as compilation of some of the TCL components for RRDTool 1.2.12 will otherwise fail on RedHat 9.
Run ./configure --help for more information on configuration options.
The default installation location is /usr/local/rrdtool-VERSION, so make some symbolic links to the executables:
ln -sf /usr/local/rrdtool-1.2.12/bin/rrdtool /usr/bin/rrdtool
ln -sf /usr/local/rrdtool-1.2.12/bin/rrdupdate /usr/bin/rrdupdate
ln -sf /usr/local/rrdtool-1.2.12/bin/rrdcgi /usr/bin/rrdcgi
The RRDTool Perl library simplifies things when using RRDTool from a Perl script, so to compile and install the Perl library for RRDTool:
make site-perl-install
Create a directory for RRDTool databases, and a directory for the web images which it'll generate:
mkdir /var/lib/rrd
mkdir /var/www/html/rrdtool