Installing Zabbix 8.0 on Ubuntu Server 24.04 from scratch
Sign in to read this lesson
In this lesson we go the whole way step by step, from an empty Ubuntu Server 24.04 to a working Zabbix 8.0 LTS: static IP, time zone, the Zabbix repository, packages, the MariaDB database, loading the schema, server configuration, the firewall and the first-run wizard of the web interface. At the end we sign in to Zabbix from a browser.
What you will learn
- Preparation: a static IP (netplan), a correct hostname and time zone (
timedatectl set-timezone Asia/Baku), system updates. - Repository: install the
zabbix-release_latest_8.0+ubuntu24.04_all.debpackage, thenzabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-sql-scripts zabbix-agent. - Zabbix 8.0 requires MySQL 8.4+ or MariaDB 10.11+; Ubuntu 24.04's own MySQL 8.0 does not qualify, so from the MySQL family we use MariaDB 10.11.
- The database is created with
utf8mb4/utf8mb4_bin, the schema is loaded withzcat /usr/share/zabbix/sql-scripts/mysql/server.sql.gz | mysql ..., andlog_bin_trust_function_creatorsis set back to0after loading. DBPasswordis written in/etc/zabbix/zabbix_server.conf, the services are enabled, ports 80 and 10051 are opened in ufw; after the web wizard the default login isAdmin/zabbixand it must be changed at once.
The lesson has 5 key points, an explanation and 5 questions. It opens with a package.