Zabbix 3.0 quick installation document
: Hat Enterprise Liunx/CentOS 7 Zabbix installation:
# Rpm-ivh http://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/zabbix-release-3.0-1.el7.noarch.rpmzabbix official source contains fping, iksemel, libssh2, on the non-supported Server side # yum install zabbix-server-mysql zabbix-web-mysqlAgent side # yum install zabbix-agent database installation: By default, the yum source of centos 7 does not have mysql. You need to download the mysql repo source # wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm# Rpm-ivh mysql-community-release-el7-5.noarch.rpm # yum install mysql-server after installation is complete no default password login mysql ERROR 2002 (HY000 ): can't connect to local MySQL server through socket '/var/lib/mysql. sock '(2), because of/var/lib/mysql access permission issues. The following command changes the owner of/var/lib/mysql to the current user: # chown-R root: root/var/lib/mysql restart # systemctl restart mysqld: shell> mysql-uroot-p <password> mysql> create database zabbix character set utf8 collate utf8_bin; mysql> grant all privileges on zabbix. * to zabbix @ localhost identified by '<password>'; mysql> quit; shell> cd database/mysqlshell> mysql-uzabbix-p <password> zabbix <schema. SQL # stop here if you are creating database for Zabbix proxyshell> mysql-uzabbix-p <password> zabbix <images. sqlshell> mysql-uzabbix-p <password> zabbix <data. SQL tricks: shell> mysql-uroot-p <password> mysql> create database zabbix character set utf8 collate utf8_bin; mysql> grant all privileges on zabbix. * to zabbix @ localhost identified by '<password>'; mysql> quit; # cd/usr/share/doc/zabbix-server-mysql-3.0.0 # zcat create. SQL .gz | mysql-uroot zabbix edit Zabbix-Server configuration file # vim/etc/zabbix/login = localhostDBName = login = zabbixDBPassword = zabbix start, disable selinux setenforce 0 and firewall # systemctl start zabbix-server to modify the php "date. timezone "# vim/etc/httpd/conf. d/zabbix. confphp_value max_execution_time 300php_value memory_limit 128Mphp_value post_max_size 16Mphp_value upload_max_filesize 2Mphp_value max_input_time 300php_value interval-1 # php_value date. timezone Europe/Riga open comments, modify the time zone to start http # systemctl start httpd login page, set zabbix-web default account password to Admin/zabbix Chinese support: Modify the web source file to enable the Chinese language vim/usr/share/zabbix/include/locales. inc. php 'zh _ cn' => ['name' => _ ('Chinese (zh_CN) '), 'display' => true], # That is, if you change the value of false to true, the image will be garbled. You need to modify the configuration file vim/usr/share/zabbix/include/defines. inc. php # modify row 93rd
Define ('zbx _ FONT_NAME ', 'msyh ');
# Modify row 45th to define ('zbx _ GRAPH_FONT_NAME ', 'msyh') to download the font and change it to the msyh input/usr/share/zabbix/fonts directory. Python version 3.5.1 by default
Some Zabbix Tutorials:
Compile and install Zabbix2.4.5 source code in Ubuntu 14.04
Install and deploy the distributed monitoring system Zabbix 2.06
Install and deploy the distributed monitoring system Zabbix 2.06
Install and deploy Zabbix in CentOS 6.3
Zabbix distributed monitoring system practice
Under CentOS 6.3, Zabbix monitors apache server-status
Monitoring MySQL database Parameters Using Zabbix in CentOS 6.3
Install Zabbix 2.0.6 in 64-bit CentOS 6.2
ZABBIX details: click here
ZABBIX: click here
This article permanently updates the link address: