In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces the CentOS 8.0.1905 in the installation of ZABBIX4.4 version of the method, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let Xiaobian with you to understand.
Zabbix server environment platform
Version: ZABBIX version 4.4
System: CentOS 8.0.1905
Database: Mysql-server-8.0.17
Install the CentOS8 yum source
# cd / etc/yum.repos.d/#rm-f CentO*.repo#curl-o CentOS-Base.repo https://raw.githubusercontent.com/hackyoMa/docker-centos/8/CentOS-Base.repo#yum makecache
Install the zabbix yum source
# rpm-Uvh https://repo.zabbix.com/zabbix/4.4/rhel/8/x86_64/zabbix-release-4.4-1.el8.noarch.rpm# dnf clean all
Install the Zabbix server,Web front end, agent
# dnf-y install zabbix-server-mysql zabbix-web-mysql zabbix-apache-conf zabbix-agent
Create the initial database
# sudo yum-y install @ mysql:8.0
Activate the MySQL service:
Sudo systemctl status-now mysql
Confirm the service status:
Sudo systemctl status mysqld
Initialize the MySQL database
Mysql_secure_installation
Note, make sure that:
Set the database root user password. Delete anonymous users. Prohibit root users from logging in remotely. Delete the test database and access it.
MySQL user root test access:
# mysql-uroot-p
Password
Create a database
Mysql > create database zabbix character set utf8 collate utf8_bin
Create a user
Mysql > create user 'zabbix'@'%' identified by' zabbix_Password'
Authorized user
Mysql > grant all privileges on zabbix.* to 'zabbix'@'%' with grant option;mysql > flush privileges;mysql > quit
Import the initial schema and data, and you will be prompted for the newly created password.
# zcat / usr/share/doc/zabbix-server-mysql*/create.sql.gz | mysql-uzabbix-p zabbix
Configure the database for Zabbix server
Edit configuration file / etc/zabbix/zabbix_server.conf
DBPassword=password
Configure PHP for the Zabbix front end
Edit the configuration file / etc/php-fpm.d/zabbix.conf, uncomment and set the correct time zone
; php_ value [date.timezone] = Asia/Shanghai
Start the Zabbix server and agent processes and set them to boot:
# systemctl restart zabbix-server zabbix-agent httpd php-fpm# systemctl enable zabbix-server zabbix-agent httpd php-fpm
Now your Zabbix server is installed and running
Thank you for reading this article carefully. I hope the article "how to install ZABBIX4.4 version in CentOS 8.0.1905" shared by the editor will be helpful to you. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.