1.yum install epel-release -y
2.yum install php -y
3.systemctl start httpd
4.systemctl enable httpd
5.yum install nagios nagios-plugins-all -y
6.systemctl start nagios
7.systemctl enable nagios
8.htpasswd -cm /etc/nagios/cgi.cf
9.links http://192.168.31.100/nagios