Complete Installation & Configuration Steps in AWS EC2 Instance:
ec2-user
sudo su
yum install httpd php
yum install gcc glibc glibc-common
yum install gd gd-devel
adduser -m nagios
passwd nagios
groupadd nagioscmd
usermod -a -G nagioscmd nagios
usermod -a -G nagioscmd apache
mkdir ~/downloads
cd ~/downloads
wget [<http://prdownloads.sourceforge.net/so>...](<https://www.youtube.com/redirect?event=video_description&redir_token=QUFFLUhqbG5hRW8zNld1TDVCNWZqQTJVRnhwa0dFcHM1QXxBQ3Jtc0ttWmE1c1ZWTGYxYnk0c2FtUDI3ZDRnRHhqazFSZnVpMHVXQ1ZJTFBLeGd2UUUwN1N2azlMTmFwMlplWVpJTHUyMGtaOUlJMm1MMVNJaG0xSFAzRlFzT29BYi1qTy1hWW52MnZPSmlKbVF1YXM5blU2aw&q=http%3A%2F%2Fprdownloads.sourceforge.net%2Fsourceforge%2Fnagios%2Fnagios-4.0.8.tar.gz&v=H9uRoLS_8ks>)
wget [<http://nagios-plugins.org/download/na>...](<https://www.youtube.com/redirect?event=video_description&redir_token=QUFFLUhqbHZ1MU1CVEItRjUtMTlKR1pIMWhLaVhXdlc4Z3xBQ3Jtc0tsT3lQT3BsUGRKSTVxM3dnWWRHWHRYX1FJU2pQaWxITWpDMnY4QU5NSWhUYXg4U3gxdzRfXy1WUmF0WFU2bFlEVTljU3hrNzRvZXVMQ29iNm9XQ3dIbUZIR1lJd3hSWDZlSEtWZkkyRWt2TFJld0hINA&q=http%3A%2F%2Fnagios-plugins.org%2Fdownload%2Fnagios-plugins-2.0.3.tar.gz&v=H9uRoLS_8ks>)
tar zxvf nagios-4.0.8.tar.gz