How to Setup Icinga Web 2 on Ubuntu 16.04 / Debian 8 / Mint

In the next screen, you can choose to enable the modules that were installed during the Icinga 2 installation.

Setup Icinga Web 2 on Ubuntu 16.04 - Enable Modules
Setup Icinga Web 2 on Ubuntu 16.04 – Enable Modules

The following page show’s the missing PHP extensions required for Icinga Web 2.

Setup Icinga Web 2 on Ubuntu 16.04 - PHP Extensions Warning
Setup Icinga Web 2 on Ubuntu 16.04 – PHP Extensions Warning

Now, install the PHP extensions using the following command.

### Ubuntu ###

# apt-get install -y php5.6-gd php5.6-json php5.6-dba php5.6-intl php5.6-ldap php5.6-pdo-mysql php5.6-pgsql php5.6-imagick php5.6-dom

# phpenmod imagick

### Debian ###

# apt-get install -y php5-gd php5-json php5-ldap php5-intl php5-imagick php5-pgsql

Also, set the time zone in php.ini file.

### Ubuntu ###

# vi /etc/php/5.6/apache2/php.ini

### Debian ###

# vi /etc/php5/apache2/php.ini

Set timezone according to your locale.

date.timezone = UTC

Restart the apache server.

### For SysVinit systems ###

# service apache2 restart

### For Systemd systems ###

# systemctl restart apache2

Click on Refresh button, now, you should see all boxes are green.

Setup Icinga Web 2 on Ubuntu 16.04 - PHP Extensions
Setup Icinga Web 2 on Ubuntu 16.04 – PHP Extensions

POSTS YOU MAY LIKE -:)

Share This Post

Shares