会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Leonardo-li
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
9
10
11
12
13
14
15
16
17
···
28
下一页
2023年1月9日
prometheus告警发送失败
摘要: prometheus有告警产生,但是发送邮件失败: docker logs -f alertmanager --tail 100 问题1: level=warn ts=2023-01-01T15:34:53.207Z caller=notify.go:724 component=dispatcher
阅读全文
posted @ 2023-01-09 14:02 Leonardo-li
阅读(1982)
评论(0)
推荐(0)
2023年1月5日
海光芯片+麒麟操作系统v10部署docker
摘要: 1.docker离线部署参考文档 https://codeleading.com/article/9515573273/ 2.docker离线包下载地址 http://mirrors.aliyun.com/docker-ce/linux/static/stable/x86_64/ 3.部署步骤 #
阅读全文
posted @ 2023-01-05 11:51 Leonardo-li
阅读(2297)
评论(0)
推荐(0)
2022年12月27日
Kylinv10使用笔记
摘要: 1.麒麟v10镜像下载 Kylin-Server-10-SP2-x86-Release-Build09-20210524.iso 链接:https://pan.baidu.com/s/1p8HviWKcVZSOhNaCQ1XYtg?pwd=g3u2 提取码:g3u2 2.安装参考文档: https:
阅读全文
posted @ 2022-12-27 14:25 Leonardo-li
阅读(9345)
评论(0)
推荐(0)
2022年12月26日
在partition中使用xfs文件系统时,sda没有足够的空间可以让grub2嵌入core.img
摘要: 背景: 安装kylin v10操作系统,在执行系统盘配置的时候报错 报错: 在partition中使用xfs文件系统时,sda没有足够的空间可以让grub2嵌入core.img 原因: 磁盘中有冗余的挂载或者数据,需要删除,但删除之后手动挂载仍然无法完成,只能自动挂载并且分区。 解决: 选择自动挂载
阅读全文
posted @ 2022-12-26 17:44 Leonardo-li
阅读(294)
评论(0)
推荐(0)
2022年12月7日
shell处理json数据
摘要: #!/bin/bashfunction get_json(){ echo "${1//\"/}" | sed "s/.*$2:\([^,}]*\).*/\1/" } function deal_json(){ cmd="curl -s http://127.0.0.1:28888/aibox/ser
阅读全文
posted @ 2022-12-07 16:03 Leonardo-li
阅读(2733)
评论(0)
推荐(0)
firewalld使用与配置
摘要: #永久添加指定的端口策略 firewall-cmd --zone=public --add-port=80/tcp --permanent #永久删除指定的端口策略 firewall-cmd --zone=public --remove-port=80/tcp --permanent #永久删除指定
阅读全文
posted @ 2022-12-07 14:51 Leonardo-li
阅读(105)
评论(0)
推荐(0)
2022年12月1日
记一次移动云服务器IP消失的原因
摘要: 问题:移动云服务器,初始化系统后,ifconfig发现网卡eth0没有IP地址了,经过复盘,发现是关闭了NetworkManager,查看network(chkconfig --list),发现也是off。 解决方法一:关闭NetworkManager服务(网上常用方法) [root@test ~]
阅读全文
posted @ 2022-12-01 09:46 Leonardo-li
阅读(338)
评论(0)
推荐(0)
2022年11月30日
k8s常用命令
摘要: 1、查看pod(查看其他资源类型的信息只需要把pod换为svc、deployment、configmap=cm、pv、pvc)信息,-o其他选项,wide显示长信息,yaml显示为yaml格式 1.1 查看pod详细信息 kubectl get pod -o wide 1.2 查看pod信息 kub
阅读全文
posted @ 2022-11-30 10:44 Leonardo-li
阅读(114)
评论(0)
推荐(0)
2022年11月29日
k8s学习笔记
摘要: 1.pv学习mysql-pv.yaml apiVersion: v1 kind: PersistentVolume #申明资源是pv metadata: name: pv-mysql-datadir #pv名称 labels: pv: mysql-datadir #pv标签,pvc关联的名称 spe
阅读全文
posted @ 2022-11-29 21:03 Leonardo-li
阅读(50)
评论(0)
推荐(0)
2022年11月9日
mysqldump备份报错 'max_allowed_packet'
摘要: 1.mysqldump备份报错 [root@176-238 bin]# ./mysqldump -uroot -p'123456' --default-character-set=utf8 --opt -R -E confluence > /data/backup/20221109/confluen
阅读全文
posted @ 2022-11-09 18:17 Leonardo-li
阅读(1307)
评论(0)
推荐(0)
上一页
1
···
9
10
11
12
13
14
15
16
17
···
28
下一页
公告