RH8.0 Installation details (answers, not questions)

Pete Dubler pete at dublerfamily.com
Tue Dec 3 02:25:20 CET 2002


  I finally got it all right...  

Here, in detail are the steps I followed to get nagios installed, with 
all of the neat graphic cgi's, on Redhat 8.0.  There are just a few 
subtle details.


      Installation (on RedHat 8.0):

    Nagios requires the following:
            gd from http://www.boutell.com/gd
            libjpeg (RH CD #1) and libjpeg-devel (RH CD #2)
            libpng (RH CD #1) and libpng-devel (RH CD #2)

Unpack gd with the following command:
        tar -xzvf gd.2.0.8.tar.gz

Boutell's version of gd will update the RedHat version by using the 
following configure invocation from the directory in which gd was unpacked:

    ./configure --prefix=/usr
    make
    make install

Prior to attempting to build the nagios distribution, /etc/ld.so.conf 
needs to be edited to include the path to gd (and libjpeg and libpng) by 
adding the line:

    /usr/lib

then you must run the following command:

    ldconfig

Now you are ready to configure and make nagios.  Nagios is expanded by 
running the command:

    tar -xzvf nagios-1.0.tar.gz

The configure invocation must include options for the path to your gd 
lib and gd includes.  Running from the directory in which nagios was 
expanded:

    ./configure --with-gd-lib=/usr/lib \
                  --with-gd-inc=/usr/include

Then execute the following commands in turn (note, you will see lots of 
warning messages as a result of the specified paths in the configure 
command.  This is not a problem).:

    make all
    make install
    make install-init
    make install-commandmode
    make install-config

     Now you are ready to edit all of the necessary nagios config files 
which are located in /usr/local/nagios/etc.  Refer to the excellent 
documentation that comes with nagios.  (Sit and read the doc, especially 
the tips and tricks, before editing any files and you will find it much 
easier...)

THANKS FOR THE HELP FOLKS...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20021202/95136f59/attachment.html>


More information about the Users mailing list