How To Install zabbix40-server on Rocky Linux 8

In this tutorial we learn how to install zabbix40-server on Rocky Linux 8. zabbix40-server is Zabbix server common files

Introduction

In this tutorial we learn how to install zabbix40-server on Rocky Linux 8.

What is zabbix40-server

Zabbix server common files

We can use yum or dnf to install zabbix40-server on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install zabbix40-server.

Install zabbix40-server on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install zabbix40-server using dnf by running the following command:

sudo dnf -y install zabbix40-server

Install zabbix40-server on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install zabbix40-server using yum by running the following command:

sudo yum -y install zabbix40-server

How To Uninstall zabbix40-server on Rocky Linux 8

To uninstall only the zabbix40-server package we can use the following command:

sudo dnf remove zabbix40-server

zabbix40-server Package Contents on Rocky Linux 8

/etc/logrotate.d/zabbix-server
/etc/zabbix/alertscripts
/etc/zabbix/externalscripts
/etc/zabbix/zabbix_server.conf
/etc/zabbix_server.conf
/run/zabbixsrv
/usr/lib/systemd/system/zabbix-server.service
/usr/lib/tmpfiles.d/zabbixsrv.conf
/usr/sbin/zabbix_server
/usr/share/doc/zabbix40-server
/usr/share/doc/zabbix40-server/zabbix_trap_receiver.pl
/usr/share/man/man8/zabbix_server.8.gz
/var/lib/zabbixsrv
/var/lib/zabbixsrv/tmp
/var/log/zabbixsrv

References

Summary

In this tutorial we learn how to install zabbix40-server on Rocky Linux 8 using yum and dnf.