1. Turn off SELinux and restart the server
Vim/etc/selinux/config
Selinux=disabled
Reboot
2. Turn off the firewall
Systemctl Stop Firewalld.service
3. Import the source, install the Zabbix package
RPM-IVH http://repo.zabbix.com/zabbix/3.2/rhel/7/x86_64/zabbix-release-3.2-1.el7.noarch.rpm
Yum install-y zabbix-server-mysql Zabbix-web-mysql
Yum Install-y zabbix-agent
4. Install MySQL, start the MySQL service, set up boot
RPM-IVH http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm
Yum Repolist enabled | grep "Mysql.*-community.*"
Yum Install-y mysql-community-server
Systemctl Enable Mysqld
Systemctl Start mysqld
5. Create a Zabbix database
Mysql-uroot-p
Create database Zabbix character set UTF8 collate utf8_bin;
Grant all privileges the zabbix.* to [e-mail protected] identified by ' Zabbix ';
Exit
6. Data import
Cd/usr/share/doc/zabbix-server-mysql-3.2.2/
Zcat create.sql.gz | Mysql-uroot-p Zabbix
7. Modify the configuration file
Yum install-y vim
Vim/etc/zabbix/zabbix_server.conf
Dbhost=localhost
Dbname=zabbix
Dbuser=zabbix
Dbpassword=zabbix
8. Start the Zabbix-server service, set the boot-up from
Systemctl Start Zabbix-server
Systemctl Enable Zabbix-server
9. Modify the time zone
Vim/etc/httpd/conf.d/zabbix.conf
Php_value Date.timezone Asia/shanghai
10. Start the Apache service, set up boot from boot
Systemctl Start httpd
Systemctl Enable httpd
11. Access the configuration address
http://192.168.8.228/zabbix/
This article is from a "little progress every Day" blog, make sure to keep this source http://zuoshou.blog.51cto.com/2579903/1884063
CentOS 7 Zabbix 3.2 Installation version 1.0