debian-更新证书

1. debian buster 已经过期,apt 源官方改为
# 存档源(解决404关键)
deb http://archive.debian.org/debian/ buster main contrib non-free
deb http://archive.debian.org/debian-security/ buster/updates main contrib non-free
deb http://archive.debian.org/debian/ buster-updates main contrib non-free

2. 更新为http镜像

 sed -i 's|https://|http://|g'  /etc/apt/sources.list

3. 更新 ca 并验证状态


apt install --reinstall ca-certificates
update-ca-certificates --fresh
echo | openssl s_client -connect mirrors.zju.edu.cn:443 2>/dev/null | openssl x509 -noout -text

————–
参考:https://geekdaxue.co/read/baxiang@linux/ne2ilm

小龙虾 OpenClaw 快捷安装记录

安装 node npm nvm ( brew 在mac下)

硬件要求
内存:最低 2GB,建议 4GB 以上
硬盘:至少 20GB 可用空间
系统:macOS 12+、Ubuntu 20.04+、Windows 11(需要 WSL2)
必须有的东西
Node.js 22 或更高版本(安装脚本会自动检测,没有的话会提示你装)
一个 AI 模型的 API Key——这是最关键的。OpenClaw 是调度框架,它自己不带"大脑",你需要接入 ChatGPT、Claude 或 Gemini 的 API 才能让它工作

 

macOS / Linux 一键安装

打开终端(macOS 按 Cmd + 空格 搜索 “Terminal”),粘贴这行命令:

curl -fsSL https://get.openclaw.ai | bash

这个脚本会做三件事:

  1. 检测你有没有 Node.js 22+,没有会自动安装
  2. 下载 OpenClaw 的最新版本
  3. 把 openclaw 命令添加到你的系统 PATH 里

# 1. 必须配置显式用户名(自定义即可)
openclaw config set gateway.auth.username admin

# 2. 必须配置显式密码(自定义即可)
openclaw config set gateway.auth.password 123456

# 3. 重新设置 Token(必须保留)
openclaw config set gateway.auth.token $(openclaw doctor --generate-gateway-token)

# 4. 绑定局域网
openclaw config set gateway.bind lan

# 5. 重启网关生效
openclaw gateway restart

openclaw gateway status·
openclaw --version
# 显示当前token
openclaw   dashboard

EasyTier

✨ 一个由 Rust 和 Tokio 驱动的简单、安全、去中心化的异地组网方案

核心特性

 

  • 🔒 去中心化:节点平等且独立,无需中心化服务
  • 🚀 易于使用:支持通过网页、客户端和命令行多种操作方式
  • 🌍 跨平台:支持 Win/MacOS/Linux/FreeBSD/Android 和 X86/ARM/MIPS 架构
  • 🔐 安全:AES-GCM 或 WireGuard 加密,防止中间人攻击

高级功能

 

  • 🔌 高效 NAT 穿透:支持 UDP 和 IPv6 穿透,可在 NAT4-NAT4 网络中工作
  • 🌐 子网代理:节点可以共享子网供其他节点访问
  • 🔄 智能路由:延迟优先和自动路由选择,提供最佳网络体验
  • ⚡ 高性能:整个链路零拷贝,支持 TCP/UDP/WSS/WG 协议

网络优化

 

  • 📊 UDP 丢包抗性:KCP/QUIC 代理在高丢包环境下优化延迟和带宽
  • 🔧 Web 管理:通过 Web 界面轻松配置和监控
  • 🛠️ 零配置:静态链接的可执行文件,简单部署

快速开始

https://github.com/EasyTier/EasyTier/blob/main/README_CN.md
https://ghfast.top/https://github.com/EasyTier/EasyTier/releases/download/v2.4.5/app-universal-release.apk
https://ghfast.top/https://github.com/EasyTier/EasyTier/releases/download/v2.5.0/easytier-linux-x86_64-v2.5.0.zip
https://ghfast.top/https://github.com/EasyTier/EasyTier/releases/download/v2.4.5/easytier-windows-x86_64-v2.4.5.zip
https://ghfast.top/https://github.com/EasyTier/EasyTier/releases/download/v2.4.5/easytier-gui_2.4.5_x64-setup.exe