Download and Install The Zabbix Repository

Video Lecture

Download and Install The Zabbix Repository Download and Install The Zabbix Repository Download and Install The Zabbix Repository

Description

I choose to install Zabbix Server from packages.

The download page is at

https://www.zabbix.com/download

I have the Install from Packages tab active,

I then choose Zabbix 5.0, Ubuntu, 20.04 Focal and MySQL for the database.

It is important to download the correct version for your operating system. To check, type hostnamectl

1
hostnamectl

Ubuntu 20.04

1
wget https://repo.zabbix.com/zabbix/5.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_5.0-1+focal_all.deb
1
dpkg -i zabbix-release_5.0-1+focal_all.deb
1
apt update

After the update, you can confirm your APT (Advanced Packaging Tool) references the correct versions.

1
apt search zabbix-server

Note

You don't have to use Ubuntu 20.04, MySQL and Apache, but most of the examples in this course use them, so it will be much easier for you to follow. If it works in my video, but not for you on Centos, it is likely to be SELINUX or a default firewall setting.

Centos 8

1
rpm -Uvh https://repo.zabbix.com/zabbix/5.0/rhel/8/x86_64/zabbix-release-5.0-1.el8.noarch.rpm
1
dnf clean all

After the update, you can confirm your DNF (Dandified YUM (Yellow Dog Updater)) references the correct versions.

1
dnf search zabbix-server

Zabbix 5.0

Ubuntu 20.04 Focal

1
2
3
wget https://repo.zabbix.com/zabbix/5.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_5.0-1+focal_all.deb
dpkg -i zabbix-release_5.0-1+focal_all.deb
apt update

Ubuntu 18.04 Bionic

1
2
3
wget https://repo.zabbix.com/zabbix/5.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_5.0-1+bionic_all.deb
dpkg -i zabbix-release_5.0-1+bionic_all.deb
apt update

Ubuntu 16.04 Xenial

1
2
3
wget https://repo.zabbix.com/zabbix/5.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_5.0-1+xenial_all.deb
dpkg -i zabbix-release_5.0-1+xenial_all.deb
apt update

Centos 8

1
2
rpm -Uvh https://repo.zabbix.com/zabbix/5.0/rhel/8/x86_64/zabbix-release-5.0-1.el8.noarch.rpm
dnf clean all

Centos 7

1
2
rpm -Uvh https://repo.zabbix.com/zabbix/5.0/rhel/7/x86_64/zabbix-release-5.0-1.el7.noarch.rpm
yum clean all

Zabbix 4.4

Ubuntu 20.04 Focal

1
2
3
wget https://repo.zabbix.com/zabbix/4.4/ubuntu/pool/main/z/zabbix-release/zabbix-release_4.4-1+focal_all.deb
dpkg -i zabbix-release_4.4-1+focal_all.deb
apt update

Ubuntu 18.04 Bionic

1
2
3
wget https://repo.zabbix.com/zabbix/4.4/ubuntu/pool/main/z/zabbix-release/zabbix-release_4.4-1+bionic_all.deb
dpkg -i zabbix-release_4.4-1+bionic_all.deb
apt update

Ubuntu 16.04 Xenial

1
2
3
wget https://repo.zabbix.com/zabbix/4.4/ubuntu/pool/main/z/zabbix-release/zabbix-release_4.4-1+xenial_all.deb
dpkg -i zabbix-release_4.4-1+xenial_all.deb
apt update

Centos 8

1
2
rpm -Uvh https://repo.zabbix.com/zabbix/4.4/rhel/8/x86_64/zabbix-release-4.4-1.el8.noarch.rpm
dnf clean all

Centos 7

1
2
rpm -Uvh https://repo.zabbix.com/zabbix/4.4/rhel/7/x86_64/zabbix-release-4.4-1.el7.noarch.rpm
yum clean all