<?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>学习 on Canghai's Blog</title><link>https://blog-old.pages.dev/posts/learn/</link><description>Recent content in 学习 on Canghai's Blog</description><generator>Hugo</generator><language>zh</language><lastBuildDate>Sat, 09 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://blog-old.pages.dev/posts/learn/index.xml" rel="self" type="application/rss+xml"/><item><title>SOLIDWORKS开启RealView</title><link>https://blog-old.pages.dev/posts/learn/260509-solidworks-realview/</link><pubDate>Sat, 09 May 2026 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/260509-solidworks-realview/</guid><description>&lt;p>如果 SOLIDWORKS 在新显卡上出现显示异常、RealView 不可用等问题，可以尝试给当前显卡添加 OpenGL 显卡白名单。这里记录的是&lt;code>NVIDIA GeForce RTX 4080 SUPER/PCIe/SSE2&lt;/code>对应的注册表。&lt;/p></description></item><item><title>重置Docker网络配置</title><link>https://blog-old.pages.dev/posts/learn/260421-docker-network-reset/</link><pubDate>Tue, 21 Apr 2026 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/260421-docker-network-reset/</guid><description>&lt;p>Docker 网络配置异常时，可能会出现容器无法访问外网、容器之间无法通信、网桥规则混乱等问题。如果确认是 Docker 网络元数据损坏，可以删除 Docker 的网络配置目录，让 Docker 重新生成默认网络。&lt;/p></description></item><item><title>Docker开启IPv6</title><link>https://blog-old.pages.dev/posts/learn/260416-docker-enable-ipv6/</link><pubDate>Thu, 16 Apr 2026 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/260416-docker-enable-ipv6/</guid><description>&lt;p>Docker 默认的 bridge 网络不一定开启 IPv6，如果容器需要使用 IPv6，可以参考&lt;a href="https://docs.docker.com/engine/daemon/ipv6/" target="_blank" rel="noopener" style="color:#42b983";>Docker官方文档&lt;/a>修改 Docker daemon 配置。&lt;/p>
&lt;p>编辑&lt;code>/etc/docker/daemon.json&lt;/code>：&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-json" data-lang="json">&lt;span style="display:flex;">&lt;span>{
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;ipv6&amp;#34;&lt;/span>: &lt;span style="color:#66d9ef">true&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;fixed-cidr-v6&amp;#34;&lt;/span>: &lt;span style="color:#e6db74">&amp;#34;2001:db8:1::/64&amp;#34;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>}
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>保存后重启 Docker：&lt;/p></description></item><item><title>使用Docker Compose安装Sub2API</title><link>https://blog-old.pages.dev/posts/learn/260403-docker-install-sub2api/</link><pubDate>Fri, 03 Apr 2026 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/260403-docker-install-sub2api/</guid><description>&lt;p>这里记录一下使用 Docker Compose 部署&lt;code>Sub2API&lt;/code>，同时启动&lt;code>PostgreSQL&lt;/code>和&lt;code>Redis&lt;/code>。下面配置里的密码和密钥都是随机示例，实际部署时也可以按自己的习惯重新生成。&lt;/p></description></item><item><title>使用Docker安装OpenClaw</title><link>https://blog-old.pages.dev/posts/learn/260326-docker-install-openclaw/</link><pubDate>Thu, 26 Mar 2026 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/260326-docker-install-openclaw/</guid><description>&lt;p>这里记录一下用 Docker 运行&lt;code>OpenClaw&lt;/code>。第一次运行需要先执行&lt;code>onboard&lt;/code>完成初始化，之后再以后台方式启动&lt;code>gateway&lt;/code>。&lt;/p>
&lt;p>先执行初始化：&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>docker run -it --rm &lt;span style="color:#ae81ff">\
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#ae81ff">&lt;/span> --user root &lt;span style="color:#ae81ff">\
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#ae81ff">&lt;/span> -e HOME&lt;span style="color:#f92672">=&lt;/span>/home/node &lt;span style="color:#ae81ff">\
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#ae81ff">&lt;/span> -e NODE_ENV&lt;span style="color:#f92672">=&lt;/span>production &lt;span style="color:#ae81ff">\
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#ae81ff">&lt;/span> -e TERM&lt;span style="color:#f92672">=&lt;/span>xterm-256color &lt;span style="color:#ae81ff">\
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#ae81ff">&lt;/span> -e XDG_CONFIG_HOME&lt;span style="color:#f92672">=&lt;/span>/home/node/.openclaw &lt;span style="color:#ae81ff">\
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#ae81ff">&lt;/span> -e PATH&lt;span style="color:#f92672">=&lt;/span>/home/linuxbrew/.linuxbrew/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin &lt;span style="color:#ae81ff">\
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#ae81ff">&lt;/span> -v /opt/openclaw:/home/node/.openclaw &lt;span style="color:#ae81ff">\
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#ae81ff">&lt;/span> -v /opt/openclaw/workspace:/home/node/.openclaw/workspace &lt;span style="color:#ae81ff">\
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#ae81ff">&lt;/span> ghcr.io/openclaw/openclaw:latest &lt;span style="color:#ae81ff">\
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#ae81ff">&lt;/span> node dist/index.js onboard
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>初始化命令使用&lt;code>--rm&lt;/code>，执行完成后容器会自动删除，但配置会保存在宿主机的&lt;code>/opt/openclaw&lt;/code>目录。&lt;/p></description></item><item><title>用Docker跑Windows虚拟机</title><link>https://blog-old.pages.dev/posts/learn/260312-docker-windows/</link><pubDate>Thu, 12 Mar 2026 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/260312-docker-windows/</guid><description>记录我用dockurr/windows拉起Windows虚拟机时常用的命令，以及111个环境变量的默认值和可选值。</description></item><item><title>使用Docker安装Isaac Sim</title><link>https://blog-old.pages.dev/posts/learn/250901-docker-install-isaac-sim/</link><pubDate>Mon, 01 Sep 2025 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/250901-docker-install-isaac-sim/</guid><description>&lt;p>&lt;code>Isaac Sim&lt;/code>可以通过 NVIDIA 官方容器镜像运行。这里记录一下在 Docker 中安装 NVIDIA Container Toolkit，并以 Headless 模式启动&lt;code>Isaac Sim 5.0.0&lt;/code>。&lt;/p>
&lt;p>操作前需要先确认宿主机已经安装 NVIDIA 驱动，并且&lt;code>nvidia-smi&lt;/code>可以正常看到显卡。&lt;/p></description></item><item><title>部署CodeServer，并配置Codex、Claude Code</title><link>https://blog-old.pages.dev/posts/learn/250716-docker-install-codeserver/</link><pubDate>Wed, 16 Jul 2025 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/250716-docker-install-codeserver/</guid><description>&lt;blockquote>
&lt;p>安装CodeServer&lt;/p>&lt;/blockquote>
&lt;p>&lt;code>CodeServer&lt;/code>可以把 VS Code 跑在服务器上，通过浏览器直接访问。这里记录一下用 Docker 部署 &lt;code>CodeServer&lt;/code>，并在容器里安装 &lt;code>fnm&lt;/code>、Node.js、Codex 和 Claude Code 的步骤。&lt;/p></description></item><item><title>使用Docker安装FRP</title><link>https://blog-old.pages.dev/posts/learn/250716-docker-install-frp/</link><pubDate>Wed, 16 Jul 2025 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/250716-docker-install-frp/</guid><description>&lt;p>&lt;code>FRP&lt;/code>是一款内网穿透工具，分为服务端&lt;code>frps&lt;/code>和客户端&lt;code>frpc&lt;/code>。这里记录一下用 Docker 部署&lt;code>frps&lt;/code>和&lt;code>frpc&lt;/code>，以及 Windows 下把&lt;code>frpc&lt;/code>注册为服务的配置。&lt;/p>
&lt;p>服务端运行&lt;code>frps&lt;/code>：&lt;/p></description></item><item><title>使用WinSW将frpc注册为Windows服务</title><link>https://blog-old.pages.dev/posts/learn/250716-winsw-run-frpc/</link><pubDate>Wed, 16 Jul 2025 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/250716-winsw-run-frpc/</guid><description>&lt;p>&lt;code>WinSW&lt;/code>可以把普通 Windows 程序包装成系统服务，适合让一些命令行程序开机自启。这里以&lt;code>frpc&lt;/code>为例，把 FRP 客户端注册为 Windows 服务。&lt;/p>
&lt;p>WinSW 下载地址：&lt;/p>
&lt;ul>
&lt;li>项目地址：&lt;a href="https://github.com/winsw/winsw" target="_blank" rel="noopener" style="color:#42b983";>https://github.com/winsw/winsw&lt;/a>&lt;/li>
&lt;li>Releases：&lt;a href="https://github.com/winsw/winsw/releases" target="_blank" rel="noopener" style="color:#42b983";>https://github.com/winsw/winsw/releases&lt;/a>&lt;/li>
&lt;li>64位 Windows 可下载：&lt;a href="https://github.com/winsw/winsw/releases/latest/download/WinSW-x64.exe" target="_blank" rel="noopener" style="color:#42b983";>https://github.com/winsw/winsw/releases/latest/download/WinSW-x64.exe&lt;/a>&lt;/li>
&lt;/ul>
&lt;p>下载&lt;code>WinSW-x64.exe&lt;/code>后，建议重命名为&lt;code>frpc-service.exe&lt;/code>，这样可以和真正的&lt;code>frpc.exe&lt;/code>区分开。&lt;/p></description></item><item><title>使用Docker安装Samba文件共享</title><link>https://blog-old.pages.dev/posts/learn/250605-docker-install-samba/</link><pubDate>Thu, 05 Jun 2025 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/250605-docker-install-samba/</guid><description>&lt;p>自1992年以来，&lt;strong>Samba&lt;/strong>一直为所有使用 SMB/CIFS 协议的客户端（如所有版本的 DOS 和 Windows、OS/2、Linux 以及其他许多系统）提供安全、稳定且快速的文件和打印服务。推荐使用&lt;strong>Docker&lt;/strong>一键部署。&lt;/p></description></item><item><title>使用Docker安装WebDAV</title><link>https://blog-old.pages.dev/posts/learn/250510-docker-install-webdav/</link><pubDate>Sat, 10 May 2025 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/250510-docker-install-webdav/</guid><description>&lt;p>共享音视频等流媒体文件时往往&lt;strong>WebDAV&lt;/strong>是个不错的选择，WebDAV基于&lt;strong>HTTP&lt;/strong>协议可以轻松借用Cloudflare等CDN服务加速，并且WebDAV在Infuse等视频软件上的挂载比Samba的体验要好很多。这里选择的是Github上的明星项目&lt;a href="https://github.com/hacdias/webdav" target="_blank" rel="noopener" style="color:#42b983";>hacdias/webdav&lt;/a>。&lt;/p></description></item><item><title>使用Docker安装下载利器qBittorrent</title><link>https://blog-old.pages.dev/posts/learn/250212-linuxserver-qbittorrent/</link><pubDate>Wed, 12 Feb 2025 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/250212-linuxserver-qbittorrent/</guid><description>&lt;ul>
&lt;li>&lt;strong>类似 μTorrent 的精致用户界面&lt;/strong>&lt;/li>
&lt;li>&lt;strong>无广告&lt;/strong>&lt;/li>
&lt;li>&lt;strong>高度集成且可扩展的搜索引擎&lt;/strong>&lt;/li>
&lt;li>&lt;strong>支持 RSS 订阅及高级下载过滤（包括正则表达式）&lt;/strong>&lt;/li>
&lt;li>&lt;strong>支持多种 BitTorrent 扩展协议&lt;/strong>&lt;/li>
&lt;li>&lt;strong>通过网页端实现远程控制（基于 AJAX 开发）&lt;/strong>&lt;/li>
&lt;li>&lt;strong>顺序下载（按顺序下载文件）&lt;/strong>&lt;/li>
&lt;li>&lt;strong>对种子、追踪器和节点的精细控制&lt;/strong>&lt;/li>
&lt;li>&lt;strong>带宽调度器&lt;/strong>&lt;/li>
&lt;li>&lt;strong>种子创建工具&lt;/strong>&lt;/li>
&lt;li>&lt;strong>IP 过滤（兼容 eMule 和 PeerGuardian 格式）&lt;/strong>&lt;/li>
&lt;li>&lt;strong>支持 IPv6&lt;/strong>&lt;/li>
&lt;li>&lt;strong>支持 UPnP / NAT-PMP 端口转发&lt;/strong>&lt;/li>
&lt;li>&lt;strong>全平台可用&lt;/strong>：Windows、Linux、macOS、FreeBSD、OS/2&lt;/li>
&lt;li>&lt;strong>支持约 70 种语言&lt;/strong>&lt;/li>
&lt;/ul>
&lt;p>建议Docker部署，这里采用&lt;code>LinuxServer&lt;/code>打包的镜像，&lt;code>armhf&lt;/code>已停止支持，可通过使用旧版本解决&lt;/p></description></item><item><title>利用Cloudflare Tunnel部署哪吒探针</title><link>https://blog-old.pages.dev/posts/learn/240904-tunnel-and-nezha/</link><pubDate>Wed, 04 Sep 2024 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/240904-tunnel-and-nezha/</guid><description>&lt;p>从部署应用程序的那一刻起，开发人员和IT人员就要花费时间来将其封锁起来：配置ACL，轮换IP地址，使用像GRE隧道这样的&lt;del>笨拙解决方案&lt;/del>。有一种更简单、更安全的方法可以保护您的应用程序和web服务器免受直接攻击：&lt;strong>Cloudflare Tunnel&lt;/strong>。可以借助&lt;del>良心企业&lt;/del>Cloudflare完全&lt;strong>免费的Tunnel服务&lt;/strong>，快速安全地加密应用程序到任何类型基础设施的流量，让您能够隐藏你的web服务器IP地址，阻止直接攻击。Tunnel后台程序在源web服务器和Cloudflare最近的数据中心之间创建一条加密隧道，同时&lt;strong>无需打开任何公共入站端口&lt;/strong>。使用防火墙锁定所有源服务器端口和协议后，HTTP/S端口上的任何请求都会被丢弃，包括容量耗尽DDoS攻击。数据泄露尝试被完全阻止，例如传输中数据窥探或暴力登录攻击。同时Tunnel支持&lt;code>gRPC&lt;/code>的流量转发，用来配置哪吒探针也没有问题。&lt;/p></description></item><item><title>关于线驱动(Tendon Driven)在机器人应用中的利弊分析</title><link>https://blog-old.pages.dev/posts/learn/240517-lims-zhihu/</link><pubDate>Fri, 17 May 2024 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/240517-lims-zhihu/</guid><description>在知乎上看到一篇线驱动在人形机器人上应用的分析，转载记录</description></item><item><title>Ubuntu自动挂载硬盘</title><link>https://blog-old.pages.dev/posts/learn/240508-auto-mount/</link><pubDate>Wed, 08 May 2024 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/240508-auto-mount/</guid><description>&lt;p>在Ubuntu系统中，您可以通过编辑&lt;code>/etc/fstab&lt;/code>文件来配置在系统启动时自动挂载硬盘。&lt;/p>
&lt;blockquote>
&lt;p>确认硬盘信息&lt;/p>&lt;/blockquote>
&lt;p>在挂载硬盘之前，首先要确认硬盘的信息，包括硬盘的 UUID（通用唯一标识符）或者设备路径。您可以使用以下命令列出所有已连接的硬盘及其信息：&lt;/p></description></item><item><title>解决下载文件夹变成 “Downloads”</title><link>https://blog-old.pages.dev/posts/learn/240416-downloads-folder-fix/</link><pubDate>Tue, 16 Apr 2024 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/240416-downloads-folder-fix/</guid><description>通过重建 Downloads 目录的 desktop.ini，把资源管理器里突然变成英文的“Downloads”恢复成中文“下载”。</description></item><item><title>Cloudflare IP段记录</title><link>https://blog-old.pages.dev/posts/learn/240403-cloudflare-ip-ranges/</link><pubDate>Wed, 03 Apr 2024 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/240403-cloudflare-ip-ranges/</guid><description>&lt;p>记录几个 Cloudflare 相关的非常规 IP 段，不是常见的官方通用 IP 段。IP 归属显示为 Shopify、easyDNS 等机构，按地区整理如下。&lt;/p>
&lt;h4 id="cloudflare-canada">Cloudflare Canada&lt;/h4>
&lt;table>
&lt;thead>
&lt;tr>
&lt;th>IP段&lt;/th>
&lt;th>所属机构&lt;/th>
&lt;/tr>
&lt;/thead>
&lt;tbody>
&lt;tr>
&lt;td>&lt;code>23.227.37.0/24&lt;/code>&lt;/td>
&lt;td>Shopify, Inc.&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>&lt;code>23.227.38.0/23&lt;/code>&lt;/td>
&lt;td>Shopify, Inc.&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>&lt;code>23.227.60.0/24&lt;/code>&lt;/td>
&lt;td>Shopify, Inc.&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>&lt;code>64.68.192.0/24&lt;/code>&lt;/td>
&lt;td>easyDNS Technologies, Inc.&lt;/td>
&lt;/tr>
&lt;/tbody>
&lt;/table>
&lt;h4 id="cloudflare-sweden">Cloudflare Sweden&lt;/h4>
&lt;table>
&lt;thead>
&lt;tr>
&lt;th>IP段&lt;/th>
&lt;th>所属机构&lt;/th>
&lt;/tr>
&lt;/thead>
&lt;tbody>
&lt;tr>
&lt;td>&lt;code>185.146.172.0/24&lt;/code>&lt;/td>
&lt;td>Shopify Sweden AB&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>&lt;code>185.146.173.0/24&lt;/code>&lt;/td>
&lt;td>Shopify Sweden AB&lt;/td>
&lt;/tr>
&lt;/tbody>
&lt;/table></description></item><item><title>流氓行为之自动安装Chrome插件</title><link>https://blog-old.pages.dev/posts/learn/240220-chrome--extensions/</link><pubDate>Tue, 20 Feb 2024 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/240220-chrome--extensions/</guid><description>&lt;p>之前安装某雷之后，&lt;strong>自动安装Chrome插件&lt;/strong>，甚至重装Chrome都会自动安装，简直毒瘤。最近又发现了几款类似软件，记录一下他们是如何实现自动安装插件的。&lt;/p></description></item><item><title>Microsoft Edge“由你的组织管理”如何解决</title><link>https://blog-old.pages.dev/posts/learn/231230-edge-managed-by-org/</link><pubDate>Sat, 30 Dec 2023 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/231230-edge-managed-by-org/</guid><description>Edge 显示“由你的组织管理”时，通常是本机存在浏览器策略项。本文记录最直接的排查和清理方式。</description></item><item><title>解决OneDrive Business和Personal同时自启</title><link>https://blog-old.pages.dev/posts/learn/231122-onedrive-bug/</link><pubDate>Wed, 22 Nov 2023 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/231122-onedrive-bug/</guid><description>&lt;p>该问题在2023年下半年OneDrive更新后出现，当登陆了Business账户但没有登录个人账户时，每次开机都会在任务栏右下角托盘出现&lt;strong>两个OneDrive图标&lt;/strong>，一个是蓝色的OneDrive for Business，一个是灰色的OneDrive for Personal。即使你关闭开机自启手动打开OneDrive，也会同时启动两个界面。虽然不影响使用，但强迫症很难受，解决方法如下：&lt;/p></description></item><item><title>老坛酸菜LTSC部分易用功能恢复指南</title><link>https://blog-old.pages.dev/posts/learn/231009-ltsc-upgrade/</link><pubDate>Mon, 09 Oct 2023 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/231009-ltsc-upgrade/</guid><description>Windows LTSC看图片是真受罪啊，不过可以通过Microsoft Store安装照片应用</description></item><item><title>Docker部署OpenWRT旁路由快速入门</title><link>https://blog-old.pages.dev/posts/learn/230902-docker-install-openwrt/</link><pubDate>Sat, 02 Sep 2023 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/230902-docker-install-openwrt/</guid><description>&lt;p>旁路由是在不改变网络架构的情况下最方便的升级网络环境的方式，OpenWRT社区生态丰富，基本可以满足你的绝大部分上网需求。&lt;/p>
&lt;h4 id="自制openwrt固件">自制OpenWRT固件&lt;/h4>
&lt;ul>
&lt;li>&lt;strong>OpenWRT&lt;/strong>作为一个成熟的路由系统，基本适配市面上绝大部分设备，不同人编译的固件搭载了不同的插件。这里推荐使用&lt;strong>Github Action&lt;/strong>进行固件的自编译，选择需要的插件，编译一个适合自己的固件，具体过程这里就不过多介绍了。&lt;/li>
&lt;li>你也可以试试开源项目&lt;a href="https://openwrt.ai" target="_blank" rel="noopener" style="color:#42b983";>OpenWRT.ai&lt;/a>，进行固件的自编译，这里给出OpenWRT.ai默认加载的插件，可以选择性精简。&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">-&lt;/span>luci&lt;span style="color:#f92672">-&lt;/span>app&lt;span style="color:#f92672">-&lt;/span>gpsysupgrade &lt;span style="color:#f92672">-&lt;/span>luci&lt;span style="color:#f92672">-&lt;/span>app&lt;span style="color:#f92672">-&lt;/span>quickstart &lt;span style="color:#f92672">-&lt;/span>luci&lt;span style="color:#f92672">-&lt;/span>app&lt;span style="color:#f92672">-&lt;/span>firewall &lt;span style="color:#f92672">-&lt;/span>luci&lt;span style="color:#f92672">-&lt;/span>app&lt;span style="color:#f92672">-&lt;/span>advanced &lt;span style="color:#f92672">-&lt;/span>luci&lt;span style="color:#f92672">-&lt;/span>app&lt;span style="color:#f92672">-&lt;/span>autoreboot &lt;span style="color:#f92672">-&lt;/span>luci&lt;span style="color:#f92672">-&lt;/span>app&lt;span style="color:#f92672">-&lt;/span>cpufreq &lt;span style="color:#f92672">-&lt;/span>luci&lt;span style="color:#f92672">-&lt;/span>app&lt;span style="color:#f92672">-&lt;/span>upnp &lt;span style="color:#f92672">-&lt;/span>luci&lt;span style="color:#f92672">-&lt;/span>app&lt;span style="color:#f92672">-&lt;/span>fan &lt;span style="color:#f92672">-&lt;/span>luci&lt;span style="color:#f92672">-&lt;/span>app&lt;span style="color:#f92672">-&lt;/span>wizard
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h4 id="上传镜像至dockerhub">上传镜像至DockerHub&lt;/h4>
&lt;ul>
&lt;li>&lt;strong>wget&lt;/strong>命令将编译好的镜像下载至服务器中，并使用&lt;strong>mv&lt;/strong>命令改名&lt;/li>
&lt;li>解压文件&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>gzip &lt;span style="color:#f92672">-&lt;/span>d openwrt.img.gz
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>挂载镜像&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>modprobe nbd
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>qemu&lt;span style="color:#f92672">-&lt;/span>nbd &lt;span style="color:#f92672">-&lt;/span>c &lt;span style="color:#f92672">/&lt;/span>dev&lt;span style="color:#f92672">/&lt;/span>nbd0 &lt;span style="color:#f92672">-&lt;/span>f raw openwrt.img
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>打包镜像&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>mkdir &lt;span style="color:#f92672">/&lt;/span>opt&lt;span style="color:#f92672">/&lt;/span>openwrt
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>mount &lt;span style="color:#f92672">/&lt;/span>dev&lt;span style="color:#f92672">/&lt;/span>nbd0p2 &lt;span style="color:#f92672">/&lt;/span>opt&lt;span style="color:#f92672">/&lt;/span>openwrt
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>cd &lt;span style="color:#f92672">/&lt;/span>opt&lt;span style="color:#f92672">/&lt;/span>openwrt
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>tar &lt;span style="color:#f92672">-&lt;/span>czvf &lt;span style="color:#f92672">/&lt;/span>opt&lt;span style="color:#f92672">/&lt;/span>openwrt&lt;span style="color:#f92672">/&lt;/span>openwrt.rootfs.tar.gz &lt;span style="color:#f92672">*&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>导入镜像，&lt;code>tag&lt;/code>部分注意修改&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>docker import openwrt.rootfs.tar.gz user&lt;span style="color:#f92672">/&lt;/span>app:latest
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>通过&lt;code>docker login&lt;/code>登录DockerHub&lt;/li>
&lt;li>推送镜像&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>docker push user&lt;span style="color:#f92672">/&lt;/span>app:latest
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h4 id="部署openwrt">部署OpenWRT&lt;/h4>
&lt;ul>
&lt;li>开启网卡混杂模式&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>ip link set eth0 promisc on
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>(Optional)也可以通过在&lt;code>/etc/rc.local&lt;/code>中写入命令，永久开启网卡混杂模式&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>ip link set eth0 promisc on
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>创建Docker网络，具体信息请根据实际情况修改，容器内需&lt;strong>IPV6&lt;/strong>支持，需要增加相关信息&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>docker network create &lt;span style="color:#f92672">-&lt;/span>d macvlan &lt;span style="color:#f92672">--&lt;/span>subnet&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">192.168.10.0&lt;/span>&lt;span style="color:#f92672">/&lt;/span>&lt;span style="color:#ae81ff">24&lt;/span> &lt;span style="color:#f92672">--&lt;/span>gateway&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">192.168.10.1&lt;/span> &lt;span style="color:#f92672">-&lt;/span>o parent&lt;span style="color:#f92672">=&lt;/span>eth0 openwrt
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>docker network create &lt;span style="color:#f92672">-&lt;/span>d macvlan &lt;span style="color:#f92672">--&lt;/span>subnet&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">192.168.10.0&lt;/span>&lt;span style="color:#f92672">/&lt;/span>&lt;span style="color:#ae81ff">24&lt;/span> &lt;span style="color:#f92672">--&lt;/span>gateway&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">192.168.10.1&lt;/span> &lt;span style="color:#f92672">--&lt;/span>subnet&lt;span style="color:#f92672">=&lt;/span>fe80&lt;span style="color:#f92672">::/&lt;/span>&lt;span style="color:#ae81ff">16&lt;/span> &lt;span style="color:#f92672">--&lt;/span>gateway&lt;span style="color:#f92672">=&lt;/span>fe80&lt;span style="color:#f92672">::&lt;/span>&lt;span style="color:#ae81ff">1&lt;/span> &lt;span style="color:#f92672">-&lt;/span>o parent&lt;span style="color:#f92672">=&lt;/span>eth0 openwrt
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>拉取镜像&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>docker run &lt;span style="color:#f92672">-&lt;/span>d \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">--&lt;/span>restart always \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">--&lt;/span>name openwrt \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">--&lt;/span>network openwrt \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">--&lt;/span>privileged&lt;span style="color:#f92672">=&lt;/span>true \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> user&lt;span style="color:#f92672">/&lt;/span>app:latest \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">/&lt;/span>sbin&lt;span style="color:#f92672">/&lt;/span>init
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>(Optional)如需&lt;strong>IPV6&lt;/strong>支持需要在&lt;code>sysctl.conf&lt;/code>中添加如下字段：&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>docker exec &lt;span style="color:#f92672">-&lt;/span>it openwrt bash
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>vi &lt;span style="color:#f92672">/&lt;/span>etc&lt;span style="color:#f92672">/&lt;/span>sysctl.conf
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>net.ipv6.conf.all.disable_ipv6&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">0&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>net.ipv6.conf.&lt;span style="color:#66d9ef">default&lt;/span>.disable_ipv6&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">0&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>net.ipv6.conf.&lt;span style="color:#66d9ef">default&lt;/span>.accept_ra&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">2&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>net.ipv6.conf.all.accept_ra&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">2&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>(Optional)如编译时选择的OpenWRT地址不在局域网网段内需自行修改&lt;code>ipaddr&lt;/code>&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>docker exec &lt;span style="color:#f92672">-&lt;/span>it openwrt bash
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>vi &lt;span style="color:#f92672">/&lt;/span>etc&lt;span style="color:#f92672">/&lt;/span>config&lt;span style="color:#f92672">/&lt;/span>network
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>重启后通过填写的局域网地址即可打开OpenWRT后台界面&lt;/li>
&lt;/ul></description></item><item><title>AdGuardHome之Docker部署</title><link>https://blog-old.pages.dev/posts/learn/230901-docker-install-adguardhome/</link><pubDate>Fri, 01 Sep 2023 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/230901-docker-install-adguardhome/</guid><description>使用Docker部署AdGuardHome，守护网络安全</description></item><item><title>Armbian入坑指南</title><link>https://blog-old.pages.dev/posts/learn/230811-guide-of-onecloud/</link><pubDate>Fri, 11 Aug 2023 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/230811-guide-of-onecloud/</guid><description>&lt;p>最近想整个&lt;strong>AdGuardHome&lt;/strong>提升一下家里的网络体验，一开始准备弄个&lt;del>AllinOne&lt;/del>顺便当作&lt;strong>轻NAS&lt;/strong>，接着刷到了矿渣&lt;strong>玩客云&lt;/strong>，一年一杯奶茶钱的耗电量以及大把的开源项目约等于零成本达成目标。楼下收旧电脑那正好有一台，机器直接白嫖到手。&lt;/p></description></item><item><title>利用Github Action发布Docker镜像</title><link>https://blog-old.pages.dev/posts/learn/230707-github-action-for-docker/</link><pubDate>Fri, 07 Jul 2023 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/230707-github-action-for-docker/</guid><description>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-yaml" data-lang="yaml">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">name&lt;/span>: &lt;span style="color:#ae81ff">Build Docker Images&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">on&lt;/span>:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">schedule&lt;/span>:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> - &lt;span style="color:#f92672">cron&lt;/span>: &lt;span style="color:#e6db74">&amp;#39;0 0 * * *&amp;#39;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">workflow_dispatch&lt;/span>:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">jobs&lt;/span>:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">dockerhub&lt;/span>:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">runs-on&lt;/span>: &lt;span style="color:#ae81ff">ubuntu-latest&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">steps&lt;/span>:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> - &lt;span style="color:#f92672">name&lt;/span>: &lt;span style="color:#ae81ff">Checkout&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">uses&lt;/span>: &lt;span style="color:#ae81ff">actions/checkout@v4&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">with&lt;/span>:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">fetch-depth&lt;/span>: &lt;span style="color:#ae81ff">0&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> - &lt;span style="color:#f92672">name&lt;/span>: &lt;span style="color:#ae81ff">Set up Docker Buildx&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">uses&lt;/span>: &lt;span style="color:#ae81ff">docker/setup-buildx-action@v3&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> - &lt;span style="color:#f92672">name&lt;/span>: &lt;span style="color:#ae81ff">Login to Docker Hub&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">uses&lt;/span>: &lt;span style="color:#ae81ff">docker/login-action@v3&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">with&lt;/span>:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">username&lt;/span>: &lt;span style="color:#ae81ff">user&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">password&lt;/span>: &lt;span style="color:#ae81ff">${{ secrets.DOCKERHUB_TOKEN }}&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> - &lt;span style="color:#f92672">name&lt;/span>: &lt;span style="color:#ae81ff">Build and push&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">uses&lt;/span>: &lt;span style="color:#ae81ff">docker/build-push-action@v5&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">with&lt;/span>:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">platforms&lt;/span>: &lt;span style="color:#ae81ff">linux/amd64,linux/arm64,linux/arm/v7,linux/s390x&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">push&lt;/span>: &lt;span style="color:#66d9ef">true&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">tags&lt;/span>: &lt;span style="color:#ae81ff">user/app:latest&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>&lt;code>Access Token&lt;/code>可以通过&lt;strong>Docker Hub&lt;/strong>的&lt;strong>Account Settings-&amp;gt;Personal access tokens-&amp;gt;Cenerate new token&lt;/strong>创建，然后通过&lt;strong>GitHub&lt;/strong>仓库的&lt;strong>Settings-&amp;gt;Actions secrets and variables-&amp;gt;New repository secret&lt;/strong>创建&lt;code>DOCKERHUB_TOKEN&lt;/code>。&lt;/li>
&lt;li>&lt;code>tags: user/app:latest&lt;/code>中的&lt;code>user&lt;/code>和&lt;code>app&lt;/code>需要修改为实际的&lt;strong>用户名&lt;/strong>和&lt;strong>镜像名&lt;/strong>。&lt;/li>
&lt;/ul></description></item><item><title>DDNS之Docker部署</title><link>https://blog-old.pages.dev/posts/learn/230630-docker-install-ddns/</link><pubDate>Fri, 30 Jun 2023 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/230630-docker-install-ddns/</guid><description>使用Docker部署DNS动态解析</description></item><item><title>解决Debian 11更新错误</title><link>https://blog-old.pages.dev/posts/learn/230406-debian-update-error/</link><pubDate>Thu, 06 Apr 2023 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/230406-debian-update-error/</guid><description>&lt;p>新装的系统执行&lt;code>apt-get update&lt;/code>一直报错，详情如下：&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-cmd" data-lang="cmd">&lt;span style="display:flex;">&lt;span>Release file for http://security.debian.org/dists/bullseye-security/InRelease is expired. Updates for this repository will not be applied.
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>尝试过&lt;del>校正时区&lt;/del>和&lt;del>同步时间&lt;/del>都没有效果，排查之后将源修改即可解决问题&lt;/p></description></item><item><title>Reader之Docker部署</title><link>https://blog-old.pages.dev/posts/learn/230313-docker-install-reader/</link><pubDate>Mon, 13 Mar 2023 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/230313-docker-install-reader/</guid><description>&lt;p>网页端开源阅读📖。 &lt;br>
官方提供的镜像有两种，&lt;strong>常规镜像&lt;/strong>基于&lt;code>Alpine&lt;/code>，占用空间较小，但是占用内存多；&lt;strong>openj9镜像&lt;/strong>基于&lt;code>Ubuntu&lt;/code>，占用空间较大，但是占用内存小。可根据自身情况选择。&lt;/p></description></item><item><title>隐藏Win10系统文件夹</title><link>https://blog-old.pages.dev/posts/learn/230708-hide-system-folder/</link><pubDate>Wed, 01 Mar 2023 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/230708-hide-system-folder/</guid><description>&lt;p>通过修改注册表来隐藏3D对象、视频、图片、文档、音乐等文件夹。&lt;/p>
&lt;ul>
&lt;li>打开注册表编辑器逐级定位到如下目录：&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>HKEY_LOCAL_MACHINE&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>SOFTWARE&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>Microsoft&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>Windows&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>CurrentVersion&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>Explorer&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>FolderDescriptions
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>以&lt;strong>3D对象&lt;/strong>文件夹为例，在找到&lt;code>{31c0dd25-9439-4f12-bf41-7ff4eda38722}&lt;/code>，打开&lt;code>PropertyBag&lt;/code>，选择&lt;code>ThisPCPolicy&lt;/code>，修改该项属性为&lt;code>Hide&lt;/code>，即可完成隐藏。&lt;/li>
&lt;li>其他文件夹目录如下：
&lt;ul>
&lt;li>&lt;strong>3D对象&lt;/strong>&lt;code>{31c0dd25-9439-4f12-bf41-7ff4eda38722}&lt;/code>&lt;/li>
&lt;li>&lt;strong>视频&lt;/strong>&lt;code>{35286a68-3c57-41a1-bbb1-0eae73d76c95}&lt;/code>&lt;/li>
&lt;li>&lt;strong>图片&lt;/strong>&lt;code>{0ddd015d-b06c-45d5-8c4c-f59713854639}&lt;/code>&lt;/li>
&lt;li>&lt;strong>文档&lt;/strong>&lt;code>{f42ee2d3-909f-4907-8871-4c22fc0bf756}&lt;/code>&lt;/li>
&lt;li>&lt;strong>下载&lt;/strong>&lt;code>{7d83ee9b-2244-4e70-b1f5-5393042af1e4}&lt;/code>&lt;/li>
&lt;li>&lt;strong>音乐&lt;/strong>&lt;code>{a0c69a99-21c8-4671-8703-7934162fcf1d}&lt;/code>&lt;/li>
&lt;li>&lt;strong>桌面&lt;/strong>&lt;code>{b4bfcc3a-db2c-424c-b029-7fe99a87c641}&lt;/code>&lt;/li>
&lt;/ul>
&lt;/li>
&lt;/ul>
&lt;p>附上一个简单的一键脚本，用于隐藏几个不常用的文件夹&lt;/p></description></item><item><title>Memos之Docker部署</title><link>https://blog-old.pages.dev/posts/learn/230225-docker-install-memos/</link><pubDate>Sat, 25 Feb 2023 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/230225-docker-install-memos/</guid><description>&lt;p>🦄 开源且永久免费&lt;br>
🚀 支持在几秒钟内使用 &lt;code>Docker&lt;/code> 自托管&lt;br>
📜 纯文本优先，并支持一些&lt;code>Markdown&lt;/code>语法&lt;br>
👥 将备忘录设置为私人或公开给其他人&lt;br>
‍💻 完全的&lt;code>API&lt;/code>支持&lt;br>
📑 将备忘录设置为私人或公开给其他人&lt;br>
📆 交互式日历视图&lt;br>
💾 轻松的数据迁移和备份&lt;/p></description></item><item><title>通过IPV6拉取Docker镜像</title><link>https://blog-old.pages.dev/posts/learn/230216-pull-docker-images-via-ipv6/</link><pubDate>Thu, 16 Feb 2023 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/230216-pull-docker-images-via-ipv6/</guid><description>&lt;p>现在我们很高兴为&lt;strong>Docker Hub&lt;/strong>引入&lt;strong>Beta IPv6&lt;/strong>支持！这意味着，如果您使用的是仅限&lt;strong>IPv6&lt;/strong>的网络，您现在可以选择直接使用注册表，而无需NAT64网关。&lt;/p></description></item><item><title>前端CDN公共库</title><link>https://blog-old.pages.dev/posts/learn/230106-css-cdn/</link><pubDate>Fri, 06 Jan 2023 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/230106-css-cdn/</guid><description>&lt;h4 id="jsdelivr">jsDelivr&lt;/h4>
&lt;p>官网：&lt;a href="https://www.jsdelivr.com/" target="_blank" rel="noopener" style="color:#42b983";>https://www.jsdelivr.com/&lt;/a>&lt;/p>
&lt;p>支持&lt;code>npm&lt;/code>仓库资源同步，&lt;code>Github&lt;/code>资源同步。就目前体验而言，速度还不错。示例如下：&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">&amp;lt;&lt;/span>link rel&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#e6db74">&amp;#34;stylesheet&amp;#34;&lt;/span> href&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#e6db74">&amp;#34;https://cdn.jsdelivr.net/npm/lxgw-wenkai-webfont@1.6.0/lxgwwenkai-regular.css&amp;#34;&lt;/span> &lt;span style="color:#f92672">/&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h4 id="unpkg">UNPKG&lt;/h4>
&lt;p>官网：&lt;a href="https://unpkg.com/" target="_blank" rel="noopener" style="color:#42b983";>https://unpkg.com/&lt;/a>&lt;/p>
&lt;p>资源丰富，但国内速度不行。示例如下：&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">&amp;lt;&lt;/span>link rel&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#e6db74">&amp;#34;stylesheet&amp;#34;&lt;/span> href&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#e6db74">&amp;#34;https://unpkg.com/lxgw-wenkai-webfont@1.6.0/lxgwwenkai-regular.css&amp;#34;&lt;/span> &lt;span style="color:#f92672">/&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h4 id="staticfile">Staticfile&lt;/h4>
&lt;p>官网：&lt;a href="https://staticfile.org/" target="_blank" rel="noopener" style="color:#42b983";>https://staticfile.org/&lt;/a>&lt;/p></description></item><item><title>Openlist之Docker部署</title><link>https://blog-old.pages.dev/posts/learn/230103-docker-install-openlist/</link><pubDate>Tue, 03 Jan 2023 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/230103-docker-install-openlist/</guid><description>&lt;p>Openlist是一个支持多种存储的文件列表程序，项目地址见&lt;a href="https://github.com/OpenListTeam/OpenList" target="_blank" rel="noopener" style="color:#42b983";>Github&lt;/a>&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>docker run &lt;span style="color:#f92672">-&lt;/span>d \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">--&lt;/span>name openlist \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">--&lt;/span>restart always \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">--&lt;/span>network host \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#960050;background-color:#1e0010">$&lt;/span>(id &lt;span style="color:#f92672">-&lt;/span>u)&lt;span style="color:#f92672">:&lt;/span>&lt;span style="color:#960050;background-color:#1e0010">$&lt;/span>(id &lt;span style="color:#f92672">-&lt;/span>g) \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">-&lt;/span>e UMASK&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">022&lt;/span> \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">-&lt;/span>v &lt;span style="color:#f92672">/&lt;/span>opt&lt;span style="color:#f92672">/&lt;/span>openlist:&lt;span style="color:#f92672">/&lt;/span>opt&lt;span style="color:#f92672">/&lt;/span>openlist&lt;span style="color:#f92672">/&lt;/span>data \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> openlistteam&lt;span style="color:#f92672">/&lt;/span>openlist:latest
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description></item><item><title>Oracle关闭防火墙</title><link>https://blog-old.pages.dev/posts/learn/221230-disable-oracle-firewall/</link><pubDate>Fri, 30 Dec 2022 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/221230-disable-oracle-firewall/</guid><description>&lt;h4 id="ubuntu">Ubuntu&lt;/h4>
&lt;ul>
&lt;li>开放所有端口&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>iptables &lt;span style="color:#f92672">-&lt;/span>P INPUT ACCEPT &lt;span style="color:#f92672">&amp;amp;&amp;amp;&lt;/span> iptables &lt;span style="color:#f92672">-&lt;/span>P FORWARD ACCEPT &lt;span style="color:#f92672">&amp;amp;&amp;amp;&lt;/span> iptables &lt;span style="color:#f92672">-&lt;/span>P OUTPUT ACCEPT &lt;span style="color:#f92672">&amp;amp;&amp;amp;&lt;/span> iptables &lt;span style="color:#f92672">-&lt;/span>F
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>删除防火墙&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>rm &lt;span style="color:#f92672">-&lt;/span>rf &lt;span style="color:#f92672">/&lt;/span>etc&lt;span style="color:#f92672">/&lt;/span>iptables &lt;span style="color:#f92672">&amp;amp;&amp;amp;&lt;/span> reboot
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h4 id="centos">Centos&lt;/h4>
&lt;ul>
&lt;li>删除多余附件&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>systemctl stop oracle&lt;span style="color:#f92672">-&lt;/span>cloud&lt;span style="color:#f92672">-&lt;/span>agent &lt;span style="color:#f92672">&amp;amp;&amp;amp;&lt;/span> systemctl disable oracle&lt;span style="color:#f92672">-&lt;/span>cloud&lt;span style="color:#f92672">-&lt;/span>agent &lt;span style="color:#f92672">&amp;amp;&amp;amp;&lt;/span> systemctl stop oracle&lt;span style="color:#f92672">-&lt;/span>cloud&lt;span style="color:#f92672">-&lt;/span>agent&lt;span style="color:#f92672">-&lt;/span>updater &lt;span style="color:#f92672">&amp;amp;&amp;amp;&lt;/span> systemctl disable oracle&lt;span style="color:#f92672">-&lt;/span>cloud&lt;span style="color:#f92672">-&lt;/span>agent&lt;span style="color:#f92672">-&lt;/span>updater
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>停用Firewall&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>systemctl stop firewalld.service &lt;span style="color:#f92672">&amp;amp;&amp;amp;&lt;/span> systemctl disable firewalld.service
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description></item><item><title>给MIUI做一个减法</title><link>https://blog-old.pages.dev/posts/learn/221220-modify-miui/</link><pubDate>Tue, 20 Dec 2022 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/221220-modify-miui/</guid><description>&lt;h4 id="移除avb校验">移除AVB校验&lt;/h4>
&lt;p>AVB2.0启动校验用来校验系统完整性，修改固件前需要去除校验&lt;/p>
&lt;ul>
&lt;li>修改&lt;code>firmware-update&lt;/code>目录下的&lt;strong>vbmeta.img&lt;/strong>以及&lt;strong>vbmeta_system.img&lt;/strong>&lt;/li>
&lt;li>修改&lt;code>vendor\etc&lt;/code>目录下的&lt;strong>fstab.default&lt;/strong>以及&lt;strong>fstab.emmc&lt;/strong>&lt;/li>
&lt;/ul>
&lt;h4 id="精简冗余应用冗余可执行文件">精简冗余应用、冗余可执行文件&lt;/h4>
&lt;ul>
&lt;li>精简应用前应修改&lt;strong>services.jar&lt;/strong>，防止卡米&lt;/li>
&lt;li>将以下代码保存成&lt;code>bat&lt;/code>执行，删除冗余应用及冗余可执行文件，可根据需要自行修改&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#960050;background-color:#1e0010">@&lt;/span>echo off
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>echo Cleaning up, please wait...
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>product&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>aiasst_service
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>product&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>PhotoTable
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>product&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>talkback
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>product&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>data&lt;span style="color:#f92672">-&lt;/span>app
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>product&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>overlay&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>AccentColorBlack
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>product&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>overlay&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>AccentColorCinnamon
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>product&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>overlay&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>AccentColorGreen
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>product&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>overlay&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>AccentColorOcean
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>product&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>overlay&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>AccentColorOrchid
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>product&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>overlay&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>AccentColorPurple
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>product&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>overlay&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>AccentColorSpace
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>AiAsstVision
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>BasicDreams
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>BookmarkProvider
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>CarrierDefaultApp
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>CatchLog
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>Cit
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>com.miui.qr
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>HybridAccessory
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>HybridPlatform
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>Joyose
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>KeyChain
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>KSICibaEngine
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>LiveWallpapersPicker
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>mab
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>mi_connect_service
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>MiConnectService171
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>MiLinkService2
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>MiLink
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>MiPlayClient
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>MiSound
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>MiuiAccessibility
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>MIUIAccessibility
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>MiuiBugReport
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>MiuiFrequentPhrase
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>MiuiPrintSpoolerBeta
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>MiuiVpnSdkManager
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>MIUIVpnSdkManager
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ModemTestBox
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>MSA
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>PaymentService
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>Protips
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>SecurityInputMethod
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>MIUISecurityInputMethod
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>Stk
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>TouchAssistant
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>MIUITouchAssistant
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>Traceur
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>priv&lt;span style="color:#f92672">-&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>Traceur
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>Updater
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>UPTsmService
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>VoiceAssist
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>VoiceTrigger
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>YouDaoEngine
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>data&lt;span style="color:#f92672">-&lt;/span>app
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>priv&lt;span style="color:#f92672">-&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>Browser
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>priv&lt;span style="color:#f92672">-&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>MiBrowser
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>priv&lt;span style="color:#f92672">-&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>BuiltInPrintService
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>priv&lt;span style="color:#f92672">-&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>CallLogBackup
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>priv&lt;span style="color:#f92672">-&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>CellBroadcastLegacyApp
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>priv&lt;span style="color:#f92672">-&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ContentExtension
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>priv&lt;span style="color:#f92672">-&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>MIUIContentExtension
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>priv&lt;span style="color:#f92672">-&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ManagedProvisioning
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>priv&lt;span style="color:#f92672">-&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>MiGameCenterSDKService
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>priv&lt;span style="color:#f92672">-&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>MiRcs
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>priv&lt;span style="color:#f92672">-&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>Mirror
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>priv&lt;span style="color:#f92672">-&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>MIUIMirror
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>priv&lt;span style="color:#f92672">-&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>MIUIMusic
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>priv&lt;span style="color:#f92672">-&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>MiService
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>priv&lt;span style="color:#f92672">-&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>MIService
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>priv&lt;span style="color:#f92672">-&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>MiShare
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>priv&lt;span style="color:#f92672">-&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>MIShare
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>priv&lt;span style="color:#f92672">-&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>MIUIVipService
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>priv&lt;span style="color:#f92672">-&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>MusicFX
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>priv&lt;span style="color:#f92672">-&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>PersonalAssistant
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>priv&lt;span style="color:#f92672">-&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>MIUIPersonalAssistant
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>priv&lt;span style="color:#f92672">-&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>QuickSearchBox
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>priv&lt;span style="color:#f92672">-&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>MIUIQuickSearchBox
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>priv&lt;span style="color:#f92672">-&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>Tag
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>priv&lt;span style="color:#f92672">-&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>TagGoogle
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>priv&lt;span style="color:#f92672">-&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>UserDictionaryProvider
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system_ext&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>FM
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system_ext&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>xdivert
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>product&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>xdivert
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system_ext&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>priv&lt;span style="color:#f92672">-&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>EmergencyInfo
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>vendor&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>app&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>Joyose
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rd &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>vendor&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>data&lt;span style="color:#f92672">-&lt;/span>app
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>del &lt;span style="color:#f92672">/&lt;/span>f &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>bin&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>logd
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>del &lt;span style="color:#f92672">/&lt;/span>f &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>etc&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>init&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>logd.rc
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>del &lt;span style="color:#f92672">/&lt;/span>f &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>bin&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>mdnsd
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>del &lt;span style="color:#f92672">/&lt;/span>f &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>etc&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>init&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>mdnsd.rc
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>del &lt;span style="color:#f92672">/&lt;/span>f &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>vendor&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>bin&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>tcpdump
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>del &lt;span style="color:#f92672">/&lt;/span>f &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>system&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>bin&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>tcpdump
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>del &lt;span style="color:#f92672">/&lt;/span>f &lt;span style="color:#f92672">/&lt;/span>s &lt;span style="color:#f92672">/&lt;/span>q D:&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>ROM&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>vendor&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>bin&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>cnss_diag
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>echo Clean up done&lt;span style="color:#f92672">!&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>echo. &lt;span style="color:#f92672">&amp;amp;&lt;/span> pause
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h4 id="其他优化">其他优化&lt;/h4>
&lt;ul>
&lt;li>修改&lt;strong>AnalyticsCore&lt;/strong>，禁止MIUI自动分析&lt;/li>
&lt;li>修改&lt;strong>build.prop&lt;/strong>，添加以下字段，修复&lt;strong>Mipush&lt;/strong>&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>ro.miui.cust_variant&lt;span style="color:#f92672">=&lt;/span>cn
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>ro.miui.region&lt;span style="color:#f92672">=&lt;/span>CN
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h4 id="根据个人习惯自定义系统">根据个人习惯自定义系统&lt;/h4>
&lt;ul>
&lt;li>修改&lt;strong>charging.ogg&lt;/strong>、&lt;strong>disconnect.ogg&lt;/strong>、&lt;strong>LowBattery.ogg&lt;/strong>、&lt;strong>bootaudio.mp3&lt;/strong>去除多余提示音&lt;/li>
&lt;li>添加主题文件&lt;strong>com.android.systemui&lt;/strong>去除状态栏&lt;strong>HD&lt;/strong>图标，添加&lt;strong>com.miui.home&lt;/strong>修改桌面布局&lt;/li>
&lt;li>修改图标文件&lt;strong>icons&lt;/strong>&lt;/li>
&lt;li>K30系列可通过修改&lt;strong>DevicesOverlay.apk&lt;/strong>将药丸挖孔改为猪鼻孔&lt;/li>
&lt;/ul></description></item><item><title>Debian下安装Aria2</title><link>https://blog-old.pages.dev/posts/learn/221217-debian-install-aria2-pro/</link><pubDate>Sat, 17 Dec 2022 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/221217-debian-install-aria2-pro/</guid><description>&lt;h4 id="安装程序">安装程序&lt;/h4>
&lt;ul>
&lt;li>创建文件夹&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>mkdir &lt;span style="color:#f92672">-&lt;/span>p &lt;span style="color:#f92672">/&lt;/span>opt&lt;span style="color:#f92672">/&lt;/span>aria2&lt;span style="color:#f92672">/&lt;/span>temp &lt;span style="color:#f92672">&amp;amp;&amp;amp;&lt;/span> cd &lt;span style="color:#f92672">/&lt;/span>opt&lt;span style="color:#f92672">/&lt;/span>aria2&lt;span style="color:#f92672">/&lt;/span>temp
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>使用&lt;code>wget&lt;/code>命令下载 &lt;strong>Aria2 Pro&lt;/strong>，最新版本见&lt;a href="https://github.com/P3TERX/Aria2-Pro-Core/releases/" target="_blank" rel="noopener" style="color:#42b983";>Github&lt;/a>&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>wget https:&lt;span style="color:#75715e">//github.com/P3TERX/Aria2-Pro-Core/releases/download/1.36.0_2021.08.22/aria2-1.36.0-static-linux-amd64.tar.gz
&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>解压&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>tar &lt;span style="color:#f92672">-&lt;/span>zxvf aria2&lt;span style="color:#f92672">-&lt;/span>&lt;span style="color:#ae81ff">1.36.0&lt;/span>&lt;span style="color:#f92672">-&lt;/span>&lt;span style="color:#66d9ef">static&lt;/span>&lt;span style="color:#f92672">-&lt;/span>linux&lt;span style="color:#f92672">-&lt;/span>amd64.tar.gz
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>移动可执行文件&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>mv aria2c &lt;span style="color:#f92672">/&lt;/span>usr&lt;span style="color:#f92672">/&lt;/span>local&lt;span style="color:#f92672">/&lt;/span>bin
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>删除目录&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>rm &lt;span style="color:#f92672">-&lt;/span>rf &lt;span style="color:#f92672">/&lt;/span>opt&lt;span style="color:#f92672">/&lt;/span>aria2&lt;span style="color:#f92672">/&lt;/span>temp
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h4 id="修改配置">修改配置&lt;/h4>
&lt;ul>
&lt;li>创建目录以及session文件&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>mkdir &lt;span style="color:#f92672">/&lt;/span>opt&lt;span style="color:#f92672">/&lt;/span>aria2&lt;span style="color:#f92672">/&lt;/span>config &lt;span style="color:#f92672">&amp;amp;&amp;amp;&lt;/span> mkdir &lt;span style="color:#f92672">/&lt;/span>opt&lt;span style="color:#f92672">/&lt;/span>aria2&lt;span style="color:#f92672">/&lt;/span>downloads &lt;span style="color:#f92672">&amp;amp;&amp;amp;&lt;/span> touch &lt;span style="color:#f92672">/&lt;/span>opt&lt;span style="color:#f92672">/&lt;/span>aria2&lt;span style="color:#f92672">/&lt;/span>config&lt;span style="color:#f92672">/&lt;/span>aria2.session
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>下载配置，这里采用&lt;a href="https://github.com/P3TERX" target="_blank" rel="noopener" style="color:#42b983";>P3TERX&lt;/a>完美配置，项目地址见&lt;a href="https://github.com/P3TERX/aria2.conf" target="_blank" rel="noopener" style="color:#42b983";>Github&lt;/a>&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>https:&lt;span style="color:#75715e">//github.com/P3TERX/aria2.conf/archive/refs/heads/master.zip
&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>将配置解压，根据需求修改配置文件&lt;code>aria2.conf&lt;/code>，并将目录内所有文件上传至&lt;code>/opt/aria2/config&lt;/code>，&lt;code>aria2.conf&lt;/code>示例如下&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">#
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># https:&lt;/span>&lt;span style="color:#75715e">//github.com/P3TERX/aria2.conf
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>&lt;span style="color:#75715e"># File name：aria2.conf
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># Description: Awesome Aria2 configuration file
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># Version: 2021.09.15
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">#
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># Copyright (c) 2018-2021 P3TERX &amp;lt;https:&lt;/span>&lt;span style="color:#75715e">//p3terx.com&amp;gt;
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>&lt;span style="color:#75715e">#
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># This is free software, licensed under the MIT License.
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># See /LICENSE for more information.
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">#
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">## 文件保存设置 ##
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 下载目录。可使用绝对路径或相对路径, 默认: 当前启动位置
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>dir&lt;span style="color:#f92672">=/&lt;/span>opt&lt;span style="color:#f92672">/&lt;/span>aria2&lt;span style="color:#f92672">/&lt;/span>downloads&lt;span style="color:#f92672">/&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 磁盘缓存, 0 为禁用缓存，默认:16M
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 磁盘缓存的作用是把下载的数据块临时存储在内存中，然后集中写入硬盘，以减少磁盘 I/O ，提升读写性能，延长硬盘寿命。
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 建议在有足够的内存空闲情况下适当增加，但不要超过剩余可用内存空间大小。
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 此项值仅决定上限，实际对内存的占用取决于网速(带宽)和设备性能等其它因素。
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>disk&lt;span style="color:#f92672">-&lt;/span>cache&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">64&lt;/span>M
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 文件预分配方式, 可选：none, prealloc, trunc, falloc, 默认:prealloc
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 预分配对于机械硬盘可有效降低磁盘碎片、提升磁盘读写性能、延长磁盘寿命。
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 机械硬盘使用 ext4（具有扩展支持），btrfs，xfs 或 NTFS（仅 MinGW 编译版本）等文件系统建议设置为 falloc
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 若无法下载，提示 fallocate failed.cause：Operation not supported 则说明不支持，请设置为 none
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># prealloc 分配速度慢, trunc 无实际作用，不推荐使用。
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 固态硬盘不需要预分配，只建议设置为 none ，否则可能会导致双倍文件大小的数据写入，从而影响寿命。
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>file&lt;span style="color:#f92672">-&lt;/span>allocation&lt;span style="color:#f92672">=&lt;/span>none
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 文件预分配大小限制。小于此选项值大小的文件不预分配空间，单位 K 或 M，默认：5M
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>no&lt;span style="color:#f92672">-&lt;/span>file&lt;span style="color:#f92672">-&lt;/span>allocation&lt;span style="color:#f92672">-&lt;/span>limit&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">64&lt;/span>M
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 断点续传
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>&lt;span style="color:#66d9ef">continue&lt;/span>&lt;span style="color:#f92672">=&lt;/span>true
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 始终尝试断点续传，无法断点续传则终止下载，默认：true
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>always&lt;span style="color:#f92672">-&lt;/span>resume&lt;span style="color:#f92672">=&lt;/span>false
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 不支持断点续传的 URI 数值，当 always-resume=false 时生效。
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 达到这个数值从将头开始下载，值为 0 时所有 URI 不支持断点续传时才从头开始下载。
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>max&lt;span style="color:#f92672">-&lt;/span>resume&lt;span style="color:#f92672">-&lt;/span>failure&lt;span style="color:#f92672">-&lt;/span>tries&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">0&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 获取服务器文件时间，默认:false
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>remote&lt;span style="color:#f92672">-&lt;/span>time&lt;span style="color:#f92672">=&lt;/span>true
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">## 进度保存设置 ##
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 从会话文件中读取下载任务
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>input&lt;span style="color:#f92672">-&lt;/span>file&lt;span style="color:#f92672">=/&lt;/span>opt&lt;span style="color:#f92672">/&lt;/span>aria2&lt;span style="color:#f92672">/&lt;/span>config&lt;span style="color:#f92672">/&lt;/span>aria2.session
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 会话文件保存路径
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># Aria2 退出时或指定的时间间隔会保存`错误/未完成`的下载任务到会话文件
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>save&lt;span style="color:#f92672">-&lt;/span>session&lt;span style="color:#f92672">=/&lt;/span>opt&lt;span style="color:#f92672">/&lt;/span>aria2&lt;span style="color:#f92672">/&lt;/span>config&lt;span style="color:#f92672">/&lt;/span>aria2.session
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 任务状态改变后保存会话的间隔时间（秒）, 0 为仅在进程正常退出时保存, 默认:0
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 为了及时保存任务状态、防止任务丢失，此项值只建议设置为 1
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>save&lt;span style="color:#f92672">-&lt;/span>session&lt;span style="color:#f92672">-&lt;/span>interval&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">1&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 自动保存任务进度到控制文件(*.aria2)的间隔时间（秒），0 为仅在进程正常退出时保存，默认：60
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 此项值也会间接影响从内存中把缓存的数据写入磁盘的频率
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 想降低磁盘 IOPS (每秒读写次数)则提高间隔时间
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 想在意外非正常退出时尽量保存更多的下载进度则降低间隔时间
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 非正常退出：进程崩溃、系统崩溃、SIGKILL 信号、设备断电等
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>&lt;span style="color:#66d9ef">auto&lt;/span>&lt;span style="color:#f92672">-&lt;/span>save&lt;span style="color:#f92672">-&lt;/span>interval&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">20&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 强制保存，即使任务已完成也保存信息到会话文件, 默认:false
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 开启后会在任务完成后保留 .aria2 文件，文件被移除且任务存在的情况下重启后会重新下载。
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 关闭后已完成的任务列表会在重启后清空。
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>force&lt;span style="color:#f92672">-&lt;/span>save&lt;span style="color:#f92672">=&lt;/span>false
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">## 下载连接设置 ##
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 文件未找到重试次数，默认:0 (禁用)
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 重试时同时会记录重试次数，所以也需要设置 max-tries 这个选项
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>max&lt;span style="color:#f92672">-&lt;/span>file&lt;span style="color:#f92672">-&lt;/span>not&lt;span style="color:#f92672">-&lt;/span>found&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">10&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 最大尝试次数，0 表示无限，默认:5
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>max&lt;span style="color:#f92672">-&lt;/span>tries&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">0&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 重试等待时间（秒）, 默认:0 (禁用)
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>retry&lt;span style="color:#f92672">-&lt;/span>wait&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">10&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 连接超时时间（秒）。默认：60
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>connect&lt;span style="color:#f92672">-&lt;/span>timeout&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">10&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 超时时间（秒）。默认：60
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>timeout&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">10&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 最大同时下载任务数, 运行时可修改, 默认:5
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>max&lt;span style="color:#f92672">-&lt;/span>concurrent&lt;span style="color:#f92672">-&lt;/span>downloads&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">5&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 单服务器最大连接线程数, 任务添加时可指定, 默认:1
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 最大值为 16 (增强版无限制), 且受限于单任务最大连接线程数(split)所设定的值。
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>max&lt;span style="color:#f92672">-&lt;/span>connection&lt;span style="color:#f92672">-&lt;/span>per&lt;span style="color:#f92672">-&lt;/span>server&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">16&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 单任务最大连接线程数, 任务添加时可指定, 默认:5
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>split&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">64&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 文件最小分段大小, 添加时可指定, 取值范围 1M-1024M (增强版最小值为 1K), 默认:20M
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 比如此项值为 10M, 当文件为 20MB 会分成两段并使用两个来源下载, 文件为 15MB 则只使用一个来源下载。
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 理论上值越小使用下载分段就越多，所能获得的实际线程数就越大，下载速度就越快，但受限于所下载文件服务器的策略。
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>min&lt;span style="color:#f92672">-&lt;/span>split&lt;span style="color:#f92672">-&lt;/span>size&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">4&lt;/span>M
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># HTTP/FTP 下载分片大小，所有分割都必须是此项值的倍数，最小值为 1M (增强版为 1K)，默认：1M
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>piece&lt;span style="color:#f92672">-&lt;/span>length&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">1&lt;/span>M
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 允许分片大小变化。默认：false
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># false：当分片大小与控制文件中的不同时将会中止下载
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># true：丢失部分下载进度继续下载
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>allow&lt;span style="color:#f92672">-&lt;/span>piece&lt;span style="color:#f92672">-&lt;/span>length&lt;span style="color:#f92672">-&lt;/span>change&lt;span style="color:#f92672">=&lt;/span>true
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 最低下载速度限制。当下载速度低于或等于此选项的值时关闭连接（增强版本为重连），此选项与 BT 下载无关。单位 K 或 M ，默认：0 (无限制)
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>lowest&lt;span style="color:#f92672">-&lt;/span>speed&lt;span style="color:#f92672">-&lt;/span>limit&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">0&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 全局最大下载速度限制, 运行时可修改, 默认：0 (无限制)
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>max&lt;span style="color:#f92672">-&lt;/span>overall&lt;span style="color:#f92672">-&lt;/span>download&lt;span style="color:#f92672">-&lt;/span>limit&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">0&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 单任务下载速度限制, 默认：0 (无限制)
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>max&lt;span style="color:#f92672">-&lt;/span>download&lt;span style="color:#f92672">-&lt;/span>limit&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">0&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 禁用 IPv6, 默认:false
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>disable&lt;span style="color:#f92672">-&lt;/span>ipv6&lt;span style="color:#f92672">=&lt;/span>false
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># GZip 支持，默认:false
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>http&lt;span style="color:#f92672">-&lt;/span>accept&lt;span style="color:#f92672">-&lt;/span>gzip&lt;span style="color:#f92672">=&lt;/span>true
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># URI 复用，默认: true
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>reuse&lt;span style="color:#f92672">-&lt;/span>uri&lt;span style="color:#f92672">=&lt;/span>false
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 禁用 netrc 支持，默认:false
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>no&lt;span style="color:#f92672">-&lt;/span>netrc&lt;span style="color:#f92672">=&lt;/span>true
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 允许覆盖，当相关控制文件(.aria2)不存在时从头开始重新下载。默认:false
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>allow&lt;span style="color:#f92672">-&lt;/span>overwrite&lt;span style="color:#f92672">=&lt;/span>false
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 文件自动重命名，此选项仅在 HTTP(S)/FTP 下载中有效。新文件名在名称之后扩展名之前加上一个点和一个数字（1..9999）。默认:true
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>&lt;span style="color:#66d9ef">auto&lt;/span>&lt;span style="color:#f92672">-&lt;/span>file&lt;span style="color:#f92672">-&lt;/span>renaming&lt;span style="color:#f92672">=&lt;/span>true
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 使用 UTF-8 处理 Content-Disposition ，默认:false
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>content&lt;span style="color:#f92672">-&lt;/span>disposition&lt;span style="color:#f92672">-&lt;/span>&lt;span style="color:#66d9ef">default&lt;/span>&lt;span style="color:#f92672">-&lt;/span>utf8&lt;span style="color:#f92672">=&lt;/span>true
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 最低 TLS 版本，可选：TLSv1.1、TLSv1.2、TLSv1.3 默认:TLSv1.2
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">#min-tls-version=TLSv1.2
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">## BT/PT 下载设置 ##
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># BT 监听端口(TCP), 默认:6881-6999
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 直通外网的设备，比如 VPS ，务必配置防火墙和安全组策略允许此端口入站
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 内网环境的设备，比如 NAS ，除了防火墙设置，还需在路由器设置外网端口转发到此端口
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>listen&lt;span style="color:#f92672">-&lt;/span>port&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">5007&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># DHT 网络与 UDP tracker 监听端口(UDP), 默认:6881-6999
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 因协议不同，可以与 BT 监听端口使用相同的端口，方便配置防火墙和端口转发策略。
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>dht&lt;span style="color:#f92672">-&lt;/span>listen&lt;span style="color:#f92672">-&lt;/span>port&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">5007&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 启用 IPv4 DHT 功能, PT 下载(私有种子)会自动禁用, 默认:true
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>enable&lt;span style="color:#f92672">-&lt;/span>dht&lt;span style="color:#f92672">=&lt;/span>true
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 启用 IPv6 DHT 功能, PT 下载(私有种子)会自动禁用，默认:false
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 在没有 IPv6 支持的环境开启可能会导致 DHT 功能异常
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>enable&lt;span style="color:#f92672">-&lt;/span>dht6&lt;span style="color:#f92672">=&lt;/span>true
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 指定 BT 和 DHT 网络中的 IP 地址
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 使用场景：在家庭宽带没有公网 IP 的情况下可以把 BT 和 DHT 监听端口转发至具有公网 IP 的服务器，在此填写服务器的 IP ，可以提升 BT 下载速率。
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">#bt-external-ip=
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># IPv4 DHT 文件路径，默认：$HOME/.aria2/dht.dat
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>dht&lt;span style="color:#f92672">-&lt;/span>file&lt;span style="color:#f92672">-&lt;/span>path&lt;span style="color:#f92672">=/&lt;/span>opt&lt;span style="color:#f92672">/&lt;/span>aria2&lt;span style="color:#f92672">/&lt;/span>config&lt;span style="color:#f92672">/&lt;/span>dht.dat
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># IPv6 DHT 文件路径，默认：$HOME/.aria2/dht6.dat
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>dht&lt;span style="color:#f92672">-&lt;/span>file&lt;span style="color:#f92672">-&lt;/span>path6&lt;span style="color:#f92672">=/&lt;/span>opt&lt;span style="color:#f92672">/&lt;/span>aria2&lt;span style="color:#f92672">/&lt;/span>config&lt;span style="color:#f92672">/&lt;/span>dht6.dat
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># IPv4 DHT 网络引导节点
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>dht&lt;span style="color:#f92672">-&lt;/span>entry&lt;span style="color:#f92672">-&lt;/span>point&lt;span style="color:#f92672">=&lt;/span>dht.transmissionbt.com:&lt;span style="color:#ae81ff">6881&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># IPv6 DHT 网络引导节点
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>dht&lt;span style="color:#f92672">-&lt;/span>entry&lt;span style="color:#f92672">-&lt;/span>point6&lt;span style="color:#f92672">=&lt;/span>dht.transmissionbt.com:&lt;span style="color:#ae81ff">6881&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 本地节点发现, PT 下载(私有种子)会自动禁用 默认:false
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>bt&lt;span style="color:#f92672">-&lt;/span>enable&lt;span style="color:#f92672">-&lt;/span>lpd&lt;span style="color:#f92672">=&lt;/span>true
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 指定用于本地节点发现的接口，可能的值：接口，IP地址
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 如果未指定此选项，则选择默认接口。
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">#bt-lpd-interface=
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 启用节点交换, PT 下载(私有种子)会自动禁用, 默认:true
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>enable&lt;span style="color:#f92672">-&lt;/span>peer&lt;span style="color:#f92672">-&lt;/span>exchange&lt;span style="color:#f92672">=&lt;/span>true
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># BT 下载最大连接数（单任务），运行时可修改。0 为不限制，默认:55
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 理想情况下连接数越多下载越快，但在实际情况是只有少部分连接到的做种者上传速度快，其余的上传慢或者不上传。
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 如果不限制，当下载非常热门的种子或任务数非常多时可能会因连接数过多导致进程崩溃或网络阻塞。
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 进程崩溃：如果设备 CPU 性能一般，连接数过多导致 CPU 占用过高，因资源不足 Aria2 进程会强制被终结。
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 网络阻塞：在内网环境下，即使下载没有占满带宽也会导致其它设备无法正常上网。因远古低性能路由器的转发性能瓶颈导致。
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>bt&lt;span style="color:#f92672">-&lt;/span>max&lt;span style="color:#f92672">-&lt;/span>peers&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">128&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># BT 下载期望速度值（单任务），运行时可修改。单位 K 或 M 。默认:50K
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># BT 下载速度低于此选项值时会临时提高连接数来获得更快的下载速度，不过前提是有更多的做种者可供连接。
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 实测临时提高连接数没有上限，但不会像不做限制一样无限增加，会根据算法进行合理的动态调节。
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>bt&lt;span style="color:#f92672">-&lt;/span>request&lt;span style="color:#f92672">-&lt;/span>peer&lt;span style="color:#f92672">-&lt;/span>speed&lt;span style="color:#f92672">-&lt;/span>limit&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">10&lt;/span>M
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 全局最大上传速度限制, 运行时可修改, 默认:0 (无限制)
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 设置过低可能影响 BT 下载速度
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>max&lt;span style="color:#f92672">-&lt;/span>overall&lt;span style="color:#f92672">-&lt;/span>upload&lt;span style="color:#f92672">-&lt;/span>limit&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">0&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 单任务上传速度限制, 默认:0 (无限制)
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>max&lt;span style="color:#f92672">-&lt;/span>upload&lt;span style="color:#f92672">-&lt;/span>limit&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">0&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 最小分享率。当种子的分享率达到此选项设置的值时停止做种, 0 为一直做种, 默认:1.0
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 强烈建议您将此选项设置为大于等于 1.0
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>seed&lt;span style="color:#f92672">-&lt;/span>ratio&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">3.0&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 最小做种时间（分钟）。设置为 0 时将在 BT 任务下载完成后停止做种。
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>seed&lt;span style="color:#f92672">-&lt;/span>time&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">3600&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 做种前检查文件哈希, 默认:true
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>bt&lt;span style="color:#f92672">-&lt;/span>hash&lt;span style="color:#f92672">-&lt;/span>check&lt;span style="color:#f92672">-&lt;/span>seed&lt;span style="color:#f92672">=&lt;/span>true
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 继续之前的BT任务时, 无需再次校验, 默认:false
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>bt&lt;span style="color:#f92672">-&lt;/span>seed&lt;span style="color:#f92672">-&lt;/span>unverified&lt;span style="color:#f92672">=&lt;/span>false
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># BT tracker 服务器连接超时时间（秒）。默认：60
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 建立连接后，此选项无效，将使用 bt-tracker-timeout 选项的值
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>bt&lt;span style="color:#f92672">-&lt;/span>tracker&lt;span style="color:#f92672">-&lt;/span>connect&lt;span style="color:#f92672">-&lt;/span>timeout&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">10&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># BT tracker 服务器超时时间（秒）。默认：60
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>bt&lt;span style="color:#f92672">-&lt;/span>tracker&lt;span style="color:#f92672">-&lt;/span>timeout&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">10&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># BT 服务器连接间隔时间（秒）。默认：0 (自动)
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">#bt-tracker-interval=0
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># BT 下载优先下载文件开头或结尾
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>bt&lt;span style="color:#f92672">-&lt;/span>prioritize&lt;span style="color:#f92672">-&lt;/span>piece&lt;span style="color:#f92672">=&lt;/span>head&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">32&lt;/span>M,tail&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">32&lt;/span>M
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 保存通过 WebUI(RPC) 上传的种子文件(.torrent)，默认:true
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 所有涉及种子文件保存的选项都建议开启，不保存种子文件有任务丢失的风险。
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 通过 RPC 自定义临时下载目录可能不会保存种子文件。
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>rpc&lt;span style="color:#f92672">-&lt;/span>save&lt;span style="color:#f92672">-&lt;/span>upload&lt;span style="color:#f92672">-&lt;/span>metadata&lt;span style="color:#f92672">=&lt;/span>true
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 下载种子文件(.torrent)自动开始下载, 默认:true，可选：false|mem
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># true：保存种子文件
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># false：仅下载种子文件
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># mem：将种子保存在内存中
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>follow&lt;span style="color:#f92672">-&lt;/span>torrent&lt;span style="color:#f92672">=&lt;/span>true
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 种子文件下载完后暂停任务，默认：false
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 在开启 follow-torrent 选项后下载种子文件或磁力会自动开始下载任务进行下载，而同时开启当此选项后会建立相关任务并暂停。
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>pause&lt;span style="color:#f92672">-&lt;/span>metadata&lt;span style="color:#f92672">=&lt;/span>false
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 保存磁力链接元数据为种子文件(.torrent), 默认:false
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>bt&lt;span style="color:#f92672">-&lt;/span>save&lt;span style="color:#f92672">-&lt;/span>metadata&lt;span style="color:#f92672">=&lt;/span>true
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 加载已保存的元数据文件(.torrent)，默认:false
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>bt&lt;span style="color:#f92672">-&lt;/span>load&lt;span style="color:#f92672">-&lt;/span>saved&lt;span style="color:#f92672">-&lt;/span>metadata&lt;span style="color:#f92672">=&lt;/span>true
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 删除 BT 下载任务中未选择文件，默认:false
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>bt&lt;span style="color:#f92672">-&lt;/span>remove&lt;span style="color:#f92672">-&lt;/span>unselected&lt;span style="color:#f92672">-&lt;/span>file&lt;span style="color:#f92672">=&lt;/span>true
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># BT强制加密, 默认: false
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 启用后将拒绝旧的 BT 握手协议并仅使用混淆握手及加密。可以解决部分运营商对 BT 下载的封锁，且有一定的防版权投诉与迅雷吸血效果。
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 此选项相当于后面两个选项(bt-require-crypto=true, bt-min-crypto-level=arc4)的快捷开启方式，但不会修改这两个选项的值。
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>bt&lt;span style="color:#f92672">-&lt;/span>force&lt;span style="color:#f92672">-&lt;/span>encryption&lt;span style="color:#f92672">=&lt;/span>true
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># BT加密需求，默认：false
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 启用后拒绝与旧的 BitTorrent 握手协议(\19BitTorrent protocol)建立连接，始终使用混淆处理握手。
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">#bt-require-crypto=true
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># BT最低加密等级，可选：plain（明文），arc4（加密），默认：plain
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">#bt-min-crypto-level=arc4
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 分离仅做种任务，默认：false
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 从正在下载的任务中排除已经下载完成且正在做种的任务，并开始等待列表中的下一个任务。
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>bt&lt;span style="color:#f92672">-&lt;/span>detach&lt;span style="color:#f92672">-&lt;/span>seed&lt;span style="color:#f92672">-&lt;/span>only&lt;span style="color:#f92672">=&lt;/span>true
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">## 客户端伪装 ##
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 自定义 User Agent
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># user-agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36 Edg/93.0.961.47
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># BT 客户端伪装
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># PT 下载需要保持 user-agent 和 peer-agent 两个参数一致
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 部分 PT 站对 Aria2 有特殊封禁机制，客户端伪装不一定有效，且有封禁账号的风险。
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>user&lt;span style="color:#f92672">-&lt;/span>agent&lt;span style="color:#f92672">=&lt;/span>Deluge &lt;span style="color:#ae81ff">1.3.15&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>peer&lt;span style="color:#f92672">-&lt;/span>agent&lt;span style="color:#f92672">=&lt;/span>Deluge &lt;span style="color:#ae81ff">1.3.15&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>peer&lt;span style="color:#f92672">-&lt;/span>id&lt;span style="color:#f92672">-&lt;/span>prefix&lt;span style="color:#f92672">=-&lt;/span>DE13F0&lt;span style="color:#f92672">-&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">## 执行额外命令 ##
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 下载停止后执行的命令
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 从 正在下载 到 删除、错误、完成 时触发。暂停被标记为未开始下载，故与此项无关。
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>on&lt;span style="color:#f92672">-&lt;/span>download&lt;span style="color:#f92672">-&lt;/span>stop&lt;span style="color:#f92672">=/&lt;/span>opt&lt;span style="color:#f92672">/&lt;/span>aria2&lt;span style="color:#f92672">/&lt;/span>config&lt;span style="color:#f92672">/&lt;/span>delete.sh
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 下载完成后执行的命令
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 此项未定义则执行 下载停止后执行的命令 (on-download-stop)
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>on&lt;span style="color:#f92672">-&lt;/span>download&lt;span style="color:#f92672">-&lt;/span>complete&lt;span style="color:#f92672">=/&lt;/span>opt&lt;span style="color:#f92672">/&lt;/span>aria2&lt;span style="color:#f92672">/&lt;/span>config&lt;span style="color:#f92672">/&lt;/span>clean.sh
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 下载错误后执行的命令
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 此项未定义则执行 下载停止后执行的命令 (on-download-stop)
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">#on-download-error=
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 下载暂停后执行的命令
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">#on-download-pause=
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 下载开始后执行的命令
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">#on-download-start=
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># BT 下载完成后执行的命令
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">#on-bt-download-complete=
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">## RPC 设置 ##
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 启用 JSON-RPC/XML-RPC 服务器, 默认:false
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>enable&lt;span style="color:#f92672">-&lt;/span>rpc&lt;span style="color:#f92672">=&lt;/span>true
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 接受所有远程请求, 默认:false
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>rpc&lt;span style="color:#f92672">-&lt;/span>allow&lt;span style="color:#f92672">-&lt;/span>origin&lt;span style="color:#f92672">-&lt;/span>all&lt;span style="color:#f92672">=&lt;/span>true
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 允许外部访问, 默认:false
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>rpc&lt;span style="color:#f92672">-&lt;/span>listen&lt;span style="color:#f92672">-&lt;/span>all&lt;span style="color:#f92672">=&lt;/span>true
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># RPC 监听端口, 默认:6800
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>rpc&lt;span style="color:#f92672">-&lt;/span>listen&lt;span style="color:#f92672">-&lt;/span>port&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">5006&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># RPC 密钥
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>rpc&lt;span style="color:#f92672">-&lt;/span>secret&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">123456&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># RPC 最大请求大小
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>rpc&lt;span style="color:#f92672">-&lt;/span>max&lt;span style="color:#f92672">-&lt;/span>request&lt;span style="color:#f92672">-&lt;/span>size&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">10&lt;/span>M
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># RPC 服务 SSL/TLS 加密, 默认：false
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 启用加密后必须使用 https 或者 wss 协议连接
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 不推荐开启，建议使用 web server 反向代理，比如 Nginx、Caddy ，灵活性更强。
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">#rpc-secure=false
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 在 RPC 服务中启用 SSL/TLS 加密时的证书文件(.pem/.crt)
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">#rpc-certificate=/root/.aria2/xxx.pem
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 在 RPC 服务中启用 SSL/TLS 加密时的私钥文件(.key)
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">#rpc-private-key=/root/.aria2/xxx.key
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 事件轮询方式, 可选：epoll, kqueue, port, poll, select, 不同系统默认值不同
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">#event-poll=select
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">## 高级选项 ##
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 启用异步 DNS 功能。默认：true
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">#async-dns=true
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 指定异步 DNS 服务器列表，未指定则从 /etc/resolv.conf 中读取。
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">#async-dns-server=119.29.29.29,223.5.5.5,8.8.8.8,1.1.1.1
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 指定单个网络接口，可能的值：接口，IP地址，主机名
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 如果接口具有多个 IP 地址，则建议指定 IP 地址。
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 已知指定网络接口会影响依赖本地 RPC 的连接的功能场景，即通过 localhost 和 127.0.0.1 无法与 Aria2 服务端进行讯通。
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">#interface=
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 指定多个网络接口，多个值之间使用逗号(,)分隔。
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 使用 interface 选项时会忽略此项。
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">#multiple-interface=
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">## 日志设置 ##
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 日志文件保存路径，忽略或设置为空为不保存，默认：不保存
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">#log=
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 日志级别，可选 debug, info, notice, warn, error 。默认：debug
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">#log-level=warn
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 控制台日志级别，可选 debug, info, notice, warn, error ，默认：notice
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>console&lt;span style="color:#f92672">-&lt;/span>log&lt;span style="color:#f92672">-&lt;/span>level&lt;span style="color:#f92672">=&lt;/span>notice
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 安静模式，禁止在控制台输出日志，默认：false
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>quiet&lt;span style="color:#f92672">=&lt;/span>false
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 下载进度摘要输出间隔时间（秒），0 为禁止输出。默认：60
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>summary&lt;span style="color:#f92672">-&lt;/span>interval&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">0&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 关闭控制台进度条输出，避免日志里面打印大量空行
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>show&lt;span style="color:#f92672">-&lt;/span>console&lt;span style="color:#f92672">-&lt;/span>readout&lt;span style="color:#f92672">=&lt;/span>false
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">## 增强扩展设置(非官方) ##
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 仅适用于 myfreeer/aria2-build-msys2 (Windows) 和 P3TERX/Aria2-Pro-Core (GNU/Linux) 项目所构建的增强版本
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 在服务器返回 HTTP 400 Bad Request 时重试，仅当 retry-wait &amp;gt; 0 时有效，默认 false
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">#retry-on-400=true
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 在服务器返回 HTTP 403 Forbidden 时重试，仅当 retry-wait &amp;gt; 0 时有效，默认 false
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">#retry-on-403=true
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 在服务器返回 HTTP 406 Not Acceptable 时重试，仅当 retry-wait &amp;gt; 0 时有效，默认 false
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">#retry-on-406=true
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 在服务器返回未知状态码时重试，仅当 retry-wait &amp;gt; 0 时有效，默认 false
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">#retry-on-unknown=true
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 是否发送 Want-Digest HTTP 标头。默认：false (不发送)
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 部分网站会把此标头作为特征来检测和屏蔽 Aria2
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">#http-want-digest=false
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">## BitTorrent trackers ##
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>bt&lt;span style="color:#f92672">-&lt;/span>tracker&lt;span style="color:#f92672">=&lt;/span>http:&lt;span style="color:#75715e">//1337.abcvg.info:80/announce,http://207.241.226.111:6969/announce,http://207.241.231.226:6969/announce,http://49.12.76.8:8080/announce,http://[2a01:4f8:c012:8025::1]:8080/announce,http://[2a04:ac00:1:3dd8::1:2710]:2710/announce,http://bt.okmp3.ru:2710/announce,http://bvarf.tracker.sh:2086/announce,http://ch3oh.ru:6969/announce,http://ipv4announce.sktorrent.eu:6969/announce,http://ipv6.rer.lol:6969/announce,http://nyaa.tracker.wf:7777/announce,http://open-v6.demonoid.ch:6969/announce,http://open.acgnxtracker.com:80/announce,http://p2p.0g.cx:6969/announce,http://retracker.hotplug.ru:2710/announce,http://t1.aag.moe:17715/announce,http://tk.greedland.net:80/announce,http://torrentsmd.com:8080/announce,http://tracker-zhuqiy.dgj055.icu:80/announce,http://tracker.bt4g.com:2095/announce,http://tracker.dler.org:6969/announce,http://tracker.electro-torrent.pl:80/announce,http://tracker.files.fm:6969/announce,http://tracker.gbitt.info:80/announce,http://tracker.ipv6tracker.ru:80/announce,http://tracker.k.vu:6969/announce,http://tracker.leena.network:6969/announce,http://tracker.mywaifu.best:6969/announce,http://tracker.opentrackr.org:1337/announce,http://tracker.renfei.net:8080/announce,http://tracker2.itzmx.com:6961/announce,http://tracker3.itzmx.com:6961/announce,http://tracker4.itzmx.com:2710/announce,http://wepzone.net:6969/announce,http://www.all4nothin.net:80/announce.php,http://www.wareztorrent.com:80/announce,https://1337.abcvg.info:443/announce,https://bt.ptlsp.com:443/announce,https://t1.hloli.org:443/announce,https://tr.burnabyhighstar.com:443/announce,https://tracker-zhuqiy.dgj055.icu:443/announce,https://tracker.cloudit.top:443/announce,https://tracker.expli.top:443/announce,https://tracker.gbitt.info:443/announce,https://tracker.gcrreen.xyz:443/announce,https://tracker.imgoingto.icu:443/announce,https://tracker.ipfsscan.io:443/announce,https://tracker.kuroy.me:443/announce,https://tracker.loligirl.cn:443/announce,https://tracker.pmman.tech:443/announce,https://tracker.renfei.net:443/announce,https://tracker.tamersunion.org:443/announce,https://tracker1.520.jp:443/announce,https://trackers.mlsub.net:443/announce,https://trackers.ptlsp.com:443/announce,udp://1c.premierzal.ru:6969/announce,udp://207.241.226.111:6969/announce,udp://207.241.231.226:6969/announce,udp://49.12.76.8:8080/announce,udp://52.58.128.163:6969/announce,udp://6ahddutb1ucc3cp.ru:6969/announce,udp://[2a01:4f8:c012:8025::1]:8080/announce,udp://[2a03:7220:8083:cd00::1]:451/announce,udp://[2a04:ac00:1:3dd8::1:2710]:2710/announce,udp://[2a0f:e586:f:f::81]:6969/announce,udp://aegir.sexy:6969/announce,udp://amigacity.xyz:6969/announce,udp://api.boletera.org:3074/announce,udp://bt.ktrackers.com:6666/announce,udp://bt1.archive.org:6969/announce,udp://bt2.archive.org:6969/announce,udp://bubu.mapfactor.com:6969/announce,udp://concen.org:6969/announce,udp://d40969.acod.regrucolo.ru:6969/announce,udp://ec2-18-191-163-220.us-east-2.compute.amazonaws.com:6969/announce,udp://epider.me:6969/announce,udp://evan.im:6969/announce,udp://exodus.desync.com:6969/announce,udp://fh2.cmp-gaming.com:6969/announce,udp://free.publictracker.xyz:6969/announce,udp://freedomalternative.com:6969/announce,udp://inferno.demonoid.is:3391/announce,udp://ipv4.rer.lol:2710/announce,udp://ipv6.fuuuuuck.com:6969/announce,udp://isk.richardsw.club:6969/announce,udp://jutone.com:6969/announce,udp://lulz.vpndb.org:3000/announce,udp://martin-gebhardt.eu:25/announce,udp://moonburrow.club:6969/announce,udp://new-line.net:6969/announce,udp://odd-hd.fr:6969/announce,udp://oh.fuuuuuck.com:6969/announce,udp://open-tracker.demonoid.ch:6969/announce,udp://open.demonii.com:1337/announce,udp://open.demonoid.ch:6969/announce,udp://open.free-tracker.ga:6969/announce,udp://open.publictracker.xyz:6969/announce,udp://open.stealth.si:80/announce,udp://open.tracker.ink:6969/announce,udp://opentor.org:2710/announce,udp://opentracker.io:6969/announce,udp://p2p.publictracker.xyz:6969/announce,udp://p4p.arenabg.com:1337/announce,udp://public.demonoid.ch:6969/announce,udp://public.tracker.vraphim.com:6969/announce,udp://retracker.hotplug.ru:2710/announce,udp://retracker.lanta.me:2710/announce,udp://retracker01-msk-virt.corbina.net:80/announce,udp://run-2.publictracker.xyz:6969/announce,udp://run.publictracker.xyz:6969/announce,udp://ryjer.com:6969/announce,udp://tamas3.ynh.fr:6969/announce,udp://torrents.artixlinux.org:6969/announce,udp://tracker-udp.gbitt.info:80/announce,udp://tracker-us.silksa.co.za:6969/announce,udp://tracker.0x7c0.com:6969/announce,udp://tracker.anima.nz:6969/announce,udp://tracker.bittor.pw:1337/announce,udp://tracker.ccp.ovh:6969/announce,udp://tracker.cyberia.is:6969/announce,udp://tracker.darkness.services:6969/announce,udp://tracker.ddunlimited.net:6969/announce,udp://tracker.deadorbit.nl:6969/announce,udp://tracker.dler.com:6969/announce,udp://tracker.dler.org:6969/announce,udp://tracker.farted.net:6969/announce,udp://tracker.filemail.com:6969/announce,udp://tracker.fnix.net:6969/announce,udp://tracker.jamesthebard.net:6969/announce,udp://tracker.leena.network:6969/announce,udp://tracker.moeking.me:6969/announce,udp://tracker.opentrackr.org:1337/announce,udp://tracker.picotorrent.one:6969/announce,udp://tracker.publictracker.xyz:6969/announce,udp://tracker.qu.ax:6969/announce,udp://tracker.silksa.co.za:6969/announce,udp://tracker.skyts.net:6969/announce,udp://tracker.srv00.com:6969/announce,udp://tracker.t-rb.org:6969/announce,udp://tracker.theoks.net:6969/announce,udp://tracker.therarbg.com:6969/announce,udp://tracker.therarbg.to:6969/announce,udp://tracker.tiny-vps.com:6969/announce,udp://tracker.torrent.eu.org:451/announce,udp://tracker.tryhackx.org:6969/announce,udp://tracker.vds.nz:6969/announce,udp://tracker1.bt.moack.co.kr:80/announce,udp://tracker1.myporn.club:9337/announce,udp://tracker2.dler.com:80/announce,udp://tracker2.dler.org:80/announce,udp://tracker2.itzmx.com:6961/announce,udp://tracker3.itzmx.com:6961/announce,udp://tracker4.itzmx.com:2710/announce,udp://ttk2.nbaonlineservice.com:6969/announce,udp://u.peer-exchange.download:6969/announce,udp://u4.trakx.crim.ist:1337/announce,udp://u6.trakx.crim.ist:1337/announce,udp://wepzone.net:6969/announce,udp://www.torrent.eu.org:451/announce,wss://tracker.openwebtorrent.com:443/announce
&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h4 id="设置开机自启">设置开机自启&lt;/h4>
&lt;ul>
&lt;li>创建目录&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>mkdir &lt;span style="color:#f92672">-&lt;/span>p &lt;span style="color:#f92672">/&lt;/span>usr&lt;span style="color:#f92672">/&lt;/span>lib&lt;span style="color:#f92672">/&lt;/span>systemd&lt;span style="color:#f92672">/&lt;/span>system
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>编辑自启文件&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>vim &lt;span style="color:#f92672">/&lt;/span>usr&lt;span style="color:#f92672">/&lt;/span>lib&lt;span style="color:#f92672">/&lt;/span>systemd&lt;span style="color:#f92672">/&lt;/span>system&lt;span style="color:#f92672">/&lt;/span>aria2.service
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>[Unit]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>Description&lt;span style="color:#f92672">=&lt;/span>aria2c
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>[Service]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>ExecStart&lt;span style="color:#f92672">=&lt;/span>aria2c &lt;span style="color:#f92672">--&lt;/span>conf&lt;span style="color:#f92672">-&lt;/span>path&lt;span style="color:#f92672">=/&lt;/span>opt&lt;span style="color:#f92672">/&lt;/span>aria2&lt;span style="color:#f92672">/&lt;/span>config&lt;span style="color:#f92672">/&lt;/span>aria2.conf
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>Restart&lt;span style="color:#f92672">=&lt;/span>on&lt;span style="color:#f92672">-&lt;/span>abnormal
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>[Install]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>WantedBy&lt;span style="color:#f92672">=&lt;/span>multi&lt;span style="color:#f92672">-&lt;/span>user.target
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>允许开机启动&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>systemctl enable aria2
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>启动进程&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>systemctl start aria2
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description></item><item><title>Aria2之Docker部署</title><link>https://blog-old.pages.dev/posts/learn/221216-docker-install-aria2-pro/</link><pubDate>Fri, 16 Dec 2022 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/221216-docker-install-aria2-pro/</guid><description>&lt;p>Aria2 是目前最强大的全能型&lt;strong>下载工具&lt;/strong>，它支持 BT、磁力、HTTP、FTP 等下载协议，常用做&lt;strong>离线下载&lt;/strong>的服务端。这里采用了&lt;a href="https://github.com/P3TERX" target="_blank" rel="noopener" style="color:#42b983";>P3TERX&lt;/a>大佬的&lt;a href="https://github.com/P3TERX/Aria2-Pro-Docker" target="_blank" rel="noopener" style="color:#42b983";>Aria2 Pro&lt;/a>项目。&lt;/p>
&lt;ul>
&lt;li>启动容器，为了方便使用&lt;strong>IPV6&lt;/strong>，网络采用&lt;strong>Host模式&lt;/strong>&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>docker run &lt;span style="color:#f92672">-&lt;/span>d \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">--&lt;/span>name aria2 \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">--&lt;/span>restart always \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">--&lt;/span>network host \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">--&lt;/span>log&lt;span style="color:#f92672">-&lt;/span>opt max&lt;span style="color:#f92672">-&lt;/span>size&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">1&lt;/span>m \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">-&lt;/span>e PUID&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#960050;background-color:#1e0010">$&lt;/span>UID \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">-&lt;/span>e PGID&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#960050;background-color:#1e0010">$&lt;/span>GID \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">-&lt;/span>e IPV6_MODE&lt;span style="color:#f92672">=&lt;/span>true \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">-&lt;/span>e RPC_SECRET&lt;span style="color:#f92672">=&lt;/span>E7t3vdHKLPyUa8a2 \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">-&lt;/span>e RPC_PORT&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">5006&lt;/span> \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">-&lt;/span>e LISTEN_PORT&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">5007&lt;/span> \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">-&lt;/span>v &lt;span style="color:#f92672">/&lt;/span>opt&lt;span style="color:#f92672">/&lt;/span>aria2&lt;span style="color:#f92672">/&lt;/span>config:&lt;span style="color:#f92672">/&lt;/span>config \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">-&lt;/span>v &lt;span style="color:#f92672">/&lt;/span>opt&lt;span style="color:#f92672">/&lt;/span>aria2&lt;span style="color:#f92672">/&lt;/span>downloads:&lt;span style="color:#f92672">/&lt;/span>downloads \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> p3terx&lt;span style="color:#f92672">/&lt;/span>aria2&lt;span style="color:#f92672">-&lt;/span>pro
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>更多进阶使用方法，见项目&lt;a href="https://p3terx.com/archives/docker-aria2-pro.html" target="_blank" rel="noopener" style="color:#42b983";>中文官网&lt;/a>&lt;/li>
&lt;/ul></description></item><item><title>RenewX之Docker部署</title><link>https://blog-old.pages.dev/posts/learn/221121-docker-install-renewx/</link><pubDate>Mon, 21 Nov 2022 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/221121-docker-install-renewx/</guid><description>&lt;ul>
&lt;li>创建RenewX配置文件&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>mkdir &lt;span style="color:#f92672">-&lt;/span>p &lt;span style="color:#f92672">/&lt;/span>opt&lt;span style="color:#f92672">/&lt;/span>renewx&lt;span style="color:#f92672">/&lt;/span>deploy &lt;span style="color:#f92672">&amp;amp;&amp;amp;&lt;/span> touch &lt;span style="color:#f92672">/&lt;/span>opt&lt;span style="color:#f92672">/&lt;/span>renewx&lt;span style="color:#f92672">/&lt;/span>deploy&lt;span style="color:#f92672">/&lt;/span>Config.xml
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>修改配置文件&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>vim &lt;span style="color:#f92672">/&lt;/span>opt&lt;span style="color:#f92672">/&lt;/span>renewx&lt;span style="color:#f92672">/&lt;/span>deploy&lt;span style="color:#f92672">/&lt;/span>Config.xml
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-xml" data-lang="xml">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&amp;lt;?xml version=&amp;#34;1.0&amp;#34; encoding=&amp;#34;utf-8&amp;#34; ?&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">&amp;lt;Configuration&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e">&amp;lt;!--站点服务器基本配置--&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;lt;Serivce&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e">&amp;lt;!--服务访问端口--&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;lt;Port&amp;gt;&lt;/span>5005&lt;span style="color:#f92672">&amp;lt;/Port&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e">&amp;lt;!--管理员密码(管理员登录路由/Admin/Login) 重要：首次启动前必须更改--&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;lt;LoginPassword&amp;gt;&lt;/span>159357&lt;span style="color:#f92672">&amp;lt;/LoginPassword&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e">&amp;lt;!--是否启用内核多线程支持--&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;lt;CoreMultiThread&amp;gt;&lt;/span>true&lt;span style="color:#f92672">&amp;lt;/CoreMultiThread&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e">&amp;lt;!--网站备案（选填）--&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;lt;ICP&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e">&amp;lt;!--备案显示文本--&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;lt;Text&amp;gt;&amp;lt;/Text&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e">&amp;lt;!--备案管理查询机构跳转链接--&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;lt;Link&amp;gt;&lt;/span>https://beian.miit.gov.cn&lt;span style="color:#f92672">&amp;lt;/Link&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;lt;/ICP&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e">&amp;lt;!--Bootstrap CDN 若要更改请务必使用bootstrap@5.1.3版本（选填）--&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;lt;CDN&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e">&amp;lt;!--Bootstrap CSS文件CDN bootstrap.min.css--&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;lt;CSS&amp;gt;&lt;/span>https://cdn.staticfile.org/bootstrap/5.1.3/css/bootstrap.min.css&lt;span style="color:#f92672">&amp;lt;/CSS&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e">&amp;lt;!--Bootstrap JS文件CDN bootstrap.bundle.min.js--&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;lt;JS&amp;gt;&lt;/span>https://cdn.staticfile.org/bootstrap/5.1.3/js/bootstrap.bundle.min.js&lt;span style="color:#f92672">&amp;lt;/JS&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;lt;/CDN&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;lt;/Serivce&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e">&amp;lt;!--站点Kestrel服务器HTTPS配置 （只支持IIS证书类型 即PFX格式的证书）--&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;lt;HTTPS&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e">&amp;lt;!--Kestrel是否启用HTTPS(SSL加密传输)--&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;lt;Enable&amp;gt;&lt;/span>false&lt;span style="color:#f92672">&amp;lt;/Enable&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e">&amp;lt;!--SSL证书文件名 (需要将PFX格式的SSL证书放置于该配置文件的同级目录Deploy文件夹下) 如e5.sundayrx.net.pfx--&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e">&amp;lt;!--不填则默认使用Dev localhost 本地证书--&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;lt;Certificate&amp;gt;&amp;lt;/Certificate&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e">&amp;lt;!--SSL证书密钥(PFX证书的访问密钥)--&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;lt;Password&amp;gt;&amp;lt;/Password&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;lt;/HTTPS&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e">&amp;lt;!--共享站点配置,不共享可无视以下内容 (若要共享站点 请自备以下所需的配置信息 且配置中HTTPS必须启用)--&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;lt;ShareSite&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e">&amp;lt;!--是否启用站点共享--&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;lt;Enable&amp;gt;&lt;/span>false&lt;span style="color:#f92672">&amp;lt;/Enable&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e">&amp;lt;!--SMTP邮件发送支持--&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;lt;SMTP&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e">&amp;lt;!--发件邮箱--&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;lt;Email&amp;gt;&amp;lt;/Email&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e">&amp;lt;!--邮箱密钥--&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;lt;Password&amp;gt;&amp;lt;/Password&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e">&amp;lt;!--SMTP服务器地址--&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;lt;Host&amp;gt;&amp;lt;/Host&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e">&amp;lt;!--SMTP服务器端口--&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;lt;Port&amp;gt;&lt;/span>587&lt;span style="color:#f92672">&amp;lt;/Port&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e">&amp;lt;!--SMTP服务器是否使用SSL传输--&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;lt;EnableSSL&amp;gt;&lt;/span>true&lt;span style="color:#f92672">&amp;lt;/EnableSSL&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;lt;/SMTP&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e">&amp;lt;!--第三方OAuth登录支持(至少启用以下一种OAuth否则其他用户无法注册)--&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;lt;OAuth&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e">&amp;lt;!--微软登录授权--&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;lt;Microsoft&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e">&amp;lt;!--是否启用该OAuth--&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;lt;Enable&amp;gt;&lt;/span>true&lt;span style="color:#f92672">&amp;lt;/Enable&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e">&amp;lt;!--应用程序Id--&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;lt;ClientId&amp;gt;&amp;lt;/ClientId&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e">&amp;lt;!--应用程序访问机密--&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;lt;ClientSecret&amp;gt;&amp;lt;/ClientSecret&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;lt;/Microsoft&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e">&amp;lt;!--GitHub登录授权--&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;lt;Github&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e">&amp;lt;!--是否启用该OAuth--&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;lt;Enable&amp;gt;&lt;/span>true&lt;span style="color:#f92672">&amp;lt;/Enable&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e">&amp;lt;!--应用程序Id--&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;lt;ClientId&amp;gt;&amp;lt;/ClientId&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e">&amp;lt;!--应用程序访问机密--&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;lt;ClientSecret&amp;gt;&amp;lt;/ClientSecret&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;lt;/Github&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;lt;/OAuth&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e">&amp;lt;!--站点系统设置--&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;lt;System&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e">&amp;lt;!--站点启动后默认是否允许用户注册 建议为false--&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;lt;AllowRegister&amp;gt;&lt;/span>false&lt;span style="color:#f92672">&amp;lt;/AllowRegister&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e">&amp;lt;!--站点启动后默认公告（换行符请使用 &amp;amp;#x000D;&amp;amp;#x000A; 进行换行）--&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;lt;Notice&amp;gt;&amp;lt;/Notice&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e">&amp;lt;!--站点运营者--&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;lt;Master&amp;gt;&amp;lt;/Master&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e">&amp;lt;!--站点运营者推广链接--&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;lt;MasterLink&amp;gt;&amp;lt;/MasterLink&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e">&amp;lt;!--站点新用户默认配额数--&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;lt;DefaultQuota&amp;gt;&lt;/span>1&lt;span style="color:#f92672">&amp;lt;/DefaultQuota&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e">&amp;lt;!--站点自动特赦时间间隔 （单位：天 至少30天）--&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;lt;AutoSpecialPardonInterval&amp;gt;&lt;/span>30&lt;span style="color:#f92672">&amp;lt;/AutoSpecialPardonInterval&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;lt;/System&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;lt;/ShareSite&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">&amp;lt;/Configuration&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>启动容器&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>docker run &lt;span style="color:#f92672">-&lt;/span>d \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">--&lt;/span>name renewx \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">--&lt;/span>restart always \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">--&lt;/span>network host \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">-&lt;/span>v &lt;span style="color:#f92672">/&lt;/span>opt&lt;span style="color:#f92672">/&lt;/span>renewx&lt;span style="color:#f92672">/&lt;/span>data:&lt;span style="color:#f92672">/&lt;/span>renewx&lt;span style="color:#f92672">/&lt;/span>appdata \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">-&lt;/span>v &lt;span style="color:#f92672">/&lt;/span>opt&lt;span style="color:#f92672">/&lt;/span>renewx&lt;span style="color:#f92672">/&lt;/span>deploy:&lt;span style="color:#f92672">/&lt;/span>renewx&lt;span style="color:#f92672">/&lt;/span>Deploy \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> gladtbam&lt;span style="color:#f92672">/&lt;/span>ms365_e5_renewx:latest
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description></item><item><title>Twikoo之Docker部署</title><link>https://blog-old.pages.dev/posts/learn/221117-docker-install-twikoo/</link><pubDate>Thu, 17 Nov 2022 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/221117-docker-install-twikoo/</guid><description>&lt;ul>
&lt;li>启动容器&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>docker run &lt;span style="color:#f92672">-&lt;/span>d \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">--&lt;/span>name twikoo \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">--&lt;/span>restart always \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">--&lt;/span>network host \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">-&lt;/span>e TWIKOO_PORT&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">5003&lt;/span> \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">-&lt;/span>e TWIKOO_THROTTLE&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">1000&lt;/span> \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">-&lt;/span>v &lt;span style="color:#f92672">/&lt;/span>opt&lt;span style="color:#f92672">/&lt;/span>twikoo&lt;span style="color:#f92672">/&lt;/span>data:&lt;span style="color:#f92672">/&lt;/span>app&lt;span style="color:#f92672">/&lt;/span>data \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> imaegoo&lt;span style="color:#f92672">/&lt;/span>twikoo
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>docker run &lt;span style="color:#f92672">-&lt;/span>d \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">--&lt;/span>name twikoo \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">--&lt;/span>restart always \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">--&lt;/span>network host \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">-&lt;/span>e TWIKOO_PORT&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">5003&lt;/span> \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">-&lt;/span>e TWIKOO_THROTTLE&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">1000&lt;/span> \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">-&lt;/span>v &lt;span style="color:#f92672">/&lt;/span>opt&lt;span style="color:#f92672">/&lt;/span>twikoo&lt;span style="color:#f92672">/&lt;/span>data:&lt;span style="color:#f92672">/&lt;/span>app&lt;span style="color:#f92672">/&lt;/span>data \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> imaegoo&lt;span style="color:#f92672">/&lt;/span>twikoo:arm32v7
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>删除&lt;code>/opt/twikoo/data/db.json.1&lt;/code>中的&lt;strong>ADMIN_PASS&lt;/strong>及其值，即可重置管理面板密码&lt;/li>
&lt;/ul></description></item><item><title>快速上手搭建饥荒云服</title><link>https://blog-old.pages.dev/posts/learn/221116-server-of-dont-starve/</link><pubDate>Wed, 16 Nov 2022 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/221116-server-of-dont-starve/</guid><description>&lt;h4 id="生成令牌及信任证书">生成令牌及信任证书&lt;/h4>
&lt;blockquote>
&lt;p>Wegame下载安装饥荒专用服务器&lt;/p>&lt;/blockquote>
&lt;ul>
&lt;li>点击注册许可证书，提示证书生成在饥荒联机版游戏目录的&lt;code>bin64&lt;/code>中，你需要手动把证书放到饥荒联机版专用服务器目录下的&lt;code>bin&lt;/code>中。&lt;/li>
&lt;/ul>
&lt;blockquote>
&lt;p>打开饥荒联机版，进入主界面点击左下角&lt;strong>账户&lt;/strong>进入Klei账户设置：&lt;/p></description></item><item><title>利用Github Action发布HUGO博客</title><link>https://blog-old.pages.dev/posts/learn/221112-github-action-for-hugo/</link><pubDate>Sat, 12 Nov 2022 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/221112-github-action-for-hugo/</guid><description>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-py" data-lang="py">&lt;span style="display:flex;">&lt;span>name: deploy
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>on:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> push:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> workflow_dispatch:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>jobs:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> build:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> runs&lt;span style="color:#f92672">-&lt;/span>on: ubuntu&lt;span style="color:#f92672">-&lt;/span>latest
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> steps:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">-&lt;/span> name: Checkout
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> uses: actions&lt;span style="color:#f92672">/&lt;/span>checkout&lt;span style="color:#a6e22e">@v2&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#66d9ef">with&lt;/span>:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> submodules: true
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> fetch&lt;span style="color:#f92672">-&lt;/span>depth: &lt;span style="color:#ae81ff">0&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">-&lt;/span> name: Setup Hugo
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> uses: peaceiris&lt;span style="color:#f92672">/&lt;/span>actions&lt;span style="color:#f92672">-&lt;/span>hugo&lt;span style="color:#a6e22e">@v2&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#66d9ef">with&lt;/span>:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> hugo&lt;span style="color:#f92672">-&lt;/span>version: &lt;span style="color:#e6db74">&amp;#34;latest&amp;#34;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">-&lt;/span> name: Build Web
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> run: hugo
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">-&lt;/span> name: Deploy Web
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> uses: peaceiris&lt;span style="color:#f92672">/&lt;/span>actions&lt;span style="color:#f92672">-&lt;/span>gh&lt;span style="color:#f92672">-&lt;/span>pages&lt;span style="color:#a6e22e">@v3&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#66d9ef">with&lt;/span>:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> PERSONAL_TOKEN: &lt;span style="color:#960050;background-color:#1e0010">$&lt;/span>{{ secrets&lt;span style="color:#f92672">.&lt;/span>PERSONAL_TOKEN }}
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> EXTERNAL_REPOSITORY: username&lt;span style="color:#f92672">/&lt;/span>username&lt;span style="color:#f92672">.&lt;/span>github&lt;span style="color:#f92672">.&lt;/span>io
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> PUBLISH_BRANCH: master
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> PUBLISH_DIR: &lt;span style="color:#f92672">./&lt;/span>public
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> commit_message: &lt;span style="color:#960050;background-color:#1e0010">$&lt;/span>{{ github&lt;span style="color:#f92672">.&lt;/span>event&lt;span style="color:#f92672">.&lt;/span>head_commit&lt;span style="color:#f92672">.&lt;/span>message }}
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>&lt;code>PERSONAL_TOKEN&lt;/code>请在&lt;strong>账户设置/开发者设置&lt;/strong>中申请，并部署到项目&lt;strong>密钥&lt;/strong>中。&lt;/li>
&lt;li>&lt;code>username/username.github.io&lt;/code>请根据&lt;strong>实际情况&lt;/strong>修改。&lt;/li>
&lt;li>如需自定义域名可将&lt;strong>CNAME&lt;/strong>放入&lt;code>/static/&lt;/code>下。&lt;/li>
&lt;/ul></description></item><item><title>Debian下安装HUGO</title><link>https://blog-old.pages.dev/posts/learn/221110-debian-install-hugo/</link><pubDate>Thu, 10 Nov 2022 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/221110-debian-install-hugo/</guid><description>&lt;ul>
&lt;li>创建文件夹&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>mkdir &lt;span style="color:#f92672">/&lt;/span>home&lt;span style="color:#f92672">/&lt;/span>hugo &lt;span style="color:#f92672">&amp;amp;&amp;amp;&lt;/span> cd &lt;span style="color:#f92672">/&lt;/span>home&lt;span style="color:#f92672">/&lt;/span>hugo
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>使用&lt;code>wget&lt;/code>命令下载HUGO，最新版本见&lt;a href="https://github.com/gohugoio/hugo/releases" target="_blank" rel="noopener" style="color:#42b983";>Github&lt;/a>&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>wget &lt;span style="color:#f92672">-&lt;/span>O hugo.tar.gz https:&lt;span style="color:#75715e">//github.com/gohugoio/hugo/releases/download/v0.107.0/hugo_extended_0.107.0_linux-amd64.tar.gz
&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>解压&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>tar &lt;span style="color:#f92672">-&lt;/span>zxvf hugo.tar.gz
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>移动可执行文件&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>mv hugo &lt;span style="color:#f92672">/&lt;/span>usr&lt;span style="color:#f92672">/&lt;/span>local&lt;span style="color:#f92672">/&lt;/span>bin
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>删除目录&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>rm &lt;span style="color:#f92672">-&lt;/span>rf &lt;span style="color:#f92672">/&lt;/span>home&lt;span style="color:#f92672">/&lt;/span>hugo
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>验证版本&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>hugo version
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description></item><item><title>简单的Nginx配置</title><link>https://blog-old.pages.dev/posts/learn/221015-config-of-nginx/</link><pubDate>Sat, 15 Oct 2022 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/221015-config-of-nginx/</guid><description>&lt;h4 id="debian下快速安装nginx">Debian下快速安装Nginx&lt;/h4>
&lt;ul>
&lt;li>推荐使用docker安装&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>mkdir &lt;span style="color:#f92672">-&lt;/span>p &lt;span style="color:#f92672">/&lt;/span>opt&lt;span style="color:#f92672">/&lt;/span>nginx&lt;span style="color:#f92672">/&lt;/span>config &lt;span style="color:#f92672">&amp;amp;&amp;amp;&lt;/span> vim &lt;span style="color:#f92672">/&lt;/span>opt&lt;span style="color:#f92672">/&lt;/span>nginx&lt;span style="color:#f92672">/&lt;/span>config&lt;span style="color:#f92672">/&lt;/span>nginx.conf
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-gdscript3" data-lang="gdscript3">&lt;span style="display:flex;">&lt;span>user nginx;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>worker_processes auto;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>error_log &lt;span style="color:#f92672">/&lt;/span>&lt;span style="color:#66d9ef">var&lt;/span>&lt;span style="color:#f92672">/&lt;/span>log&lt;span style="color:#f92672">/&lt;/span>nginx&lt;span style="color:#f92672">/&lt;/span>error&lt;span style="color:#f92672">.&lt;/span>log notice;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>pid &lt;span style="color:#f92672">/&lt;/span>&lt;span style="color:#66d9ef">var&lt;/span>&lt;span style="color:#f92672">/&lt;/span>run&lt;span style="color:#f92672">/&lt;/span>nginx&lt;span style="color:#f92672">.&lt;/span>pid;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>events {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> worker_connections &lt;span style="color:#ae81ff">1024&lt;/span>;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>}
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>http {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> include &lt;span style="color:#f92672">/&lt;/span>etc&lt;span style="color:#f92672">/&lt;/span>nginx&lt;span style="color:#f92672">/&lt;/span>mime&lt;span style="color:#f92672">.&lt;/span>types;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> default_type application&lt;span style="color:#f92672">/&lt;/span>octet&lt;span style="color:#f92672">-&lt;/span>stream;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> log_format main &lt;span style="color:#e6db74">&amp;#39;$remote_addr - $remote_user [$time_local] &amp;#34;$request&amp;#34; &amp;#39;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#e6db74">&amp;#39;$status $body_bytes_sent &amp;#34;$http_referer&amp;#34; &amp;#39;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#e6db74">&amp;#39;&amp;#34;$http_user_agent&amp;#34; &amp;#34;$http_x_forwarded_for&amp;#34;&amp;#39;&lt;/span>;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> access_log &lt;span style="color:#f92672">/&lt;/span>&lt;span style="color:#66d9ef">var&lt;/span>&lt;span style="color:#f92672">/&lt;/span>log&lt;span style="color:#f92672">/&lt;/span>nginx&lt;span style="color:#f92672">/&lt;/span>access&lt;span style="color:#f92672">.&lt;/span>log main;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> sendfile on;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> tcp_nopush on;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> keepalive_timeout &lt;span style="color:#ae81ff">65&lt;/span>;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> gzip on;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> include &lt;span style="color:#f92672">/&lt;/span>etc&lt;span style="color:#f92672">/&lt;/span>nginx&lt;span style="color:#f92672">/&lt;/span>conf&lt;span style="color:#f92672">.&lt;/span>d&lt;span style="color:#f92672">/*.&lt;/span>conf;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>}
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>stream{
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> log_format proxy &lt;span style="color:#e6db74">&amp;#39;$remote_addr [$time_local] &amp;#39;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#e6db74">&amp;#39;$protocol $status $bytes_sent $bytes_received &amp;#39;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#e6db74">&amp;#39;$session_time &amp;#34;$upstream_addr&amp;#34; &amp;#39;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#e6db74">&amp;#39;&amp;#34;$upstream_bytes_sent&amp;#34; &amp;#34;$upstream_bytes_received&amp;#34; &amp;#34;$upstream_connect_time&amp;#34;&amp;#39;&lt;/span>;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> access_log &lt;span style="color:#f92672">/&lt;/span>&lt;span style="color:#66d9ef">var&lt;/span>&lt;span style="color:#f92672">/&lt;/span>log&lt;span style="color:#f92672">/&lt;/span>nginx&lt;span style="color:#f92672">/&lt;/span>stream&lt;span style="color:#f92672">.&lt;/span>log proxy;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> include &lt;span style="color:#f92672">/&lt;/span>etc&lt;span style="color:#f92672">/&lt;/span>nginx&lt;span style="color:#f92672">/&lt;/span>conf&lt;span style="color:#f92672">.&lt;/span>d&lt;span style="color:#f92672">/*.&lt;/span>stream;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>}
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-docker" data-lang="docker">&lt;span style="display:flex;">&lt;span>docker run -d &lt;span style="color:#ae81ff">\
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#ae81ff">&lt;/span> --name nginx &lt;span style="color:#ae81ff">\
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#ae81ff">&lt;/span> --restart always &lt;span style="color:#ae81ff">\
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#ae81ff">&lt;/span> --network host &lt;span style="color:#ae81ff">\
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#ae81ff">&lt;/span> -v /opt/nginx/config/conf.d:/etc/nginx/conf.d &lt;span style="color:#ae81ff">\
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#ae81ff">&lt;/span> -v /opt/nginx/config/nginx.conf:/etc/nginx/nginx.conf &lt;span style="color:#ae81ff">\
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#ae81ff">&lt;/span> -v /opt/nginx/log:/var/log/nginx &lt;span style="color:#ae81ff">\
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#ae81ff">&lt;/span> -v /opt/nginx/cert:/opt/cert &lt;span style="color:#ae81ff">\
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#ae81ff">&lt;/span> nginx:stable&lt;span style="color:#960050;background-color:#1e0010">
&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h4 id="配置cloudflare证书">配置Cloudflare证书&lt;/h4>
&lt;ul>
&lt;li>编辑证书&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>vim &lt;span style="color:#f92672">/&lt;/span>opt&lt;span style="color:#f92672">/&lt;/span>nginx&lt;span style="color:#f92672">/&lt;/span>cert&lt;span style="color:#f92672">/&lt;/span>web.crt
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-cmd" data-lang="cmd">&lt;span style="display:flex;">&lt;span>-----BEGIN CERTIFICATE-----
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>MIIEFTCCAv2gAwIBAgIUTNa8COmbEvnnmyHFCWCSNbIlrowwDQYJKoZIhvcNAQEL
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>BQAwgagxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQH
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>Ew1TYW4gRnJhbmNpc2NvMRkwFwYDVQQKExBDbG91ZGZsYXJlLCBJbmMuMRswGQYD
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>VQQLExJ3d3cuY2xvdWRmbGFyZS5jb20xNDAyBgNVBAMTK01hbmFnZWQgQ0EgNjdh
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>NGUxOWE1YjBlYzNlOGEyMGI0MDNiZTQzYmI4OTcwHhcNMjIwODIyMDU0NzAwWhcN
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>MzcwODE4MDU0NzAwWjAiMQswCQYDVQQGEwJVUzETMBEGA1UEAxMKQ2xvdWRmbGFy
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>ZTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAL/Sy+00iQlMJYRCHTss
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>LxUbTn3DvAIUGvK8IPuYTl24ZyGVJXjI3mq10/3slUkUJLKjowScaMwwVCHwsM8M
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rWIc97zRec8mjQA7ixayPSEtkXoaRC403nQEDdUqtY5bgpug6PFzZv2tUy3yxVG8
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>KLQze+O1kIkw+pXvCL9nxPUEZ2SBZgDV/uBnQAZU1iZaQXtZPJaUxjQ1Wn+IBnj0
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>KZUp7JidkaajcgmDq63gO++Ce6qNqQSHRNnfjFB9OoCcPR2zHOkn+cih9yNyM5XC
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>WCFKuPhHhuvqeIFTrt6lHMwtUrPzeq1Q63r5FemOZl45gj8NFvdoAcRF2eaJWHBI
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>vGUCAwEAAaOBuzCBuDATBgNVHSUEDDAKBggrBgEFBQcDAjAMBgNVHRMBAf8EAjAA
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>MB0GA1UdDgQWBBRnPvIl0HzOeOYRAYO0dUqWcZg5ZDAfBgNVHSMEGDAWgBRqKMUf
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>A2v8OOV10yFDxd0H0UD7ODBTBgNVHR8ETDBKMEigRqBEhkJodHRwOi8vY3JsLmNs
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>b3VkZmxhcmUuY29tL2I2M2NhZGM0LTU4Y2QtNGRhMC05ZmZlLTE0YTEzODIxMTI3
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>NS5jcmwwDQYJKoZIhvcNAQELBQADggEBAAG6uWdDYpG9+9r3hMbCYUpA1hQOwh2D
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>viFQLgChN8OvwpAfL0MHBxpafaxOYAVODc/gLgYacAHOnYTytvX6NG6p98FivG/X
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>qpH2CqxUTY9zgD4aMNFSXA1LvVJ//0JcAMVe1P8MdtnIO419On3sQYwTVMTgO+Qw
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>mcjxX8JHQjhohO1xRdJutBA1fbcHzymjHdcIstabxyZf1eG3nLvF9SZcA8GSCSu7
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>5QWVWM28EVR+VSAxMvXNbnkkuaRY2dOJdFKfc8SG9lSA/nCHprz6F32TKP4HZQay
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>GoxJuobHKaeI/K3WjQlDH1NAd2LWvIsPzvUBc9ugSR2DWsXYvgHs1qc=
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>-----END CERTIFICATE-----
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>编辑私钥&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>vim &lt;span style="color:#f92672">/&lt;/span>opt&lt;span style="color:#f92672">/&lt;/span>nginx&lt;span style="color:#f92672">/&lt;/span>cert&lt;span style="color:#f92672">/&lt;/span>web.key
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-cmd" data-lang="cmd">&lt;span style="display:flex;">&lt;span>-----BEGIN PRIVATE KEY-----
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQC/0svtNIkJTCWE
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>Qh07LC8VG059w7wCFBryvCD7mE5duGchlSV4yN5qtdP97JVJFCSyo6MEnGjMMFQh
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>8LDPDK1iHPe80XnPJo0AO4sWsj0hLZF6GkQuNN50BA3VKrWOW4KboOjxc2b9rVMt
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>8sVRvCi0M3vjtZCJMPqV7wi/Z8T1BGdkgWYA1f7gZ0AGVNYmWkF7WTyWlMY0NVp/
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>iAZ49CmVKeyYnZGmo3IJg6ut4DvvgnuqjakEh0TZ34xQfTqAnD0dsxzpJ/nIofcj
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>cjOVwlghSrj4R4br6niBU67epRzMLVKz83qtUOt6+RXpjmZeOYI/DRb3aAHERdnm
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>iVhwSLxlAgMBAAECggEABKroJZzGWHcSLKGaA3zj2MzuzOmf4AisNTIPUJmLddIm
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>x3u3fmgCdxdDxTIZQD6tiLlDN+zN/s+OpIeUtDarQclrQwMLEz4HAIJYzccT7Ldz
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>cRF4wKUU5D7ONVzFYsuzcstodhBoT6dRie5jD1+XbMPmvlfTLTttxYs1xWG/7aeD
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>saHbzN7lUiWu5GWgbBYHkeU6KOr83MakGVI82Z6sCJhuQe6fTlvjiqsF5GtyvrZ8
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>N2BZZVleCWAE0uXntFmezWI6HvtxSBBFSNbqequr3r0IjL8qK8qvJ2k3xYLidERi
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>JX5jDJ+8opSN++Ia+lcpVZQ9F9jGJfpzKvPObVFqWwKBgQDfWepiT9nXAg0UM00y
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>+01JXogm6aHWDgBkQTqjGyC5cuHzF3TssY7pGtyoy7OAcsEqgpyEnUTsd7WbN6Ux
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>Pj+TpVULOtFlJrQR+zIWWCCfC6byXw/S8m9GpBvZescYW4QkOEtQlLIi7HUYlm+Y
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>dHy9eWJewn5b1bI0d4WX6UhQDwKBgQDb3RIa3hAcdsKryZJNN6j/QJFQBYnv+n5Y
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>UXrfFEAsdX2RU0xO8otss51OMrkbZS8qCmTC+hZgvYeUhAKf9SRnO/BH18sZskNW
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>psws2Lq6MM0ZOjZqeVoaEvf6ESLf/bbO/IKoRbtdWdCNilQ0FYpJE27MKcLQ+miB
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>AjXbego4SwKBgQDODxeFkiPpEHRekaIEigLY0MUOGXf8kzhbRi7B8jIzxcCd1KNE
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>B+BQQT8Y364AsF50SMH8O1guTZcX17OpBcQEBIG8dYxgJN/2wuiH4tBdy5M/guKH
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>fLGa26bx8ysh1rTH8cPSWQ0r2TmC8K+OWNIIwKc3w3puYW4ip65x44CakwKBgQCi
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>91URJyIoBvs6nBleNPCF6pULDF/2yeRWkGaT7Y23poqham24Yt1ngCcMLFq6bKCt
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>97BCOV7W7AUP112etPT7tBjhF5mKfXCeTNowL6EQm1Wa6mQlPbfEdeTqrUL9ZjDX
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>caFjGvTLN+R21V6ekIzEp6vLlvS5M7K8VSgYe3gRywKBgDz3aSUDhCC3zLvpFlW6
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>jDX4bOjKoOidWdOdJKA8jtv57c7DhWTtz1Pd+9uf9xvx1dwKmMrvsVmoyd2hmWXq
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>ZrTlwbmZlo1CqWQ8yXzFBPXRXAc+ZJvmzUWIOBS6+i8qo7UuZIHucsJGDlFbvAfE
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>wz7MQiazno/JrI0hYXi3jwcG
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>-----END PRIVATE KEY-----
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h4 id="快速配置nginx">快速配置Nginx&lt;/h4>
&lt;p>按照推荐的&lt;code>nginx.conf&lt;/code>配置，其中&lt;strong>http&lt;/strong>模块包含&lt;code>/etc/nginx/conf.d/&lt;/code>内的所有&lt;code>*.conf&lt;/code>文件的配置，&lt;strong>stream&lt;/strong>模块包含&lt;code>/etc/nginx/conf.d/&lt;/code>内的所有&lt;code>*.stream&lt;/code>文件的配置，下面有几个例子可以参考&lt;/p></description></item><item><title>Linux切换密码登录</title><link>https://blog-old.pages.dev/posts/learn/220930-linux-passwordauthentication/</link><pubDate>Fri, 30 Sep 2022 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/220930-linux-passwordauthentication/</guid><description>&lt;h4 id="切换root用户">切换Root用户&lt;/h4>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>sudo su
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h4 id="设置密码">设置密码&lt;/h4>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>passwd root
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>需要输入&lt;strong>两次密码&lt;/strong>，输入的时候&lt;strong>密码不会显示&lt;/strong>&lt;/li>
&lt;/ul>
&lt;h4 id="编辑ssh配置文件">编辑&lt;strong>ssh&lt;/strong>配置文件&lt;/h4>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>vim &lt;span style="color:#f92672">/&lt;/span>etc&lt;span style="color:#f92672">/&lt;/span>ssh&lt;span style="color:#f92672">/&lt;/span>sshd_config
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>把&lt;strong>PasswordAuthentication no&lt;/strong>改为&lt;strong>PasswordAuthentication yes&lt;/strong>&lt;/li>
&lt;li>把&lt;strong>PermitRootLogin no&lt;/strong>改为&lt;strong>PermitRootLogin yes&lt;/strong>&lt;/li>
&lt;/ul>
&lt;h4 id="重启sshd">重启sshd&lt;/h4>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>systemctl restart sshd
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description></item><item><title>Cloudreve之Docker部署</title><link>https://blog-old.pages.dev/posts/learn/220927-docker-install-cloudreve/</link><pubDate>Tue, 27 Sep 2022 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/220927-docker-install-cloudreve/</guid><description>&lt;p>启动容器，配置离线下载，需要监听其他端口，采用Host模式，默认端口5212，可在conf.ini修改，更多配置详情见&lt;a href="https://docs.cloudreve.org/getting-started/config" target="_blank" rel="noopener" style="color:#42b983";>官方文档&lt;/a>&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>docker run &lt;span style="color:#f92672">-&lt;/span>d \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">--&lt;/span>name cloudreve \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">--&lt;/span>restart always \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">--&lt;/span>network host \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">-&lt;/span>v &lt;span style="color:#f92672">/&lt;/span>opt&lt;span style="color:#f92672">/&lt;/span>cloudreve&lt;span style="color:#f92672">/&lt;/span>data:&lt;span style="color:#f92672">/&lt;/span>cloudreve&lt;span style="color:#f92672">/&lt;/span>data \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">-&lt;/span>v &lt;span style="color:#f92672">/&lt;/span>opt&lt;span style="color:#f92672">/&lt;/span>aria2&lt;span style="color:#f92672">/&lt;/span>downloads:&lt;span style="color:#f92672">/&lt;/span>downloads \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> cloudreve&lt;span style="color:#f92672">/&lt;/span>cloudreve:latest
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description></item><item><title>VMware常见的配置参数</title><link>https://blog-old.pages.dev/posts/learn/220925-vmware-vmx-options/</link><pubDate>Sun, 25 Sep 2022 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/220925-vmware-vmx-options/</guid><description>&lt;p>现在我用&lt;code>VMware&lt;/code>创建&lt;code>Win10&lt;/code>、&lt;code>Linux&lt;/code>虚拟机测试软件的场景越来越多，很多优化和兼容设置其实不需要在图形界面里点，直接改&lt;code>.vmx&lt;/code>就够了。我的习惯一直是先找到目标虚拟机的安装目录，然后用直接改对应的&lt;code>.vmx&lt;/code>文件。&lt;/p></description></item><item><title>Bitwarden之Docker部署</title><link>https://blog-old.pages.dev/posts/learn/220816-docker-install-bitwarden/</link><pubDate>Tue, 16 Aug 2022 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/220816-docker-install-bitwarden/</guid><description>&lt;p>&lt;a href="https://github.com/dani-garcia/vaultwarden" target="_blank" rel="noopener" style="color:#42b983";>Vaultwarden&lt;/a>为民间基于开源项目&lt;a href="https://github.com/bitwarden/server" target="_blank" rel="noopener" style="color:#42b983";>Bitwarden&lt;/a>开发，对服务器配置要求低，更适合个人使用&lt;/p>
&lt;ul>
&lt;li>启动容器&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>docker run &lt;span style="color:#f92672">-&lt;/span>d \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">--&lt;/span>name vaultwarden \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">--&lt;/span>restart always \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">--&lt;/span>network host \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">-&lt;/span>e ROCKET_PORT&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">5002&lt;/span> \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">-&lt;/span>v &lt;span style="color:#f92672">/&lt;/span>opt&lt;span style="color:#f92672">/&lt;/span>vaultwarden&lt;span style="color:#f92672">/&lt;/span>data:&lt;span style="color:#f92672">/&lt;/span>data \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> vaultwarden&lt;span style="color:#f92672">/&lt;/span>server:latest
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>配置文件位于&lt;code>/opt/vaultwarden/data/config.json&lt;/code>，参考如下&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-json" data-lang="json">&lt;span style="display:flex;">&lt;span>{
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;domain&amp;#34;&lt;/span>: &lt;span style="color:#e6db74">&amp;#34;https://example.com&amp;#34;&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;sends_allowed&amp;#34;&lt;/span>: &lt;span style="color:#66d9ef">true&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;incomplete_2fa_time_limit&amp;#34;&lt;/span>: &lt;span style="color:#ae81ff">3&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;disable_icon_download&amp;#34;&lt;/span>: &lt;span style="color:#66d9ef">false&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;signups_allowed&amp;#34;&lt;/span>: &lt;span style="color:#66d9ef">true&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;signups_verify&amp;#34;&lt;/span>: &lt;span style="color:#66d9ef">false&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;signups_verify_resend_time&amp;#34;&lt;/span>: &lt;span style="color:#ae81ff">3600&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;signups_verify_resend_limit&amp;#34;&lt;/span>: &lt;span style="color:#ae81ff">6&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;invitations_allowed&amp;#34;&lt;/span>: &lt;span style="color:#66d9ef">true&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;emergency_access_allowed&amp;#34;&lt;/span>: &lt;span style="color:#66d9ef">true&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;password_iterations&amp;#34;&lt;/span>: &lt;span style="color:#ae81ff">100000&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;password_hints_allowed&amp;#34;&lt;/span>: &lt;span style="color:#66d9ef">true&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;show_password_hint&amp;#34;&lt;/span>: &lt;span style="color:#66d9ef">false&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;admin_token&amp;#34;&lt;/span>: &lt;span style="color:#e6db74">&amp;#34;Password&amp;#34;&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;invitation_org_name&amp;#34;&lt;/span>: &lt;span style="color:#e6db74">&amp;#34;Vaultwarden&amp;#34;&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;ip_header&amp;#34;&lt;/span>: &lt;span style="color:#e6db74">&amp;#34;X-Real-IP&amp;#34;&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;icon_redirect_code&amp;#34;&lt;/span>: &lt;span style="color:#ae81ff">302&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;icon_cache_ttl&amp;#34;&lt;/span>: &lt;span style="color:#ae81ff">2592000&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;icon_cache_negttl&amp;#34;&lt;/span>: &lt;span style="color:#ae81ff">259200&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;icon_download_timeout&amp;#34;&lt;/span>: &lt;span style="color:#ae81ff">10&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;icon_blacklist_non_global_ips&amp;#34;&lt;/span>: &lt;span style="color:#66d9ef">true&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;disable_2fa_remember&amp;#34;&lt;/span>: &lt;span style="color:#66d9ef">false&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;authenticator_disable_time_drift&amp;#34;&lt;/span>: &lt;span style="color:#66d9ef">false&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;require_device_email&amp;#34;&lt;/span>: &lt;span style="color:#66d9ef">false&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;reload_templates&amp;#34;&lt;/span>: &lt;span style="color:#66d9ef">false&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;log_timestamp_format&amp;#34;&lt;/span>: &lt;span style="color:#e6db74">&amp;#34;%Y-%m-%d %H:%M:%S.%3f&amp;#34;&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;disable_admin_token&amp;#34;&lt;/span>: &lt;span style="color:#66d9ef">false&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;_enable_yubico&amp;#34;&lt;/span>: &lt;span style="color:#66d9ef">true&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;_enable_duo&amp;#34;&lt;/span>: &lt;span style="color:#66d9ef">false&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;_enable_smtp&amp;#34;&lt;/span>: &lt;span style="color:#66d9ef">true&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;smtp_host&amp;#34;&lt;/span>: &lt;span style="color:#e6db74">&amp;#34;smtp.mail.ru&amp;#34;&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;smtp_security&amp;#34;&lt;/span>: &lt;span style="color:#e6db74">&amp;#34;force_tls&amp;#34;&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;smtp_port&amp;#34;&lt;/span>: &lt;span style="color:#ae81ff">465&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;smtp_from&amp;#34;&lt;/span>: &lt;span style="color:#e6db74">&amp;#34;username@mail.ru&amp;#34;&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;smtp_from_name&amp;#34;&lt;/span>: &lt;span style="color:#e6db74">&amp;#34;username&amp;#34;&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;smtp_username&amp;#34;&lt;/span>: &lt;span style="color:#e6db74">&amp;#34;username@mail.ru&amp;#34;&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;smtp_password&amp;#34;&lt;/span>: &lt;span style="color:#e6db74">&amp;#34;Password&amp;#34;&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;smtp_auth_mechanism&amp;#34;&lt;/span>: &lt;span style="color:#e6db74">&amp;#34;\&amp;#34;Login\&amp;#34;&amp;#34;&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;smtp_timeout&amp;#34;&lt;/span>: &lt;span style="color:#ae81ff">15&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;smtp_accept_invalid_certs&amp;#34;&lt;/span>: &lt;span style="color:#66d9ef">false&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;smtp_accept_invalid_hostnames&amp;#34;&lt;/span>: &lt;span style="color:#66d9ef">false&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;_enable_email_2fa&amp;#34;&lt;/span>: &lt;span style="color:#66d9ef">true&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;email_token_size&amp;#34;&lt;/span>: &lt;span style="color:#ae81ff">6&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;email_expiration_time&amp;#34;&lt;/span>: &lt;span style="color:#ae81ff">600&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;email_attempts_limit&amp;#34;&lt;/span>: &lt;span style="color:#ae81ff">3&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>}
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description></item><item><title>Docker内容器设置开机自启</title><link>https://blog-old.pages.dev/posts/learn/220629-docker-container-autostart/</link><pubDate>Wed, 29 Jun 2022 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/220629-docker-container-autostart/</guid><description>&lt;h4 id="允许docker开机自启">允许Docker开机自启&lt;/h4>
&lt;ul>
&lt;li>设置开机启动&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>systemctl enable docker.service
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h4 id="设置容器开机自启">设置容器开机自启&lt;/h4>
&lt;p>以Valutwarden为例&lt;/p>
&lt;ul>
&lt;li>新建容器时配置自启参数&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>docker run &lt;span style="color:#f92672">--&lt;/span>restart&lt;span style="color:#f92672">=&lt;/span>always Valutwarden
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>已存在的容器配置自启参数&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>docker update &lt;span style="color:#f92672">--&lt;/span>restart&lt;span style="color:#f92672">=&lt;/span>always Valutwarden
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description></item><item><title>利用ADB给Picasso加速</title><link>https://blog-old.pages.dev/posts/learn/220324-picasso-accelerate-via-adb/</link><pubDate>Thu, 24 Mar 2022 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/220324-picasso-accelerate-via-adb/</guid><description>&lt;ul>
&lt;li>下载&lt;strong>ADB驱动&lt;/strong>，打开目录&lt;/li>
&lt;li>将以下代码保存成&lt;code>bat&lt;/code>在目录中执行，即可卸载冗余应用，卸载内容根据需要&lt;strong>自行修改&lt;/strong>&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#960050;background-color:#1e0010">@&lt;/span>echo off
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>echo Uninstalling, please wait...
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.miui.notes
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.miui.phrase
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.printspooler
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.miui.miwallpaper.earth
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.email
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.miui.miservice
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.miui.miwallpaper.mars
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.emergency
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.miui.miwallpaper.geometry
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.mi.health
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.provision
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.mi.globalbrowser
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.xiaomi.payment
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.keychain
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.miui.screenrecorder
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.xiaomi.scanner
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.miui.fm
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.miui.fmservice
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.quicksearchbox
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.miui.miwallpaper.miweatherwallpaper
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.milink.service
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.xiaomi.miplay_client
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.miui.miwallpaper.saturn
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.miui.maintenancemode
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.cellbroadcastreceiver
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.bips
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.traceur
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.xiaomi.mi_connect_service
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.mfashiongallery.emag
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.miui.newmidrive
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.miui.miwallpaper.snowmountain
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.google.android.soundpicker
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.miui.misound
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.google.android.feedback
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.miui.bugreport
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.providers.userdictionary
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.carrierdefaultapp
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.miui.personalassistant
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.google.android.setupwizard
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.google.android.apps.restore
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.google.android.projection.gearhead
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.bookmarkprovider
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.calllogbackup
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.bsp.catchlog
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.miui.cit
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.miui.qr
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.google.android.inputmethod.latin
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.google.android.googlequicksearchbox
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.google.android.syncadapters.calendar
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.google.android.partnersetup
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.google.android.syncadapters.contacts
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.google.ar.lens
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.wallpaper.livepicker
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.miui.videoplayer
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.xiaomi.mirror
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.xiaomi.mtb
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.musicfx
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.hotwordenrollment.okgoogle
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.apps.tag
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.stk
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.hotwordenrollment.xgoogle
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.qti.xdivert
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.miui.mishare.connectivity
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.miui.huanji
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.google.android.tts
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.UCMobile
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.iflytek.inputmethod.miui
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.dragon.read
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.duokan.phone.remotecontroller
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.baidu.input_mi
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> tv.danmaku.bili
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.baidu.searchbox
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.xiaomi.smarthome
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.duokan.reader
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.ss.android.article.news
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.mi.liveassistant
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.xiaomi.jr
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.miui.virtualsim
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.miui.thirdappassistant
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.miui.newhome
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.miui.smarttravel
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.taobao.taobao
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.xiaomi.youpin
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.xiaomi.gamecenter
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.xiaomi.shop
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.xiaomi.vipaccount
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.eastmoney.android.berlin
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.zhihu.android
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.sina.weibo
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.xiaomi.mibrain.speech
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.duokan.free
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.xunmeng.pinduoduo
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.miui.userguide
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.ss.android.ugc.aweme
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.eg.android.AlipayGphone
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.xiaomi.drivemode
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.xiaomi.aiasst.vision
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.xiaomi.aiasst.service
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.google.android.marvin.talkback
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.theme.color.black
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.theme.color.cinnamon
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.theme.color.green
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.theme.color.ocean
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.theme.color.orchid
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.theme.color.purple
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.theme.color.space
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.protips
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.miui.contentextension
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.dreams.basic
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.miui.voiceassist
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.xiaomi.ab
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.miui.accessibility
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.miui.hybrid
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.miui.touchassistant
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.miui.hybrid.accessory
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.miui.systemAdSolution
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.xiaomi.gamecenter.sdk.service
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.dreams.phototable
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.miui.voicetrigger
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.unionpay.tsmservice.mi
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.browser
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.miui.translation.kingsoft
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.miui.translation.youdao
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.xiaomi.joyose
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.xiaomi.mircs
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.miui.securityinputmethod
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.managedprovisioning
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.miui.analytics
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.miui.vpnsdkmanager
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>echo Uninstall complete&lt;span style="color:#f92672">!&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>echo. &lt;span style="color:#f92672">&amp;amp;&lt;/span> pause
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description></item><item><title>iOS上代码块字体大小不一的解决办法</title><link>https://blog-old.pages.dev/posts/learn/220313-ios-code-font-bug/</link><pubDate>Sun, 13 Mar 2022 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/220313-ios-code-font-bug/</guid><description>记录一次iPhone上代码块字号异常放大的问题，以及我最后采用的CSS修复办法。</description></item><item><title>Linux安装Docker及Docker Compose</title><link>https://blog-old.pages.dev/posts/learn/220105-linux-install-docker-and-docker-compose/</link><pubDate>Wed, 05 Jan 2022 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/220105-linux-install-docker-and-docker-compose/</guid><description>&lt;p>推荐使用Docker官方一键安装脚本&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>curl &lt;span style="color:#f92672">-&lt;/span>fsSL https:&lt;span style="color:#75715e">//get.docker.com | bash -s docker
&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>如需自行安装可参考如下步骤：&lt;/p>
&lt;h4 id="安装docker-ce">安装Docker CE&lt;/h4>
&lt;ul>
&lt;li>更新存储库&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>apt&lt;span style="color:#f92672">-&lt;/span>get update &lt;span style="color:#f92672">-&lt;/span>y
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>安装依赖&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>apt&lt;span style="color:#f92672">-&lt;/span>get install apt&lt;span style="color:#f92672">-&lt;/span>transport&lt;span style="color:#f92672">-&lt;/span>https ca&lt;span style="color:#f92672">-&lt;/span>certificates curl gnupg&lt;span style="color:#f92672">-&lt;/span>agent software&lt;span style="color:#f92672">-&lt;/span>properties&lt;span style="color:#f92672">-&lt;/span>common &lt;span style="color:#f92672">-&lt;/span>y
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>下载并添加 GPG 密钥，&lt;strong>Debian&lt;/strong>执行第一条，&lt;strong>Ubuntu&lt;/strong>执行第二条&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>curl &lt;span style="color:#f92672">-&lt;/span>fsSL https:&lt;span style="color:#75715e">//download.docker.com/linux/debian/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>curl &lt;span style="color:#f92672">-&lt;/span>fsSL https:&lt;span style="color:#75715e">//download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>将Docker CE存储库添加到APT，&lt;strong>Debian&lt;/strong>执行第一条，&lt;strong>Ubuntu&lt;/strong>执行第二条&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>echo &lt;span style="color:#e6db74">&amp;#34;deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian $(lsb_release -cs) stable&amp;#34;&lt;/span> &lt;span style="color:#f92672">|&lt;/span> tee &lt;span style="color:#f92672">/&lt;/span>etc&lt;span style="color:#f92672">/&lt;/span>apt&lt;span style="color:#f92672">/&lt;/span>sources.list.d&lt;span style="color:#f92672">/&lt;/span>docker.list
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>echo &lt;span style="color:#e6db74">&amp;#34;deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable&amp;#34;&lt;/span> &lt;span style="color:#f92672">|&lt;/span> tee &lt;span style="color:#f92672">/&lt;/span>etc&lt;span style="color:#f92672">/&lt;/span>apt&lt;span style="color:#f92672">/&lt;/span>sources.list.d&lt;span style="color:#f92672">/&lt;/span>docker.list
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>更新存储库&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>apt&lt;span style="color:#f92672">-&lt;/span>get update &lt;span style="color:#f92672">-&lt;/span>y
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>安装Docker CE&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>apt&lt;span style="color:#f92672">-&lt;/span>get install docker&lt;span style="color:#f92672">-&lt;/span>ce docker&lt;span style="color:#f92672">-&lt;/span>ce&lt;span style="color:#f92672">-&lt;/span>cli containerd.io &lt;span style="color:#f92672">-&lt;/span>y
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>验证版本&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>docker &lt;span style="color:#f92672">--&lt;/span>version
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h4 id="安装docker-compose">安装Docker Compose&lt;/h4>
&lt;p>最新版地址见&lt;a href="https://github.com/docker/compose/" target="_blank" rel="noopener" style="color:#42b983";>Github&lt;/a>&lt;/p></description></item><item><title>为主机打开BBR加速</title><link>https://blog-old.pages.dev/posts/learn/210812-linux-bbr/</link><pubDate>Thu, 12 Aug 2021 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/210812-linux-bbr/</guid><description>&lt;p>一键安装BBR加速&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>sudo bash &lt;span style="color:#f92672">&amp;lt;&lt;/span>(curl &lt;span style="color:#f92672">-&lt;/span>sL https:&lt;span style="color:#75715e">//cdno.canghai.org/sh/bbr.sh)
&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description></item><item><title>修复SOLIDWORKS安装时的VBA错误</title><link>https://blog-old.pages.dev/posts/learn/210527-solidworks-vba-error/</link><pubDate>Thu, 27 May 2021 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/210527-solidworks-vba-error/</guid><description>&lt;ul>
&lt;li>安装&lt;strong>SOLIDWORKS 2021 SP2&lt;/strong>后，卸载安装之前版本，会卡在安装&lt;strong>VBA 7.1&lt;/strong>，并提示&lt;u>A newer version of this application is already installed&lt;/u>&lt;/li>
&lt;li>管理员身份打开CMD，运行如下命令即可解决&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-cmd" data-lang="cmd">&lt;span style="display:flex;">&lt;span>msiexec.exe /X {90120064-0070-0000-0000-4000000FF1CE} /q
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>msiexec.exe /X {90F60409-7000-11D3-8CFE-0150048383C9} /q
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>msiexec.exe /X {90F60404-7000-11D3-8CFE-0150048383C9} /q
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>msiexec.exe /X {90F60407-7000-11D3-8CFE-0150048383C9} /q
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>msiexec.exe /X {90F6040C-7000-11D3-8CFE-0150048383C9} /q
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>msiexec.exe /X {90F60410-7000-11D3-8CFE-0150048383C9} /q
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>msiexec.exe /X {90F60411-7000-11D3-8CFE-0150048383C9} /q
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>msiexec.exe /X {90F60412-7000-11D3-8CFE-0150048383C9} /q
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>msiexec.exe /X {90F60416-7000-11D3-8CFE-0150048383C9} /q
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>msiexec.exe /X {90F60804-7000-11D3-8CFE-0150048383C9} /q
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>msiexec.exe /X {90F60C0A-7000-11D3-8CFE-0150048383C9} /q
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>msiexec.exe /X {07C0BFE1-3291-409C-B96A-797340719C8F} /q
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>msiexec.exe /X {826216B1-0F04-409B-A33E-C6A004AA1097} /q
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>msiexec.exe /X {B07D817E-C885-4F06-9AB3-E7C6B9D4BBC8} /q
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>msiexec.exe /X {3577C582-28BF-47CF-A134-0F4E2C3A6148} /q
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>msiexec.exe /X {B7526322-7FED-4F4F-8F17-E3ACE9E0D725} /q
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>msiexec.exe /X {B8702FFD-CD7E-4A33-A863-DCD32CF2558F} /q
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>msiexec.exe /X {47B42A58-D3A9-4A09-B10C-DFBF38665B92} /q
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>msiexec.exe /X {33A11EB1-D1F7-4874-9A8C-280084753911} /q
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>msiexec.exe /X {2A6AD565-3D10-4326-9C07-9D469946A0A2} /q
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>msiexec.exe /X {E4E1AAF7-A590-4DD7-85CE-C5B542677D2F} /q
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>msiexec.exe /X {7DBDBAC5-B994-467B-9D5F-EA427F2A5212} /q
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description></item><item><title>重置Winsock目录</title><link>https://blog-old.pages.dev/posts/learn/201229-netsh-winsock-reset/</link><pubDate>Tue, 29 Dec 2020 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/201229-netsh-winsock-reset/</guid><description>&lt;p>有时候电脑会因为一些莫名其妙的问题无法上网，如以下情况：&lt;/p>
&lt;ul>
&lt;li>安装广告软件、使用&lt;strong>VPN&lt;/strong>、修改&lt;strong>防火墙&lt;/strong>后无法联网&lt;/li>
&lt;li>无法&lt;strong>访问任何网页&lt;/strong>或只能访问某些网页&lt;/li>
&lt;li>出现与网络相关问题的&lt;strong>弹出错误窗口&lt;/strong>&lt;/li>
&lt;li>由于&lt;strong>注册表错误&lt;/strong>，没有网络连接&lt;/li>
&lt;li>发生&lt;strong>DNS&lt;/strong>查找问题&lt;/li>
&lt;li>无法续订网络适配器的&lt;strong>IP&lt;/strong>地址或其他一些&lt;strong>DHCP&lt;/strong>错误&lt;/li>
&lt;li>没有连接消息的网络连接问题&lt;/li>
&lt;/ul>
&lt;p>这时以管理员身份打开&lt;strong>CMD&lt;/strong>，运行以下命令即可解决问题&lt;/p></description></item><item><title>删除Win10连接过的网络名</title><link>https://blog-old.pages.dev/posts/learn/201218-networklist/</link><pubDate>Fri, 18 Dec 2020 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/201218-networklist/</guid><description>&lt;p>路由器刷固件后，SSID不变。笔记本再连接就会从openwrt变成openwrt2。强迫症表示完全受不了！可以通过清理注册表解决。&lt;/p>
&lt;ul>
&lt;li>&lt;strong>win+R&lt;/strong> 输入&lt;code>regedit&lt;/code>进入注册表编辑器。&lt;/li>
&lt;li>删除下列目录中所有子项&lt;/li>
&lt;li>重启电脑。&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>HKEY_LOCAL_MACHINE&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>SOFTWARE&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>Microsoft&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>Windows NT&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>CurrentVersion&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>NetworkList&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>Profiles
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>HKEY_LOCAL_MACHINE&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>SOFTWARE&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>Microsoft&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>Windows NT&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>CurrentVersion&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>NetworkList&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>Signatures&lt;span style="color:#960050;background-color:#1e0010">\&lt;/span>Unmanaged
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>终于通过清理注册表后，使其恢复到默认状态。&lt;/p></description></item><item><title>利用ADB给PIC-AL00加速</title><link>https://blog-old.pages.dev/posts/learn/200913-pic-al00-accelerate-via-adb/</link><pubDate>Sun, 13 Sep 2020 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/200913-pic-al00-accelerate-via-adb/</guid><description>&lt;ul>
&lt;li>下载&lt;strong>ADB驱动&lt;/strong>，打开目录&lt;/li>
&lt;li>将以下代码保存成&lt;code>bat&lt;/code>在目录中执行，即可卸载冗余应用，卸载内容根据需要&lt;strong>自行修改&lt;/strong>&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#960050;background-color:#1e0010">@&lt;/span>echo off
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>echo Uninstalling, please wait...
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.fastapp
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.ibimuyu.lockscreen
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.meizu.flymelab
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.meizu.creator.launcher
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.meizu.picker
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.meizu.account.pay
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.meizu.cloud
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.meizu.net.search
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.youku.phone.player.meizu
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.flyme.roamingpay
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.meizu.flyme.directservice
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.browser
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.wallet
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.hifolder
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.intelligent
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.himovie
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.phoneservice
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.hwdetectrepair
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.mediacenter
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.android.findmyphone
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.contactscamcard
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.wallpaper.livepicker
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.nlp
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.tips
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.decision
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.rcsserviceapplication
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.android.FloatTasks
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.vassistant
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.dreams.phototable
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.hiview
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.keychain
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.trustagent
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.android.projectmenu
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.hilink.framework
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.trustspace
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.watch.sync
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.parentcontrol
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.keyguard
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.printspooler
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.android.mirrorshare
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.android.instantshare
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.bips
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.iflytek.speechsuite
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.stk
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.securitymgr
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.android.internal.app
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.htmlviewer
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.exchange
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.motionservice
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.dreams.basic
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.android.airsharing
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.carrierconfig
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.hiaction
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.emergency
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.screenrecorder
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.apps.tag
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.recsys
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.inputdevices
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.managedprovisioning
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.KoBackup
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.amap.android.ams
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.android.karaoke
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.msdp
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.android.hwupgradeguide
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.gardenlivingwallpaper
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.oceanlivingwallpaper
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.novalivingwallpaper
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.google.android.marvin.talkback
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.hitouch
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.scanner
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.contentsensor
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.android.hwpay
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.videoeditor
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.UCMobile
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.taobao.taobao
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.educenter
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.welinknow
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.search
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.hwvplayer.youku
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.bone
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.smarthome
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.vmall.client
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.android.tips
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.lives
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.hwmirror
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.hicloud.android.clone
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.email
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.example.android.notepad
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.hiskytone
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.vdrive
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.fans
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> cn.wps.moffice_eng
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.sina.weibo
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.achievo.vipshop
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.ss.android.article.news
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.tencent.news
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.Qunar
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.sankuai.meituan
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.jingdong.app.mall
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.hwireader
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.gamebox
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.baidu.searchbox
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.autonavi.minimap
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.gameassistant
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>echo Uninstall complete&lt;span style="color:#f92672">!&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>echo. &lt;span style="color:#f92672">&amp;amp;&lt;/span> pause
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description></item><item><title>利用ADB给STF-AL00加速</title><link>https://blog-old.pages.dev/posts/learn/200912-stf-al00-accelerate-via-adb/</link><pubDate>Sat, 12 Sep 2020 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/200912-stf-al00-accelerate-via-adb/</guid><description>&lt;ul>
&lt;li>下载&lt;strong>ADB驱动&lt;/strong>，打开目录&lt;/li>
&lt;li>将以下代码保存成&lt;code>bat&lt;/code>在目录中执行，即可卸载冗余应用，卸载内容根据需要&lt;strong>自行修改&lt;/strong>&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#960050;background-color:#1e0010">@&lt;/span>echo off
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>echo Uninstalling, please wait...
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.android.hwouc
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.tmall.wireless
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.taobao.taobao
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.hnreader
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.baidu.searchbox
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.browser
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.Qunar
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.ss.android.article.news
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> cn.wps.moffice_eng
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.baidu.BaiduMap
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.tencent.news
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.gamebox
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.health
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.sina.weibo
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.jingdong.app.mall
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.skytone
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.android.remotecontroller
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.eazer.app.huawei
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> co.spe3d.paipai_huawei
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.gameassistant
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.hwvplayer.youku
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.bone
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.smarthome
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.contactscamcard
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.watch.sync
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.android.instantshare
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.iflytek.speechsuite
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.htmlviewer
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.securitymgr
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.printspooler
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.nlp
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.vassistant
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.hitouch
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.android.FloatTasks
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.hifolder
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.google.android.marvin.talkback
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.tips
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.android.projectmenu
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.wallpaper.livepicker
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.contentsensor
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.trustspace
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.keyguard
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.android.findmyphone
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.hilink.framework
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.parentcontrol
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.videoeditor
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.bips
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.dreams.phototable
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.android.mirrorshare
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.rcsserviceapplication
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.android.tips
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.dreams.basic
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.android.airsharing
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.hwmirror
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.vmall.client
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.stupeflix.replay
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.lives
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.hicloud.android.clone
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.intelligent
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.apps.tag
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.hiaction
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.example.android.notepad
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.exchange
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.emergency
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.android.totemweatherwidget
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.scanner
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.motionservice
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.mediacenter
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.google.android.backuptransport
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.email
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.screenrecorder
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.inputdevices
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.himovie
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.phoneservice
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.wallet
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.KoBackup
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.hiskytone
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.fans
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.vdrive
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.msdp
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.recsys
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.bd
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.android.karaoke
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.stk
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.hwdetectrepair
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.android.hwpay
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.decision
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.carrierconfig
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.managedprovisioning
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.hidisk
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.documentsui
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.secime
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.baidu.input_huawei
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.hiviewtunnel
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.tencent.mtt
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.hihonor.vmall
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.honor.club
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.welinknow
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.ohos.smarthome
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.search
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.fastapp
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.hiai
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.printservice
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.mediacontroller
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.hiview
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.mycenter
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.ohos.health
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> cn.honor.qinxuan
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.pengine
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.ohos.famanager
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.internal.display.cutout.emulation.wide
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.internal.display.cutout.emulation.narrow
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.internal.display.cutout.emulation.tall
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.meetime
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.ohos.suggestion.hm.overlay
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.hicloud
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.searchservice
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.educenter
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.hwvoipservice
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.ohos.search
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.suggestion
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.audioaccessorymanager
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.ohos.suggestion.overlay
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.ohos.suggestion
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.pcassistant
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.controlcenter
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.unionpay.tsmservice
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.ohos.inputmethod
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.featurelayer.sharedfeature.map
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com..hihonor.vmall
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.hicard
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.android.hwupgradeguide
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.calendar
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.providers.calendar
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.android.totemweather
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.keychain
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.trustagent
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.google.android.printservice.recommendation
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.huawei.hwstartupguide
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.google.android.syncadapters.contacts
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.wallpaperbackup
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>echo Uninstall complete&lt;span style="color:#f92672">!&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>echo. &lt;span style="color:#f92672">&amp;amp;&lt;/span> pause
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>卸载谷歌套件&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#960050;background-color:#1e0010">@&lt;/span>echo off
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>echo Uninstalling, please wait...
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.android.vending
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.google.android.partnersetup
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.google.android.gsf
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.google.android.overlay.gmsconfig
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.google.android.gms.policy_sidecar_aps
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.google.android.onetimeinitializer
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>adb shell pm uninstall &lt;span style="color:#f92672">--&lt;/span>user &lt;span style="color:#ae81ff">0&lt;/span> com.google.android.gms
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>echo Uninstall complete&lt;span style="color:#f92672">!&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>echo. &lt;span style="color:#f92672">&amp;amp;&lt;/span> pause
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description></item><item><title>删除Windows Defender保护记录</title><link>https://blog-old.pages.dev/posts/learn/200825-clear-defender-history/</link><pubDate>Tue, 25 Aug 2020 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/200825-clear-defender-history/</guid><description>&lt;p>电脑下载不安全文件后&lt;strong>Windows Defender&lt;/strong>迅速报毒，文件删除后，Windows Defender仍然提示，进入如下目录，&lt;strong>清空目录下所有文件&lt;/strong>，即可删除所有保护记录，进而解决问题&lt;/p></description></item><item><title>RDP优化操作：开启显卡加速、60FPS与USB设备重定向</title><link>https://blog-old.pages.dev/posts/learn/200709-rdp-tuning/</link><pubDate>Thu, 09 Jul 2020 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/200709-rdp-tuning/</guid><description>&lt;p>有一说一，Windows 自带的远程桌面服务其实一直都很好用。只要把几项默认没打开的能力补齐，它就不只是“能远程连一下”，而是真的能拿来干活。&lt;/p>
&lt;ul>
&lt;li>给远程会话开启显卡加速&lt;/li>
&lt;li>把默认&lt;code>30 FPS&lt;/code>提到&lt;code>60 FPS&lt;/code>&lt;/li>
&lt;li>打开&lt;code>RemoteFX USB&lt;/code>设备重定向&lt;/li>
&lt;/ul>
&lt;p>&lt;strong>RDP&lt;/strong>本身即使没有显卡也能工作，做基础管理完全没问题。但如果我想在远程桌面里跑图形程序、让画面更顺，或者把本地&lt;strong>USB&lt;/strong>设备直接映射过去，这三项就很实用。&lt;/p></description></item><item><title>Win10电源选项失效，两分钟自动睡眠</title><link>https://blog-old.pages.dev/posts/learn/200627-win10-powersettings/</link><pubDate>Sat, 27 Jun 2020 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/200627-win10-powersettings/</guid><description>&lt;p>Win10设置睡眠时间无法成功，仍然两分钟自动睡眠，需要开启高级电源设置解决。&lt;/p>
&lt;ul>
&lt;li>&lt;strong>Win+R&lt;/strong>输入&lt;code>regedit&lt;/code>进入注册表编辑器，进入如下目录，将&lt;strong>Attributes&lt;/strong>值由1改成2&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-cmd" data-lang="cmd">&lt;span style="display:flex;">&lt;span>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\7bc4a2f9-d8fc-4469-b07b-33eb785aaca0
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>打开高级电源设置，将&lt;strong>无人参与系统睡眠超时&lt;/strong>改为你想要的时间即可&lt;/li>
&lt;/ul></description></item><item><title>Linux环境下 Swap 配置方法</title><link>https://blog-old.pages.dev/posts/learn/191022-linux-swap-setup/</link><pubDate>Tue, 22 Oct 2019 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/191022-linux-swap-setup/</guid><description>记录在 Linux 中创建、启用、持久化和调优 swap 文件的常用步骤。</description></item><item><title>Linux设置笔记本盒盖不关机</title><link>https://blog-old.pages.dev/posts/learn/190403-linux-suspend/</link><pubDate>Wed, 03 Apr 2019 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/190403-linux-suspend/</guid><description>&lt;p>打开配置文件：&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>vi /etc/systemd/logind.conf
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>常见会看到这几项：&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-ini" data-lang="ini">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">#HandlePowerKey=poweroff&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">#HandleSleepKey=suspend&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">#HandleHibernateKey=hibernate&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">#HandleLidSwitch=suspend&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;blockquote>
&lt;p>分别解释一下键值&lt;/p>&lt;/blockquote>
&lt;ul>
&lt;li>&lt;code>HandlePowerKey&lt;/code>
按下电源键后的行为&lt;/li>
&lt;li>&lt;code>HandleSleepKey&lt;/code>
按下睡眠键后的行为&lt;/li>
&lt;li>&lt;code>HandleHibernateKey&lt;/code>
按下休眠键后的行为&lt;/li>
&lt;li>&lt;code>HandleLidSwitch&lt;/code>
合上笔记本盖后的行为&lt;/li>
&lt;/ul>
&lt;blockquote>
&lt;p>常见可选值&lt;/p></description></item><item><title>清除Win10打印机残留</title><link>https://blog-old.pages.dev/posts/learn/181219-clean-up-printer-residue/</link><pubDate>Wed, 19 Dec 2018 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/181219-clean-up-printer-residue/</guid><description>&lt;p>打印机已经被删除了,但是在Word里还残留错误的打印机，可通过下面方法解决：&lt;/p>
&lt;ul>
&lt;li>使用记事本任意打开一个&lt;strong>TXT&lt;/strong>文件&lt;/li>
&lt;li>&lt;strong>Ctrl+P&lt;/strong>进入打印界面&lt;/li>
&lt;li>选择错误打印机，右键删除&lt;/li>
&lt;/ul></description></item><item><title>AutoCAD优化小妙招</title><link>https://blog-old.pages.dev/posts/learn/170328-autocad-speedup/</link><pubDate>Tue, 28 Mar 2017 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/170328-autocad-speedup/</guid><description>&lt;p>我用 AutoCAD 的时候，最先收拾的往往不是界面，而是那些默认开着却基本用不上的联网和启动项。真要提速，很多时候靠的就是把这些细碎设置一项项收干净。下面这几项是我自己最常做的优化，基本都属于低风险、可回退、收益也比较直接的设置。&lt;/p></description></item><item><title>Debian下卸载Apache2</title><link>https://blog-old.pages.dev/posts/learn/161020-delete-apache2/</link><pubDate>Thu, 20 Oct 2016 00:00:00 +0000</pubDate><guid>https://blog-old.pages.dev/posts/learn/161020-delete-apache2/</guid><description>&lt;ul>
&lt;li>首先执行卸载命令&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>apt &lt;span style="color:#f92672">--&lt;/span>purge remove apache2 apache2&lt;span style="color:#f92672">-&lt;/span>bin apache2&lt;span style="color:#f92672">-&lt;/span>doc apache2&lt;span style="color:#f92672">-&lt;/span>data apache2&lt;span style="color:#f92672">-&lt;/span>utils &lt;span style="color:#f92672">-&lt;/span>y
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>apt autoremove &lt;span style="color:#f92672">-&lt;/span>y
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>检查是否完全卸载&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>dpkg &lt;span style="color:#f92672">-&lt;/span>l &lt;span style="color:#f92672">|&lt;/span> grep apache2
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>删除多余文件&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>find &lt;span style="color:#f92672">/&lt;/span>etc &lt;span style="color:#f92672">-&lt;/span>name &lt;span style="color:#e6db74">&amp;#34;*apache*&amp;#34;&lt;/span> &lt;span style="color:#f92672">|&lt;/span>xargs rm &lt;span style="color:#f92672">-&lt;/span>rf
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>rm &lt;span style="color:#f92672">-&lt;/span>rf &lt;span style="color:#f92672">/&lt;/span>etc&lt;span style="color:#f92672">/&lt;/span>libapache2&lt;span style="color:#f92672">-&lt;/span>mod&lt;span style="color:#f92672">-&lt;/span>jk
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>重启你的机器
搞定！&lt;/li>
&lt;/ul></description></item></channel></rss>