Go to the Zabbix Download Page.

Download the zabbix.
root@zabbixserver:~# wget https://repo.zabbix.com/zabbix/7.0/ubuntu-arm64/pool/main/z/zabbix-release/zabbix-release_latest_7.0+ubuntu24.04_all.deb --2025-06-18 02:56:12-- https://repo.zabbix.com/zabbix/7.0/ubuntu-arm64/pool/main/z/zabbix-release/zabbix-release_latest_7.0+ubuntu24.04_all.deb Resolving repo.zabbix.com (repo.zabbix.com)... 178.128.6.101, 2604:a880:2:d0::2062:d001 Connecting to repo.zabbix.com (repo.zabbix.com)|178.128.6.101|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 8100 (7.9K) [application/octet-stream] Saving to: ‘zabbix-release_latest_7.0+ubuntu24.04_all.deb’ zabbix-release_latest_7.0+ubu 100%[===============================================>] 7.91K --.-KB/s in 0s 2025-06-18 02:56:13 (1.20 GB/s) - ‘zabbix-release_latest_7.0+ubuntu24.04_all.deb’ saved [8100/8100]root@zabbixserver:~# dpkg -i zabbix-release_latest_7.0+ubuntu24.04_all.deb Selecting previously unselected package zabbix-release. (Reading database ... 90695 files and directories currently installed.) Preparing to unpack zabbix-release_latest_7.0+ubuntu24.04_all.deb ... Unpacking zabbix-release (1:7.0-2+ubuntu24.04) ... Setting up zabbix-release (1:7.0-2+ubuntu24.04) ...root@zabbixserver:~# apt update Hit:1 http://ports.ubuntu.com/ubuntu-ports noble InRelease Hit:2 http://ports.ubuntu.com/ubuntu-ports noble-updates InRelease Hit:3 http://ports.ubuntu.com/ubuntu-ports noble-backports InRelease Hit:4 http://ports.ubuntu.com/ubuntu-ports noble-security InRelease Get:5 https://repo.zabbix.com/zabbix-tools/debian-ubuntu noble InRelease [2,476 B] Get:6 https://repo.zabbix.com/zabbix/7.0/ubuntu-arm64 noble InRelease [3,223 B] Get:7 https://repo.zabbix.com/zabbix-tools/debian-ubuntu noble/main Sources [1,166 B] Get:8 https://repo.zabbix.com/zabbix-tools/debian-ubuntu noble/main all Packages [766 B] Get:9 https://repo.zabbix.com/zabbix/7.0/ubuntu-arm64 noble/main Sources [22.5 kB] Get:10 https://repo.zabbix.com/zabbix/7.0/ubuntu-arm64 noble/main arm64 Packages [43.5 kB] Get:11 https://repo.zabbix.com/zabbix/7.0/ubuntu-arm64 noble/main all Packages [8,654 B] Fetched 82.3 kB in 1s (127 kB/s) Reading package lists... Done Building dependency tree... Done Reading state information... DoneInstall Zabbix.
root@zabbixserver:~# apt install zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-sql-scripts zabbix-agent Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed:Install mysql and Create initial database.
root@zabbixserver:~# sudo apt install mysql-server Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed:I used 'password' as password below.
root@zabbixserver:~# mysql -uroot -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 8 Server version: 8.0.42-0ubuntu0.24.04.1 (Ubuntu) Copyright (c) 2000, 2025, Oracle and/or its affiliates. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> create database zabbix character set utf8mb4 collate utf8mb4_bin; Query OK, 1 row affected (0.02 sec) mysql> create user zabbix@localhost identified by 'password'; Query OK, 0 rows affected (0.04 sec) mysql> grant all privileges on zabbix.* to zabbix@localhost; Query OK, 0 rows affected (0.02 sec) mysql> set global log_bin_trust_function_creators = 1; Query OK, 0 rows affected, 1 warning (0.01 sec) mysql> quit; ByeOn Zabbix server host, import initial schema and data. You will be prompted to enter your newly created password. I used
passwordas password.This will create the tables for the Zabbix data.
root@zabbixserver:~# zcat /usr/share/zabbix-sql-scripts/mysql/server.sql.gz | mysql --default-character-set=utf8mb4 -uzabbix -p zabbix Enter password: root@zabbixserver:~#Disable log_bin_trust_function_creators option after importing database schema.
# mysql -uroot -p password mysql> set global log_bin_trust_function_creators = 0; Query OK, 0 rows affected, 1 warning (0.00 sec) mysql> quit; Bye root@zabbixserver:~#Configure the database for Zabbix server. Edit the DBPassword.
vi /etc/zabbix/zabbix_server.conf
Start the Zabbix and the agent process
root@zabbixserver:~# vi /etc/zabbix/zabbix_server.conf root@zabbixserver:~# vi /etc/zabbix/zabbix_server.conf root@zabbixserver:~# systemctl restart zabbix-server zabbix-agent apache2 root@zabbixserver:~# systemctl enable zabbix-server zabbix-agent apache2 Synchronizing state of zabbix-server.service with SysV service script with /usr/lib/systemd/systemd-sysv-install. Executing: /usr/lib/systemd/systemd-sysv-install enable zabbix-server Synchronizing state of zabbix-agent.service with SysV service script with /usr/lib/systemd/systemd-sysv-install. Executing: /usr/lib/systemd/systemd-sysv-install enable zabbix-agent Synchronizing state of apache2.service with SysV service script with /usr/lib/systemd/systemd-sysv-install. Executing: /usr/lib/systemd/systemd-sysv-install enable apache2 Created symlink /etc/systemd/system/multi-user.target.wants/zabbix-server.service → /usr/lib/systemd/system/zabbix-server.service. root@zabbixserver:~#Check the status of your Zabbix server.
root@zabbixserver:~# systemctl status zabbix-server ● zabbix-server.service - Zabbix Server Loaded: loaded (/usr/lib/systemd/system/zabbix-server.service; enabled; preset: enabled) Active: active (running) since Wed 2025-06-18 03:20:26 UTC; 4min 17s ago Main PID: 15975 (zabbix_server) Tasks: 1 (limit: 4550) Memory: 3.6M (peak: 5.0M) CPU: 107ms CGroup: /system.slice/zabbix-server.service └─15975 /usr/sbin/zabbix_server -c /etc/zabbix/zabbix_server.conf Jun 18 03:20:26 zabbixserver systemd[1]: Starting zabbix-server.service - Zabbix Server... Jun 18 03:20:26 zabbixserver systemd[1]: Started zabbix-server.service - Zabbix Server.Checing the databases that will be used by our zabbix-server.
root@zabbixserver:~# mysql Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 45 Server version: 8.0.42-0ubuntu0.24.04.1 (Ubuntu) Copyright (c) 2000, 2025, Oracle and/or its affiliates. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> show databases; +--------------------+ | Database | +--------------------+ | information_schema | | mysql | | performance_schema | | sys | | zabbix | +--------------------+ 5 rows in set (0.08 sec) mysql> use zabbix; Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Database changedShow tables
mysql> show tables; +----------------------------+ | Tables_in_zabbix | +----------------------------+ | acknowledges | | actions | | alerts | ...... ...... | userdirectory_media | | userdirectory_saml | | userdirectory_usrgrp | | users | | users_groups | | usrgrp | | valuemap | | valuemap_mapping | | widget | | widget_field | +----------------------------+ 203 rows in set (0.04 sec)Look at the users
As seen below, it uses the Admin username
mysql> select * from users; +--------+----------+--------+---------------+--------------------------------------------------------------+-----+-----------+------------+---------+---------+---------+----------------+------------+---------------+---------------+----------+--------+-----------------+----------------+ | userid | username | name | surname | passwd | url | autologin | autologout | lang | refresh | theme | attempt_failed | attempt_ip | attempt_clock | rows_per_page | timezone | roleid | userdirectoryid | ts_provisioned | +--------+----------+--------+---------------+--------------------------------------------------------------+-----+-----------+------------+---------+---------+---------+----------------+------------+---------------+---------------+----------+--------+-----------------+----------------+ | 1 | Admin | Zabbix | Administrator | $2y$10$92nDno4n0Zm7Ej7Jfsz8WukBfgSS/U0QkIuu8WkJPihXBb2A1UrEK | | 1 | 0 | default | 30s | default | 0 | | 0 | 50 | default | 3 | NULL | 0 | | 2 | guest | | | $2y$10$89otZrRNmde97rIyzclecuk6LwKAsHN0BcvoOKGjbT.BwMBfm7G06 | | 0 | 15m | default | 30s | default | 0 | | 0 | 50 | default | 4 | NULL | 0 | +--------+----------+--------+---------------+--------------------------------------------------------------+-----+-----------+------------+---------+---------+---------+----------------+------------+---------------+---------------+----------+--------+-----------------+----------------+ 2 rows in set (0.01 sec)
Access the Zabbix Front End Server
- Access the zabbix GIU using http://192.168.2.137/zabbix

2. Click the Next Step, and you will see that all prerequisites are okay.

3. Click the Next Step, and you will configure Db connection

4. Name your Zabbix Server.

5. Summary

6. Succesfully installed Zabbix Frontend.

7. Accessing Zabbix. User name was "Admin" and the password was "Zabbix"


8. Change the password of Admin from zabbix to other

No Comments