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 > Database >
Share
Shulou(Shulou.com)06/01 Report--
Official installation documentation:
Https://www.zabbix.com/documentation/3.2/manual/installation/install_from_packages/server_installation_with_mysql
Add the source of zabbix first:
Rpm-ivh http://repo.zabbix.com/zabbix/3.2/rhel/7/x86_64/zabbix-release-3.2-1.el7.noarch.rpm
The above command will automatically install the source files in the / etc/yum.d.repo/ directory through the RPM command
It's OK if you don't install it through the source, but it's cumbersome to install your own dependencies manually.
Install zabbix:
Yum install zabbix-server-mysql zabbix-web-mysql
Install the database configuration mariadb (now use mariadb instead of MySQL):
Yum install mariadb*
Systemctl start mariadb starts mariadb
Systemctl enable mariadb mariadb adds boot entry
Create a database and set characters, assign account permissions, etc.:
Mysql-uroot-p mysql does not have a password by default
Create database zabbix character set utf8 collate utf8_bin
Grant all privileges on zabbix.* to zabbix@localhost identified by 'zabbix'
Flush privileges
Quit
Import data:
Zcat / usr/share/doc/zabbix-server-mysql-3.2.*/create.sql.gz | mysql- uzabbix-pzabbix zabbix
Once in this error, the zabbix account was not assigned administrative privileges to the database of zabbix, resulting in an inexplicable lack of permissions when starting the zabbix service.
Configure zabbix
# vi / etc/zabbix/zabbix_server.conf
DBHost=localhost
DBName=zabbix
DBUser=zabbix
DBPassword=zabbix
Start zabbix
# systemctl start zabbix-server
# systemctl enable zabbix-server
Modify PHP time zone information
Date.time in vi / etc/php.ini
Start httpd
Systemctl start httpd
Finally, open the web page to configure zabbix
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.