create database zabbix character set utf8mb4 collate utf8mb4_bin;
create user zabbix@localhost identified by '143146';
grant all privileges on zabbix.* to zabbix@localhost;
set global log_bin_trust_function_creators = 1;
quit;
zcat /usr/share/zabbix/sql-scripts/mysql/server.sql.gz | mysql --default-character-set=utf8mb4 -uzabbix -p Zabbix
MySQL -u root -p
set global log_bin_trust_function_creators = 0;
apt install MySQL-server -y
systemctl start MySQL.service
systemctl enable MySQL.service
MySQL_secure_istallation
wget https://repo.zabbix.com/zabbix/7.2/release/ubuntu/...
dpkg -i zabbix-release_latest_7.2+ubuntu22.04_all.deb
apt update
apt install net-tools zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-sql-scripts zabbix-agent2 -y
MySQL -u root -p
create database zabbix character set utf8mb4 collate utf8mb4_bin;
create user zabbix@localhost identified by '143146';
grant all privileges on zabbix.* to zabbix@localhost;
set global log_bin_trust_function_creators = 1;
quit;
zcat /usr/share/zabbix/sql-scripts/mysql/server.sql.gz | mysql --default-character-set=utf8mb4 -uzabbix -p Zabbix
MySQL -u root -p
set global log_bin_trust_function_creators = 0;
/etc/zabbix/zabbix_server.conf
DBPassword=143146
systemctl restart zabbix-server zabbix-agent2 apache2
systemctl enable zabbix-server zabbix-agent2 apache2
ipconfig