<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Linux on Zayn's Blog</title><link>https://blog.treesir.pub/tags/linux/</link><description>Recent content in Linux on Zayn's Blog</description><generator>Hugo -- gohugo.io</generator><language>zh-cn</language><managingEditor>yangzun@treesir.pub (Zayn)</managingEditor><webMaster>yangzun@treesir.pub (Zayn)</webMaster><copyright>2021-2026 Zayn</copyright><lastBuildDate>Thu, 02 Apr 2026 22:00:00 +0800</lastBuildDate><atom:link href="https://blog.treesir.pub/tags/linux/index.xml" rel="self" type="application/rss+xml"/><item><title>PVE 虚拟机启动失败：qcow2 corrupt 标记残留的排查与修复</title><link>https://blog.treesir.pub/posts/pve-qcow2-corrupt-fix/</link><pubDate>Mon, 16 Mar 2026 14:00:00 +0800</pubDate><author>yangzun@treesir.pub (Zayn)</author><guid>https://blog.treesir.pub/posts/pve-qcow2-corrupt-fix/</guid><description>qcow2 镜像 corrupt 标记残留导致 PVE 虚拟机无法启动，快照回滚也失效。25 分钟内通过分阶段低风险修复恢复，附完整 SOP。</description></item><item><title>Docker 部署多网口 openWrt 软路由</title><link>https://blog.treesir.pub/posts/openwrt-docker-multi-net/</link><pubDate>Thu, 19 Nov 2020 17:56:52 +0800</pubDate><author>yangzun@treesir.pub (Zayn)</author><guid>https://blog.treesir.pub/posts/openwrt-docker-multi-net/</guid><description>&lt;h2 class="relative group">环境说明:
&lt;div id="环境说明" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#%e7%8e%af%e5%a2%83%e8%af%b4%e6%98%8e" aria-label="锚点">#&lt;/a>
&lt;/span>
&lt;/h2>
&lt;blockquote>
&lt;p>操作系统: Centos 7.8.2003&lt;/p>
&lt;p>内核版本: 4.14.129-bbrplus&lt;/p>
&lt;p>Docker 版本: 19.03.12&lt;/p>
&lt;p>使用 Docker 镜像: &lt;a
href="https://hub.docker.com/r/raymondwong/openwrt_r9"
target="_blank"
>raymondwong/openwrt_r9:20.1.24-x86_64&lt;/a>&lt;/p>
&lt;p>网卡说明: 板载螃蟹网卡、绿联 &lt;code>usb3.0&lt;/code> 千M 网卡&lt;/p></description></item><item><title>每日技术实践简报 - 2026-04-02：博客 Git 工作流治理、Linux 笔记本选购调研与 AI 安全事件追踪</title><link>https://blog.treesir.pub/posts/daily-practice-2026-04-02/</link><pubDate>Thu, 02 Apr 2026 22:00:00 +0800</pubDate><author>yangzun@treesir.pub (Zayn)</author><guid>https://blog.treesir.pub/posts/daily-practice-2026-04-02/</guid><description>&lt;h2 class="relative group">推荐阅读
&lt;div id="推荐阅读" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#%e6%8e%a8%e8%8d%90%e9%98%85%e8%af%bb" aria-label="锚点">#&lt;/a>
&lt;/span>
&lt;/h2>
&lt;ul>
&lt;li>&lt;a
href="https://blog.treesir.pub/posts/daily-practice-2026-03-31/">每日技术实践简报 - 2026-03-31&lt;/a>&lt;/li>
&lt;li>&lt;a
href="https://blog.treesir.pub/posts/from-mcp-to-one-click-release-ai-agent-automation/">从 MCP 到一键发包：把 Teambition 评论里的 APK 自动上传 Nexus 的那些坑&lt;/a>&lt;/li>
&lt;li>&lt;a
href="https://blog.treesir.pub/posts/openclaw-memory-fallback-pattern/">OpenClaw 记忆层降级策略：从故障中构建可靠的 AI Agent 记忆系统&lt;/a>&lt;/li>
&lt;/ul>
&lt;h2 class="relative group">今日技术实践
&lt;div id="今日技术实践" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#%e4%bb%8a%e6%97%a5%e6%8a%80%e6%9c%af%e5%ae%9e%e8%b7%b5" aria-label="锚点">#&lt;/a>
&lt;/span>
&lt;/h2>
&lt;h3 class="relative group">解决的问题
&lt;div id="解决的问题" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#%e8%a7%a3%e5%86%b3%e7%9a%84%e9%97%ae%e9%a2%98" aria-label="锚点">#&lt;/a>
&lt;/span>
&lt;/h3>
&lt;ul>
&lt;li>
&lt;p>&lt;strong>博客 MR 合并冲突解决&lt;/strong>：MR !53 合并后，后续推送的 03-29、03-30 日报和 03-31 重写版未包含在合并中。根因是合并后继续往同一分支推送新 commit，但未创建新 MR。最终通过本地 &lt;code>git merge&lt;/code> 解决冲突，直接推送到 main 分支。&lt;/p></description></item><item><title>Shell 脚本编程完整实战指南</title><link>https://blog.treesir.pub/posts/shell-docs/</link><pubDate>Fri, 02 Dec 2022 15:12:34 +0800</pubDate><author>yangzun@treesir.pub (Zayn)</author><guid>https://blog.treesir.pub/posts/shell-docs/</guid><description>&lt;p>Shell 是 Linux/Unix 系统的核心组件，既是命令行解释器，也是强大的脚本编程语言。掌握 Shell 编程对于系统管理员、运维工程师和开发者来说至关重要。本指南将从基础概念开始，逐步深入到高级应用，帮助您全面掌握 Shell 的使用技巧。&lt;/p>
&lt;h2 class="relative group">Shell 基础概念
&lt;div id="shell-基础概念" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#shell-%e5%9f%ba%e7%a1%80%e6%a6%82%e5%bf%b5" aria-label="锚点">#&lt;/a>
&lt;/span>
&lt;/h2>
&lt;h3 class="relative group">什么是 Shell
&lt;div id="什么是-shell" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#%e4%bb%80%e4%b9%88%e6%98%af-shell" aria-label="锚点">#&lt;/a>
&lt;/span>
&lt;/h3>
&lt;p>Shell 是用户与 Linux 内核交互的接口，它具有以下特点：&lt;/p></description></item><item><title>Gitea Actions ActRunner 基于 Systemd 部署安装</title><link>https://blog.treesir.pub/posts/gitea-actrunner-systemd-deployment/</link><pubDate>Tue, 25 Jul 2023 22:06:35 +0800</pubDate><author>yangzun@treesir.pub (Zayn)</author><guid>https://blog.treesir.pub/posts/gitea-actrunner-systemd-deployment/</guid><description>&lt;h2 class="relative group">说明
&lt;div id="说明" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#%e8%af%b4%e6%98%8e" aria-label="锚点">#&lt;/a>
&lt;/span>
&lt;/h2>
&lt;blockquote>
&lt;p>Gitea是一个开源的自助式Git服务，用于托管和管理Git仓库。它是一个轻量级且易于安装和使用的解决方案，类似于GitHub或GitLab，可以在私有服务器上搭建自己的Git仓库服务。Gitea提供了一系列功能，使团队或个人能够方便地进行版本控制和协作开发，包括：&lt;/p>
&lt;ol>
&lt;li>
&lt;p>仓库管理：可以创建、克隆、推送和拉取Git仓库，管理分支和标签，查看提交历史和代码差异等操作。&lt;/p>
&lt;/li>
&lt;li>
&lt;p>用户和权限管理：可以创建用户账号，管理用户的访问权限，并为不同的用户或团队分配不同的角色和权限，以控制仓库的访问和操作。&lt;/p>
&lt;/li>
&lt;li>
&lt;p>问题追踪：提供了一个问题追踪系统，用户可以创建和管理问题、缺陷或需求，并与仓库的代码和提交相关联，方便团队进行协作和解决问题。&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Pull请求：支持Pull请求（合并请求），允许用户在不直接修改主分支的情况下，通过提出Pull请求来建议将自己的代码合并到项目中。&lt;/p>
&lt;/li>
&lt;li>
&lt;p>代码审查：Gitea提供了代码审查功能，可以让团队成员对提交的代码进行审查、讨论和评论，以提高代码质量和团队协作。&lt;/p>
&lt;/li>
&lt;li>
&lt;p>集成与插件：Gitea支持与其他工具和服务的集成，如邮件通知、CI/CD工具和第三方插件等。&lt;/p>
&lt;/li>
&lt;/ol>
&lt;p>Gitea 从 &lt;code>1.19&lt;/code> 开始支持 Actions，使用前提需要像 GitlabRunner 一样部署一个独立的 Runner 来管理 Job，名叫 &lt;code>ActRunner&lt;/code>，具体可参考文档:&lt;/p></description></item><item><title>Linux LVM 分区扩容完整指南</title><link>https://blog.treesir.pub/posts/use-lvm-to-expand-partitions/</link><pubDate>Mon, 24 Jul 2023 14:56:12 +0800</pubDate><author>yangzun@treesir.pub (Zayn)</author><guid>https://blog.treesir.pub/posts/use-lvm-to-expand-partitions/</guid><description>&lt;h2 class="relative group">LVM 概述
&lt;div id="lvm-概述" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#lvm-%e6%a6%82%e8%bf%b0" aria-label="锚点">#&lt;/a>
&lt;/span>
&lt;/h2>
&lt;h2 class="relative group">什么是 LVM
&lt;div id="什么是-lvm" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#%e4%bb%80%e4%b9%88%e6%98%af-lvm" aria-label="锚点">#&lt;/a>
&lt;/span>
&lt;/h2>
&lt;p>LVM（Logical Volume Manager）是 Linux 系统中的逻辑卷管理器，它在物理存储设备之上提供了一个抽象层，使得存储管理更加灵活和动态。&lt;/p></description></item><item><title>K3s 集群修改 Flannel CNI 插件网络模式</title><link>https://blog.treesir.pub/posts/k3s-change-flannel-cni-model/</link><pubDate>Thu, 29 Jul 2021 08:56:04 +0800</pubDate><author>yangzun@treesir.pub (Zayn)</author><guid>https://blog.treesir.pub/posts/k3s-change-flannel-cni-model/</guid><description>&lt;h2 class="relative group">背景说明
&lt;div id="背景说明" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#%e8%83%8c%e6%99%af%e8%af%b4%e6%98%8e" aria-label="锚点">#&lt;/a>
&lt;/span>
&lt;/h2>
&lt;blockquote>
&lt;p>在 &lt;a
href="https://www.treesir.pub/post/n1-openwrt-k3s-deploy/"
target="_blank"
>之前搭建&lt;/a> 的 k3s 集群中因为某些原因我将 openwrt 节点，进行了系统重装，更改固件为了 &lt;code>esir&lt;/code> 高大全的 op 固件，由于其 固件中没有将 &lt;code>vxlan&lt;/code> 模块编译进内核当中，而 k3s &lt;code>默认&lt;/code> 使用的 cni 为 &lt;code>flannel 的 vxlan&lt;/code> 模式，导致在初始化节点的时候会出现错误，导致节点添加不成功，我们知道原生 flannel 支持的模式不只单单只有 vxlan，还支持 &lt;strong>host-gw&lt;/strong>、&lt;strong>udp&lt;/strong> 模式。进行查阅 k3s 相关资料，看到 k3s 是支持切换多种网络模式的，于是决定将 flannel 模式更改为 &lt;code>host-gw&lt;/code> 。&lt;/p></description></item><item><title>企业级 CentOS 7 系统初始化与优化完整指南</title><link>https://blog.treesir.pub/posts/centos-init-config/</link><pubDate>Mon, 21 Dec 2020 09:34:01 +0800</pubDate><author>yangzun@treesir.pub (Zayn)</author><guid>https://blog.treesir.pub/posts/centos-init-config/</guid><description>&lt;h2 class="relative group">CentOS 7 系统初始化简介
&lt;div id="centos-7-系统初始化简介" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#centos-7-%e7%b3%bb%e7%bb%9f%e5%88%9d%e5%a7%8b%e5%8c%96%e7%ae%80%e4%bb%8b" aria-label="锚点">#&lt;/a>
&lt;/span>
&lt;/h2>
&lt;h2 class="relative group">概述
&lt;div id="概述" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#%e6%a6%82%e8%bf%b0" aria-label="锚点">#&lt;/a>
&lt;/span>
&lt;/h2>
&lt;p>CentOS 7 作为企业级 Linux 发行版，在生产环境中广泛应用。新安装的系统需要进行全面的初始化配置和优化，以确保系统的安全性、稳定性和高性能。本指南提供了一套经过生产环境验证的完整初始化方案。&lt;/p></description></item></channel></rss>