会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
黄褐色的菊花怪
大大怪将军!!!
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
18
下一页
2024年7月15日
centos7 华为云镜像源
摘要: gzip /etc/yum.repos.d/* # base curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.huaweicloud.com/repository/conf/CentOS-7-anon.repo cat>/etc/y
阅读全文
posted @ 2024-07-15 16:01 Gshelldon
阅读(873)
评论(0)
推荐(0)
2024年7月12日
定位k8s异常流量的pod
摘要: 背景:k8s集群是使用的calico IPIP模式的网络。 1、通过sar查看异常的网口 # 没秒统计一次,按ctrl + c结束 sar -n DEV 1 上一个步骤能看到是哪个网络接口的流量异常。 然后根据获取到的网口名称。过滤查找到是哪个pod IP在过滤出pod route -n | gre
阅读全文
posted @ 2024-07-12 17:19 Gshelldon
阅读(30)
评论(0)
推荐(0)
2024年7月11日
Ubuntu 24.04 安装配置
摘要: Ubuntu 24.04 安装配置 1、安装基本优化 1.1 关闭cloud-init进程 cloud init进程在云计算中,开机的时候会去访问一个固定的IP地址,来获取主机的元数据信息,比如初始化的脚本,重置操作系统密码等功能。单独装不需要可以关闭。 echo 'network: {config
阅读全文
posted @ 2024-07-11 14:40 Gshelldon
阅读(2185)
评论(0)
推荐(0)
2024年7月5日
k8s 事件收集到es
摘要: cat k8s-events-elasticsearch.yaml # 采集k8s事件(events)到elasticsearch # https://github.com/AliyunContainerService/kube-eventer apiVersion: apps/v1 kind: D
阅读全文
posted @ 2024-07-05 16:34 Gshelldon
阅读(54)
评论(0)
推荐(0)
redis7.2 安装部署
摘要: # redis7.2 安装部署 https://redis.io/download/ https://github.com/redis/redis/tree/7.2 wget https://github.com/redis/redis/archive/7.2.3.tar.gz redis-7.2.
阅读全文
posted @ 2024-07-05 16:29 Gshelldon
阅读(384)
评论(0)
推荐(0)
mysqlbinlog 命令行
摘要: mysqlbinlog 命令行 常见的选项 mysqlbinlog常见的选项有一下几个: a、--start-datetime:从二进制日志中读取指定等于时间戳或者晚于本地计算机的时间。 b、--stop-datetime:从二进制日志中读取指定小于时间戳或者等于本地计算机的时间 取值和上述一样。
阅读全文
posted @ 2024-07-05 16:24 Gshelldon
阅读(462)
评论(0)
推荐(0)
2024年6月26日
ACME自动更新Nginx 网站证书
摘要: 1、安装acme.sh curl https://get.acme.sh | sh -s email=business@kai.com ~]# ls /root/.acme.sh/ account.conf acme.sh acme.sh.csh acme.sh.env deploy dnsapi
阅读全文
posted @ 2024-06-26 11:35 Gshelldon
阅读(1407)
评论(0)
推荐(0)
linux java日志转码
摘要: # gbk转成utf-8 iconv -f GB2312 -t UTF-8//IGNORE ecology -o ecology.log # linux到windows互转 dos2unix unix2dos
阅读全文
posted @ 2024-06-26 09:37 Gshelldon
阅读(20)
评论(0)
推荐(0)
2024年5月14日
Haproxy 安装配置
摘要: Haproxy 安装配置 官方文档参考https://docs.haproxy.org/ 四层的haproxy不支持把客户端真实的IP地址传到后端服务器。 1、安装 1.1 二进制编译安装。 https://github.com/haproxy/haproxy/releases/tag/v2.8.0
阅读全文
posted @ 2024-05-14 11:18 Gshelldon
阅读(116)
评论(0)
推荐(0)
2024年3月15日
helm 安装redis的主从、哨兵
摘要: helm 安装redis的主从、哨兵 主要的配置还是得看helm values中的注释说明 安装库 $ helm repo add bitnami https://charts.bitnami.com/bitnami # 查询redis资源 $ helm repo update $ helm sea
阅读全文
posted @ 2024-03-15 21:53 Gshelldon
阅读(633)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
18
下一页
公告