Zabbix Installation¶
Install on Ubuntu Server Noble¶
1. Update Your System¶
2. Add the Zabbix Repository¶
Zabbix provides official repositories for Ubuntu.
wget https://repo.zabbix.com/zabbix/7.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_7.0-1+ubuntu24.04_all.deb
sudo dpkg -i zabbix-release_7.0-1+ubuntu24.04_all.deb
sudo apt update
3. Install Zabbix Server, Frontend, and Agent¶
sudo apt install zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-sql-scripts zabbix-agent -y
4. Install and Configure Database (MySQL/MariaDB)¶
Then create the Zabbix database:CREATE DATABASE zabbix CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;
CREATE USER 'zabbix'@'localhost' IDENTIFIED BY 'your_password';
GRANT ALL PRIVILEGES ON zabbix.* TO 'zabbix'@'localhost';
FLUSH PRIVILEGES;
5. Import Initial Schema¶
6. Configure Zabbix Server¶
Edit the configuration file:
Set the database passowrd:
7. Start and Enable Services¶
sudo systemctl restart zabbix-server zabbix-agent apache2
sudo systemctl enable zabbix-server zabbix-agent apache2
8. Access Zabbix Web Interface¶
Open your browser and go to:
Follow the web installer to finish setup9. Login¶
For the first login the username and password are the following
Username: Admin
Password: zabbix
⚠️ Key Considerations¶
- Ubuntu Version: Zabbix supports Ubuntu LTS releases (18.04, 20.04, 22.04, 24.04). Make sure you download the correct repository package for your version.
- Database Choice: MySQL/MariaDB is common, but PostgreSQL is also supported.
- Firewall: Ensure ports 80 (HTTP), 443 (HTTPS), and 10051 (Zabbix server) are open.
- Security: Always secure your database and web interface with strong passwords and HTTPS.