Zabbix server environment platform ZABBIX version 4.4 CentOS 8 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, and 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 service status: sudo systemctl status mysqld Initialize MySQL Database mysql_secure_installation Note, please ensure that: Set the database root user password. Delete anonymous users. Disable remote login for the root user. Delete the test database and access it. MySQL user root test access permissions: #mysql -uroot -p password Create a database mysql> create database zabbix character set utf8 collate utf8_bin; Create User 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 your newly created password. # zcat /usr/share/doc/zabbix-server-mysql*/create.sql.gz | mysql -uzabbix -p zabbix d. Configure database for Zabbix server Edit the configuration file /etc/zabbix/zabbix_server.conf e. Configure PHP for Zabbix frontend Edit the configuration file /etc/php-fpm.d/zabbix.conf, uncomment and set the correct time zone f. Start the Zabbix server and agent processes and set them to start automatically at 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 Zabbix frontend Connect to the newly installed Zabbix frontend: http://server_ip_or_name/zabbix Follow the steps in the Zabbix document: Install the front end You can view it through the user data table Default account: Admin Default password: zabbix Getting started with Zabbix View the Quick Start Guide Summarize The above is what I brought to you. I hope it will be helpful to you! You may also be interested in:
|
<<: Detailed explanation of Mysql transaction isolation level read commit
>>: Description of the writing method of foreach array in Vue and traversal array in js
This article shares the installation and configur...
We all have files stored on our computers -- dire...
introduce A chart is a graphical representation o...
The installation tutorial of mysql 5.7.19 winx64 ...
When using Animation.css, I found that the font o...
add -it docker run -it -name test -d nginx:latest...
An absolute URL is used to represent all the conte...
Related articles: 9 practical tips for creating we...
Label display mode (important) div and span tags ...
Check virtualization in Task Manager, if it is en...
Table of contents Methods of String Object Method...
Be sure to remember to back up your data, it is p...
Normally, you'll need to read everyone's s...
Problem description: The Linux system's netwo...
Prerequisites A cloud server (centOS of Alibaba C...