one. Ready to work OS: centos7.4 Zabbix version: 3.4.6 (new version released on 2018/1/15) Database: MariaDB closes the firewall: systemctl stop firewalld firewall does not start since: systemctl disable firewalld disables selinux: temporary: setenforce 0 permanent: sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config When everything is ready, restart the system! two. First install the MariaDB database 1. Overview: The MariaDB database management system is a branch of MySQL, maintained primarily by the open source community, and licensed under the GPL. The reason for the development of this branch is that Oracle's acquisition of MySQL has the potential to shut down MySQL, so the community adopts a branch approach to avoid this risk. The purpose of MariaDB is to be fully compatible with MySQL, including APIs and command lines, so that it can easily become a replacement for MySQL. Yum -y install mariadb-server mariadb 3 start and boot from the database Systemctl start mariadb && systemctl enable mariadb three. Install zabbix3.4.61.zabbix3.4.6 version update instructions 1) New dashboard 2) New map navigation tree display 3) Support for remote commands via proxy 4) Parallel processing of alarms 2.rpm install zabbix yum source Rpm -i http://repo.zabbix.com/zabbix/3.4/rhel/7/x86_64/zabbix-release-3.4-2.el7.noarch.rpm 3. Begin installing zabbix Yum -y install zabbix-server-mysql zabbix-web-mysql zabbix-agent zabbix-get zabbix-sender 4. Create an initial database Mysql -urootMariaDB [(none)]> create database zabbix character set utf8 collate utf8_bin;MariaDB [(none)]> grant all privileges on zabbix.* to zabbix@localhost identified by 'zabbix';MariaDB [(none)]> quit 5. Import the initial mode and data Zcat /usr/share/doc/zabbix-server-mysql*/create.sql.gz | mysql -uzabbix -p zabbix 6. Configure the database for the Zabbix server 7. Start Zabbix server and agent processes and start at system startup Systemctl start zabbix-server zabbix-agent httpd && systemctl enable zabbix-server zabbix-agent httpd 8. Configure PHP for the Zabbix front end, change the time zone Vim /etc/httpd/conf.d/zabbix.confphp_value date.timezone Asia/Shanghai 9. Restart the system Reboot 10. Install zabbix web Http://your server ip/zabbix/ At this point, zabbix monitoring system is completed! Appendix: (Some package names and uses of zabbix) Pharmaceuticals,2-Methyl- Propanoic Acid Monohydrate Price,2-Methyl- Propanoic Acid Monohydrate Free Sample,Pure 2-Methyl- Propanoic Acid Monohydrate Zhejiang Wild Wind Pharmaceutical Co., Ltd. , https://www.wild-windchem.com
2.yum install MariaDB
Zabbix-server-mysql-3.4.6-1.el7.x86_64 (zabbix server main installer)
Zabbix-agent-3.4.6-1.el7.x86_64 (zabbix agent master installer)
Zabbix-web-3.4.6-1.el7.noarch (zabbix web installer)
Zabbix-get-3.4.6-1.el7.x86_64.rpm (zabbix server installer for monitoring data)
Zabbix-web-mysql-3.4.6-1.el7.noarch.rpm (zabbix web connection database installer)
Zabbix-release-3.4.2-1.el7.noarch.rpm (build zabbix yum source configuration file)
Zabbix-sender-3.4.6-1.el7.x86_64.rpm (zabbix agent installer for sending monitoring data)
You use the "rpm -q package name" command to check if the above packages are installed. The above packages are installed correctly. Then focus on the next two packages (zabbix-get and zabbix-sender), zabbix-get is installed on the zabbix server side, used to communicate with the zabbix agent, used to actively pull data from the agent side to the server side;
Zabbix-sender is installed on the zabbix agent and is used to communicate with the zabbix server. It is used to push the data from the agent to the server. Zabbix-get (installed on the server side) zabbix-sender (installed on the agent side)