Code in this video_How to Install and Configure Zabbix Server 6 LTS on CentOS | CentOS Stream | RockyLinux | AlmaLinux | RHEL

Code in this video_How to Install and Configure Zabbix Server 6 LTS on CentOS | CentOS Stream | RockyLinux | AlmaLinux | RHEL

📌 Replace highlighted information with your own

sudo setenforce 0 && sudo sed -i 's/^SELINUX=.*/SELINUX=permissive/g' /etc/selinux/config

sudo dnf install php-mysqlnd php-gd php-curl php-ftp php-fpm -y

CREATE DATABASE zabbix_db character set utf8mb4 collate utf8mb4_bin;

CREATE USER zabbix_user@localhost IDENTIFIED BY 'zabbix_PWD';

GRANT ALL ON zabbix_db.* TO zabbix_user@localhost;

🔸For CentOS Stream 9 | RockyLinux 9 | AlmaLinux 9 | RHEL 9

sudo rpm -Uvh https://repo.zabbix.com/zabbix/6.0/rhel/9/x86_64/zabbix-release-6.0-4.el9.noarch.rpm

🔸For CentOS 8 | CentOS Stream 8 | RockyLinux 8 | AlmaLinux 8 | RHEL 8

sudo rpm -Uvh https://repo.zabbix.com/zabbix/6.0/rhel/8/x86_64/zabbix-release-6.0-4.el8.noarch.rpm

sudo dnf install zabbix-server-mysql zabbix-web-mysql zabbix-apache-conf zabbix-sql-scripts zabbix-agent -y

sudo firewall-cmd --zone=public --permanent --add-port=10050/tcp

sudo firewall-cmd --zone=public --permanent --add-port=10051/tcp

sudo firewall-cmd --reload

Leave a Reply

Your email address will not be published. Required fields are marked *