{"id":634,"date":"2026-01-14T15:26:30","date_gmt":"2026-01-14T15:26:30","guid":{"rendered":"https:\/\/tutorial.emka.web.id\/?p=634"},"modified":"2026-01-14T15:26:30","modified_gmt":"2026-01-14T15:26:30","slug":"how-to-installing-zabbix-7-2-on-ubuntu-25-10-for-real-time-monitoring","status":"publish","type":"post","link":"https:\/\/emka.web.id\/en\/2026\/01\/how-to-installing-zabbix-7-2-on-ubuntu-25-10-for-real-time-monitoring.html","title":{"rendered":"How to Installing Zabbix 7.2 on Ubuntu 25.10 for Real-Time Monitoring"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Prerequisites<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Before proceeding, ensure your environment meets the following requirements:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A server running <strong>Ubuntu 25.10<\/strong>.<\/li>\n\n\n\n<li>Minimum hardware: 2 GB RAM, 20 GB disk space, and 4 CPUs.<\/li>\n\n\n\n<li>A root account or a user account with sudo privileges.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1: Install Required Packages<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">First, update your system package information to ensure you have the latest software lists.<\/p>\n\n\n\n<pre class=\"wp-block-syntaxhighlighter-code\">sudo apt update &amp;&amp; sudo apt upgrade -y<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Next, install the necessary dependencies, including Apache web server, MySQL database server, PHP, and required PHP modules. <\/p>\n\n\n\n<pre class=\"wp-block-syntaxhighlighter-code\">sudo apt install apache2 mysql-server php php-mysql libapache2-mod-php -y<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2: Install Zabbix Repository<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">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. <\/p>\n\n\n\n<pre class=\"wp-block-syntaxhighlighter-code\">wget https:\/\/repo.zabbix.com\/zabbix\/7.2\/release\/ubuntu\/pool\/main\/z\/zabbix-release\/zabbix-release_latest_7.2%2Bubuntu25.10_all.deb<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Install the downloaded package to configure the repository:<\/p>\n\n\n\n<pre class=\"wp-block-syntaxhighlighter-code\">sudo dpkg -i .\/zabbix-release_latest_7.2+ubuntu25.10_all.deb<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3: Install Zabbix Server, Frontend, and Agent<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Refresh your package database to recognize the newly added Zabbix repository, then install the server, frontend, agent, and configuration scripts. <\/p>\n\n\n\n<pre class=\"wp-block-syntaxhighlighter-code\">sudo apt update\nsudo apt install zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-sql-scripts zabbix-agent -y<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Step 4: Configure MySQL Database<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">You need to set up a database for Zabbix to store its data. Log in to the MySQL console: <\/p>\n\n\n\n<pre class=\"wp-block-syntaxhighlighter-code\">sudo mysql -u root<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Execute the following SQL commands to create a database, create a user, and grant the necessary permissions. Replace &#8216;password&#8217; with a strong password of your choice. <\/p>\n\n\n\n<pre class=\"wp-block-syntaxhighlighter-code\">CREATE DATABASE zabbix CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;\nCREATE USER 'zabbix'@'localhost' IDENTIFIED BY 'password';\nGRANT ALL PRIVILEGES ON zabbix.* TO 'zabbix'@'localhost';\nset global log_bin_trust_function_creators = 1;\nFLUSH PRIVILEGES;\nEXIT;<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Step 5: Import Zabbix Database Schema<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">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. <\/p>\n\n\n\n<pre class=\"wp-block-syntaxhighlighter-code\">zcat \/usr\/share\/zabbix\/sql-scripts\/mysql\/server.sql.gz | mysql --default-character-set=utf8mb4 -uzabbix -p zabbix<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Note: This process may take a moment. Do not interrupt it even if the screen appears to hang.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once the import is finished, disable the binary log trust function for better security: <\/p>\n\n\n\n<pre class=\"wp-block-syntaxhighlighter-code\">sudo mysql -u root<\/pre>\n\n\n\n<pre class=\"wp-block-syntaxhighlighter-code\">set global log_bin_trust_function_creators = 0;\nEXIT;<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Step 6: Configure Zabbix Server<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Edit the Zabbix server configuration file to connect it to your database. <\/p>\n\n\n\n<pre class=\"wp-block-syntaxhighlighter-code\">sudo nano \/etc\/zabbix\/zabbix_server.conf<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Locate the following lines, uncomment them (remove the #), and update the values to match your database setup: <\/p>\n\n\n\n<pre class=\"wp-block-syntaxhighlighter-code\">DBHost=localhost\nDBName=zabbix\nDBUser=zabbix\nDBPassword=password<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Save the file (Ctrl+O, Enter) and exit (Ctrl+X).<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 7: Start and Enable Services<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Restart the Zabbix server, agent, and Apache services to apply changes, and enable them to start automatically on boot.<\/p>\n\n\n\n<pre class=\"wp-block-syntaxhighlighter-code\">sudo systemctl restart zabbix-server zabbix-agent apache2\nsudo systemctl enable zabbix-server zabbix-agent apache2<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You can verify the status of the Zabbix server to ensure it is running correctly:<\/p>\n\n\n\n<pre class=\"wp-block-syntaxhighlighter-code\">systemctl status zabbix-server<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Step 8: Finalize Configuration via Web Interface<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Open your web browser and navigate to http:\/\/your-server-ip\/zabbix. You will be greeted by the Zabbix installation wizard.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Welcome:<\/strong> Select your preferred language and click &#8220;Next step&#8221;.<\/li>\n\n\n\n<li><strong>Prerequisites:<\/strong> Ensure all checks are green (OK), then click &#8220;Next step&#8221;.<\/li>\n\n\n\n<li><strong>DB Connection:<\/strong> Enter the database name (zabbix), user (zabbix), and the password you created earlier. Click &#8220;Next step&#8221;.<\/li>\n\n\n\n<li><strong>Settings:<\/strong> Set the Zabbix server name and select your time zone\/theme. Click &#8220;Next step&#8221;.<\/li>\n\n\n\n<li><strong>Summary:<\/strong> Review your settings and click &#8220;Next step&#8221; to finish the installation.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Step 9: Post-Installation Security<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">After the wizard completes, you will be redirected to the login page.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Default Username:<\/strong> Admin<\/li>\n\n\n\n<li><strong>Default Password:<\/strong> zabbix<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">For security, immediately change the default password. Navigate to <strong>Users<\/strong> &gt; <strong>Users<\/strong>, select the <strong>Admin<\/strong> user, click <strong>Change password<\/strong>, enter a secure password, and click <strong>Update<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You have now successfully installed Zabbix 7.2 on Ubuntu 25.10 and are ready to start monitoring your infrastructure.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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&#8230;<\/p>\n","protected":false},"author":27,"featured_media":635,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[46],"tags":[516,498,86,517,518,519,520,23,521,522],"class_list":["post-634","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","tag-devops","tag-linux-tutorial","tag-mysql","tag-network-monitoring","tag-open-source","tag-server-monitoring","tag-system-administration","tag-ubuntu-25-10","tag-zabbix","tag-zabbix-installation-guide"],"_links":{"self":[{"href":"https:\/\/emka.web.id\/en\/wp-json\/wp\/v2\/posts\/634","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/emka.web.id\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/emka.web.id\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/emka.web.id\/en\/wp-json\/wp\/v2\/users\/27"}],"replies":[{"embeddable":true,"href":"https:\/\/emka.web.id\/en\/wp-json\/wp\/v2\/comments?post=634"}],"version-history":[{"count":0,"href":"https:\/\/emka.web.id\/en\/wp-json\/wp\/v2\/posts\/634\/revisions"}],"wp:attachment":[{"href":"https:\/\/emka.web.id\/en\/wp-json\/wp\/v2\/media?parent=634"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/emka.web.id\/en\/wp-json\/wp\/v2\/categories?post=634"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/emka.web.id\/en\/wp-json\/wp\/v2\/tags?post=634"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}