Code in this video_How to Install and Configure Zabbix Server on Debian
Note: Take note of the highlighted information sudo apt install 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 -y create database zabbix_db character set utf8 collate utf8_bin; create user zabbix_user@localhost identified by 'zabbix_PWD'; grant all on zabbix_db.* to zabbix_user@localhost; set global log_bin_trust_function_creators = 1; sudo apt install zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-sql-scripts zabbix-agent -y sudo zcat /usr/share/zabbix-sql-scripts/mysql/server.sql.gz | mysql --default-character-set=utf8mb4 -uzabbix_user -p'zabbix_PWD' zabbix_db