The experiment environment uses CentOS7.1, the first step installs the Zabbix software source
[[Email protected] ~] #rpm-IVH http://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/zabbix-release-3.0-1.el7.noarch.rpm
Installing Zabbix related Software
[email protected] ~]# Yum install zabbix-server-mysql zabbix-web-mysql zabbix-agent mariadb-server–y
[[email protected] ~]# systemctl start mariadb start database
Create a Zabbix database
MariaDB [(None)]> CREATE database Zabbix character set UTF8 collate utf8_bin;
Query OK, 1 row Affected (0.00 sec)
To do the relevant authorization
MariaDB [(None)]> grant all privileges on zabbix.* to [e-mail protected] identified by ' 123456 ';
Query OK, 0 rows Affected (0.00 sec)
[Email protected] ~]# cd/usr/share/doc/zabbix-server-mysql-3.0.3/
Import the Zabbix database
[Email protected] zabbix-server-mysql-3.0.3]# Zcat create.sql.gz | Mysql-uroot Zabbix
[[email protected] zabbix-server-mysql-3.0.3] #vim/etc/zabbix/zabbix_server.conf
Edit the Zabbix configuration file, configure the following parameters, and create the database above, the authorized user name password consistent
Dbhost=localhost
Dbname=zabbix
Dbuser=zabbix
dbpassword=123456
[[Email protected] ~] #systemctl start Zabbix-server.service launch Zabbix service
[[Email protected] ~] #s/etc/httpd/conf.d/zabbix.conf Configure the following parameters in the Apache configuration directory
Php_value Max_execution_time 300
Php_value Memory_limit 128M
Php_value post_max_size 16M
Php_value upload_max_filesize 2M
Php_value Max_input_time 300
Php_value Always_populate_raw_post_data-1
Php_value Date.timezone Asia/shanghai
[[email protected] zabbix-server-mysql-3.0.3] #systemctl start httpd
http://172.16.80.139/zabbix/Input Address Access Zabbix
650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M01/82/72/wKioL1dVdrzhoWE8AAC1yNlrCiE122.png-wh_500x0-wm_3 -wmp_4-s_1668060717.png "title=" 1.png "alt=" Wkiol1dvdrzhowe8aac1ynlrcie122.png-wh_50 "/>
650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M01/82/72/wKioL1dVdr7QbHkWAAEMaye2BDE498.png-wh_500x0-wm_3 -wmp_4-s_931910239.png "style=" Float:none; "title=" 2.png "alt=" Wkiol1dvdr7qbhkwaaemaye2bde498.png-wh_50 "/>
650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M02/82/73/wKiom1dVdbmwEElUAADq5nQV9iE829.png-wh_500x0-wm_3 -wmp_4-s_927729800.png "style=" Float:none; "title=" 3.png "alt=" Wkiom1dvdbmweeluaadq5nqv9ie829.png-wh_50 "/>
650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M02/82/72/wKioL1dVdsCypKRIAACSN_xG8q4181.png-wh_500x0-wm_3 -wmp_4-s_1490660826.png "style=" Float:none; "title=" 4.png "alt=" Wkiol1dvdscypkriaacsn_xg8q4181.png-wh_50 "/>
650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M02/82/73/wKiom1dVdbvg1L7rAACkCGJ1Dxo351.png-wh_500x0-wm_3 -wmp_4-s_2497614242.png "style=" Float:none; "title=" 5.png "alt=" Wkiom1dvdbvg1l7raackcgj1dxo351.png-wh_50 "/>
Default Username/password is Admin/zabbix.
650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M02/82/72/wKioL1dVdsLA3uKZAACB2dhtJ6Y643.png-wh_500x0-wm_3 -wmp_4-s_1995950724.png "style=" Float:none; "title=" 6.png "alt=" Wkiol1dvdsla3ukzaacb2dhtj6y643.png-wh_50 "/>
650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M00/82/73/wKiom1dVdb2z3NzbAAFr53Zk54I665.png-wh_500x0-wm_3 -wmp_4-s_1570623648.png "style=" width:600px;height:335px; "title=" 7.png "width=" + "height=" 335 "border=" 0 "hspace= "0" vspace= "0" alt= "wkiom1dvdb2z3nzbaafr53zk54i665.png-wh_50"/>
This article from "Martin" blog, declined reprint!
ZABBIX3.0 Installation Guide