- IF UPGRADING FROM A PACKAGES INSTALLATION, REMOVE ALL ZABBIX PACKAGES FIRST
- THIS IS AN APACHE2 AND MYSQL/MARIADB STANDALONE INSTALLATION
- IF RUNNING FOR THE FIRST TIME, ZABBIX DB MUST BE PREVIOUSLY INSTALLED AND CREATED, BUT NOT POPULATED!
- MOST COMMANDS REQUIRE ELEVATED PRIVILEGES, IT IS SUGGESTED TO START THE SCRIPT AS ROOT
- INTERNET ACCESS IS REQUIRED TO DOWNLOAD ZABBIX AND GO LANG (Go enviroment as well)
- IT IS SUGGESTED TO UPDATE MANUALLY ZABBIX, GO LINKS AND PHP DIRECTORY WHEN NEW VERSIONS ARE RELEASED. THESE VALUES ARE SET INTO VARIABLES AT THE BEGINNING OF THE SCRIPT
1. A Windows WSL Distribution must be installed
- Usually
wsl --install
at PowerShell prompt- Check Microsoft guide
2. Install your prefered MySQL like DBMS.
- Usually distros repositorys offer MySQL like DBMS. Eg:
apt install mariadb-server
- Check Zabbix DB requirements
- Check Zabbix DB configuration
3. Clone this repository and start the script as root
- Switch to your root account:
sudo -i
- Clone with Git:
git clone https://github.com/diasdmhub/Zabbix_WSL.git
- Start the script:
~/Zabbix_WSL/main/zabbix_wsl<N>.sh
<N>
is your chosen version
- MADE FOR DEBIAN/UBUNTU BASED WSL DISTRIBUTIONS
- RE-EXECUTION OF THIS SCRIPT IS CAPABLE OF UPDATING ZABBIX
- WSL Debian 11 (Bullseye)
- WSL Ubuntu 20.04 (Focal Fossa)
- WSL Ubuntu 22.04 (Jammy Jellyfish)