Zabbix Server Environment Platform Version: ZABBIX version 4.4 Install CentOS8 yum repository #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 zabbix yum repository # 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 Zabbix server, web frontend, and agent # dnf -y install zabbix-server-mysql zabbix-web-mysql zabbix-apache-conf zabbix-agent Creating the Initial Database Activate the MySQL service: Confirm service status: Initialize MySQL Database 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: 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 your newly created password. # zcat /usr/share/doc/zabbix-server-mysql*/create.sql.gz | mysql -uzabbix -p zabbix Configure database for Zabbix server Edit the configuration file Configure PHP for Zabbix frontend Edit the configuration file ; php_value[date.timezone] = Asia/Shanghai 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 Reference: https://www.zabbix.com/documentation/4.4/manual/installation/install#installing_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: AdminDefault password: zabbix Summary: During the execution of zcat /usr/share/doc/zabbix-server-mysql*/create.sql.gz | mysql -uzabbix -p zabbix Encountered the following problem Error 1046 (3D000) No database selected The above is the introduction of CentOS 8.0.1905 installation of ZABBIX4.4. I hope it will be helpful to everyone. If you have any questions, please leave me a message and I will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website! You may also be interested in:
|
<<: The implementation process of extracting oracle data to mysql database
>>: Axios project with 77.9K GitHub repository: What are the things worth learning?
When searching online for methods to install MySQ...
1. Install Docker yum install docker #Start the s...
Regarding the nginx panic problem, we first need ...
1. Introduction to docker-maven-plugin In our con...
This article attempts to write a demo to simulate...
Tomcat's default log uses java.util.logging, ...
This article shares the 6 most effective methods,...
Table name and fields –1. Student List Student (s...
MQTT Protocol MQTT (Message Queuing Telemetry Tra...
Table of contents 1. Problem Description 2. Probl...
As the cost of building HTTPS websites decreases,...
Table of contents 1. some 2. every 3. find 1. som...
Scenario 1: Due to server restrictions, only one ...
This article records the installation and configu...
Build the image Earlier we used various images fo...