when you have installed zabbix , it is important of changing password.
- Setup 1 INSTALL
- Create the repos of Zabbix
- rpm -ivh https://mirrors.aliyun.com/zabbix/zabbix/3.0/rhel/7/x86_64/zabbix-release-3.0-1.el7.noarch.rpm
- Install software of Zabbix
- yum install zabbix-server zabbix-webe zabbix-server-MySQL zabbix-Web-MySQL mariadb-server mariadb zabbix-agent -y
- Modify the zabbix.conf about timezone
- VIM /etc/httpd/conf.d/zabbix.conf
- php_value date.timezone Asia/Shanghai
- Setup2 Modify Database
- start database
- systemctl start mariadb
- Create User & Database about Zabbix
- MySQL
- create database zabbix character set utf8 collate utf8_bin;
- grant all on zabbix.* to [email protected]'localhost' identified by '123456';
- exit
- cd /usr/share/doc/zabbix-server-MySQL-3.2.11/
- zcat create.sql.gz |MySQL -uzabbix -p123456 zabbix
- Modify zabbix_server.conf
- VIM /etc/zabbix/zabbix_server.conf
- DBHost=localhost
- DBName-zabbix
- DBUser=zabbix
- DBPassword=123456
- Start Zabbix-server
- systemctl start zabbix-server
- systemctl status zabbix-server
- systemctl restart httpd
- Loggin in Http://192.168.56.11/zabbix.PHP
- Admin
- zabbix
- modify & start zabbix-agent
- VIM /etc/zabbix/zabbix_agentd.conf
- systemctl restart zabbix-agent
It is OK now.
来源: http://www.bubuko.com/infodetail-3398884.html