Are you an LLM? You can read better optimized documentation at /en/docs/common/faq/caselibrary/zabbix.md for this page in Markdown format
Zabbix Installation Guide for openEuler 22.03 LTS
Minimal openEuler Setup
Disable the system firewall:
shell
systemctl stop firewalld
systemctl disable firewalldMySQL Installation and Setup
Install MySQL components.
shelldnf install mysql mysql-server mysql-common mysql-libs mysql-devel mysql-selinux --nogpgcheckConfigure MySQL service.
shellsystemctl enable mysqld systemctl start mysqld systemctl status mysqldSet root password.
mysqlmysql -uroot -p > Press Enter when prompted ALTER USER 'root'@'localhost' IDENTIFIED BY 'secure_password';
Zabbix Service Installation
shell
dnf config-manager --add-repo https://repo.oepkgs.net/openeuler/rpm/openEuler-22.03-LTS/contrib/others/aarch64/
dnf clean all && dnf makecache
dnf install zabbix-server-mysql zabbix-web-mysql zabbix-nginx-conf zabbix-sql-scripts zabbix-agent --nogpgcheckZabbix Environment Configuration
Prepare the database.
mysqlmysql -uroot -p > Enter your password create database zabbix character set utf8mb4 collate utf8mb4_bin; create user zabbix@localhost identified by 'zabbix_password'; grant all privileges on zabbix.* to zabbix@localhost; set global log_bin_trust_function_creators = 1; quit;Import initial data.
shellzcat /usr/share/doc/zabbix-sql-scripts/mysql/server.sql.gz | mysql --default-character-set=utf8mb4 -uzabbix -p zabbixDisable the temporary MySQL setting.
mysqlmysql -uroot -p > Enter your password set global log_bin_trust_function_creators = 0; quit;Update configuration files.
shellvi /etc/zabbix/zabbix_server.conf --- DBPassword=zabbix_password --- vi /etc/nginx/conf.d/zabbix.conf --- listen 8080; # Uncomment server_name example.com; # Uncomment ---Update net-snmp.
shelldnf install net-snmp net-snmp-devel net-snmp-utils --nogpgcheckLaunch zabbix services.
shellsystemctl restart zabbix-server zabbix-agent nginx php-fpm systemctl enable zabbix-server zabbix-agent nginx php-fpmAccess the web interface using port 8080.
Licensed under the MulanPSL2
Copyright © 2026 openEuler. All rights reserved.J. ICP B. No. 2020036654-1
J.G.W.A.B. No. 11030102011597
Licensed underthe MulanPSL2
Copyright © 2026 openEuler. All rights reserved.