Skip to content

DualStackAdmin/zabbix-quick-deploy-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

20 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ Zabbix Quick Deploy

License: MIT

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.


✨ Features

  • πŸ€– 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.

πŸ“‹ Prerequisites

  • πŸ’» Operating System: A clean, minimal installation of Ubuntu 24.04 (Noble Numbat).
  • πŸ’Ύ Server Resources (Recommended):
    • CPU: 2 vCPU
    • RAM: 4 GB
    • Disk: 20 GB

πŸ› οΈ Usage

This method allows you to safely inspect and configure the script on your server before execution.

Step 1: Download the Script

curl -LO https://raw.githubusercontent.com/DualStackAdmin/zabbix-quick-deploy-/main/install_zabbix.sh

Step 2: Make the Script Executable

Grant the script execution permissions to make it runnable:

chmod +x install_zabbix.sh

Step 3: Set Your Password (Important!)

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.

Step 4: Run the Script

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.

βœ… Post-Installation

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

🀝 Contributing

Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.

βš–οΈ License

This project is licensed under the MIT License.
See the LICENSE file for details.

About

πŸ€– Automated script to install Zabbix 7.4 server (Nginx, MySQL) on Ubuntu 24.04.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages