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

  • How to build a high-performance private photo cloud with Immich and TrueNAS SCALE
  • How to Build an Endgame Local AI Agent Setup Using an 8-Node NVIDIA Cluster with 1TB Memory
  • How to Master Windows Event Logs to Level Up Your Cybersecurity Investigations and SOC Career
  • How to Build Ultra-Resilient Databases with Amazon Aurora Global Database and RDS Proxy for Maximum Uptime and Performance
  • How to Build Real-Time Personalization Systems Using AWS Agentic AI to Make Every User Feel Special
  • How to Transform Your Windows 11 Interface into a Sleek and Modern Aesthetic Masterpiece
  • How to Understand Google’s New TPU 8 Series for Massive AI Training and Inference
  • How to Level Up Your PC Gaming Experience with the New Valve Steam Controller and Its Advanced Features
  • 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
  • Inilah Jadwal Pelaksanaan SPMB SD Jakarta 2026
  • Tanggal Penerbitan KK & SKD untuk Pendaftaran SPMB 2026 Dimana?
  • Inilah Lima HP Xiaomi Rp1 Jutaan Sudah Punya NFC
  • Apa itu Jabatan Panitera Muda Mahkamah Agung, Berapa Gaji & Tunjangannya 2026?
  • Inilah Kenapa Bisa Ada Sensasi Mencekam di Bangunan Tua
  • How to Automate Your Entire SEO Strategy Using a Swarm of 100 Free AI Agents Working in Parallel
  • How to create professional presentations easily using NotebookLM’s AI power for school projects and beyond
  • How to Master SEO Automation with Google Gemini 3.1 Flash-Lite in Google AI Studio
  • How to create viral AI video ads and complete brand assets using the Claude and Higgsfield MCP integration
  • How to Transform Your Mac Into a Supercharged AI Assistant with Perplexity Personal Computer
  • 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