sudo timedatectl set-timezone Europe/Istanbul
sudo timedatectl set-ntp true
sudo apt install fping net-tools
lsb_release -a
https://repo.zabbix.com/zabbix/7.4/release/ubuntu/pool/main/z/zabbix-release/
dpkg -i zabbix-release_7.4-0.2+ubuntu24.04_all.deb
apt update
apt install zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-sql-scripts zabbix-agent
sudo apt install -y mysql-server
sudo mysql
create database zabbix character set utf8mb4 collate utf8mb4_bin;
create user zabbix@localhost identified by 'password';
grant all privileges on zabbix.* to zabbix@localhost;
set global log_bin_trust_function_creators = 1;
flush privileges;
quit;
zcat /usr/share/zabbix/sql-scripts/mysql/server.sql.gz | mysql --default-character-set=utf8mb4 -uzabbix -p zabbix
mysql
show databases;
use zabbix;
show tables;
nano /etc/zabbix/zabbix_server.conf
DBPassword=password
systemctl restart zabbix-server zabbix-agent httpd php-fpm
systemctl enable zabbix-server zabbix-agent httpd php-fpm