In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Editor to share with you how to install CentOS 8 ZABBIX4.4, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
Zabbix server environment platform
ZABBIX version 4.4
CentOS8
MySQL 8
# rpm-Uvh https://repo.zabbix.com/zabbix/4.4/rhel/8/x86_64/zabbix-release-4.4-1.el8.noarch.rpm# dnf clean all
b. Install the Zabbix server,Web front end, agent
# dnf-y install zabbix-server-mysql zabbix-web-mysql zabbix-apache-conf zabbix-agent
c. 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-ppassword
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
d. Configure the database for Zabbix server
Edit configuration file / etc/zabbix/zabbix_server.conf
DBPassword=password
e. 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
f. 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
Configure the Zabbix front end
Connect to the newly installed Zabbix front end: http://server_ip_or_name/zabbix
Follow the steps in the Zabbix file: install the front end
Can be viewed through the user data sheet
Default account: Admin
Default password: zabbix
Start using Zabbix
The above is all the contents of the article "how to install ZABBIX4.4 in CentOS 8". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
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.