2025-10-15 10:45:29 +02:00
2025-10-06 13:37:26 +02:00
2025-10-15 10:45:29 +02:00
2025-10-15 08:25:05 +02:00

Zabbix for Ubuntu 24.04 Server

OS Shell WebServer PHP DB Server License

Automated Bash installer script for deploying Zabbix on Ubuntu 24.04 Server.

Prerequisites

Nginx with PHP-FPM as well as MariaDB. Nginx with PHP-FPM can be installed from here and MariaDB from here.

Note

Maintaining this is tricky since Zabbix frequently changes download paths and details. Ill do my best to keep this repo up to date, but I cant guarantee it will always work.

Download the Script

git clone https://git.x-files.dk/web-application/zabbix-ubuntu.git

Usage

cd zabbix-ubuntu
sudo ./zabbixinstall [-n] <domain name> [-p] <zabbix database pwd>

Example

sudo ./zabbixinstall -n zabbix.something.xyz -p zabbixdatabasepwd

This creates a Zabbix site running on port 80 with the domain name you chose. For an HTTPS setup, see the example Nginx config here.

Configuration

Once the script is done, browse to:

http://zabbix.something.xyz

and fill out the mandatory fields marked in green.

Zabbix Configuration

Zabbix Configuration

Zabbix Configuration

Post-install

Nothing to do.

Troubleshooting

Most issues are likely due to differences in Nginx configuration. If you encounter problems, compare with the Nginx configuration I use here and the default sites-enabled config here.

Q and A

Q: Why does the script need the MariaDB root password?
A: To create the Zabbix database and set the correct permissions.

More guides can be found on wiki.x-files.dk

Description
No description provided
Readme MIT 106 KiB
Languages
Shell 100%