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

  • Transmission 4.1.1 Released with Faster Performance and Better Efficiency for Linux and macOS
  • Calibre 9.3 Released with Enhances KEPUB Support for E-Book Readers
  • Microsoft Retires Outlook Contact Masking Feature March 31, 2026
  • Google Maps Privacy Update: Why Reviews and Ratings Are Now Hidden for Unlogged Users
  • Ubuntu 26.04 New Modular Firmware System: Faster Updates and Reduced System Bloat
  • Ghostty Linux Scrollbars Finally Here: What You Need to Know
  • Why Windows 11 Canary Channel Split into Two Builds? Explained!
  • What is Claude Cowork? And How Claude Cowork Uses Agentic AI
  • PocketBlue and Red Hat Bring Fedora Atomic Linux to Mobile Devices
  • Mozilla Ends Firefox Support for Windows 7, 8, and 8.1: What You Need to Know
  • Cosmic Desktop 1.0.7 Enhances Workspace Management: What’s New?
  • KDE Plasma 6.6 Released: What’s New and How to Upgrade?
  • Nginx Proxy Manager 2.14 Removes ARMv7 Support: What Users Need to Know
  •  KDE Plasma 6.6: A Complete Guide to the Latest Linux Desktop Features
  • Ubuntu 26.04 Resolute: Features, Release Date, and Everything You Need to Know
  • How to Fix Steam File Validation Error: Easy Steps for Beginners
  • 5 Essential PC Maintenance Tips to Keep Your Computer Fast and Healthy
  • What is Logseq? Forget Standard Notes App, Use this to Boosts Real Productivity
  • LibreOffice 25.8.5 Released with 62 Bug Fixes: What’s New?
  • Oracle’s New Plan for MySQL Community Engagement Explained
  • PipeWire 1.6 Brings LDAC Support and 128-Channel Audio: What’s New?
  • How to Fix Roblox Error: Create Support Files to Solve the Problem
  • Why Segmenting Your Home Network with VLANs Is the Upgrade You Didn’t Know You Needed
  • Proxmox 2026 Has The Best Backup and Recovery Feature
  • How to Calibrate Temperature and Humidity Sensors for Maximum Accuracy
  • Beda BRIVA dan Rekening? Ini Penjelasannya!
  • Pahami Perbedaan Kode SIEX, SIPX, dan SISX dengan Mudah!
  • Arti SPT Sebelumnya Tidak Ada dari BPS yang Perlu Kalian Pahami
  • Kode Error 205 di BCA Mobile: Penyebab dan Solusi Lengkap
  • Solusi Cepat Saat Voucher Axis Tidak Bisa Diproses
  • Prompt AI Menyusun Script Pola Suara Karakter agar Brand Jadi Ikonik
  • Prompt AI untuk Merancang Karakter Brand yang Ikonik
  • Prompt AI Audit Konten Sesuai Karakter Brand
  • Prompt AI Merubah Postingan LinkedIn Jadi Ladang Diskusi dengan ChatGPT
  • Prompt AI: Paksa Algoritma LinkedIn Promosikan Konten Kalian
  • 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