Zabbix

On vient installer les packages nécessaires.

Bash root command
wget https://repo.zabbix.com/zabbix/8.0/release/debian/pool/main/z/zabbix-release/zabbix-release_latest_8.0+debian13_all.deb

Bash root command
dpkg -i zabbix-release_latest_8.0+debian13_all.deb

Bash root command
apt update 

Bash root command
apt install zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-sql-scripts zabbix-agent2 mariadb-server

Bash root command
apt install zabbix-agent2-plugin-mongodb zabbix-agent2-plugin-mssql zabbix-agent2-plugin-postgresql 

MariaDB >
mysql -uroot -p

MariaDB >
create database zabbix character set utf8mb4 collate utf8mb4_bin;

MariaDB >
create user zabbix@localhost identified by 'password';

MariaDB >
grant all privileges on zabbix.* to zabbix@localhost;

MariaDB >
set global log_bin_trust_function_creators = 1;

MariaDB >
quit;

Bash root command
zcat /usr/share/zabbix/sql-scripts/mysql/server.sql.gz | mysql --default-character-set=utf8mb4 -uzabbix -p zabbix

Bash root command
mysql -uroot -p

MariaDB >
set global log_bin_trust_function_creators = 0;

MariaDB >
quit;

/etc/zabbix/zabbix_server.conf
 DBPassword=password

Bash root command
systemctl restart zabbix-server zabbix-agent2 apache2

Bash root command
systemctl enable zabbix-server zabbix-agent2 apache2