✳️ Replace the highlighted information with your own
sudo apt install -y vim wget php-cgi php-common php-mbstring php-net-socket php-gd php-xml-util php-mysql php-bcmath php-imap php-snmp libapache2-mod-php libc6
📌 Database
create database zabbix_db character set utf8mb4 collate utf8mb4_bin;
create user zabbix_db_user@localhost identified by 'zabbix_db_PWD';
grant all privileges on zabbix_db.* to zabbix_db_user@localhost;
set global log_bin_trust_function_creators = 1;
📌 For Ubuntu 22.04 LTS
Zabbix 7.0 LTS: wget https://repo.zabbix.com/zabbix/7.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_latest_7.0+ubuntu22.04_all.deb
Zabbix 7.2 : wget https://repo.zabbix.com/zabbix/7.2/release/ubuntu/pool/main/z/zabbix-release/zabbix-release_latest_7.2+ubuntu22.04_all.deb
Zabix 7.4 : wget https://repo.zabbix.com/zabbix/7.4/release/ubuntu/pool/main/z/zabbix-release/zabbix-release_latest_7.4+ubuntu22.04_all.deb
📌 For Ubuntu 24.04 LTS
Zabbix 7.0 LTS: wget https://repo.zabbix.com/zabbix/7.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_latest_7.0+ubuntu24.04_all.deb
Zabbix 7.2 : wget https://repo.zabbix.com/zabbix/7.2/release/ubuntu/pool/main/z/zabbix-release/zabbix-release_latest_7.2+ubuntu24.04_all.deb
Zabix 7.4 : wget https://repo.zabbix.com/zabbix/7.4/release/ubuntu/pool/main/z/zabbix-release/zabbix-release_latest_7.4+ubuntu24.04_all.deb
📌 Install
apt install -y zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-sql-scripts zabbix-agent
zcat YOUR-PATH | mysql --default-character-set=utf8mb4 -uzabbix_db_user -p'zabbix_db_PWD' zabbix_db
set global log_bin_trust_function_creators = 0;