Rrdtool: Difference between revisions

From CLONWiki
Jump to navigation Jump to search
Boiarino (talk | contribs)
No edit summary
Boiarino (talk | contribs)
No edit summary
Line 12: Line 12:
  make install
  make install


Use 'PathAdd' in ''mrtg.cfg'' to help MRTG to find rrdtool.
Add following lines to ''mrtg.cfg'' to help MRTG to find rrdtool:


To install to ''/usr/local'' does not create anything in ''/www'' and configure as following:
  LogFormat: rrdtool
  PathAdd: /www/rrdtool1.2.23/bin
  LibAdd: /www/rrdtool1.2.23/lib/perl/5.8.5
 
NOTE: I did not do it but if you want to install to ''/usr/local'' does not create anything in ''/www'' and configure as following:


  ./configure  --prefix=/usr/local
  ./configure  --prefix=/usr/local

Revision as of 16:17, 28 May 2007

Installation on clonweb to /www as root:

mkdir /www/rrdtool1.2.23
chown mrtg:mrtg /www/rrdtool1.2.23
cp /usr/local/downloads/rrdtool-1.2.23.tar.gz /usr/local/src
cd /usr/local/src
gunzip rrdtool-1.2.23.tar.gz
tar xvf rrdtool-1.2.23.tar
cd rrdtool-1.2.23
./configure  --prefix=/www/rrdtool1.2.23
make
make install

Add following lines to mrtg.cfg to help MRTG to find rrdtool:

 LogFormat: rrdtool
 PathAdd: /www/rrdtool1.2.23/bin
 LibAdd: /www/rrdtool1.2.23/lib/perl/5.8.5

NOTE: I did not do it but if you want to install to /usr/local does not create anything in /www and configure as following:

./configure  --prefix=/usr/local