Setting up the Zabbix frontend
The Zabbix frontend is the face of our server. It's where we will configure all of our hosts, templates, dashboard, maps, and everything else. Without it, we would be blind to what's going on on the server side, so let's set it up in this recipe.
Getting ready
We are going to set up the Zabbix frontend using Apache. Before starting with this recipe, make sure you are running the Zabbix server on a Linux distribution of your choice. I'll be using the lar-book-centos
and lar-book-ubuntu
hosts in these recipes to show the setup process on CentOS 8 and Ubuntu 20.
How to do it…
- Let's start by installing PHP to our server with the following command.
For RHEL-based systems, use the following:
dnf install php
For Debian-based systems, use the following:
apt-get install php
- Now that we have fulfilled our requirements, it is time for us to actually install the frontend. Issue the following command to get started...