zabbix3.4.2安装
Posted cooper-73
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了zabbix3.4.2安装相关的知识,希望对你有一定的参考价值。
安装 zabbix-server:
# rpm -i https://repo.zabbix.com/zabbix/3.4/rhel/7/x86_64/zabbix-release-3.4-2.el7.noarch.rpm
# yum install zabbix-server-mysql zabbix-web-mysql zabbix-agent
启动并初始化 mysql 数据库:
]# systemctl start mariadb
]# mysql -uroot -p
mysql> create database zabbix character set utf8 collate utf8_bin;
mysql> grant all privileges on zabbix.* to [email protected] identified by ‘zabbix‘;
mysql> quit;
配置 zabbix-server:
]# vi /etc/zabbix/zabbix_server.conf
DBPassword=password
]# vi /etc/httpd/conf.d/zabbix.conf
php_value date.timezone Asia/ShangHai
启动 zabbix:
]# systemctl restart zabbix-server zabbix-agent httpd
]# systemctl enable zabbix-server zabbix-agent httpd
访问:IP/zabbix
以上是关于zabbix3.4.2安装的主要内容,如果未能解决你的问题,请参考以下文章