In this guide, learn how to set up the Zabbix monitoring software on Debian's latest release.
Step 1: Update and Upgrade Your System
Ensure your system packages are up-to-date with the following command:
$ sudo apt update && sudo apt upgrade -y
Step 2: Install Zabbix Dependencies
Install necessary dependencies using:
$ sudo apt install wget curl gnupg2 -y
Step 3: Add Zabbix Official Repository
Add the Zabbix repository by downloading and adding the GPG key:
$ wget https://repo.zabbix.com/zabbix-official-repo.deb
$ sudo dpkg -i zabbix-official-repo.deb
$ sudo apt update
Step 4: Install Zabbix Server and Agent
Install the Zabbix Server and Agent with:
$ sudo apt install zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-agent
Configure MySQL and start Zabbix services:
$ sudo systemctl start zabbix-server zabbix-agent
$ sudo systemctl enable zabbix-server zabbix-agent
Step 5: Configure Zabbix Server and Agent
Edit Zabbix server config:
$ sudo nano /etc/zabbix/zabbix_server.conf
Update:
DBPassword=<your_zabbix_database_password>
Edit the agent config:
$ sudo nano /etc/zabbix/zabbix_agentd.conf
Update:
Server=<your_zabbix_server_ip>
ServerActive=<your_zabbix_server_ip>
Hostname=<your_server_hostname>
Restart services:
$ sudo systemctl restart zabbix-server zabbix-agent apache2
Step 6: Access Zabbix Web Interface
Navigate to:
http://<your_server_ip>/zabbix/
Login with:
Username: Admin
Password: zabbix
You've successfully installed Zabbix on Debian!







