In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
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 Zabbix server, Web front end, agent
# dnf -y install zabbix-server-mysql zabbix-web-mysql zabbix-apache-conf zabbix-agent
c. Create initial database
# sudo yum -y install @mysql:8.0
Activate MySQL service:
sudo systemctl status --now mysql
Confirm service status:
sudo systemctl status mysqld
initialize MySQL database
mysql_secure_installation
Please ensure that:
Set the database root password.
Remove anonymous users.
Remote login of root user is prohibited.
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 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. Configuring databases for Zabbix server
Edit the configuration file/etc/zabbix/zabbix_server.conf
DBPassword=password
e. Configuring PHP for Zabbix frontend
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
Your Zabbix server is now installed and running
Configuring 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
It can be viewed through the user data table.
Default Account: Admin
Default password: zabbix
Getting started with Zabbix
View the Quick Start Guide
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.