KEMBAR78
Zabbix Installation Guide | PDF
0% found this document useful (0 votes)
39 views1 page

Zabbix Installation Guide

This guide details the installation of Zabbix on a Linux VM, specifically Ubuntu 22.04, providing step-by-step commands for installation and configuration. It also offers an alternative method using a prebuilt Zabbix appliance VM and a Docker option. The document includes instructions for database setup and accessing the Zabbix frontend after installation.

Uploaded by

thailandjunior98
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views1 page

Zabbix Installation Guide

This guide details the installation of Zabbix on a Linux VM, specifically Ubuntu 22.04, providing step-by-step commands for installation and configuration. It also offers an alternative method using a prebuilt Zabbix appliance VM and a Docker option. The document includes instructions for database setup and accessing the Zabbix frontend after installation.

Uploaded by

thailandjunior98
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Zabbix Installation Guide

This guide provides step-by-step instructions to install Zabbix on a Linux VM (Ubuntu 22.04
recommended). It also lists alternative options for using Zabbix in a lab environment.

1. Zabbix as a VM (Prebuilt Appliance)


Download a prebuilt Zabbix appliance VM (OVA, VMDK, or QCOW2) from the official website:
https://www.zabbix.com/download_appliance

2. Zabbix Installation on Ubuntu 22.04


Run the following commands:
# 1. Install repo
wget https://repo.zabbix.com/zabbix/6.4/ubuntu/pool/main/z/zabbix-release/zabbix-release_6.4-1+ubuntu
sudo dpkg -i zabbix-release_6.4-1+ubuntu22.04_all.deb
sudo apt update

# 2. Install Zabbix server, frontend, agent, and DB


sudo apt install zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-sql-scripts zabbix

# 3. Configure DB
sudo mysql -uroot -p
mysql> create database zabbix character set utf8mb4 collate utf8mb4_bin;
mysql> create user zabbix@localhost identified by 'StrongPassword';
mysql> grant all privileges on zabbix.* to zabbix@localhost;
mysql> quit;

# 4. Import DB schema
zcat /usr/share/zabbix-sql-scripts/mysql/server.sql.gz | mysql -uzabbix -p zabbix

# 5. Edit DB password
sudo nano /etc/zabbix/zabbix_server.conf
# DBPassword=StrongPassword

# 6. Start services
sudo systemctl restart zabbix-server zabbix-agent apache2
sudo systemctl enable zabbix-server zabbix-agent apache2

Access the Zabbix frontend in your browser:


http:///zabbix
Default login: Admin / zabbix

3. Zabbix via Docker


docker run --name zabbix-appliance -t -p 80:80 -p 10051:10051 zabbix/zabbix-appliance:alpine-6.4-

■ Recommended for Lab: Use the Zabbix Appliance VM for quick deployment on
Proxmox/VMware.

You might also like