apt update && apt upgrade -y
* installer haproxy
apt install haproxy -y
* vérifier l'installation
haproxy -v
* Activer HAProxy au démarrage
systemctl enable haproxy
systemctl start haproxy
* Afficher le statut du service :
systemctl status haproxy