Skip to content

Download and Install The Zabbix Repository

Video Lecture

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

Description

Now to SSH onto your new server and install Zabbix.

I will use Putty as my SSH client.

Next,

I will 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 7.0 LTS, Ubuntu, 24.04 (Noble), 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

Commands to Install Zabbix 7 Repository on Ubuntu 24.04

#
wget https://repo.zabbix.com/zabbix/7.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_7.0-1+ubuntu24.04_all.deb
#
dpkg -i zabbix-release_7.0-1+ubuntu24.04_all.deb
#
apt update

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

#
apt search zabbix

Note

You don't have to use Ubuntu 24.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.

Next to install all the components for MySQL, the front end user interface and the agent.

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

Note

If you are not logged on as the root user, then you can prepend your commands with the sudo keyword. E.g.,

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

Check the status of the server and agent. Note that the server status will currently show inactive (dead), and the agent will be having some issues connecting to the server. We will fix these things in the next videos.

#
service zabbix-server status
#
service zabbix-agent status

Comments