How To Install Zabbix 3.4 Server On CentOS 7

In this tutorial, we will show you how to install Zabbix 3.4 on CentOS 7. Zabbix is an open source network monitoring software designed to monitor and track the status of various network devices, servers, virtual machines and other network hardware. It can use MySQL, PostgreSQL, SQLite, Oracle or IBM DB2 as a backend data storage. Zabbix back-end is written in C and the web front-end is written in PHP. Zabbix offers multiple monitoring options such as simple checks to verify the availability and responsiveness of standard services such as IMAP or HTTP without installing any software on the monitored machine.

A Zabbix agent can be deployed on a monitoring machines to monitor statistics such as CPU load, network utilization, disk space, etc. Zabbix’s client-server model allows allow us to collect rich sets of data that can be useful for monitoring the performance of the websites, services and various applications.

Installing Zabbix on CentOS, is fairly easy task and should not take more then 15 minutes. This guide should work on other Red Hat systems as well but was tested and written for CentOS 7 VPS. Let’s get started with installing Zabbix on your CentOS 7 server.

1. Install Apache and PHP

Installing Apache and PHP is pretty straightforward process, just issue the following command:

yum install httpd php

2. Install MariaDB

In this guide we will use MySQL/MariaDB as database engine. To install the MariaDB server, run:

yum install mariadb-server

When the installation is complete, run the following commands to start and enable the mariadb service run :

systemctl start mariadb
systemctl enable = mariadb

To secure your installation and to setup the root password issue:

mysql_secure_installation

3. Install Zabbix on CentOS 7

Zabbix packages are not available in the default CentOs 7 repositories so first we need to install the official Zabbix repository for CentOS and then install all the necessary Zabbix packages. Run the following command to install the Zabbix 3.4 repository:

7. Access the Zabbix Web Interface

In the last step of this guide we need to access to Zabbix Web Interface and finish the installation.

To finish the installation open your browser and navigate to http://your_server_ip_address/zabbix/. The installer will ask you to enter the zabbix database login information and once you finish the post installation steps you will be redirected to the Zabbix Web Interface login page. The default admin user name is ‘admin’ and the password is ‘zabbix’.

That’s it. You have successfully installed Zabbix 3.4 server on your CentOS 7 VPS. For more information about how to manage your Zabbix installation, please refer to the official Zabbix documentation.

Of course you don’t have to Install Zabbix on your CentOS 7 server, if you use one of our Linux Hosting services, in which case you can simply ask our expert Linux admins to setup this for you. They are available 24×7 and will take care of your request immediately.

PS. If you liked this post, on How To Install Zabbix 3.4 on CentOS 7, please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.