Install zabbix proxy 6.4


 

Install zabbix repository

wget https://repo.zabbix.com/zabbix/6.4/ubuntu/pool/main/z/zabbix-release/zabbix-release_6.4-1+ubuntu24.04_all.deb
dpkg -i zabbix-release_6.4-1+ubuntu24.04_all.deb
apt update

Install Zabbix Proxy

apt install zabbix-proxy-mysql zabbix-sql-scripts

 


Create initial database

mysql -uroot -p

create database zabbix_proxy character set utf8mb4 collate utf8mb4_bin;

create user zabbix@localhost identified by ‘password’;

grant all privileges on zabbix_proxy.* to zabbix@localhost;

set global log_bin_trust_function_creators = 1;

quit;

 

cat /usr/share/zabbix-sql-scripts/mysql/proxy.sql | mysql –default-character-set=utf8mb4 -uzabbix -p zabbix_proxy

mysql -uroot -p
password
mysql> set global log_bin_trust_function_creators = 0;
mysql> quit;

 

systemctl restart zabbix-proxy
systemctl enable zabbix-proxy