<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Ops on heihie</title><link>https://heihei0299.github.io/categories/ops/</link><description>Recent content in Ops on heihie</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Mon, 31 Aug 2026 12:00:00 +0800</lastBuildDate><atom:link href="https://heihei0299.github.io/categories/ops/index.xml" rel="self" type="application/rss+xml"/><item><title>本机开发环境：Pi 网关、Pi-Switch 与 Incus 隔离容器</title><link>https://heihei0299.github.io/posts/ops/dev-env-pi-gateway-incus/</link><pubDate>Mon, 31 Aug 2026 12:00:00 +0800</pubDate><guid>https://heihei0299.github.io/posts/ops/dev-env-pi-gateway-incus/</guid><description>介绍本机以 Pi-Switch 网关为模型路由中枢、Incus 非特权容器为隔离开发环境的完整拓扑与配置：从 Arch 宿主机基座到网关与容器的可复现验证步骤。</description></item><item><title>在 Intel 设备上运行本地 LLM：llama.cpp + OpenVINO Docker 实战</title><link>https://heihei0299.github.io/posts/ops/blog/</link><pubDate>Sat, 11 Jul 2026 00:00:00 +0800</pubDate><guid>https://heihei0299.github.io/posts/ops/blog/</guid><description>无需 NVIDIA 显卡，用 llama.cpp + OpenVINO 的 Docker 镜像在 Intel CPU/GPU 上本地运行 LLM：多阶段构建、GPU 驱动栈配置与踩坑排查</description></item><item><title>Debian 12 非桌面环境字体安装指南</title><link>https://heihei0299.github.io/posts/ops/debian-12-%E9%9D%9E%E6%A1%8C%E9%9D%A2%E7%8E%AF%E5%A2%83%E5%AD%97%E4%BD%93%E5%AE%89%E8%A3%85%E6%8C%87%E5%8D%97/</link><pubDate>Sat, 04 Apr 2026 00:00:00 +0800</pubDate><guid>https://heihei0299.github.io/posts/ops/debian-12-%E9%9D%9E%E6%A1%8C%E9%9D%A2%E7%8E%AF%E5%A2%83%E5%AD%97%E4%BD%93%E5%AE%89%E8%A3%85%E6%8C%87%E5%8D%97/</guid><description>在 Debian 12 非桌面环境（最小化安装、服务器、命令行）中安装和管理字体的完整流程：安装字体包、手动安装字体文件与缓存更新验证</description></item><item><title>dstatus agent 安装</title><link>https://heihei0299.github.io/posts/ops/dstatus-agent-%E5%AE%89%E8%A3%85/</link><pubDate>Sat, 04 Apr 2026 00:00:00 +0800</pubDate><guid>https://heihei0299.github.io/posts/ops/dstatus-agent-%E5%AE%89%E8%A3%85/</guid><description>在 Linux 上安装 dstatus（neko-status）客户端 agent：下载二进制、配置密钥与端口、注册为 systemd 服务</description></item><item><title>linux下禁止普通用户通过 sudo su 或 su root 切换到root用户</title><link>https://heihei0299.github.io/posts/ops/linux%E4%B8%8B%E7%A6%81%E6%AD%A2%E6%99%AE%E9%80%9A%E7%94%A8%E6%88%B7%E9%80%9A%E8%BF%87-sudo-su-%E6%88%96-su-root-%E5%88%87%E6%8D%A2%E5%88%B0root%E7%94%A8%E6%88%B7/</link><pubDate>Sat, 04 Apr 2026 00:00:00 +0800</pubDate><guid>https://heihei0299.github.io/posts/ops/linux%E4%B8%8B%E7%A6%81%E6%AD%A2%E6%99%AE%E9%80%9A%E7%94%A8%E6%88%B7%E9%80%9A%E8%BF%87-sudo-su-%E6%88%96-su-root-%E5%88%87%E6%8D%A2%E5%88%B0root%E7%94%A8%E6%88%B7/</guid><description>同时禁止普通用户通过 sudo su 与 su root 切换到 root：pam_wheel 限制 + sudoers 命令白名单两步配置</description></item><item><title>OpenSSH 使用方法</title><link>https://heihei0299.github.io/posts/ops/openssh/</link><pubDate>Sat, 04 Apr 2026 00:00:00 +0800</pubDate><guid>https://heihei0299.github.io/posts/ops/openssh/</guid><description>OpenSSH 完整使用指南：安装、服务端配置、密钥生成，以及 ssh/scp/sftp/ssh-agent/ssh-copy-id 等客户端工具的常用选项</description></item><item><title>Oracle Cloud VPS 救砖恢复指南</title><link>https://heihei0299.github.io/posts/ops/oracle-cloud-netboot-reinstall/</link><pubDate>Sat, 04 Apr 2026 00:00:00 +0800</pubDate><guid>https://heihei0299.github.io/posts/ops/oracle-cloud-netboot-reinstall/</guid><description>通过 netboot 启动 Alpine 临时系统，再用 DD 脚本为损坏的 Oracle Cloud VPS 重装系统（AMD/ARM 通用）</description></item><item><title>Oracle Cloud 实例控制台连接指南</title><link>https://heihei0299.github.io/posts/ops/oracle-cloud-console-connection/</link><pubDate>Sat, 04 Apr 2026 00:00:00 +0800</pubDate><guid>https://heihei0299.github.io/posts/ops/oracle-cloud-console-connection/</guid><description>通过控制台连接到 Oracle Cloud 实例的三种方法（CloudShell 串口、VNC 跳板机、Windows 直连），用于系统恢复和 BIOS 访问</description></item><item><title>Starship Pastel Powerline 预设</title><link>https://heihei0299.github.io/posts/ops/starship-pastel-powerline-%E9%A2%84%E8%AE%BE/</link><pubDate>Sat, 04 Apr 2026 00:00:00 +0800</pubDate><guid>https://heihei0299.github.io/posts/ops/starship-pastel-powerline-%E9%A2%84%E8%AE%BE/</guid><description>一键应用 Starship 官方 Pastel Powerline 预设：粉彩渐变 powerline 风格提示符，附带路径图标替换与完整配置</description></item><item><title>Starship Pastel Powerline 整理文档</title><link>https://heihei0299.github.io/posts/ops/starship-pastel-powerline%E6%95%B4%E7%90%86%E6%96%87%E6%A1%A3/</link><pubDate>Sat, 04 Apr 2026 00:00:00 +0800</pubDate><guid>https://heihei0299.github.io/posts/ops/starship-pastel-powerline%E6%95%B4%E7%90%86%E6%96%87%E6%A1%A3/</guid><description>Starship 官方 Pastel Powerline 预设完整整理：配置解析、模块说明、本地化调整与应用后验证方法</description></item><item><title>tcping 与 udping 使用指南</title><link>https://heihei0299.github.io/posts/ops/tcping-%E4%B8%8Eudping-%E4%BD%BF%E7%94%A8/</link><pubDate>Sat, 04 Apr 2026 00:00:00 +0800</pubDate><guid>https://heihei0299.github.io/posts/ops/tcping-%E4%B8%8Eudping-%E4%BD%BF%E7%94%A8/</guid><description>ping / tcping / udping 三种网络连通性测试工具的使用指南：安装方法、常用参数与 UDP 监听测试</description></item><item><title>tea in the snow 个人 zsh 配置整理</title><link>https://heihei0299.github.io/posts/ops/tea-in-the-snow-%E4%B8%AA%E4%BA%BA-zsh-%E9%85%8D%E7%BD%AE%E6%95%B4%E7%90%86/</link><pubDate>Sat, 04 Apr 2026 00:00:00 +0800</pubDate><guid>https://heihei0299.github.io/posts/ops/tea-in-the-snow-%E4%B8%AA%E4%BA%BA-zsh-%E9%85%8D%E7%BD%AE%E6%95%B4%E7%90%86/</guid><description>tea-in-the-snow 个人 zsh 配置整理：zinit 插件管理器 + Pure 极简提示符 + 常用别名、代理快捷开关与 yazi 集成</description></item><item><title>VPS 常用脚本合集：DD 重装、测试与优化</title><link>https://heihei0299.github.io/posts/ops/vps%E5%B8%B8%E7%94%A8%E8%84%9A%E6%9C%AC/</link><pubDate>Sat, 04 Apr 2026 00:00:00 +0800</pubDate><guid>https://heihei0299.github.io/posts/ops/vps%E5%B8%B8%E7%94%A8%E8%84%9A%E6%9C%AC/</guid><description>VPS 常用脚本合集：DD 重装系统、综合性能测试、流媒体解锁检测、测速、回程测试、BBR 优化与一键安装环境</description></item><item><title>WSL 安装与 systemd 配置</title><link>https://heihei0299.github.io/posts/ops/wsl/</link><pubDate>Sat, 04 Apr 2026 00:00:00 +0800</pubDate><guid>https://heihei0299.github.io/posts/ops/wsl/</guid><description>WSL 安装、启用 systemd、限制 WSL2 资源占用，以及解决 systemctl --user 不可用的排障步骤</description></item><item><title>Zsh 安装和美化指南</title><link>https://heihei0299.github.io/posts/ops/zsh%E5%AE%89%E8%A3%85%E5%92%8C%E7%BE%8E%E5%8C%96%E6%8C%87%E5%8D%97/</link><pubDate>Sat, 04 Apr 2026 00:00:00 +0800</pubDate><guid>https://heihei0299.github.io/posts/ops/zsh%E5%AE%89%E8%A3%85%E5%92%8C%E7%BE%8E%E5%8C%96%E6%8C%87%E5%8D%97/</guid><description>从零安装并美化 zsh：zinit + Starship + fnm + 常用增强插件、Nerd Font 字体配置与验证命令</description></item><item><title>zsh 部署与 Bash 配置迁移指南</title><link>https://heihei0299.github.io/posts/ops/zsh%E9%83%A8%E7%BD%B2%E4%B8%8Ebash%E9%85%8D%E7%BD%AE%E8%BF%81%E7%A7%BB%E6%8C%87%E5%8D%97/</link><pubDate>Sat, 04 Apr 2026 00:00:00 +0800</pubDate><guid>https://heihei0299.github.io/posts/ops/zsh%E9%83%A8%E7%BD%B2%E4%B8%8Ebash%E9%85%8D%E7%BD%AE%E8%BF%81%E7%A7%BB%E6%8C%87%E5%8D%97/</guid><description>从 bash 切换到 zsh 的稳妥迁移指南：安装、切换默认 shell、逐项迁移别名与环境变量，避免直接覆盖旧配置</description></item><item><title>Zsh 启动优化指南：卸载 Oh My Zsh 改用 zinit</title><link>https://heihei0299.github.io/posts/ops/zsh-optimization-guide/</link><pubDate>Sat, 04 Apr 2026 00:00:00 +0800</pubDate><guid>https://heihei0299.github.io/posts/ops/zsh-optimization-guide/</guid><description>卸载 Oh My Zsh 改用 zinit：保留全部插件功能，把 zsh 启动时间从 800~1500ms 优化到 50~150ms</description></item><item><title>创建新用户并启用ssh登录</title><link>https://heihei0299.github.io/posts/ops/%E5%88%9B%E5%BB%BA%E6%96%B0%E7%94%A8%E6%88%B7%E5%B9%B6%E5%90%AF%E7%94%A8ssh%E7%99%BB%E5%BD%95/</link><pubDate>Sat, 04 Apr 2026 00:00:00 +0800</pubDate><guid>https://heihei0299.github.io/posts/ops/%E5%88%9B%E5%BB%BA%E6%96%B0%E7%94%A8%E6%88%B7%E5%B9%B6%E5%90%AF%E7%94%A8ssh%E7%99%BB%E5%BD%95/</guid><description>创建仅用于 SSH 登录的受限用户：禁用 sudo/su 提权，配置公钥认证与 .ssh 目录权限</description></item><item><title>使用 Mihomo (Clash Meta) + WARP 为 VPS 添加 IPv4/IPv6 支持</title><link>https://heihei0299.github.io/posts/ops/mihomo-warp-%E9%85%8D%E7%BD%AE%E6%95%99%E7%A8%8B/</link><pubDate>Sat, 04 Apr 2026 00:00:00 +0800</pubDate><guid>https://heihei0299.github.io/posts/ops/mihomo-warp-%E9%85%8D%E7%BD%AE%E6%95%99%E7%A8%8B/</guid><description>用 Mihomo + WARP 为 VPS 添加 IPv4/IPv6 网络支持：TUN 与系统代理两种方案、路由规则示例与故障排查</description></item><item><title>使用 rclone 自动备份 Linux 服务器重要数据</title><link>https://heihei0299.github.io/posts/ops/%E5%A4%87%E4%BB%BD%E6%96%B9%E6%A1%88/</link><pubDate>Sat, 04 Apr 2026 00:00:00 +0800</pubDate><guid>https://heihei0299.github.io/posts/ops/%E5%A4%87%E4%BB%BD%E6%96%B9%E6%A1%88/</guid><description>创建受限备份用户，用 rclone + crontab 定时把 /etc、/var/www、/opt 备份到远程服务器并保留最近 3 份</description></item><item><title>自建 Bing 每日图片 API</title><link>https://heihei0299.github.io/posts/ops/%E8%87%AA%E5%BB%BAbing-%E6%AF%8F%E6%97%A5%E5%9B%BE%E7%89%87api/</link><pubDate>Sat, 04 Apr 2026 00:00:00 +0800</pubDate><guid>https://heihei0299.github.io/posts/ops/%E8%87%AA%E5%BB%BAbing-%E6%AF%8F%E6%97%A5%E5%9B%BE%E7%89%87api/</guid><description>用 PHP + Nginx 自建 Bing 每日图片 API：支持随机模式（rand=true）、自定义分辨率与 JSON 信息返回</description></item><item><title>zsh 与 zinit 启动时间测试方法</title><link>https://heihei0299.github.io/posts/ops/zsh%E4%B8%8Ezinit%E5%90%AF%E5%8A%A8%E6%97%B6%E9%97%B4%E6%B5%8B%E8%AF%95%E6%96%B9%E6%B3%95/</link><pubDate>Fri, 03 Apr 2026 00:00:00 +0800</pubDate><guid>https://heihei0299.github.io/posts/ops/zsh%E4%B8%8Ezinit%E5%90%AF%E5%8A%A8%E6%97%B6%E9%97%B4%E6%B5%8B%E8%AF%95%E6%96%B9%E6%B3%95/</guid><description>zsh 与 zinit 启动时间测试方法：先测量（time zsh -i -c exit）、再定位（zprof）、做对照实验的完整排查流程</description></item><item><title>Oracle Cloud Shell AMD/ARM 系统救砖教程</title><link>https://heihei0299.github.io/posts/ops/oracle-cloud-netboot-recovery/</link><pubDate>Tue, 20 Jan 2026 00:00:00 +0800</pubDate><guid>https://heihei0299.github.io/posts/ops/oracle-cloud-netboot-recovery/</guid><description>DD 脚本失败且无法使用 VNC 时，通过 netboot.xyz 在 Oracle Cloud 实例上网络安装系统救砖：EFI Shell 配置网络、TFTP 下载引导文件</description></item><item><title>Syncthing 同步方案：Windows 与 Debian 双向同步</title><link>https://heihei0299.github.io/posts/ops/syncthing-%E5%90%8C%E6%AD%A5%E6%96%B9%E6%A1%88/</link><pubDate>Fri, 13 Jun 2025 00:00:00 +0800</pubDate><guid>https://heihei0299.github.io/posts/ops/syncthing-%E5%90%8C%E6%AD%A5%E6%96%B9%E6%A1%88/</guid><description>Windows 与 Debian 服务器间用 Syncthing 同步备份数据：nssm/systemd 注册服务，以及 System Volume Information 权限报错的解决</description></item><item><title>开网站五年多了，分享下我的 Cloudflare WAF 规则</title><link>https://heihei0299.github.io/posts/ops/waf/</link><pubDate>Sat, 03 May 2025 00:00:00 +0800</pubDate><guid>https://heihei0299.github.io/posts/ops/waf/</guid><description>分享实战验证的 Cloudflare WAF 分层防御规则：托管质询、阻止、放行三层策略，覆盖 ASN/地区/请求头/UA 等维度的表达式</description></item><item><title>ssh方案之 winscp+putty</title><link>https://heihei0299.github.io/posts/ops/ssh%E6%96%B9%E6%A1%88-winscp-putty/</link><pubDate>Wed, 05 Mar 2025 00:00:00 +0800</pubDate><guid>https://heihei0299.github.io/posts/ops/ssh%E6%96%B9%E6%A1%88-winscp-putty/</guid><description>解决 WinSCP 调起的 PuTTY 长时间不操作自动断开的问题：向 PuTTY 传递 keepalive 保活参数</description></item><item><title>Debian 11 Bullseye 升级 Debian 12 Bookworm</title><link>https://heihei0299.github.io/posts/ops/debian11%E5%8D%87%E7%BA%A7debian12/</link><pubDate>Fri, 03 May 2024 00:00:00 +0800</pubDate><guid>https://heihei0299.github.io/posts/ops/debian11%E5%8D%87%E7%BA%A7debian12/</guid><description>如何把 Debian 11 Bullseye 升级到 Debian 12 Bookworm：替换软件源、处理 non-free-firmware、解决 dbus machine-id 报错</description></item><item><title>Syncthing：Linux 文件同步神器</title><link>https://heihei0299.github.io/posts/ops/syncthing-linux%E6%AD%A5%E7%A5%9E%E5%99%A8/</link><pubDate>Sat, 25 Mar 2023 00:00:00 +0800</pubDate><guid>https://heihei0299.github.io/posts/ops/syncthing-linux%E6%AD%A5%E7%A5%9E%E5%99%A8/</guid><description>在两台 NAS 之间用 Syncthing 实时同步文件：跨平台安装（Windows/macOS/Linux/Android）、单向备份与双向同步配置、inotify 报错解决</description></item><item><title>使用 acme.sh 自动续签 SSL 证书</title><link>https://heihei0299.github.io/posts/ops/acme/</link><pubDate>Thu, 03 Feb 2022 00:00:00 +0800</pubDate><guid>https://heihei0299.github.io/posts/ops/acme/</guid><description>用 acme.sh 为 Nginx/Apache 自动签发并续期免费 SSL 证书：HTTP/DNS 两种验证方式、多 CA 选择与证书安装配置</description></item><item><title>Cloudflare WARP 教程：给 VPS 额外添加'原生' IPv4/IPv6 双栈网络出口</title><link>https://heihei0299.github.io/posts/ops/cloudflare-warp-%E6%95%99%E7%A8%8B/</link><pubDate>Wed, 24 Feb 2021 00:00:00 +0800</pubDate><guid>https://heihei0299.github.io/posts/ops/cloudflare-warp-%E6%95%99%E7%A8%8B/</guid><description>通过 Cloudflare WARP + WireGuard 为 VPS 免费添加原生 IPv4/IPv6 双栈网络出口，解决 IPv6-only 服务器无法访问 IPv4 资源的问题</description></item><item><title>Debian 11 开机基础配置：bash 补全、SSH 安全与 nftables</title><link>https://heihei0299.github.io/posts/ops/debian11%E5%BC%80%E6%9C%BA%E6%93%8D%E4%BD%9C/</link><pubDate>Mon, 09 Apr 2018 00:00:00 +0800</pubDate><guid>https://heihei0299.github.io/posts/ops/debian11%E5%BC%80%E6%9C%BA%E6%93%8D%E4%BD%9C/</guid><description>Debian 11 开机后要做的三件事：安装 bash-completion、SSH 公钥登录加固（改端口禁密码）、用 nftables 配置防火墙</description></item></channel></rss>