An automated script to install and configure a full Zabbix 7.4 stack (Nginx, MySQL, Zabbix Server, Zabbix Agent 2) on a clean Ubuntu 24.04 server in minutes.
This repository contains a fully automated script that handles the entire installation process, allowing you to deploy a production-ready Zabbix server with minimal effort.
- π€ Fully Automated: Once launched, the script runs non-interactively to complete the installation.
- β±οΈ Fast Deployment: Get a fully functional Zabbix server up and running in just a few minutes.
- π¦ Complete Stack: Installs the Zabbix server, Nginx web server, MySQL database, and Zabbix Agent 2.
- βοΈ Easy & Secure Configuration: Edit your secret password locally on your server before running the script.
- π» Operating System: A clean, minimal installation of Ubuntu 24.04 (Noble Numbat).
- πΎ Server Resources (Recommended):
- CPU: 2 vCPU
- RAM: 4 GB
- Disk: 20 GB
This method allows you to safely inspect and configure the script on your server before execution.
curl -LO https://raw.githubusercontent.com/DualStackAdmin/zabbix-quick-deploy-/main/install_zabbix.sh
Grant the script execution permissions to make it runnable:
chmod +x install_zabbix.sh
Now, open the script in a text editor to set your database password:
nano install_zabbix.sh
Inside the editor, find this line at the top of the script:
ZABBIX_DB_PASSWORD='your_strong_db_password'
Replace 'your_strong_db_password' with your own secure password.
To save and exit, press Ctrl + X, then Y, and Enter.
Everything is ready! Execute the script with sudo privileges:
sudo ./install_zabbix.sh
The script will now automate the rest of the process for you.
After the script finishes, it will display your server's IP address.
You can access the Zabbix web interface by navigating to that IP in your web browser.
π URL: http://<your-server-ip-address>
π Login Credentials:
- Username:
Admin
- Password:
zabbix
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
This project is licensed under the MIT License.
See the LICENSE file for details.