当前位置: 首页 > news >正文

ubuntu 20.04 server 安装 zabbix

ubuntu 20.04 server 安装 zabbix

参考文档

https://zhuanlan.zhihu.com/p/587415883?utm_id=0
https://repo.zabbix.com/zabbix/6.0/ubuntu/pool/main/z/zabbix-release/
https://blog.csdn.net/ammc520/article/details/134279322
在Ubuntu 20.04上安装MySQL教程
https://blog.csdn.net/m0_57165777/article/details/127977315

wget https://repo.zabbix.com/zabbix/6.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_6.0-4%2Bubuntu20.04_all.deb

sudo dpkg -i zabbix-release_6.0-4+ubuntu20.04_all.deb

如果不执行 下面这句话 再下面的 会出错
sudo apt-get update

sudo apt install zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-sql-scripts zabbix-agent

sudo apt install mysql-server
sudo apt-get install mysql-client

sudo mysql_secure_installation

VALIDATE PASSWORD COMPONENT can be used to test passwords: n
Remove anonymous users? (Press y|Y for Yes, any other key for No) : y
Disallow root login remotely? (Press y|Y for Yes, any other key for No) : n
Remove test database and access to it? (Press y|Y for Yes, any other key for No) : n
Reload privilege tables now? (Press y|Y for Yes, any other key for No) : y

Success.

All done!

systemctl status mysql.service
sudo cat /etc/mysql/debian.cnf
在这里插入图片描述

mysql -u debian-sys-maint -p

输入上面的密码
use mysql;
select user,plugin from user;
update user set plugin=‘mysql_native_password’ where user=‘root’;
select user,plugin from user;
alter user ‘root’@‘localhost’ identified by ‘1234’;
flush privileges;
exit

sudo service mysql restart

相关文章:

  • Redis集群:Sentinel哨兵模式(图文详解)
  • 02 硬件知识入门(电容)
  • 3分钟在CentOS 7上离线安装Docker
  • Flink之复杂事件处理CEP
  • VSC改造MD编辑器及图床方案分享
  • [UGUI]实现从一个道具栏拖拽一个UI道具到另一个道具栏
  • vue 全局封装文件下载及导入
  • Hadoop学习笔记(HDP)-Part.13 安装Ranger
  • 【开源】基于Vue+SpringBoot的数据可视化的智慧河南大屏
  • less 笔记
  • 线程池,及7大参数,4大拒绝策略详解
  • 实施工程师运维工程师面试题
  • QT 中 QProgressDialog 进度条窗口 备查
  • 网上选课系统源码(Java)
  • Springboot:kafka运行成功,报错InvalidTopicException
  • 分享的文章《人生如棋》
  • 【翻译】Mashape是如何管理15000个API和微服务的(三)
  • Angular 响应式表单之下拉框
  • Docker 笔记(1):介绍、镜像、容器及其基本操作
  • ES6简单总结(搭配简单的讲解和小案例)
  • iOS筛选菜单、分段选择器、导航栏、悬浮窗、转场动画、启动视频等源码
  • JS进阶 - JS 、JS-Web-API与DOM、BOM
  • Linux各目录及每个目录的详细介绍
  • React Transition Group -- Transition 组件
  • SpiderData 2019年2月25日 DApp数据排行榜
  • spring-boot List转Page
  • SpringCloud集成分布式事务LCN (一)
  • 读懂package.json -- 依赖管理
  • 缓存与缓冲
  • 将回调地狱按在地上摩擦的Promise
  • 蓝海存储开关机注意事项总结
  • 使用agvtool更改app version/build
  • 通过npm或yarn自动生成vue组件
  • 原创:新手布局福音!微信小程序使用flex的一些基础样式属性(一)
  • 没有任何编程基础可以直接学习python语言吗?学会后能够做什么? ...
  • 通过调用文摘列表API获取文摘
  • # Apache SeaTunnel 究竟是什么?
  • #每日一题合集#牛客JZ23-JZ33
  • (libusb) usb口自动刷新
  • (亲测有效)解决windows11无法使用1500000波特率的问题
  • (三) prometheus + grafana + alertmanager 配置Redis监控
  • (提供数据集下载)基于大语言模型LangChain与ChatGLM3-6B本地知识库调优:数据集优化、参数调整、Prompt提示词优化实战
  • (一)appium-desktop定位元素原理
  • (轉貼) VS2005 快捷键 (初級) (.NET) (Visual Studio)
  • .NET/C# 在 64 位进程中读取 32 位进程重定向后的注册表
  • .NET简谈互操作(五:基础知识之Dynamic平台调用)
  • .NET运行机制
  • .net中我喜欢的两种验证码
  • .stream().map与.stream().flatMap的使用
  • /3GB和/USERVA开关
  • @Service注解让spring找到你的Service bean
  • []我的函数库
  • [ANT] 项目中应用ANT
  • [C++] sqlite3_get_table 的使用
  • [C++基础]-初识模板