Database Reference
In-Depth Information
$ sudo yum install httpd
•
GCC compiler
: Check for the installed version of GCC compiler using the fol-
lowing command:
$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/
x86_64-amazon-linux/4.6.3/lto-wrapper
Target: x86_64-amazon-linux
Configured with: ../configure --prefix=/usr --mandir=/
usr/share/man --infodir=/usr/share/info
--with-bugurl=http://bugzilla.redhat.com/bugzilla
--enable-bootstrap --enable-shared
--enable-threads=posix --enable-checking=release
--with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions
--enable-gnu-unique-object --enable-linker-build-id
--enable-languages=c,c++,objc,obj-c++,,fortran,ada,go,lto
--enable-plugin --disable-libgcj --with-tune=generic
--with-arch_32=i686 --build=x86_64-amazon-linux
Thread model: posix
gcc version 4.6.3 20120306 (Red Hat 4.6.3-2) (GCC)
If it does not exist, install it as follows:
$ sudo yum install gcc glibc glibc-common
•
GD graphics library
: GD is a dynamic graphics development library to generate
various formats of dynamically generated images. Unfortunately, there is no
quick way to see GD installation. To install the GD library, execute the following
command:
$ yum install gd gd-devel
Preparation
Before we jump into installing Nagios, we need to set up a user account and a group for
Nagios as follows: