Installer Zabbix 7 sur Debian (guide complet)

Опубликовано: 31 Март 2026
на канале: Sayoos Tech
143
4

Dans cette partie de la série, on déploie Zabbix 7.4 sur Debian 13 proprement, comme en production.

Pas un tuto bricolage.
Un déploiement structuré, maintenable et entreprise-ready.

Dans la vidéo précédente, notre serveur Debian a été préparé correctement :

SSH sécurisé

Synchronisation NTP avec Chrony

Logs persistants activés

Base système saine

Aujourd’hui, on passe au cœur du monitoring.

🎯 Objectif de la vidéo

Déployer un environnement Zabbix complet :

Installation Apache + PHP optimisé

Installation MariaDB sécurisée

Ajout du dépôt officiel Zabbix 7.4

Installation Zabbix Server

Import du schéma SQL

Configuration DBPassword

Activation du frontend

Tests professionnels avant production

Méthodologie de dépannage

Le tout sur Debian 13.

🏗 Architecture déployée

Zabbix Server

Zabbix Agent local

MariaDB

Apache

PHP avec modules requis

Frontend Web /zabbix

Architecture classique entreprise, prête à évoluer vers :

Agents distants Linux

Agents Windows

PSK TLS

SNMP

Supervision réseau

Alerting avancé

🔧 COMMANDES IMPORTANTES (Copy / Paste)
Installation prérequis
sudo apt update
sudo apt -y install apache2 \
php php-cli php-common php-mysql php-gd php-bcmath php-mbstring php-xml php-ldap php-curl php-zip
Installation MariaDB
sudo apt -y install mariadb-server
sudo systemctl enable --now mariadb
sudo mariadb-secure-installation

Ajout dépôt officiel Zabbix 7.4
wget -O /tmp/zabbix-release.deb \
https://repo.zabbix.com/zabbix/7.4/release...

sudo dpkg -i /tmp/zabbix-release.deb
sudo apt update
Installation Zabbix
sudo apt -y install zabbix-server-mysql zabbix-sql-scripts \
zabbix-frontend-php zabbix-apache-conf zabbix-agent
Création base Zabbix
CREATE DATABASE zabbix CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;
CREATE USER 'zabbix'@'localhost' IDENTIFIED BY 'mot_de_passe';
GRANT ALL PRIVILEGES ON zabbix.* TO 'zabbix'@'localhost';
FLUSH PRIVILEGES;

Import schéma :
zcat /usr/share/zabbix-sql-scripts/mysql/server.sql.gz | mariadb -u zabbix -p zabbix
Configuration DBPassword
sudo nano /etc/zabbix/zabbix_server.conf

Ajouter :

DBPassword=mot_de_passe
Démarrage services
sudo systemctl enable --now zabbix-server zabbix-agent apache2
Test local professionnel
curl -I http://127.0.0.1/zabbix
🌐 Accès Web

http://IP_DU_SERVEUR/zabbix

User : Admin
Password : zabbix

⚠ Première action : changer le mot de passe.

🧠 Ce que vous apprenez réellement

Déploiement Zabbix propre

Méthodologie entreprise

Gestion dépôt officiel

Base MariaDB optimisée

Tests avant mise en production

Dépannage Apache / Zabbix Server

Cette série s’adresse :

SysAdmin débutants → intermédiaires

Administrateurs Linux

Étudiants BTS / BUT / Licence Pro

Freelances IT

Futurs ingénieurs infra

Like 👍
Abonne-toi 🔔
Partage à un collègue SysAdmin

#zabbix #Debian13 #SysAdmin #DevOps #LinuxServer #Monitoring #ITInfrastructure #SayoosTech