Zabbix Service-side installation
Installation Complete mysql-5.6, php5.6
mysql-5.6 Installation: https://www.cnblogs.com/xzlive/p/9771642.html
Create Zabbix User
# groupadd zabbix# useradd-g Zabbix Zabbix
1.1 Download and install Zabbix
All versions: http://www.zabbix.com/download.php
# yum Install net-snmp-devel libxml2-devel libcurl-devel//must first install dependent # cd/usr/local/src# Rpm-i Https://repo.zabbix.com/zab bix/3.0/rhel/7/x86_64/zabbix-release-3.0-1.el7.noarch.rpm# wget http://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/ zabbix-server-mysql-3.0.9-1.el7.x86_64.rpm# wget http://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/ zabbix-agent-3.0.9-1.el7.x86_64.rpm# wget http://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/ zabbix-web-mysql-3.0.9-1.el7.noarch.rpm# wget http://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/ zabbix-web-3.0.9-1.el7.noarch.rpm
1.2 Installing Zabbix server, frontend, agent
1.3 Creating a Database
# mysql-uroot-ppasswordmysql> CREATE database Zabbix character Set UTF8 collate utf8_bin;mysql> grant all Privileg Es on zabbix.* to [e-mail protected] identified by ' password ';mysql> quit;
1.4 Importing Database Data
# Zcat/usr/share/doc/zabbix-server-mysql*/create.sql.gz | Mysql-uzabbix-p Zabbix
1.5 Configuring the Zabbix server configuration file
#vi/etc/zabbix/zabbix_server.confdbpassword=Password
1.6 Configuring PHP and Zabbix frontend
#vi/etc/httpd/conf.d/zabbix.conf#php_value TimeZone Asia/shanghai#vi/etc/php.ini#date.timezone = Asia/Shanghai
1.7 Start the service and set the boot to start automatically
# systemctl Restart Zabbix-server zabbix-agent httpd# systemctl enable Zabbix-server zabbix-agent httpd
CentOS 7 on Zabbix 3.0 server-side installation