摘要: 删除入站规则 执行sudo iptables -L INPUT --line-numbers 查看iptables入站规则列表 找到目标为DROP的行,备注中有drop connection requests to k8s cluster from external source字样, 执行sudo 阅读全文
posted @ 2024-01-09 14:54 turingguo 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 一、安装OpenObserve和Otel-collector 使用docker-compose 安装 记得替换下USER_MAIL xxx@xx.com和PASSWORD xxx 这里解释下为啥要用named volume来映射openobserve的data目录,因为目前版本(0.7.2)在win 阅读全文
posted @ 2024-01-03 15:54 turingguo 阅读(287) 评论(0) 推荐(0) 编辑
摘要: 系统环境 wsl debian11 目标环境 arm64 musl 即 aarch64-linux-musl (小爱音箱pro的系统就是基于openwrt,对应的平台就是这个) 步骤 安装target rustup target install aarch64-unknown-linux-musl 阅读全文
posted @ 2023-05-16 21:58 turingguo 阅读(535) 评论(0) 推荐(0) 编辑
摘要: 背景 由于路由器openwrt的限速不太好用,所以需要到设备上去进行限速设置,这里使用wondershaper 使用 下载安装wondershaper wget https://ghproxy.com/https://github.com/magnific0/wondershaper/archive 阅读全文
posted @ 2023-05-03 11:12 turingguo 阅读(294) 评论(0) 推荐(0) 编辑
摘要: 使用加密dns不会被拦截修改,也不容易受到dns污染 管理员打开powershell/终端 添加OpenDNS和DNSPod到dns列表 netsh dns add encryption 208.67.222.222 "https://208.67.222.222/dns-query" no no 阅读全文
posted @ 2022-02-16 12:30 turingguo 阅读(1365) 评论(0) 推荐(0) 编辑
摘要: 自建email服务器的一个好处是可以无限发邮件,而qq邮箱 163邮箱等一般都有每日发送上限。 docker-mailserver是一个轻量级的邮件服务器,一般只用来发送邮件,接收邮件的推荐做法是通过设置额外邮箱转发到指定的邮箱,比如你自己的qq邮箱。 目前最新版本是10.4.0,日常占用仅100M 阅读全文
posted @ 2022-01-14 16:36 turingguo 阅读(7633) 评论(0) 推荐(0) 编辑
摘要: 下载Caddy caddy官网下载地址https://caddyserver.com/download。也可以直接点此下载linux amd64版本。 目前最新版本为2.4.6 如果是需要申请泛域名证书则需要勾选对应dns提供商的插件,比如cloudflare 注意:cloudflare不再支持.c 阅读全文
posted @ 2022-01-12 16:00 turingguo 阅读(13893) 评论(0) 推荐(2) 编辑
摘要: 目前nerdctl最新版是1.7.2, containerd 1.7.11 nerdctl-full-1.7.2中包含了containerd 1.7.11,cni, nerdctl,所以直接下载这个包即可,如果nerdctl有更新,可以把以下代码中的1.7.2替换为对应版本号即可 对于root用户 阅读全文
posted @ 2022-01-10 16:12 turingguo 阅读(996) 评论(0) 推荐(0) 编辑
摘要: 下载[NoLsp.exe](https://files.cnblogs.com/files/turingguo/NoLsp.zip),用管理员权限运行 `.\NoLsp.exe C:\Windows\System32\wsl.exe`,显示 success则操作成功,再打开wsl2 就可以了。 具体 阅读全文
posted @ 2021-12-22 09:34 turingguo 阅读(3002) 评论(0) 推荐(1) 编辑
摘要: 健康检查和度量接口的大量请求会产生许多不必要的请求日志,因此在配置serilog的时候可以对请求路径为/heathz和/metrics不进行日志记录。配置如下 new LoggerConfiguration() .Filter.ByExcluding( e => e.Properties.TryGe 阅读全文
posted @ 2021-12-17 16:13 turingguo 阅读(182) 评论(0) 推荐(0) 编辑