<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel>
        <title>Han’s Blog</title>
        <link>https://tangly1024.com/</link>
        <description>随笔</description>
        <lastBuildDate>Sat, 30 May 2026 17:38:42 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>https://github.com/jpmonette/feed</generator>
        <language>zh-CN</language>
        <copyright>All rights reserved 2026, NotionNext</copyright>
        <item>
            <title><![CDATA[sing-box 以 tproxy 模式在 openwrt 裸核运行（nftables）]]></title>
            <link>https://tangly1024.com/路由器/1c9fc6bd-fc68-8140-a74f-ccb0234f0d29</link>
            <guid>https://tangly1024.com/路由器/1c9fc6bd-fc68-8140-a74f-ccb0234f0d29</guid>
            <pubDate>Thu, 27 Mar 2025 00:00:00 GMT</pubDate>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-1c9fc6bdfc688140a74fccb0234f0d29"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-1c9fc6bdfc6881adab04d16cb98fc34e" data-id="1c9fc6bdfc6881adab04d16cb98fc34e"><span><div id="1c9fc6bdfc6881adab04d16cb98fc34e" class="notion-header-anchor"></div><a class="notion-hash-link" href="#1c9fc6bdfc6881adab04d16cb98fc34e" title="1. 相关配置文件"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><span class="notion-default">1. 相关配置文件</span></span></span></h3><div class="notion-text notion-block-1c9fc6bdfc6881ae830ce420ec0d14f6"><span class="notion-default">nftables 配置：
</span><span class="notion-default"><code class="notion-inline-code">singbox_nftables_tproxy_dns.nft</code></span></div><div class="notion-text notion-block-1c9fc6bdfc688100a1d0d24dff9877bf"><span class="notion-default"><code class="notion-inline-code">sing-box.sh</code></span></div><hr class="notion-hr notion-block-1c9fc6bdfc688111a9e8c7fbfd4f1a59"/><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-1c9fc6bdfc68812caa37dd3dac88a56c" data-id="1c9fc6bdfc68812caa37dd3dac88a56c"><span><div id="1c9fc6bdfc68812caa37dd3dac88a56c" class="notion-header-anchor"></div><a class="notion-hash-link" href="#1c9fc6bdfc68812caa37dd3dac88a56c" title="2. 启动服务"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><span class="notion-default">2. 启动服务</span></span></span></h3><div class="notion-text notion-block-1c9fc6bdfc6881eb8806ee296af2bd1f"><span class="notion-default">将 </span><span class="notion-default"><code class="notion-inline-code">singbox_nftables_tproxy_dns.nft </code></span><span class="notion-default">与 </span><span class="notion-default"><code class="notion-inline-code">sing-box.sh</code></span><span class="notion-default"> 放入 </span><span class="notion-default"><code class="notion-inline-code">/etc/sing-box/ </code></span><span class="notion-default">文件夹下</span></div></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[WSL2 安装 archlinux]]></title>
            <link>https://tangly1024.com/Archlinux/112fc6bd-fc68-8177-bdc2-ec92d2cc1b78</link>
            <guid>https://tangly1024.com/Archlinux/112fc6bd-fc68-8177-bdc2-ec92d2cc1b78</guid>
            <pubDate>Tue, 01 Oct 2024 00:00:00 GMT</pubDate>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-112fc6bdfc688177bdc2ec92d2cc1b78"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><div class="notion-text notion-block-112fc6bdfc68819195cfe8f114b5b9b4"><span class="notion-default">在这里我使用 lxrunoffline 安装。</span></div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-112fc6bdfc6881c7a2a8ebe292381d85" data-id="112fc6bdfc6881c7a2a8ebe292381d85"><span><div id="112fc6bdfc6881c7a2a8ebe292381d85" class="notion-header-anchor"></div><a class="notion-hash-link" href="#112fc6bdfc6881c7a2a8ebe292381d85" title="1. 安装lxrunoffline"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><span class="notion-default">1. 安装lxrunoffline</span></span></span></h3><div class="notion-text notion-block-112fc6bdfc6881808d59eb76c67c4196"><span class="notion-default">请确保先安装 scoop [[Scoop windows 安装与配置]]</span></div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-112fc6bdfc688102acb3e564151ddf1f" data-id="112fc6bdfc688102acb3e564151ddf1f"><span><div id="112fc6bdfc688102acb3e564151ddf1f" class="notion-header-anchor"></div><a class="notion-hash-link" href="#112fc6bdfc688102acb3e564151ddf1f" title="2. 下载 archlinux bootstrap"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><span class="notion-default">2. 下载 archlinux bootstrap</span></span></span></h3><div class="notion-text notion-block-112fc6bdfc6881d4a5edf730cfdcd5d8"><span class="notion-default"><a class="notion-link" href="https://mirrors.aliyun.com/archlinux/iso/2024.09.01/archlinux-bootstrap-2024.09.01-x86_64.tar.zst" target="_blank" rel="noopener noreferrer">archlinux bootstrap 阿里云镜像</a></span></div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-112fc6bdfc6881feb11febe4c5d1e5b0" data-id="112fc6bdfc6881feb11febe4c5d1e5b0"><span><div id="112fc6bdfc6881feb11febe4c5d1e5b0" class="notion-header-anchor"></div><a class="notion-hash-link" href="#112fc6bdfc6881feb11febe4c5d1e5b0" title="3. 安装WSL2"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><span class="notion-default">3. 安装WSL2</span></span></span></h3><div class="notion-text notion-block-112fc6bdfc6881df86c0e1d906f31a0a"><span class="notion-default"><code class="notion-inline-code">--no-distribution</code></span><span class="notion-default">表示不自动下载默认的 </span><span class="notion-default"><code class="notion-inline-code">Ubuntu</code></span><span class="notion-default">发行版</span></div><div class="notion-text notion-block-112fc6bdfc6881f8bf18ca5774a4c290"><span class="notion-default">使用以上命令安装好 wsl2 所需要的windows组件与功能</span></div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-112fc6bdfc6881fe916ff1caab76535e" data-id="112fc6bdfc6881fe916ff1caab76535e"><span><div id="112fc6bdfc6881fe916ff1caab76535e" class="notion-header-anchor"></div><a class="notion-hash-link" href="#112fc6bdfc6881fe916ff1caab76535e" title="4. 正式安装"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><span class="notion-default">4. 正式安装</span></span></span></h3><div class="notion-text notion-block-112fc6bdfc688188a01ad3b9eec628cf"><span class="notion-default">这里我选择将 archlinux 安装在 </span><span class="notion-default"><code class="notion-inline-code">E:/WSL2/Archlinux</code></span><span class="notion-default"> 下面
假设 [[#2. 下载 archlinux bootstrap]] 你的下载路径是
</span><span class="notion-default"><code class="notion-inline-code">$HOME = C:/User/{Username}</code></span><span class="notion-default">
</span><span class="notion-default"><code class="notion-inline-code">$HOME/Downloads/archlinux-bootstrap-2024.09.01-x86_64.tar.zst</code></span></div><h4 class="notion-h notion-h3 notion-h-indent-1 notion-block-112fc6bdfc6881c598b9d07f20a784f9" data-id="112fc6bdfc6881c598b9d07f20a784f9"><span><div id="112fc6bdfc6881c598b9d07f20a784f9" class="notion-header-anchor"></div><a class="notion-hash-link" href="#112fc6bdfc6881c598b9d07f20a784f9" title="4.1. 安装"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><span class="notion-default">4.1. 安装</span></span></span></h4><h4 class="notion-h notion-h3 notion-h-indent-1 notion-block-112fc6bdfc68819dbe5fc426bb5f1768" data-id="112fc6bdfc68819dbe5fc426bb5f1768"><span><div id="112fc6bdfc68819dbe5fc426bb5f1768" class="notion-header-anchor"></div><a class="notion-hash-link" href="#112fc6bdfc68819dbe5fc426bb5f1768" title="4.2. 设置成wsl2"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><span class="notion-default">4.2. 设置成wsl2</span></span></span></h4><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-112fc6bdfc6881f8885dde4b65caaf90" data-id="112fc6bdfc6881f8885dde4b65caaf90"><span><div id="112fc6bdfc6881f8885dde4b65caaf90" class="notion-header-anchor"></div><a class="notion-hash-link" href="#112fc6bdfc6881f8885dde4b65caaf90" title="5. 配置wsl2 的 archlinux"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><span class="notion-default">5. 配置wsl2 的 archlinux</span></span></span></h3><h4 class="notion-h notion-h3 notion-h-indent-1 notion-block-112fc6bdfc6881e8b8c8d294c4634b42" data-id="112fc6bdfc6881e8b8c8d294c4634b42"><span><div id="112fc6bdfc6881e8b8c8d294c4634b42" class="notion-header-anchor"></div><a class="notion-hash-link" href="#112fc6bdfc6881e8b8c8d294c4634b42" title="5.1. 配置pacman镜像源与archlinuxcn仓库"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><span class="notion-default">5.1. 配置pacman镜像源与archlinuxcn仓库</span></span></span></h4><div class="notion-text notion-block-112fc6bdfc68811bbdcdfd696d45d8af"><span class="notion-default">进入 archlinux</span></div><div class="notion-text notion-block-112fc6bdfc6881ebaafdc066b0d8ae6d"><span class="notion-default">因为这样的 archlinux是不带编辑器的，所以我们先安装个 vim。
先借助 windows 资源管理器打开目录，给 Archlinux换一个本地源</span></div><div class="notion-text notion-block-112fc6bdfc6881bb9023d801eb6438fb"><span class="notion-default">找到 </span><span class="notion-default"><code class="notion-inline-code">/etc/pacman.d/mirrorlist</code></span><span class="notion-default">用自己本地的 windows 的编辑器打开。
这里我使用 ustc 的 镜像。粘贴到第一行并取消 </span><span class="notion-default"><code class="notion-inline-code">#</code></span><span class="notion-default">注释</span></div><div class="notion-text notion-block-112fc6bdfc6881dc9689decf9f367ebe"><span class="notion-default">找到 </span><span class="notion-default"><code class="notion-inline-code">/etc/pacman.conf</code></span><span class="notion-default"> 添加 </span><span class="notion-default"><code class="notion-inline-code">archlinuxcn</code></span><span class="notion-default"> 源，末尾添加</span></div><div class="notion-text notion-block-112fc6bdfc688166ba63d17da6e583ac"><span class="notion-default">建议别用 tsinghua 源，因为会限速。。。。</span></div><div class="notion-text notion-block-112fc6bdfc6881fc86dfc49e80fe1cb0"><span class="notion-default">编辑完之后</span></div><h4 class="notion-h notion-h3 notion-h-indent-1 notion-block-112fc6bdfc688153a80afdbfe0f34669" data-id="112fc6bdfc688153a80afdbfe0f34669"><span><div id="112fc6bdfc688153a80afdbfe0f34669" class="notion-header-anchor"></div><a class="notion-hash-link" href="#112fc6bdfc688153a80afdbfe0f34669" title="5.2. 添加密钥"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><span class="notion-default">5.2. 添加密钥</span></span></span></h4><h4 class="notion-h notion-h3 notion-h-indent-1 notion-block-112fc6bdfc68817f8685ff97b088eb64" data-id="112fc6bdfc68817f8685ff97b088eb64"><span><div id="112fc6bdfc68817f8685ff97b088eb64" class="notion-header-anchor"></div><a class="notion-hash-link" href="#112fc6bdfc68817f8685ff97b088eb64" title="5.3. 安装基本软件"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><span class="notion-default">5.3. 安装基本软件</span></span></span></h4><h4 class="notion-h notion-h3 notion-h-indent-1 notion-block-112fc6bdfc688156b5c9c3893f673e26" data-id="112fc6bdfc688156b5c9c3893f673e26"><span><div id="112fc6bdfc688156b5c9c3893f673e26" class="notion-header-anchor"></div><a class="notion-hash-link" href="#112fc6bdfc688156b5c9c3893f673e26" title="5.4. 时区设置"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><span class="notion-default">5.4. 时区设置</span></span></span></h4><div class="notion-text notion-block-112fc6bdfc68818eb929e67f84c91a6f"><span class="notion-default">下面两行取消注释
en_US.UTF-8
zh_CN.UTF-8</span></div><div class="notion-text notion-block-112fc6bdfc68816c9723f09800e10e42"><span class="notion-default">接着运行：</span></div><h4 class="notion-h notion-h3 notion-h-indent-1 notion-block-112fc6bdfc688107914df8c31dd2dba0" data-id="112fc6bdfc688107914df8c31dd2dba0"><span><div id="112fc6bdfc688107914df8c31dd2dba0" class="notion-header-anchor"></div><a class="notion-hash-link" href="#112fc6bdfc688107914df8c31dd2dba0" title="5.5. 主机名与 hosts"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><span class="notion-default">5.5. 主机名与 hosts</span></span></span></h4><div class="notion-text notion-block-112fc6bdfc68815980cff71ee8a83014"><span class="notion-default">这里我设置成 </span><span class="notion-default"><code class="notion-inline-code">wsl2-archlinux</code></span></div><div class="notion-text notion-block-112fc6bdfc688174835fefefc7932beb"><span class="notion-default">添加以下内容</span></div><h4 class="notion-h notion-h3 notion-h-indent-1 notion-block-112fc6bdfc6881d5a056cdacdd465696" data-id="112fc6bdfc6881d5a056cdacdd465696"><span><div id="112fc6bdfc6881d5a056cdacdd465696" class="notion-header-anchor"></div><a class="notion-hash-link" href="#112fc6bdfc6881d5a056cdacdd465696" title="5.6. 设置用户与密码"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><span class="notion-default">5.6. 设置用户与密码</span></span></span></h4><div class="notion-text notion-block-112fc6bdfc688103b94adc1f7a7a03b7"><span class="notion-default">设置 root 密码</span></div><div class="notion-text notion-block-112fc6bdfc6881949285d7fb627c99d5"><span class="notion-default">添加普通权限用户</span></div><div class="notion-text notion-block-112fc6bdfc688150b219fbc7db67d554"><span class="notion-default">给与普通用户sudo 权限，编辑</span><span class="notion-default"><code class="notion-inline-code">/etc/sudoers</code></span><span class="notion-default">文件。将 wheel 这一行取消注释</span></div><div class="notion-text notion-block-112fc6bdfc6881f0a843d5796af7a16a"><span class="notion-default">查看普通用户的 user id:</span></div><div class="notion-text notion-block-112fc6bdfc688149afd7ebf470ae2e73"><span class="notion-default">假设 </span><span class="notion-default"><code class="notion-inline-code">uid=1000</code></span><span class="notion-default">，退出 </span><span class="notion-default"><code class="notion-inline-code">wsl2 archlinux</code></span></div><div class="notion-text notion-block-112fc6bdfc68813bb706c9795d535597"><span class="notion-default">设置默认普通用户登录</span></div></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[wsl2 ubuntu 迁移]]></title>
            <link>https://tangly1024.com/WSL2/8c2bc4e9-27a6-48c6-9741-c59bcf7059f7</link>
            <guid>https://tangly1024.com/WSL2/8c2bc4e9-27a6-48c6-9741-c59bcf7059f7</guid>
            <pubDate>Sun, 22 Sep 2024 00:00:00 GMT</pubDate>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-8c2bc4e927a648c69741c59bcf7059f7"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><div class="notion-text notion-block-109fc6bdfc6881449ea7f1292d9755ac"><span class="notion-default">自动开启wsl环境并安装Ubuntu 子系统</span></div><div class="notion-text notion-block-109fc6bdfc688177843aec1a6f635579"><span class="notion-default">查看wsl系统状态</span></div><div class="notion-text notion-block-109fc6bdfc6881f2a2bcec1bf6d32319"><span class="notion-default">如果系统正在运行的话需要先停止系统</span></div><div class="notion-text notion-block-109fc6bdfc68812eae40cdff38de45d8"><span class="notion-default">导出Ubuntu 到tar</span></div><div class="notion-text notion-block-109fc6bdfc68812584d6f992c4e38e15"><span class="notion-default">注销当前分发版</span></div><div class="notion-text notion-block-109fc6bdfc68814391d8e8b578c16770"><span class="notion-default">重新导入并安装在D盘</span></div><div class="notion-text notion-block-109fc6bdfc6881d5b7fdca8b270326a5"><span class="notion-default">设置默认登陆用户</span></div><div class="notion-text notion-block-109fc6bdfc68810882f6e126ffbfeaa0"><span class="notion-default">删除Ubuntu.tar</span></div><div class="notion-text notion-block-109fc6bdfc688158a27dd7ffab8d5aea"><span class="notion-default">#wsl2 #wsl迁移 #ubuntu</span></div></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[git常用操作]]></title>
            <link>https://tangly1024.com/Git/109fc6bd-fc68-81ce-8f31-ee83a9a4b585</link>
            <guid>https://tangly1024.com/Git/109fc6bd-fc68-81ce-8f31-ee83a9a4b585</guid>
            <pubDate>Sun, 22 Sep 2024 00:00:00 GMT</pubDate>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-109fc6bdfc6881ce8f31ee83a9a4b585"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-712f669298cf459eb0b69cac60a4ffc5" data-id="712f669298cf459eb0b69cac60a4ffc5"><span><div id="712f669298cf459eb0b69cac60a4ffc5" class="notion-header-anchor"></div><a class="notion-hash-link" href="#712f669298cf459eb0b69cac60a4ffc5" title="1. Git常用命令"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><span class="notion-default">1. Git常用命令</span></span></span></h3><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-109fc6bdfc6881e5a469ed9fbdcb12be" data-id="109fc6bdfc6881e5a469ed9fbdcb12be"><span><div id="109fc6bdfc6881e5a469ed9fbdcb12be" class="notion-header-anchor"></div><a class="notion-hash-link" href="#109fc6bdfc6881e5a469ed9fbdcb12be" title="2. 遇到的问题"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><span class="notion-default">2. 遇到的问题</span></span></span></h3><h4 class="notion-h notion-h3 notion-h-indent-1 notion-block-109fc6bdfc6881bcb473ceb9ff915915" data-id="109fc6bdfc6881bcb473ceb9ff915915"><span><div id="109fc6bdfc6881bcb473ceb9ff915915" class="notion-header-anchor"></div><a class="notion-hash-link" href="#109fc6bdfc6881bcb473ceb9ff915915" title="2.1. gitee push 文件时需要输入用户名与密码"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><span class="notion-default">2.1. gitee push 文件时需要输入用户名与密码</span></span></span></h4><div class="notion-text notion-block-109fc6bdfc688158a9a2eac979e98c12"><span class="notion-default">问题与使用的是http方式来推送，关于推送方式可以使用以下命令查看</span></div><h4 class="notion-h notion-h3 notion-h-indent-1 notion-block-109fc6bdfc688136a137f685ad8f77a2" data-id="109fc6bdfc688136a137f685ad8f77a2"><span><div id="109fc6bdfc688136a137f685ad8f77a2" class="notion-header-anchor"></div><a class="notion-hash-link" href="#109fc6bdfc688136a137f685ad8f77a2" title="2.2. 需要重新配置origin的地址"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><span class="notion-default">2.2. 需要重新配置origin的地址</span></span></span></h4><h4 class="notion-h notion-h3 notion-h-indent-1 notion-block-546c9b2dcf6d46ac991fe9d76e1165e0" data-id="546c9b2dcf6d46ac991fe9d76e1165e0"><span><div id="546c9b2dcf6d46ac991fe9d76e1165e0" class="notion-header-anchor"></div><a class="notion-hash-link" href="#546c9b2dcf6d46ac991fe9d76e1165e0" title="2.3. 多账户设置"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><span class="notion-default">2.3. 多账户设置</span></span></span></h4><h4 class="notion-h notion-h3 notion-h-indent-1 notion-block-109fc6bdfc6881fc9e15c24f4354833f" data-id="109fc6bdfc6881fc9e15c24f4354833f"><span><div id="109fc6bdfc6881fc9e15c24f4354833f" class="notion-header-anchor"></div><a class="notion-hash-link" href="#109fc6bdfc6881fc9e15c24f4354833f" title="2.4. 已配置ssh key 但是无法推送"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><span class="notion-default">2.4. 已配置ssh key 但是无法推送</span></span></span></h4><div class="notion-text notion-block-109fc6bdfc688130a734dc19eeadd82c"><span class="notion-default"><a class="notion-link" href="https://docs.github.com/zh/authentication/troubleshooting-ssh/using-ssh-over-the-https-port" target="_blank" rel="noopener noreferrer">https://docs.github.com/zh/authentication/troubleshooting-ssh/using-ssh-over-the-https-port</a></span></div><div class="notion-text notion-block-109fc6bdfc68812fb004c35dcc88d661"><span class="notion-default">#git #配置</span></div></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Archlinux装机必备]]></title>
            <link>https://tangly1024.com/Archlinux/109fc6bd-fc68-81e1-ba6e-ddaab7a28251</link>
            <guid>https://tangly1024.com/Archlinux/109fc6bd-fc68-81e1-ba6e-ddaab7a28251</guid>
            <pubDate>Sun, 22 Sep 2024 00:00:00 GMT</pubDate>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-109fc6bdfc6881e1ba6eddaab7a28251"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-109fc6bdfc688122bb01e81934318bb5" data-id="109fc6bdfc688122bb01e81934318bb5"><span><div id="109fc6bdfc688122bb01e81934318bb5" class="notion-header-anchor"></div><a class="notion-hash-link" href="#109fc6bdfc688122bb01e81934318bb5" title="1. zsh以及美化"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><span class="notion-default">1. zsh以及美化</span></span></span></h3><ul class="notion-list notion-list-disc notion-block-ba592a185ab64261a6588fd6b6d45e5f"><li><span class="notion-default">安装 zim</span></li></ul><ul class="notion-list notion-list-disc notion-block-109fc6bdfc68817b9172e4ca8275ddd6"><li><span class="notion-default">编辑zsh配置文件</span><span class="notion-default"><code class="notion-inline-code">~/.zimrc</code></span></li></ul><ul class="notion-list notion-list-disc notion-block-109fc6bdfc6881b1bbaef7882a504077"><li><span class="notion-default">添加以下内容</span></li></ul><ul class="notion-list notion-list-disc notion-block-109fc6bdfc68819486aaf2464b31b514"><li><span class="notion-default">然后终端输入以下内容</span></li></ul><div class="notion-text notion-block-26c3d6b204a2412aa21946d4d98baadb"><span class="notion-default">接着会进入</span><span class="notion-default"><code class="notion-inline-code">powerlever10k</code></span><span class="notion-default">的自动配置</span></div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-109fc6bdfc6881a288dbffa04424e6ac" data-id="109fc6bdfc6881a288dbffa04424e6ac"><span><div id="109fc6bdfc6881a288dbffa04424e6ac" class="notion-header-anchor"></div><a class="notion-hash-link" href="#109fc6bdfc6881a288dbffa04424e6ac" title="2. 截图软件"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><span class="notion-default">2. 截图软件</span></span></span></h3><div class="notion-text notion-block-109fc6bdfc6881d2ba37f2c8615a528c"><span class="notion-default">在</span><span class="notion-default"><code class="notion-inline-code">x11</code></span><span class="notion-default">中可以使用 </span><span class="notion-default"><code class="notion-inline-code">flameshot</code></span></div><div class="notion-text notion-block-109fc6bdfc6881f2b930cf87e3193287"><span class="notion-default">在</span><span class="notion-default"><code class="notion-inline-code">kde-wayland</code></span><span class="notion-default">中我使用的是自带的</span><span class="notion-default"><code class="notion-inline-code">Spectacle</code></span><span class="notion-default">，flameshot在非整数缩放的时候会出现问题</span></div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-109fc6bdfc688189a7d3d5beaf9da158" data-id="109fc6bdfc688189a7d3d5beaf9da158"><span><div id="109fc6bdfc688189a7d3d5beaf9da158" class="notion-header-anchor"></div><a class="notion-hash-link" href="#109fc6bdfc688189a7d3d5beaf9da158" title="3. terminal 终端"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><span class="notion-default">3. terminal 终端</span></span></span></h3><div class="notion-text notion-block-c316d80870bd42a28fbe1b9c3de3d326"><span class="notion-default">偏向使用的是 </span><span class="notion-default"><code class="notion-inline-code">kitty</code></span><span class="notion-default">
</span><span class="notion-default"><code class="notion-inline-code">paru -S kitty</code></span></div><div class="notion-text notion-block-109fc6bdfc688190a124f4a0cd0c3bc7"><span class="notion-default">如果你使用的</span><span class="notion-default"><code class="notion-inline-code">display server</code></span><span class="notion-default">是</span><span class="notion-default"><code class="notion-inline-code">wayland</code></span><span class="notion-default">，kitty的高斯模糊与中文输入法在wayland下均不能正常使用，建议在配置中，将其改成</span><span class="notion-default"><code class="notion-inline-code">x11</code></span></div><div class="notion-text notion-block-109fc6bdfc6881a6a49de367b1511fd8"><span class="notion-default">当然如果需要中文输入法支持，还需要在</span><span class="notion-default"><code class="notion-inline-code">/etc/environment</code></span><span class="notion-default">中加入如下内容</span></div><h4 class="notion-h notion-h3 notion-h-indent-1 notion-block-109fc6bdfc6881f9a18bc819653f1af6" data-id="109fc6bdfc6881f9a18bc819653f1af6"><span><div id="109fc6bdfc6881f9a18bc819653f1af6" class="notion-header-anchor"></div><a class="notion-hash-link" href="#109fc6bdfc6881f9a18bc819653f1af6" title="3.1. 一些常用的快捷键和命令"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><span class="notion-default">3.1. 一些常用的快捷键和命令</span></span></span></h4><div class="notion-text notion-block-109fc6bdfc68813baf99ff1a970fb27e"><span class="notion-default">打开设置 </span><span class="notion-default"><code class="notion-inline-code">ctrl+shift+f2</code></span><span class="notion-default">
新建 tab 标签页 </span><span class="notion-default"><code class="notion-inline-code">ctrl+shift+t</code></span><span class="notion-default">
在标签页中左右切换 </span><span class="notion-default"><code class="notion-inline-code">ctrl+shift+left/right</code></span></div><div class="notion-text notion-block-109fc6bdfc6881489d0feb3681024ac2"><span class="notion-default">切换主题，kitty自带了许多主题</span></div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-109fc6bdfc6881e4acddc4c52f4d200b" data-id="109fc6bdfc6881e4acddc4c52f4d200b"><span><div id="109fc6bdfc6881e4acddc4c52f4d200b" class="notion-header-anchor"></div><a class="notion-hash-link" href="#109fc6bdfc6881e4acddc4c52f4d200b" title="4. 电源管理"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><span class="notion-default">4. 电源管理</span></span></span></h3></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[WindowsPowerShell常用命令]]></title>
            <link>https://tangly1024.com/Powershell/109fc6bd-fc68-8130-b232-e2bd1f83be28</link>
            <guid>https://tangly1024.com/Powershell/109fc6bd-fc68-8130-b232-e2bd1f83be28</guid>
            <pubDate>Sun, 22 Sep 2024 00:00:00 GMT</pubDate>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-109fc6bdfc688130b232e2bd1f83be28"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-9141662345c148e78d0815b62a144f06" data-id="9141662345c148e78d0815b62a144f06"><span><div id="9141662345c148e78d0815b62a144f06" class="notion-header-anchor"></div><a class="notion-hash-link" href="#9141662345c148e78d0815b62a144f06" title="1. 解决端口占用"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><span class="notion-default">1. 解决端口占用</span></span></span></h3><div class="notion-text notion-block-109fc6bdfc68817991c5c6c8be802f1f"><span class="notion-default">说明：</span></div><ul class="notion-list notion-list-disc notion-block-109fc6bdfc68810db393eb8bf60a7afe"><li><span class="notion-default"><code class="notion-inline-code">/F</code></span><span class="notion-default"> 指定强制终止进程。</span></li></ul><ul class="notion-list notion-list-disc notion-block-109fc6bdfc6881a29c5efd22fd27b5a0"><li><span class="notion-default"><code class="notion-inline-code">/T</code></span><span class="notion-default"> 终止指定的进程和由它启用的子进程。</span></li></ul><ul class="notion-list notion-list-disc notion-block-0eca23e7b5b84e508130e3f853c204fd"><li><span class="notion-default"><code class="notion-inline-code">/IM imagename</code></span><span class="notion-default"> 指定要终止的进程的映像名称。通配符 &#x27;*&#x27;可用来指定所有任务或映像名称。</span></li></ul><ul class="notion-list notion-list-disc notion-block-109fc6bdfc68810b8bd1e086619a84bd"><li><span class="notion-default"><code class="notion-inline-code">/PID processid</code></span><span class="notion-default"> 指定要终止的进程的 PID。使用 TaskList 取得 PID。</span></li></ul></main></div>]]></content:encoded>
        </item>
    </channel>
</rss>