How to Install Zabbix 5.2 on CentOS 8 [Step-by-Step]

Опубликовано: 03 Июль 2026
на канале: LiTech
1,826
17

Subscribe:    / @xiaolitech  

Installation Environment.
Centos 8.3/Mysql/Apache/Zabbix 5.2
Install Zabbix repository
rpm -Uvh https://repo.zabbix.com/zabbix/5.2/rh...
dnf clean all
Install front-end, proxy
dnf install zabbix-server-mysql zabbix-web-mysql zabbix-apache-conf zabbix-agent
Install the database
dnf -y install mariadb-server && systemctl start mariadb && systemctl enable mariadb
Reset mysql password
mysql_secure_installation
Initialize the database
mysql -uroot -p
password
create database zabbix character set utf8 collate utf8_bin;
create user zabbix@localhost identified by 'password';
grant all privileges on zabbix.* to zabbix@localhost;
quit;
Import the initial schema and data on the Zabbix server host. You will be prompted for the mysql password
zcat /usr/share/doc/zabbix-server-mysql*/create.sql.gz | mysql -uzabbix -p zabbix
Edit the /etc/zabbix/zabbix_server.conf file, find the DBPassword and enter the created database password after =
DBPassword=password
Restart Zabbix and httpd services
systemctl restart zabbix-server zabbix-agent httpd php-fpm
systemctl enable zabbix-server zabbix-agent httpd php-fpm

Microsoft/Windows/software/technology:
Windows 10 Office 100% online activation:   • Video  
Microsoft Office 2021 Preview download and install activation:    • Video  
Windows 10 21H2 New Features Update boot animation:   • Video  
Windows 10 21H2 + Microsoft Office 2021 perfect combination:    • Video  
Microsoft 365 free download activation:    • Video  
PowerToys - from Microsoft:    • Video  
Windows terminal cmd set proxy method:    • Video  

Network Technology:
A software that covers all protocols for scientific Internet access:    • Video  
How to live stream handheld games on Youtube:    • Video  
How to share scientific Internet access on cell phones (over the wall):    • Video  
macOS shared scientific Internet access (wall):   • Video  
Three open source free macOS scientific Internet wall tools:   • Video  
v2rayn v2rayw clash mellow qv2ray multi-dimensional most comprehensive and detailed tutorial review:    • Video  
Have your own xray server for free without spending a dime:    • Video  
Get your own website for free without spending a dime:    • 不花一分钱,免费拥有您自己的网站|不花一分錢,免費擁有您自己的網站|免费VPS|免费...  

macOS/software/technology:
macOS virtualization software ParallelDesktop16 to install Windows 10 21H2:    • MacOS12 Monterey 虚拟机安装 Windows 教程 2022  
macOS Must Download Software 2021:   • Video  
OBSStudio for Mac Configuration Guide 2021:   • 免费录屏软件,支持Windows/Mac,OBS Studio for Mac 20...  
Create MacOS11 system image dmg/cdr/iso 2021:   • Video  
Simple installation of Black Apple tutorial 2021:   • 零基础黑苹果安装教程 2022  
macOS two open source universal player:   • MacOS12 Monterey两款必备的免费开源万能播放器 2022  
macOS Three open source universal decompression software:   • MacOS12 Monterey必备开源免费压缩软件&加密软件 2022  
Three open source free macOS scientific Internet wall tools:   • Video  
macOS shared scientific Internet access (flipping wall):   • Video  
How to get old macOS system:    • Video  

Software resources:
Top free antivirus software ClamAV 2021:   • Windows11/MacOS12/Linux全平台免费开源杀毒软件ClamAV 2022  
FaceRig Live2D Secondaries (live streaming tool):   • Video  
Build your own free private cloud drive NextCloud 2021:   • Video  
pyTranscriber automatically generate movie subtitles 2021:    • 开源免费一键自动语音识别生成字幕,  
11 white whoring god station:    • 11个值得收藏的在线应用和资源网站 2022,  在线文档格式转换,  AI在线扣图...  
Enterprise antivirus software for free, compatible with Windows Mac:    • 企业杀毒软件免费用,兼容Windows Mac,free antivirus for...  
Free open source automatic editing using algorithms:    • Video  
Four superb software:    • Video