How To Setup Icinga Web 2 on CentOS 7 / RHEL 7
In the next screen, you can choose to enable the modules that were installed during the Icinga 2 installation. Click Next.
The following page shows the information about the system, time zone, and PHP extensions.
yum -y install http://mirror.centos.org/centos/7/sclo/x86_64/sclo/sclo-php71/sclo-php71-php-pecl-imagick-3.4.3-2.el7.x86_64.rpm systemctl restart httpd systemctl restart rh-php71-php-fpm
If there are any warnings or error for other PHP extensions, then install the required extensions and then click the Refresh button.
Otherwise, click Next.
In the next page, you need to tell how you want to authenticate when accessing Icinga Web 2. Icinga Web 2 supports Active Directory, LDAP, and Local as an authentication mechanism.
Here, we will create a local Icinga Web 2 user account. So, select the authentication type as Database and click Next.
Log in to MySQL server.
mysql -u root -p
Create a database for Icinga Web 2 to store authentication information.
CREATE DATABASE icingawebdb; grant all privileges on icingawebdb.* to icingaweb@localhost identified by 'icinga123'; quit
Enter the database details in the following window and click Next.