Skip to content
Tutorial emka
Menu
  • Home
  • Debian Linux
  • Ubuntu Linux
  • Red Hat Linux
Menu
zabbix tutorial

How to Installing Zabbix 7.2 on Ubuntu 25.10 for Real-Time Monitoring

Posted on January 14, 2026

Zabbix is an open-source, enterprise-class monitoring software designed to track the performance and availability of servers, network devices, and applications in real-time. Operating on a server-client model, it requires a central Zabbix server to collect data and Zabbix agents installed on the target systems to report metrics. Key features include real-time health monitoring (CPU, memory, disk usage), robust log file management, customizable alerting systems, and auto-discovery of network devices. It supports multiple databases like MySQL, PostgreSQL, and Oracle, offering both agentless and agent-based monitoring options.

In this guide, we will walk through the complete process of installing and configuring Zabbix Server on Ubuntu 25.10. By following these beginner-friendly steps, you will have a fully functional monitoring system up and running on your server.

Prerequisites

Before proceeding, ensure your environment meets the following requirements:

  • A server running Ubuntu 25.10.
  • Minimum hardware: 2 GB RAM, 20 GB disk space, and 4 CPUs.
  • A root account or a user account with sudo privileges.

Step 1: Install Required Packages

First, update your system package information to ensure you have the latest software lists.

sudo apt update && sudo apt upgrade -y

Next, install the necessary dependencies, including Apache web server, MySQL database server, PHP, and required PHP modules.

sudo apt install apache2 mysql-server php php-mysql libapache2-mod-php -y

Step 2: Install Zabbix Repository

Since the Zabbix package is not included in the default Ubuntu repository, you must add the official Zabbix repository. Download the Zabbix 7.2 DEB package using wget.

wget https://repo.zabbix.com/zabbix/7.2/release/ubuntu/pool/main/z/zabbix-release/zabbix-release_latest_7.2%2Bubuntu25.10_all.deb

Install the downloaded package to configure the repository:

sudo dpkg -i ./zabbix-release_latest_7.2+ubuntu25.10_all.deb

Step 3: Install Zabbix Server, Frontend, and Agent

Refresh your package database to recognize the newly added Zabbix repository, then install the server, frontend, agent, and configuration scripts.

sudo apt update
sudo apt install zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-sql-scripts zabbix-agent -y

Step 4: Configure MySQL Database

You need to set up a database for Zabbix to store its data. Log in to the MySQL console:

sudo mysql -u root

Execute the following SQL commands to create a database, create a user, and grant the necessary permissions. Replace ‘password’ with a strong password of your choice.

CREATE DATABASE zabbix CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;
CREATE USER 'zabbix'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON zabbix.* TO 'zabbix'@'localhost';
set global log_bin_trust_function_creators = 1;
FLUSH PRIVILEGES;
EXIT;

Step 5: Import Zabbix Database Schema

Now, import the initial schema and data into the database you just created. You will be prompted to enter the password you defined in the previous step.

zcat /usr/share/zabbix/sql-scripts/mysql/server.sql.gz | mysql --default-character-set=utf8mb4 -uzabbix -p zabbix

Note: This process may take a moment. Do not interrupt it even if the screen appears to hang.

Once the import is finished, disable the binary log trust function for better security:

sudo mysql -u root
set global log_bin_trust_function_creators = 0;
EXIT;

Step 6: Configure Zabbix Server

Edit the Zabbix server configuration file to connect it to your database.

sudo nano /etc/zabbix/zabbix_server.conf

Locate the following lines, uncomment them (remove the #), and update the values to match your database setup:

DBHost=localhost
DBName=zabbix
DBUser=zabbix
DBPassword=password

Save the file (Ctrl+O, Enter) and exit (Ctrl+X).

Step 7: Start and Enable Services

Restart the Zabbix server, agent, and Apache services to apply changes, and enable them to start automatically on boot.

sudo systemctl restart zabbix-server zabbix-agent apache2
sudo systemctl enable zabbix-server zabbix-agent apache2

You can verify the status of the Zabbix server to ensure it is running correctly:

systemctl status zabbix-server

Step 8: Finalize Configuration via Web Interface

Open your web browser and navigate to http://your-server-ip/zabbix. You will be greeted by the Zabbix installation wizard.

  1. Welcome: Select your preferred language and click “Next step”.
  2. Prerequisites: Ensure all checks are green (OK), then click “Next step”.
  3. DB Connection: Enter the database name (zabbix), user (zabbix), and the password you created earlier. Click “Next step”.
  4. Settings: Set the Zabbix server name and select your time zone/theme. Click “Next step”.
  5. Summary: Review your settings and click “Next step” to finish the installation.

Step 9: Post-Installation Security

After the wizard completes, you will be redirected to the login page.

  • Default Username: Admin
  • Default Password: zabbix

For security, immediately change the default password. Navigate to Users > Users, select the Admin user, click Change password, enter a secure password, and click Update.

You have now successfully installed Zabbix 7.2 on Ubuntu 25.10 and are ready to start monitoring your infrastructure.

Recent Posts

  • Is it Time to Replace Nano? Discover Fresh, the Terminal Text Editor You Actually Want to Use
  • How to Design a Services Like Google Ads
  • How to Fix 0x800ccc0b Outlook Error: Step-by-Step Guide for Beginners
  • How to Fix NVIDIA App Error on Windows 11: Simple Guide
  • How to Fix Excel Formula Errors: Quick Fixes for #NAME
  • How to Clear Copilot Memory in Windows 11 Step by Step
  • How to Show Battery Percentage on Windows 11
  • How to Fix VMSp Service Failed to Start on Windows 10/11
  • How to Fix Taskbar Icon Order in Windows 11/10
  • How to Disable Personalized Ads in Copilot on Windows 11
  • What is the Microsoft Teams Error “We Couldn’t Connect the Call” Error?
  • Why Does the VirtualBox System Service Terminate Unexpectedly? Here is the Full Definition
  • Why is Your Laptop Touchpad Overheating? Here are the Causes and Fixes
  • How to Disable All AI Features in Chrome Using Windows 11 Registry
  • How to Avoid Problematic Windows Updates: A Guide to System Stability
  • What is Microsoft Visual C++ Redistributable and How to Fix Common Errors?
  • What is the 99% Deletion Bug? Understanding and Fixing Windows 11 File Errors
  • How to Add a Password to WhatsApp for Extra Security
  • How to Recover Lost Windows Passwords with a Decryptor Tool
  • How to Fix Python Not Working in VS Code Terminal: A Troubleshooting Guide
  • Game File Verification Stuck at 0% or 99%: What is it and How to Fix the Progress Bar?
  • Why Does PowerPoint Underline Hyperlinks? Here is How to Remove Them
  • AI Bug Hunting with Semgrep
  • What is the Excel Power Query 0xc000026f Error?
  • How to Build Your Own Homelab AI Supercomputer 2026
  • Inilah Alasan Kenapa Hasil TKA Jadi Kunci Penting di Jalur Prestasi SPMB 2026, Orang Tua Wajib Tahu!
  • Inilah Alasan Kenapa Situs Bumiayu Dianggap Lebih Tua dari Sangiran dan Jadi Kunci Sejarah Jawa
  • Inilah Cara Cerdik Larva Kumbang Hitam Eropa Meniru Aroma Bunga untuk Menipu Lebah
  • Inilah 45 Planet Berbatu yang Paling Berpotensi Jadi Rumah Kedua Manusia di Masa Depan
  • Inilah Cara Ambil Kursus Online Gratis dari Harvard University untuk Asah Skill Digital Kalian!
  • Create High-End Cinematic AI Videos and Professional Images for Free (Grok & Google VEO 3)
  • Meet HappyHorse AI Models: The New Leader in AI Video Generation, Beats Seedance 2.0!
  • Qwen 3.6 Pro Tutorial: Build a High-Ranking Website in 45 Minutes Using Only AI
  • Squeeze Your AI! How TurboQuant Makes Large Language Models Run Smoothly on Your 16GB Mac
  • How to Build Your Own Professional AI Ads Strategist Tool for Free with Claude Codes
  • Apa itu Spear-Phishing via npm? Ini Pengertian dan Cara Kerjanya yang Makin Licin
  • Apa Itu Predator Spyware? Ini Pengertian dan Kontroversi Penghapusan Sanksinya
  • Mengenal Apa itu TONESHELL: Backdoor Berbahaya dari Kelompok Mustang Panda
  • Siapa itu Kelompok Hacker Silver Fox?
  • Apa itu CVE-2025-52691 SmarterMail? Celah Keamanan Paling Berbahaya Tahun 2025
©2026 Tutorial emka | Design: Newspaperly WordPress Theme