Download and Install The Zabbix Repository
Video Lecture
Description
Tip
Before installing software on a new Ubuntu server, update the package and dependency information.
sudo apt update
I now choose to install Zabbix Server from packages.
The download page is at
https://www.zabbix.com/download
I have the Zabbix Packages tab active,
I then choose 6.0 LTS, Ubuntu, 20.04 Focal, MySQL for the database and Apache for the web server.
Next, it is important to download the correct version for your operating system and architecture from the Zabbix repository.
To check, type hostnamectl
hostnamectl
Ubuntu 20.04
wget https://repo.zabbix.com/zabbix/6.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_6.0-1+ubuntu20.04_all.deb
dpkg -i zabbix-release_6.0-1+ubuntu20.04_all.deb
apt update
After the update, you can confirm your APT (Advanced Packaging Tool) references the correct versions.
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
rpm -Uvh https://repo.zabbix.com/zabbix/6.0/rhel/8/x86_64/zabbix-release-6.0-1.el8.noarch.rpm
dnf clean all
After the update, you can confirm your DNF (Dandified YUM (Yellow Dog Updater)) references the correct versions.
dnf search zabbix-server