Loading...

How to Install Zabbix on Ubuntu 18.04

Simple.Predictable.Scalable

Easily deploy your favorite applications in seconds at an unbeatable price for your next projects.

Installing Zabbixon on Ubuntu 18.04

Zabbixon is an open-source network monitoring tool that allows you to monitor the performance and availability of your network infrastructure. It provides real-time monitoring, alerting, and reporting features to help you keep track of your network's health.

To install Zabbixon on Ubuntu 18.04, you can follow the steps below:

Step 1: Update System

Before installing any new software, it's always a good idea to update your system first. Open a terminal and run the following command:

sudo apt update && sudo apt upgrade

Step 2: Install Required Packages

Zabbixon requires a few packages to be installed on your system. Install them by running the command:

sudo apt install apache2 libapache2-mod-php7.2 php7.2 php7.2-common php7.2-mbstring php7.2-xmlwriter php7.2-zip php7.2-soap php7.2-gd php7.2-ldap php7.2-mysql mysql-server mysql-client

Step 3: Download Zabbixon

Download the latest stable version of Zabbixon from their official website or from their GitHub repository. You can use the following command to download the tarball:

wget https://github.com/zabbix/zabbix/archive/refs/tags/4.4.10.tar.gz

Step 4: Extract Zabbixon Archive

Once the download is complete, extract the archive using the following command:

tar -xf 4.4.10.tar.gz

Step 5: Create Zabbixon Database

Create a new MySQL database and user for Zabbixon. You can use the following commands to achieve this:

mysql -u root -p

Then, within the MySQL prompt, run the following commands:

CREATE DATABASE zabbix CHARACTER SET utf8 COLLATE utf8_bin; CREATE USER 'zabbix'@'localhost' IDENTIFIED BY 'password'; GRANT ALL PRIVILEGES ON zabbix.* TO 'zabbix'@'localhost'; FLUSH PRIVILEGES; EXIT;

Step 6: Configure Zabbixon

Now, go to the Zabbixon directory that was extracted earlier:

cd zabbix-4.4.10

Copy the default configuration file:

cp -r frontends/php/include/zabbix.conf.php.example /etc/zabbix/zabbix.conf.php

Edit the configuration file as follows:

sudo nano /etc/zabbix/zabbix.conf.php

Change the following lines to match your MySQL database configuration:

$DB['TYPE'] = 'MYSQL';
$DB['SERVER'] = 'localhost';
$DB['PORT'] = '0';
$DB['DATABASE'] = 'zabbix';
$DB['USER'] = 'zabbix';
$DB['PASSWORD'] = 'password';
$ZBX_SERVER_HOST = 'localhost';

Save and exit the file.

Step 7: Configure Apache

Create a new virtual host configuration for Zabbixon:

sudo nano /etc/apache2/sites-available/zabbix.conf

Add the following contents to the file:

Alias /zabbix /var/www/html/zabbix

Options FollowSymLinks
AllowOverride None
Require all granted

Save and close the file.

Enable the new virtual host:

sudo a2ensite zabbix.conf

Restart Apache to apply the changes:

sudo systemctl restart apache2

Step 8: Run Zabbixon Installer

Access Zabbixon installer through a web browser by navigating to:

http://YOUR_SERVER_IP/zabbix/setup.php

Follow the instructions to complete the installation process.

After the installation is complete, you can access your Zabbixon dashboard by going to:

http://YOUR_SERVER_IP/zabbix/

Congratulations! You have successfully installed Zabbixon on Ubuntu 18.04.

Note: Make sure to replace "YOUR_SERVER_IP" with the actual IP address or domain of your server.

Refer A Friend
Get $25

Installing Zabbix on Ubuntu 18.04
Zabbix installation guide for Ubuntu 18.04
How to install Zabbix on Ubuntu 18.04
Ubuntu 18.04 Zabbix installation tutorial
Zabbix setup on Ubuntu 18.04 step-by-step
Installing Zabbix monitoring on Ubuntu 18.04
Zabbix server installation on Ubuntu 18.04
Ubuntu 18.04 Zabbix installation requirements
Zabbix installation troubleshooting on Ubuntu 18.04
How to configure Zabbix agent on Ubuntu 18.04

Why Customers Love Us

What our customers say about us

Ready To Get Started For Free?

Create your free account today.