IMGate

 Home

 Introduction

 Requirements

 Get Files

 Library Compilation

 MRTG Compilation

 Postfix MRTG Files

 Editing Crontab

 Running Postfix MRTG

 Running at Startup

 Credits

 Extras

 

MRTG Compilation

Now that you have the required libraries installed we can install the MRTG.

If you haven't already download and copy the MRTG into the directory "/usr/local/"

Change directory to "/usr/local"

cd /usr/local/

Now we need to extract the files

gunzip -c mrtg-2.8.12.tar.gz | tar xvf -

A new directory will be created entitled "mrtg-2.8.12." Let's rename this to make it easier to type in the future. Then change to your new directory.

mv mrtg-2.8.12 mrtg
cd mrtg

Now we need to compile the MRTG. If there is a problem somewhere, the program will let you know and tell you what you need. Be sure to keep the lines below on the same line.

./configure --with-gd=/usr/local/src/gd   \
                   --with-z=/usr/local/src/zlib   
\
                   --with-png=/usr/local/src/libpng

Now that it has been compiled simply type:

make

 

 
Copyright © 2000 - THE MATTCAVE Online - All Rights Reserved