What is the purpose of this lesson? The objective of this lesson is to explain the program installed on the servers Alngios operating system running CentOS. As the official website does not explain the preparation of the software only on Linux (Fedora - Suse - Ubuntu). Setup requirements: Should be on the server as follows: Apache Gcc Compiler GD Library ====================== Of course all the servers are located by Apache You can verify the presence of GCC compiler, libraries, GD command: Command: Code: rpm-qa egrep 'glibc-common gcc glibc gd gd-devel' That were not present, you can prepare them as follows: Commands: Code: yum install gcc yum install glibc glibc-common yum install gd gd-devel Prepared by: The first step: Add a new user name nagios. Code: useradd-s / bin / false-d / usr / local / nagios nagios Command to create a new Yoezer name nagios .. Shell and its false and folder Alhom tags is / Usr / local / nagios You can read more about something that useradd through the link http://linux.die.net/man/8/useradd Step Two: Add a new group on behalf of nagiosmt Code: groupadd nagiosmt Step Three: Add nagios Aliuser and Yoezer Apache is nobody to the new group that we have created in the previous step. Code: usermod-G nagiosmt nagios usermod-G nagiosmt nobody Step Four: Work folder to drag the program inside and not as, for example download Code: mkdir / root / download cd / root / download Step Five: Pull the Alngios: Code: wget http://www.mtwer.com/files/servers/nagios-3.0.6.tar.gz MD5 signature file is: Code: 0387f2f418223a25333fd905fb499d4c And then decompress the file command: Code: tar-zxf nagios-3.0.6.tar.gz Then enter the folder to start the Setup program: Code: cd nagios-3.0.6 Step Six: Start preparations: Code: . / Configure - prefix = / usr / local / nagios - with-httpd-conf = / usr / local / apache / conf - with-command-group = nagiosmt Should be