zabbix 安装全过程

安装预知

  1. 需要知道你需要的版本,且大致版本有哪些重要的功能或影响

我暂时也没找到相关说明,如果您知晓,请将链接发送至 13694846652@163.com, 谢谢

  1. 除 windows外,大部分计算机系统都可安装,官方说明
  2. 一些linux 的知识,能让你快速解决问题, 日志文件放在 /var/log/zabbix/ , 配置文件放在 /etc/zabbix/
  3. zabbix 分为server client agent 三部分,网页是用php做的,数据库可以自己选择 postgreSQL 或者 MySQL

安装

安装版本

  1. zabbix 4.0
  2. mysql 8.0

安装步骤

  1. 安装mysql,并创建一个叫zabbix的用户 mysql官方安装文档

注意,mysql 8.0 以上 相对应的需要安装4.0 以上的,否则日志中会报错
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'groups'
另外mysql 8.0 会存在密码问题 官方文档,设置错误会报错

  1. 密码设置过于简单, mysql报错 Your password does not satisfy the current policy requirements
  2. 加密方式应选择 mysql_native_password, 日志文件报错 /var/log/zabbix/zabbix_server.log
    connection to database 'zabbix' failed: [2059] Authentication plugin 'caching_sha2_password' cannot be loaded: /usr/lib64/mysql/plugin/cachi ng_sha2_password.so: cannot open shared object file: No such file or directory
  1. 按照zabbix官方说明,使用yum 安装

注意,

  1. 在这个页面中,可能会出现这个错误,
    connection to database 'zabbix' failed: [2059] Authentication plugin 'caching_sha2_password' cannot be loaded: /usr/lib64/mysql/plugin/cachi ng_sha2_password.so: cannot open shared object file: No such file or directory
    你需要使用 alter user 'zabbix'@"localhost" identified with mysql_native_password by "Mypass@123";
    将密码修改回来,再进行登陆
  2. 安装前端(frontend)时, 在 这个页面中,10051,不要改动,至少现在不要,因为改动完还需要在其他地方改动,保持原状就好
  1. 安装完成后,输入 http://ip/zabbix, 用户名 Admin, 密码 zabbix
  2. 恭喜你,安装成功了!!!
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值