<?xml version="1.0" encoding="utf-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><title>林健的博客</title><link>https://book.nbznh.com/</link><description>每天都学一点</description><item><title>网站地址列表</title><link>https://book.nbznh.com/?id=613</link><description>&lt;p&gt;真相查询类&amp;nbsp;&lt;/p&gt;&lt;p&gt;1. Snopes 
https://www.snopes.com&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. Wikipedia（英文）https://en.wikipedia.org

全球时事类&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. Foreign Affairs 
https://www.foreignaffairs.com&lt;/p&gt;&lt;p&gt;4. Brookings 
https://www.brookings.edu

课程学习类&amp;nbsp;&lt;/p&gt;&lt;p&gt;5. Open Yale Courses 
https://oyc.yale.edu&lt;/p&gt;&lt;p&gt;6. Khan Academy 
https://www.khanacademy.org

电子书资源类&lt;/p&gt;&lt;p&gt;7. Project Gutenberg 
https://www.gutenberg.org&lt;/p&gt;&lt;p&gt;8. Internet Archive 
https://archive.org

素材工具类&amp;nbsp;&lt;/p&gt;&lt;p&gt;9. Pixabay 
https://pixabay.com&amp;nbsp;&lt;/p&gt;&lt;p&gt;10. Canva 
https://www.canva.com&lt;/p&gt;&lt;p&gt;AI工具&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://app.napkin.ai&quot; target=&quot;_self&quot;&gt;文生逻辑图&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://gemini.google.com/app?hl=zh&quot; target=&quot;_self&quot; title=&quot;gemini&quot;&gt;gemini&lt;/a&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Mon, 05 May 2025 12:09:17 +0800</pubDate></item><item><title>alpine启用密码登录</title><link>https://book.nbznh.com/?id=612</link><description>&lt;p&gt;&lt;span style=&quot;color: #222222; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, SegoeUI, &amp;quot;Noto Sans&amp;quot;, NotoSans, Helvetica, Arial, sans-serif; text-wrap-mode: wrap; background-color: #F9F9F9;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #222222; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, SegoeUI, &amp;quot;Noto Sans&amp;quot;, NotoSans, Helvetica, Arial, sans-serif; text-wrap-mode: wrap; background-color: #F9F9F9;&quot;&gt;&lt;span style=&quot;color: #222222; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, SegoeUI, &amp;quot;Noto Sans&amp;quot;, NotoSans, Helvetica, Arial, sans-serif; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;用root登录在/etc/ssh/sshd_config&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #222222; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, SegoeUI, &amp;quot;Noto Sans&amp;quot;, NotoSans, Helvetica, Arial, sans-serif; text-wrap-mode: wrap; background-color: #F9F9F9;&quot;&gt;PasswordAuthentication yes&lt;/span&gt;&lt;br style=&quot;color: rgb(34, 34, 34); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, SegoeUI, &amp;quot;Noto Sans&amp;quot;, NotoSans, Helvetica, Arial, sans-serif; text-wrap-mode: wrap; background-color: rgb(249, 249, 249);&quot;/&gt;&lt;span style=&quot;color: #222222; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, SegoeUI, &amp;quot;Noto Sans&amp;quot;, NotoSans, Helvetica, Arial, sans-serif; text-wrap-mode: wrap; background-color: #F9F9F9;&quot;&gt;PermitRootLogin yes&lt;/span&gt;&lt;/p&gt;</description><pubDate>Tue, 07 Jan 2025 08:35:12 +0800</pubDate></item><item><title>x86下拉取arm</title><link>https://book.nbznh.com/?id=611</link><description>&lt;h3 id=&quot;1. docker manifest简介&quot; style=&quot;margin: 35px 0px 10px; padding: 0px; border: 0px; font-size: 18px; vertical-align: baseline; box-sizing: border-box; line-height: 1.5; color: rgb(247, 229, 198); font-family: UbuntuMono, &amp;quot;Varela Round&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, Menlo, Monaco, monospace, sans-serif; text-wrap: wrap; background-color: rgb(35, 33, 29);&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; box-sizing: border-box;&quot;&gt;&lt;strong&gt;1. docker manifest简介&lt;/strong&gt;&lt;/span&gt;&lt;/h3&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; border: 0px; font-size: 15px; vertical-align: baseline; box-sizing: border-box; color: rgb(247, 229, 198); font-family: UbuntuMono, &amp;quot;Varela Round&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, Menlo, Monaco, monospace, sans-serif; text-wrap: wrap; background-color: rgb(35, 33, 29);&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: 16px; vertical-align: baseline; box-sizing: border-box;&quot;&gt;&lt;strong&gt;使用镜像创建一个容器，该镜像必须与 Docker 宿主机系统架构一致，例如x86_64 架构的系统中只能使用x86_64的镜像创建容器。&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; border: 0px; font-size: 15px; vertical-align: baseline; box-sizing: border-box; color: rgb(247, 229, 198); font-family: UbuntuMono, &amp;quot;Varela Round&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, Menlo, Monaco, monospace, sans-serif; text-wrap: wrap; background-color: rgb(35, 33, 29);&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: 16px; vertical-align: baseline; box-sizing: border-box;&quot;&gt;&lt;strong&gt;docker manifest特性可支持用户在不同系统架构的机器上分别运行不同的架构的镜像。这一点基本不需要用户做任何适配，非常的方便。&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; border: 0px; font-size: 15px; vertical-align: baseline; box-sizing: border-box; color: rgb(247, 229, 198); font-family: UbuntuMono, &amp;quot;Varela Round&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, Menlo, Monaco, monospace, sans-serif; text-wrap: wrap; background-color: rgb(35, 33, 29);&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: 16px; vertical-align: baseline; box-sizing: border-box;&quot;&gt;&lt;strong&gt;manifest list是一个镜像清单列表，用于存放多个不同os/arch的镜像信息；主要用到manifest的目的，其实还是多用于存放不同的os/arch信息，也就是方便我们在不同的CPU架构（arm或者x86）或者操作系统中，通过一个镜像名称拉取对应架构或者操作系统的镜像， ( 这个尤其是在K8S中，对于异构CPU的服务器中的镜像显得尤为有效。)&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; border: 0px; font-size: 15px; vertical-align: baseline; box-sizing: border-box; color: rgb(247, 229, 198); font-family: UbuntuMono, &amp;quot;Varela Round&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, Menlo, Monaco, monospace, sans-serif; text-wrap: wrap; background-color: rgb(35, 33, 29);&quot;&gt;&lt;span data-darkreader-inline-color=&quot;&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: 16px; vertical-align: baseline; box-sizing: border-box; color: #FF0000; --darkreader-inline-color: #844e42;&quot;&gt;&lt;strong&gt;注：manifest文件仅仅是针对于已经在仓库中的镜像！！！ 换句话说，就是这个镜像是刚从仓库中pull下来的！&lt;span data-darkreader-inline-color=&quot;&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; box-sizing: border-box; color: #008000; --darkreader-inline-color: #e5f1b6;&quot;&gt;如果这个镜像是自己build的&lt;/span&gt;，&lt;span data-darkreader-inline-color=&quot;&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; box-sizing: border-box; color: #008000; --darkreader-inline-color: #e5f1b6;&quot;&gt;需要先push到仓库中&lt;/span&gt;，&lt;span data-darkreader-inline-color=&quot;&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; box-sizing: border-box; color: #008000; --darkreader-inline-color: #e5f1b6;&quot;&gt;否则，这个镜像是没有manifest文件的！！&lt;/span&gt;同样的，&lt;span data-darkreader-inline-color=&quot;&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; box-sizing: border-box; color: #008000; --darkreader-inline-color: #e5f1b6;&quot;&gt;如果你pull了一个镜像，tag了一下，再去看这个manifest文件，也是没有的&lt;/span&gt;，因为tag后的镜像不在镜像仓库中。&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;h3 id=&quot;2. docker manifest 开启&quot; style=&quot;margin: 35px 0px 10px; padding: 0px; border: 0px; font-size: 18px; vertical-align: baseline; box-sizing: border-box; line-height: 1.5; color: rgb(247, 229, 198); font-family: UbuntuMono, &amp;quot;Varela Round&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, Menlo, Monaco, monospace, sans-serif; text-wrap: wrap; background-color: rgb(35, 33, 29);&quot;&gt;&lt;strong&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; box-sizing: border-box;&quot;&gt;2. docker manifest 开启&lt;/span&gt;&lt;/strong&gt;&lt;/h3&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; border: 0px; font-size: 15px; vertical-align: baseline; box-sizing: border-box; color: rgb(247, 229, 198); font-family: UbuntuMono, &amp;quot;Varela Round&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, Menlo, Monaco, monospace, sans-serif; text-wrap: wrap; background-color: rgb(35, 33, 29);&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: 16px; vertical-align: baseline; box-sizing: border-box;&quot;&gt;&lt;strong&gt;manifest是个实验功能，所以需要在docker中进行打开。&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; border: 0px; font-size: 15px; vertical-align: baseline; box-sizing: border-box; color: rgb(247, 229, 198); font-family: UbuntuMono, &amp;quot;Varela Round&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, Menlo, Monaco, monospace, sans-serif; text-wrap: wrap; background-color: rgb(35, 33, 29);&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: 16px; vertical-align: baseline; box-sizing: border-box;&quot;&gt;&lt;strong&gt;2.1 首先修改docker配置（如果文件不存在就新建，存在的话就追加配置，记得追加时检查下逗号别忘）&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;cnblogs_code&quot; style=&quot;margin: 5px 0px; padding: 5px; border: 1px solid rgb(79, 74, 65); vertical-align: baseline; box-sizing: border-box; background-color: rgb(37, 35, 31); overflow: auto; color: rgb(255, 255, 222); text-wrap: wrap; font-size: 12px !important; font-family: &amp;quot;Courier New&amp;quot; !important;&quot;&gt;&lt;div class=&quot;cnblogs_code_toolbar&quot; style=&quot;margin: 5px 0px 0px; padding: 0px; border: 0px; vertical-align: baseline; box-sizing: border-box;&quot;&gt;&lt;span class=&quot;cnblogs_code_copy&quot; style=&quot;margin: 0px; padding: 0px 5px 0px 0px; border: 0px; font-size: inherit; vertical-align: baseline; box-sizing: border-box; font-family: &amp;quot;Courier New&amp;quot;, serif; line-height: 1.5;&quot;&gt;&lt;a title=&quot;复制代码&quot; style=&quot;color: rgb(171, 177, 169); margin: 0px; padding: 0px; vertical-align: baseline; box-sizing: border-box; cursor: pointer; border: none !important;&quot;&gt;&lt;img src=&quot;https://assets.cnblogs.com/images/copycode.gif&quot; alt=&quot;复制代码&quot; style=&quot;max-width: 100%; height: auto; margin: 10px auto; padding: 0px; vertical-align: baseline; box-sizing: border-box; display: flex; border-radius: 2px; border: none !important;&quot;/&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre style=&quot;transition-duration: 0.2s; transition-property: background, font-size, border-color, border-radius, border-width, padding, margin, color; overflow: auto; margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; vertical-align: baseline; box-sizing: border-box; font-family: &amp;quot;Courier New&amp;quot;, serif; overflow-wrap: break-word;&quot;&gt;#如果没有配置文件的话，新建mkdir&amp;nbsp;/root/.docker#进入docker配置目录cd&amp;nbsp;/root/.docker/#修改配置文件vi&amp;nbsp;config.json&lt;/pre&gt;&lt;div class=&quot;cnblogs_code_toolbar&quot; style=&quot;margin: 5px 0px 0px; padding: 0px; border: 0px; vertical-align: baseline; box-sizing: border-box;&quot;&gt;&lt;span class=&quot;cnblogs_code_copy&quot; style=&quot;margin: 0px; padding: 0px 5px 0px 0px; border: 0px; font-size: inherit; vertical-align: baseline; box-sizing: border-box; font-family: &amp;quot;Courier New&amp;quot;, serif; line-height: 1.5;&quot;&gt;&lt;a title=&quot;复制代码&quot; style=&quot;color: rgb(171, 177, 169); margin: 0px; padding: 0px; vertical-align: baseline; box-sizing: border-box; cursor: pointer; border: none !important;&quot;&gt;&lt;img src=&quot;https://assets.cnblogs.com/images/copycode.gif&quot; alt=&quot;复制代码&quot; style=&quot;max-width: 100%; height: auto; margin: 10px auto; padding: 0px; vertical-align: baseline; box-sizing: border-box; display: flex; border-radius: 2px; border: none !important;&quot;/&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; border: 0px; font-size: 15px; vertical-align: baseline; box-sizing: border-box; color: rgb(247, 229, 198); font-family: UbuntuMono, &amp;quot;Varela Round&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, Menlo, Monaco, monospace, sans-serif; text-wrap: wrap; background-color: rgb(35, 33, 29);&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: 16px; vertical-align: baseline; box-sizing: border-box;&quot;&gt;&lt;strong&gt;添加如下配置信息&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;cnblogs_code&quot; style=&quot;margin: 5px 0px; padding: 5px; border: 1px solid rgb(79, 74, 65); vertical-align: baseline; box-sizing: border-box; background-color: rgb(37, 35, 31); overflow: auto; color: rgb(255, 255, 222); text-wrap: wrap; font-size: 12px !important; font-family: &amp;quot;Courier New&amp;quot; !important;&quot;&gt;&lt;pre style=&quot;transition-duration: 0.2s; transition-property: background, font-size, border-color, border-radius, border-width, padding, margin, color; overflow: auto; margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; vertical-align: baseline; box-sizing: border-box; font-family: &amp;quot;Courier New&amp;quot;, serif; overflow-wrap: break-word;&quot;&gt;&lt;strong&gt;&lt;span data-darkreader-inline-color=&quot;&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; box-sizing: border-box; color: #000000; line-height: 1.5; --darkreader-inline-color: #ffffde;&quot;&gt;{&lt;br/&gt; &amp;nbsp;&lt;span data-darkreader-inline-color=&quot;&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; box-sizing: border-box; color: #800000; line-height: 1.5; --darkreader-inline-color: #c69d87;&quot;&gt;&amp;quot;auth&amp;quot;: {}, &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span data-darkreader-inline-color=&quot;&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; box-sizing: border-box; color: #800000; line-height: 1.5; --darkreader-inline-color: #c69d87;&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span data-darkreader-inline-color=&quot;&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; box-sizing: border-box; color: #800000; line-height: 1.5; --darkreader-inline-color: #c69d87;&quot;&gt;experimental&lt;/span&gt;&lt;span data-darkreader-inline-color=&quot;&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; box-sizing: border-box; color: #800000; line-height: 1.5; --darkreader-inline-color: #c69d87;&quot;&gt;&amp;quot;&lt;/span&gt;: &lt;span data-darkreader-inline-color=&quot;&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; box-sizing: border-box; color: #800000; line-height: 1.5; --darkreader-inline-color: #c69d87;&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span data-darkreader-inline-color=&quot;&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; box-sizing: border-box; color: #800000; line-height: 1.5; --darkreader-inline-color: #c69d87;&quot;&gt;enabled&lt;/span&gt;&lt;span data-darkreader-inline-color=&quot;&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; box-sizing: border-box; color: #800000; line-height: 1.5; --darkreader-inline-color: #c69d87;&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span data-darkreader-inline-color=&quot;&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; box-sizing: border-box; color: #000000; line-height: 1.5; --darkreader-inline-color: #ffffde;&quot;&gt; &amp;nbsp; }&lt;/span&gt;&lt;/strong&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; border: 0px; font-size: 15px; vertical-align: baseline; box-sizing: border-box; color: rgb(247, 229, 198); font-family: UbuntuMono, &amp;quot;Varela Round&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, Menlo, Monaco, monospace, sans-serif; text-wrap: wrap; background-color: rgb(35, 33, 29);&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: 16px; vertical-align: baseline; box-sizing: border-box;&quot;&gt;&lt;strong&gt;2.2 开启manifest实验特性&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;cnblogs_code&quot; style=&quot;margin: 5px 0px; padding: 5px; border: 1px solid rgb(79, 74, 65); vertical-align: baseline; box-sizing: border-box; background-color: rgb(37, 35, 31); overflow: auto; color: rgb(255, 255, 222); text-wrap: wrap; font-size: 12px !important; font-family: &amp;quot;Courier New&amp;quot; !important;&quot;&gt;&lt;pre style=&quot;transition-duration: 0.2s; transition-property: background, font-size, border-color, border-radius, border-width, padding, margin, color; overflow: auto; margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; vertical-align: baseline; box-sizing: border-box; font-family: &amp;quot;Courier New&amp;quot;, serif; overflow-wrap: break-word;&quot;&gt;#如果没有配置文件的话，新建vi&amp;nbsp;/etc/docker/daemon.json&lt;/pre&gt;&lt;/div&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; border: 0px; font-size: 15px; vertical-align: baseline; box-sizing: border-box; color: rgb(247, 229, 198); font-family: UbuntuMono, &amp;quot;Varela Round&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, Menlo, Monaco, monospace, sans-serif; text-wrap: wrap; background-color: rgb(35, 33, 29);&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: 16px; vertical-align: baseline; box-sizing: border-box;&quot;&gt;&lt;strong&gt;添加如下配置信息&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;cnblogs_code&quot; style=&quot;margin: 5px 0px; padding: 5px; border: 1px solid rgb(79, 74, 65); vertical-align: baseline; box-sizing: border-box; background-color: rgb(37, 35, 31); overflow: auto; color: rgb(255, 255, 222); text-wrap: wrap; font-size: 12px !important; font-family: &amp;quot;Courier New&amp;quot; !important;&quot;&gt;&lt;pre style=&quot;transition-duration: 0.2s; transition-property: background, font-size, border-color, border-radius, border-width, padding, margin, color; overflow: auto; margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; vertical-align: baseline; box-sizing: border-box; font-family: &amp;quot;Courier New&amp;quot;, serif; overflow-wrap: break-word;&quot;&gt;&lt;strong&gt;&lt;span data-darkreader-inline-color=&quot;&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; box-sizing: border-box; color: #000000; line-height: 1.5; --darkreader-inline-color: #ffffde;&quot;&gt;{&lt;br/&gt; &amp;nbsp;&lt;span data-darkreader-inline-color=&quot;&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; box-sizing: border-box; color: #800000; line-height: 1.5; --darkreader-inline-color: #c69d87;&quot;&gt;&amp;quot;&lt;span data-darkreader-inline-color=&quot;&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; box-sizing: border-box; line-height: 1.5; --darkreader-inline-color: #c69d87;&quot;&gt;registry-mirrors&lt;span data-darkreader-inline-color=&quot;&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; box-sizing: border-box; line-height: 1.5; --darkreader-inline-color: #c69d87;&quot;&gt;&amp;quot;: [&lt;span data-darkreader-inline-color=&quot;&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; box-sizing: border-box; line-height: 1.5; --darkreader-inline-color: #c69d87;&quot;&gt;&amp;quot;&lt;span data-darkreader-inline-color=&quot;&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; box-sizing: border-box; line-height: 1.5; --darkreader-inline-color: #c69d87;&quot;&gt;https://r9xxm8z8.mirror.aliyuncs.com&lt;span data-darkreader-inline-color=&quot;&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; box-sizing: border-box; line-height: 1.5; --darkreader-inline-color: #c69d87;&quot;&gt;&amp;quot;,&lt;span data-darkreader-inline-color=&quot;&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; box-sizing: border-box; line-height: 1.5; --darkreader-inline-color: #c69d87;&quot;&gt;&amp;quot;&lt;span data-darkreader-inline-color=&quot;&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; box-sizing: border-box; line-height: 1.5; --darkreader-inline-color: #c69d87;&quot;&gt;https://registry.docker-cn.com&lt;span data-darkreader-inline-color=&quot;&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; box-sizing: border-box; line-height: 1.5; --darkreader-inline-color: #c69d87;&quot;&gt;&amp;quot;&lt;span data-darkreader-inline-color=&quot;&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; box-sizing: border-box; color: #000000; line-height: 1.5; --darkreader-inline-color: #ffffde;&quot;&gt;],&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
 &amp;nbsp;&lt;/span&gt;&lt;span data-darkreader-inline-color=&quot;&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; box-sizing: border-box; color: #800000; line-height: 1.5; --darkreader-inline-color: #c69d87;&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span data-darkreader-inline-color=&quot;&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; box-sizing: border-box; color: #800000; line-height: 1.5; --darkreader-inline-color: #c69d87;&quot;&gt;experimental&lt;/span&gt;&lt;span data-darkreader-inline-color=&quot;&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; box-sizing: border-box; color: #800000; line-height: 1.5; --darkreader-inline-color: #c69d87;&quot;&gt;&amp;quot;&lt;/span&gt;: &lt;span data-darkreader-inline-color=&quot;&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; box-sizing: border-box; color: #800000; line-height: 1.5; --darkreader-inline-color: #c69d87;&quot;&gt;true&lt;/span&gt;&lt;span data-darkreader-inline-color=&quot;&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; box-sizing: border-box; color: #000000; line-height: 1.5; --darkreader-inline-color: #ffffde;&quot;&gt; &amp;nbsp;}&lt;/span&gt;&lt;/strong&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; border: 0px; font-size: 15px; vertical-align: baseline; box-sizing: border-box; color: rgb(247, 229, 198); font-family: UbuntuMono, &amp;quot;Varela Round&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, Menlo, Monaco, monospace, sans-serif; text-wrap: wrap; background-color: rgb(35, 33, 29);&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: 16px; vertical-align: baseline; box-sizing: border-box;&quot;&gt;&lt;strong&gt;registry-mirrors : 添加阿里云加速源，也可以直接 [ ];&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; border: 0px; font-size: 15px; vertical-align: baseline; box-sizing: border-box; color: rgb(247, 229, 198); font-family: UbuntuMono, &amp;quot;Varela Round&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, Menlo, Monaco, monospace, sans-serif; text-wrap: wrap; background-color: rgb(35, 33, 29);&quot;&gt;&lt;strong&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: 16px; vertical-align: baseline; box-sizing: border-box;&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; box-sizing: border-box;&quot;&gt;experimental : 开启实验功能&lt;/span&gt;;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; border: 0px; font-size: 15px; vertical-align: baseline; box-sizing: border-box; color: rgb(247, 229, 198); font-family: UbuntuMono, &amp;quot;Varela Round&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, Menlo, Monaco, monospace, sans-serif; text-wrap: wrap; background-color: rgb(35, 33, 29);&quot;&gt;&lt;span data-darkreader-inline-color=&quot;&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: 16px; vertical-align: baseline; box-sizing: border-box; color: #FF0000; --darkreader-inline-color: #844e42;&quot;&gt;&lt;strong&gt;注：registry-mirrors 必填项，没有的话重启docker时直接报错&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;cnblogs_code&quot; style=&quot;margin: 5px 0px; padding: 5px; border: 1px solid rgb(79, 74, 65); vertical-align: baseline; box-sizing: border-box; background-color: rgb(37, 35, 31); overflow: auto; color: rgb(255, 255, 222); text-wrap: wrap; font-size: 12px !important; font-family: &amp;quot;Courier New&amp;quot; !important;&quot;&gt;&lt;pre style=&quot;transition-duration: 0.2s; transition-property: background, font-size, border-color, border-radius, border-width, padding, margin, color; overflow: auto; margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; vertical-align: baseline; box-sizing: border-box; font-family: &amp;quot;Courier New&amp;quot;, serif; overflow-wrap: break-word;&quot;&gt;Job&amp;nbsp;for&amp;nbsp;docker.service&amp;nbsp;failed&amp;nbsp;because&amp;nbsp;the&amp;nbsp;control&amp;nbsp;process&amp;nbsp;exited&amp;nbsp;with&amp;nbsp;error&amp;nbsp;code.
See&amp;nbsp;&amp;quot;systemctl&amp;nbsp;status&amp;nbsp;docker.service&amp;quot;&amp;nbsp;and&amp;nbsp;&amp;quot;journalctl&amp;nbsp;-xe&amp;quot;&amp;nbsp;for&amp;nbsp;details.&lt;/pre&gt;&lt;/div&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; border: 0px; font-size: 15px; vertical-align: baseline; box-sizing: border-box; color: rgb(247, 229, 198); font-family: UbuntuMono, &amp;quot;Varela Round&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, Menlo, Monaco, monospace, sans-serif; text-wrap: wrap; background-color: rgb(35, 33, 29);&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: 16px; vertical-align: baseline; box-sizing: border-box;&quot;&gt;&lt;strong&gt;2.3 重加载服务配置并重启docker&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;cnblogs_code&quot; style=&quot;margin: 5px 0px; padding: 5px; border: 1px solid rgb(79, 74, 65); vertical-align: baseline; box-sizing: border-box; background-color: rgb(37, 35, 31); overflow: auto; color: rgb(255, 255, 222); text-wrap: wrap; font-size: 12px !important; font-family: &amp;quot;Courier New&amp;quot; !important;&quot;&gt;&lt;pre style=&quot;transition-duration: 0.2s; transition-property: background, font-size, border-color, border-radius, border-width, padding, margin, color; overflow: auto; margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; vertical-align: baseline; box-sizing: border-box; font-family: &amp;quot;Courier New&amp;quot;, serif; overflow-wrap: break-word;&quot;&gt;#重新加载服务的配置文件systemctl&amp;nbsp;daemon-reload#重启dockersystemctl&amp;nbsp;restart&amp;nbsp;docker&lt;/pre&gt;&lt;/div&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; border: 0px; font-size: 15px; vertical-align: baseline; box-sizing: border-box; color: rgb(247, 229, 198); font-family: UbuntuMono, &amp;quot;Varela Round&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, Menlo, Monaco, monospace, sans-serif; text-wrap: wrap; background-color: rgb(35, 33, 29);&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: 16px; vertical-align: baseline; box-sizing: border-box;&quot;&gt;&lt;strong&gt;2.4 测试manifest是否开启&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;cnblogs_code&quot; style=&quot;margin: 5px 0px; padding: 5px; border: 1px solid rgb(79, 74, 65); vertical-align: baseline; box-sizing: border-box; background-color: rgb(37, 35, 31); overflow: auto; color: rgb(255, 255, 222); text-wrap: wrap; font-size: 12px !important; font-family: &amp;quot;Courier New&amp;quot; !important;&quot;&gt;&lt;div class=&quot;cnblogs_code_toolbar&quot; style=&quot;margin: 5px 0px 0px; padding: 0px; border: 0px; vertical-align: baseline; box-sizing: border-box;&quot;&gt;&lt;span class=&quot;cnblogs_code_copy&quot; style=&quot;margin: 0px; padding: 0px 5px 0px 0px; border: 0px; font-size: inherit; vertical-align: baseline; box-sizing: border-box; font-family: &amp;quot;Courier New&amp;quot;, serif; line-height: 1.5;&quot;&gt;&lt;a title=&quot;复制代码&quot; style=&quot;color: rgb(171, 177, 169); margin: 0px; padding: 0px; vertical-align: baseline; box-sizing: border-box; cursor: pointer; border: none !important;&quot;&gt;&lt;img src=&quot;https://assets.cnblogs.com/images/copycode.gif&quot; alt=&quot;复制代码&quot; style=&quot;max-width: 100%; height: auto; margin: 10px auto; padding: 0px; vertical-align: baseline; box-sizing: border-box; display: flex; border-radius: 2px; border: none !important;&quot;/&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre style=&quot;transition-duration: 0.2s; transition-property: background, font-size, border-color, border-radius, border-width, padding, margin, color; overflow: auto; margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; vertical-align: baseline; box-sizing: border-box; font-family: &amp;quot;Courier New&amp;quot;, serif; overflow-wrap: break-word;&quot;&gt;&lt;span data-darkreader-inline-color=&quot;&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; box-sizing: border-box; color: #000000; line-height: 1.5; --darkreader-inline-color: #ffffde;&quot;&gt;#测试manifest是否开启&lt;strong&gt;docker manifest&lt;br/&gt;&lt;br/&gt;&lt;/strong&gt;#查看docker是否开启experimental功能&lt;strong&gt;&lt;br/&gt;docker version &lt;br/&gt;或&lt;br/&gt;docker system info&lt;br/&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div class=&quot;cnblogs_code_toolbar&quot; style=&quot;margin: 5px 0px 0px; padding: 0px; border: 0px; vertical-align: baseline; box-sizing: border-box;&quot;&gt;&lt;span class=&quot;cnblogs_code_copy&quot; style=&quot;margin: 0px; padding: 0px 5px 0px 0px; border: 0px; font-size: inherit; vertical-align: baseline; box-sizing: border-box; font-family: &amp;quot;Courier New&amp;quot;, serif; line-height: 1.5;&quot;&gt;&lt;a title=&quot;复制代码&quot; style=&quot;color: rgb(171, 177, 169); margin: 0px; padding: 0px; vertical-align: baseline; box-sizing: border-box; cursor: pointer; border: none !important;&quot;&gt;&lt;img src=&quot;https://assets.cnblogs.com/images/copycode.gif&quot; alt=&quot;复制代码&quot; style=&quot;max-width: 100%; height: auto; margin: 10px auto; padding: 0px; vertical-align: baseline; box-sizing: border-box; display: flex; border-radius: 2px; border: none !important;&quot;/&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; border: 0px; font-size: 15px; vertical-align: baseline; box-sizing: border-box; color: rgb(247, 229, 198); font-family: UbuntuMono, &amp;quot;Varela Round&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, Menlo, Monaco, monospace, sans-serif; text-wrap: wrap; background-color: rgb(35, 33, 29);&quot;&gt;&lt;img src=&quot;https://img2020.cnblogs.com/blog/1582099/202109/1582099-20210906131337871-607926525.png&quot; alt=&quot;&quot; loading=&quot;lazy&quot; class=&quot;medium-zoom-image&quot; style=&quot;border: 0px; max-width: 100%; height: auto; margin: 10px auto; padding: 0px; vertical-align: baseline; box-sizing: border-box; cursor: zoom-in; display: flex; border-radius: 2px; transition: transform 0.3s cubic-bezier(0.2, 0, 0.2, 1) !important;&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; border: 0px; font-size: 15px; vertical-align: baseline; box-sizing: border-box; color: rgb(247, 229, 198); font-family: UbuntuMono, &amp;quot;Varela Round&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, Menlo, Monaco, monospace, sans-serif; text-wrap: wrap; background-color: rgb(35, 33, 29);&quot;&gt;&lt;img src=&quot;https://img2020.cnblogs.com/blog/1582099/202109/1582099-20210906161936110-1155601123.png&quot; alt=&quot;&quot; loading=&quot;lazy&quot; class=&quot;medium-zoom-image&quot; style=&quot;border: 0px; max-width: 100%; height: auto; margin: 10px auto; padding: 0px; vertical-align: baseline; box-sizing: border-box; cursor: zoom-in; display: flex; border-radius: 2px; transition: transform 0.3s cubic-bezier(0.2, 0, 0.2, 1) !important;&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; border: 0px; font-size: 15px; vertical-align: baseline; box-sizing: border-box; color: rgb(247, 229, 198); font-family: UbuntuMono, &amp;quot;Varela Round&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, Menlo, Monaco, monospace, sans-serif; text-wrap: wrap; background-color: rgb(35, 33, 29);&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: 16px; vertical-align: baseline; box-sizing: border-box;&quot;&gt;&lt;strong&gt;&amp;nbsp;如上显示已开启。&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;h3 id=&quot;3. 拉取指定平台镜像&quot; style=&quot;margin: 35px 0px 10px; padding: 0px; border: 0px; font-size: 18px; vertical-align: baseline; box-sizing: border-box; line-height: 1.5; color: rgb(247, 229, 198); font-family: UbuntuMono, &amp;quot;Varela Round&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, Menlo, Monaco, monospace, sans-serif; text-wrap: wrap; background-color: rgb(35, 33, 29);&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; box-sizing: border-box;&quot;&gt;&lt;strong&gt;3. 拉取指定平台镜像&lt;/strong&gt;&lt;/span&gt;&lt;/h3&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; border: 0px; font-size: 15px; vertical-align: baseline; box-sizing: border-box; color: rgb(247, 229, 198); font-family: UbuntuMono, &amp;quot;Varela Round&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, Menlo, Monaco, monospace, sans-serif; text-wrap: wrap; background-color: rgb(35, 33, 29);&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: 16px; vertical-align: baseline; box-sizing: border-box;&quot;&gt;&lt;strong&gt;3.1 方法一&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; border: 0px; font-size: 15px; vertical-align: baseline; box-sizing: border-box; color: rgb(247, 229, 198); font-family: UbuntuMono, &amp;quot;Varela Round&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, Menlo, Monaco, monospace, sans-serif; text-wrap: wrap; background-color: rgb(35, 33, 29);&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: 16px; vertical-align: baseline; box-sizing: border-box;&quot;&gt;&lt;strong&gt;如上manifest实验功能开启后，可通过如下命令拉取其他CPU平台的镜像。&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;cnblogs_code&quot; style=&quot;margin: 5px 0px; padding: 5px; border: 1px solid rgb(79, 74, 65); vertical-align: baseline; box-sizing: border-box; background-color: rgb(37, 35, 31); overflow: auto; color: rgb(255, 255, 222); text-wrap: wrap; font-size: 12px !important; font-family: &amp;quot;Courier New&amp;quot; !important;&quot;&gt;&lt;pre style=&quot;transition-duration: 0.2s; transition-property: background, font-size, border-color, border-radius, border-width, padding, margin, color; overflow: auto; margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; vertical-align: baseline; box-sizing: border-box; font-family: &amp;quot;Courier New&amp;quot;, serif; overflow-wrap: break-word;&quot;&gt;#X86平台docker拉取arm镜像docker&amp;nbsp;pull&amp;nbsp;--platform=arm64&amp;nbsp;镜像名:版本#示例docker&amp;nbsp;pull&amp;nbsp;--platform=arm64&amp;nbsp;nginx:latest&lt;/pre&gt;&lt;/div&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; border: 0px; font-size: 15px; vertical-align: baseline; box-sizing: border-box; color: rgb(247, 229, 198); font-family: UbuntuMono, &amp;quot;Varela Round&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, Menlo, Monaco, monospace, sans-serif; text-wrap: wrap; background-color: rgb(35, 33, 29);&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: 16px; vertical-align: baseline; box-sizing: border-box;&quot;&gt;&lt;strong&gt;--platform：该参数是用于拉取指定平台的镜像，也是实验性功能，在开启manifest功能后就会出现。通过该参数可以手动指定需要的CPU平台镜像，而不用自动去识别。&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; border: 0px; font-size: 15px; vertical-align: baseline; box-sizing: border-box; color: rgb(247, 229, 198); font-family: UbuntuMono, &amp;quot;Varela Round&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, Menlo, Monaco, monospace, sans-serif; text-wrap: wrap; background-color: rgb(35, 33, 29);&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: 16px; vertical-align: baseline; box-sizing: border-box;&quot;&gt;&lt;strong&gt;3.2 方法二&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; border: 0px; font-size: 15px; vertical-align: baseline; box-sizing: border-box; color: rgb(247, 229, 198); font-family: UbuntuMono, &amp;quot;Varela Round&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, Menlo, Monaco, monospace, sans-serif; text-wrap: wrap; background-color: rgb(35, 33, 29);&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: 16px; vertical-align: baseline; box-sizing: border-box;&quot;&gt;&lt;strong&gt;通过镜像的 sha256值拉取（大概率会失败）&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; border: 0px; font-size: 15px; vertical-align: baseline; box-sizing: border-box; color: rgb(247, 229, 198); font-family: UbuntuMono, &amp;quot;Varela Round&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, Menlo, Monaco, monospace, sans-serif; text-wrap: wrap; background-color: rgb(35, 33, 29);&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: 16px; vertical-align: baseline; box-sizing: border-box;&quot;&gt;&lt;strong&gt;&lt;img src=&quot;https://img-blog.csdnimg.cn/20210510150523966.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L2xoYzA2MDI=,size_16,color_FFFFFF,t_70&quot; alt=&quot;在这里插入图片描述&quot; class=&quot;medium-zoom-image&quot; style=&quot;border: none; max-width: 100%; height: auto; margin: 10px auto; padding: 0px; vertical-align: baseline; box-sizing: border-box; cursor: zoom-in; display: flex; border-radius: 2px; transition: transform 0.3s cubic-bezier(0.2, 0, 0.2, 1) !important;&quot;/&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; border: 0px; font-size: 15px; vertical-align: baseline; box-sizing: border-box; color: rgb(247, 229, 198); font-family: UbuntuMono, &amp;quot;Varela Round&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, Menlo, Monaco, monospace, sans-serif; text-wrap: wrap; background-color: rgb(35, 33, 29);&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: 16px; vertical-align: baseline; box-sizing: border-box;&quot;&gt;&lt;strong&gt;&lt;img src=&quot;https://img2020.cnblogs.com/blog/1582099/202109/1582099-20210906132313321-1997091339.png&quot; alt=&quot;&quot; loading=&quot;lazy&quot; class=&quot;medium-zoom-image&quot; style=&quot;border: none; max-width: 100%; height: auto; margin: 10px auto; padding: 0px; vertical-align: baseline; box-sizing: border-box; cursor: zoom-in; display: flex; border-radius: 2px; transition: transform 0.3s cubic-bezier(0.2, 0, 0.2, 1) !important;&quot;/&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;cnblogs_code&quot; style=&quot;margin: 5px 0px; padding: 5px; border: 1px solid rgb(79, 74, 65); vertical-align: baseline; box-sizing: border-box; background-color: rgb(37, 35, 31); overflow: auto; color: rgb(255, 255, 222); text-wrap: wrap; font-size: 12px !important; font-family: &amp;quot;Courier New&amp;quot; !important;&quot;&gt;&lt;pre style=&quot;transition-duration: 0.2s; transition-property: background, font-size, border-color, border-radius, border-width, padding, margin, color; overflow: auto; margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; vertical-align: baseline; box-sizing: border-box; font-family: &amp;quot;Courier New&amp;quot;, serif; overflow-wrap: break-word;&quot;&gt;#通过sha256值拉取镜像docker&amp;nbsp;pull&amp;nbsp;nginx:stable-perl@sha256:a48175e7029f0ae21b8b4e2526d6c3dd7278a8479be0e666d729b6234108f4e1&lt;/pre&gt;&lt;/div&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; border: 0px; font-size: 15px; vertical-align: baseline; box-sizing: border-box; color: rgb(247, 229, 198); font-family: UbuntuMono, &amp;quot;Varela Round&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, Menlo, Monaco, monospace, sans-serif; text-wrap: wrap; background-color: rgb(35, 33, 29);&quot;&gt;&lt;img src=&quot;https://img2020.cnblogs.com/blog/1582099/202109/1582099-20210906132520544-1147788722.png&quot; alt=&quot;&quot; loading=&quot;lazy&quot; class=&quot;medium-zoom-image&quot; style=&quot;border: 0px; max-width: 100%; height: auto; margin: 10px auto; padding: 0px; vertical-align: baseline; box-sizing: border-box; cursor: zoom-in; display: flex; border-radius: 2px; transition: transform 0.3s cubic-bezier(0.2, 0, 0.2, 1) !important;&quot;/&gt;&lt;/p&gt;&lt;h3 id=&quot;4. docker manifest 常用命令及操作&quot; style=&quot;margin: 35px 0px 10px; padding: 0px; border: 0px; font-size: 18px; vertical-align: baseline; box-sizing: border-box; line-height: 1.5; color: rgb(247, 229, 198); font-family: UbuntuMono, &amp;quot;Varela Round&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, Menlo, Monaco, monospace, sans-serif; text-wrap: wrap; background-color: rgb(35, 33, 29);&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; box-sizing: border-box;&quot;&gt;&lt;strong&gt;4. docker manifest 常用命令及操作&lt;/strong&gt;&lt;/span&gt;&lt;/h3&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; border: 0px; font-size: 15px; vertical-align: baseline; box-sizing: border-box; color: rgb(247, 229, 198); font-family: UbuntuMono, &amp;quot;Varela Round&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, Menlo, Monaco, monospace, sans-serif; text-wrap: wrap; background-color: rgb(35, 33, 29);&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: 16px; vertical-align: baseline; box-sizing: border-box;&quot;&gt;&lt;strong&gt;4.1 查看已有镜像的manifest&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;cnblogs_code&quot; style=&quot;margin: 5px 0px; padding: 5px; border: 1px solid rgb(79, 74, 65); vertical-align: baseline; box-sizing: border-box; background-color: rgb(37, 35, 31); overflow: auto; color: rgb(255, 255, 222); text-wrap: wrap; font-size: 12px !important; font-family: &amp;quot;Courier New&amp;quot; !important;&quot;&gt;&lt;pre style=&quot;transition-duration: 0.2s; transition-property: background, font-size, border-color, border-radius, border-width, padding, margin, color; overflow: auto; margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; vertical-align: baseline; box-sizing: border-box; font-family: &amp;quot;Courier New&amp;quot;, serif; overflow-wrap: break-word;&quot;&gt;#查看已有镜像的manifestdocker&amp;nbsp;manifest&amp;nbsp;inspect&amp;nbsp;--insecure&amp;nbsp;nginx&lt;/pre&gt;&lt;/div&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; border: 0px; font-size: 15px; vertical-align: baseline; box-sizing: border-box; color: rgb(247, 229, 198); font-family: UbuntuMono, &amp;quot;Varela Round&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, Menlo, Monaco, monospace, sans-serif; text-wrap: wrap; background-color: rgb(35, 33, 29);&quot;&gt;&lt;img src=&quot;https://img2020.cnblogs.com/blog/1582099/202109/1582099-20210906132804646-1210000478.png&quot; alt=&quot;&quot; loading=&quot;lazy&quot; class=&quot;medium-zoom-image&quot; style=&quot;border: 0px; max-width: 100%; height: auto; margin: 10px auto; padding: 0px; vertical-align: baseline; box-sizing: border-box; cursor: zoom-in; display: flex; border-radius: 2px; transition: transform 0.3s cubic-bezier(0.2, 0, 0.2, 1) !important;&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; border: 0px; font-size: 15px; vertical-align: baseline; box-sizing: border-box; color: rgb(247, 229, 198); font-family: UbuntuMono, &amp;quot;Varela Round&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, Menlo, Monaco, monospace, sans-serif; text-wrap: wrap; background-color: rgb(35, 33, 29);&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: 16px; vertical-align: baseline; box-sizing: border-box;&quot;&gt;&lt;strong&gt;&amp;nbsp;4.2&amp;nbsp; 创建manifest镜像信息&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;cnblogs_code&quot; style=&quot;margin: 5px 0px; padding: 5px; border: 1px solid rgb(79, 74, 65); vertical-align: baseline; box-sizing: border-box; background-color: rgb(37, 35, 31); overflow: auto; color: rgb(255, 255, 222); text-wrap: wrap; font-size: 12px !important; font-family: &amp;quot;Courier New&amp;quot; !important;&quot;&gt;&lt;pre style=&quot;transition-duration: 0.2s; transition-property: background, font-size, border-color, border-radius, border-width, padding, margin, color; overflow: auto; margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; vertical-align: baseline; box-sizing: border-box; font-family: &amp;quot;Courier New&amp;quot;, serif; overflow-wrap: break-word;&quot;&gt;#创建manifest镜像信息docker&amp;nbsp;manifest&amp;nbsp;create&amp;nbsp;--insecure&amp;nbsp;xxx/nginx:latest&amp;nbsp;xxx/nginx:nginx-arm64&amp;nbsp;xxx/nginx:nginx-x86&lt;/pre&gt;&lt;/div&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; border: 0px; font-size: 15px; vertical-align: baseline; box-sizing: border-box; color: rgb(247, 229, 198); font-family: UbuntuMono, &amp;quot;Varela Round&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, Menlo, Monaco, monospace, sans-serif; text-wrap: wrap; background-color: rgb(35, 33, 29);&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: 16px; vertical-align: baseline; box-sizing: border-box;&quot;&gt;&lt;strong&gt;--insecure ：这个命令主要是防止你远程仓库没有Https证书的问题，最好加上&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; border: 0px; font-size: 15px; vertical-align: baseline; box-sizing: border-box; color: rgb(247, 229, 198); font-family: UbuntuMono, &amp;quot;Varela Round&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, Menlo, Monaco, monospace, sans-serif; text-wrap: wrap; background-color: rgb(35, 33, 29);&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: 16px; vertical-align: baseline; box-sizing: border-box;&quot;&gt;&lt;strong&gt;xxx/nginx:latest ：统一架构后的镜像地址，可有可无&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; border: 0px; font-size: 15px; vertical-align: baseline; box-sizing: border-box; color: rgb(247, 229, 198); font-family: UbuntuMono, &amp;quot;Varela Round&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, Menlo, Monaco, monospace, sans-serif; text-wrap: wrap; background-color: rgb(35, 33, 29);&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: 16px; vertical-align: baseline; box-sizing: border-box;&quot;&gt;&lt;strong&gt;xxx/nginx:nginx-arm64 ：已经在仓库中有的镜像地址&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; border: 0px; font-size: 15px; vertical-align: baseline; box-sizing: border-box; color: rgb(247, 229, 198); font-family: UbuntuMono, &amp;quot;Varela Round&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, Menlo, Monaco, monospace, sans-serif; text-wrap: wrap; background-color: rgb(35, 33, 29);&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: 16px; vertical-align: baseline; box-sizing: border-box;&quot;&gt;&lt;strong&gt;xxx/nginx:nginx-x86 ：已经在仓库中有的镜像地址&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; border: 0px; font-size: 15px; vertical-align: baseline; box-sizing: border-box; color: rgb(247, 229, 198); font-family: UbuntuMono, &amp;quot;Varela Round&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, Menlo, Monaco, monospace, sans-serif; text-wrap: wrap; background-color: rgb(35, 33, 29);&quot;&gt;&lt;span data-darkreader-inline-color=&quot;&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: 16px; vertical-align: baseline; box-sizing: border-box; color: #008000; --darkreader-inline-color: #e5f1b6;&quot;&gt;&lt;strong&gt;如果不想新建manifest list镜像地址，而是想用已有的镜像地址，那么可以参考这个命令：&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;cnblogs_code&quot; style=&quot;margin: 5px 0px; padding: 5px; border: 1px solid rgb(79, 74, 65); vertical-align: baseline; box-sizing: border-box; background-color: rgb(37, 35, 31); overflow: auto; color: rgb(255, 255, 222); text-wrap: wrap; font-size: 12px !important; font-family: &amp;quot;Courier New&amp;quot; !important;&quot;&gt;&lt;pre style=&quot;transition-duration: 0.2s; transition-property: background, font-size, border-color, border-radius, border-width, padding, margin, color; overflow: auto; margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; vertical-align: baseline; box-sizing: border-box; font-family: &amp;quot;Courier New&amp;quot;, serif; overflow-wrap: break-word;&quot;&gt;#&amp;nbsp;使用已有的镜像地址docker&amp;nbsp;manifest&amp;nbsp;create&amp;nbsp;--insecure&amp;nbsp;--amend&amp;nbsp;xxx/nginx:nginx-arm64&amp;nbsp;xxx/nginx:nginx-x86&lt;/pre&gt;&lt;/div&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; border: 0px; font-size: 15px; vertical-align: baseline; box-sizing: border-box; color: rgb(247, 229, 198); font-family: UbuntuMono, &amp;quot;Varela Round&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, Menlo, Monaco, monospace, sans-serif; text-wrap: wrap; background-color: rgb(35, 33, 29);&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: 16px; vertical-align: baseline; box-sizing: border-box;&quot;&gt;&lt;strong&gt;--amend选项，将x86的架构信息增加到了arm64架构中。&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; border: 0px; font-size: 15px; vertical-align: baseline; box-sizing: border-box; color: rgb(247, 229, 198); font-family: UbuntuMono, &amp;quot;Varela Round&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, Menlo, Monaco, monospace, sans-serif; text-wrap: wrap; background-color: rgb(35, 33, 29);&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: 16px; vertical-align: baseline; box-sizing: border-box;&quot;&gt;&lt;strong&gt;4.3 提交manifest镜像信息&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; border: 0px; font-size: 15px; vertical-align: baseline; box-sizing: border-box; color: rgb(247, 229, 198); font-family: UbuntuMono, &amp;quot;Varela Round&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, Menlo, Monaco, monospace, sans-serif; text-wrap: wrap; background-color: rgb(35, 33, 29);&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: 16px; vertical-align: baseline; box-sizing: border-box;&quot;&gt;&lt;strong&gt;将这个manifest提交到仓库中&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;cnblogs_code&quot; style=&quot;margin: 5px 0px; padding: 5px; border: 1px solid rgb(79, 74, 65); vertical-align: baseline; box-sizing: border-box; background-color: rgb(37, 35, 31); overflow: auto; color: rgb(255, 255, 222); text-wrap: wrap; font-size: 12px !important; font-family: &amp;quot;Courier New&amp;quot; !important;&quot;&gt;&lt;pre style=&quot;transition-duration: 0.2s; transition-property: background, font-size, border-color, border-radius, border-width, padding, margin, color; overflow: auto; margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; vertical-align: baseline; box-sizing: border-box; font-family: &amp;quot;Courier New&amp;quot;, serif; overflow-wrap: break-word;&quot;&gt;#将manifest镜像信息提交到仓库中docker&amp;nbsp;manifest&amp;nbsp;push&amp;nbsp;xxx/nginx:latest&lt;/pre&gt;&lt;/div&gt;&lt;div class=&quot;cnblogs_code&quot; style=&quot;margin: 5px 0px; padding: 5px; border: 1px solid rgb(79, 74, 65); vertical-align: baseline; box-sizing: border-box; background-color: rgb(37, 35, 31); overflow: auto; color: rgb(255, 255, 222); text-wrap: wrap; font-size: 12px !important; font-family: &amp;quot;Courier New&amp;quot; !important;&quot;&gt;&lt;pre style=&quot;transition-duration: 0.2s; transition-property: background, font-size, border-color, border-radius, border-width, padding, margin, color; overflow: auto; margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; vertical-align: baseline; box-sizing: border-box; font-family: &amp;quot;Courier New&amp;quot;, serif; overflow-wrap: break-word;&quot;&gt;#验证下镜像信息是否被提交
docker&amp;nbsp;manifest&amp;nbsp;inspect&amp;nbsp;xxx/nginx:latest&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Tue, 08 Oct 2024 13:24:21 +0800</pubDate></item><item><title>ROS 国内更新失败，云更新失败解决方法</title><link>https://book.nbznh.com/?id=610</link><description>&lt;p&gt;/ip dns static&lt;/p&gt;&lt;p&gt;add address=159.138.7.88 name=upgrade.mikrotik.com&lt;/p&gt;&lt;p&gt;add address=159.148.147.252 name=cloud1.mikrotik.com&lt;/p&gt;&lt;p&gt;add address=159.148.172.251 name=cloud2.mikrotik.com&lt;/p&gt;&lt;p&gt;add address=2a02:610:7501:4000::251 name=cloud2.mikrotik.com&lt;/p&gt;&lt;p&gt;/ip dns static&lt;/p&gt;&lt;p&gt;add cname=upgrade.mikrotik.app name=upgrade.mikrotik.com type=CNAME&lt;/p&gt;&lt;p&gt;add cname=licence.mikrotik.app name=licence.mikrotik.com type=CNAME&lt;/p&gt;&lt;p&gt;/ip dns static&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p&gt;add address=45.78.60.53 name=upgrade.mikrotik.com type=A&lt;/p&gt;&lt;p&gt;add address=45.78.60.53 name=licence.mikrotik.com type=A&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Mon, 09 Sep 2024 22:59:15 +0800</pubDate></item><item><title>本地部署服务器列表</title><link>https://book.nbznh.com/?id=609</link><description>&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr class=&quot;firstRow&quot;&gt;&lt;td width=&quot;350&quot; valign=&quot;top&quot; style=&quot;word-break: break-all;&quot; height=&quot;20&quot;&gt;名称&lt;/td&gt;&lt;td width=&quot;350&quot; valign=&quot;top&quot; style=&quot;word-break: break-all;&quot; height=&quot;20&quot;&gt;地址&amp;amp;内部端口&lt;/td&gt;&lt;td width=&quot;350&quot; valign=&quot;top&quot; style=&quot;word-break: break-all;&quot; height=&quot;20&quot;&gt;外部端口&lt;/td&gt;&lt;td width=&quot;350&quot; valign=&quot;top&quot; style=&quot;word-break: break-all;&quot; height=&quot;20&quot;&gt;&lt;span style=&quot;text-wrap: wrap;&quot;&gt;备注&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=&quot;350&quot; valign=&quot;top&quot; style=&quot;word-break: break-all;&quot;&gt;VS&lt;/td&gt;&lt;td width=&quot;350&quot; valign=&quot;top&quot; style=&quot;word-break: break-all;&quot;&gt;https://192.168.10.122&lt;/td&gt;&lt;td width=&quot;350&quot; valign=&quot;top&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td width=&quot;350&quot; valign=&quot;top&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=&quot;350&quot; valign=&quot;top&quot; style=&quot;word-break: break-all;&quot;&gt;&lt;span style=&quot;text-wrap: wrap;&quot;&gt;&amp;nbsp;SQL 服务器,安装于群晖&lt;/span&gt;&lt;/td&gt;&lt;td width=&quot;350&quot; valign=&quot;top&quot; style=&quot;word-break: break-all;&quot;&gt;&lt;span style=&quot;text-wrap: wrap;&quot;&gt;192.168.10.235:9099&lt;/span&gt;&lt;/td&gt;&lt;td width=&quot;350&quot; valign=&quot;top&quot; style=&quot;word-break: break-all;&quot;&gt;9099&lt;/td&gt;&lt;td width=&quot;350&quot; valign=&quot;top&quot; style=&quot;word-break: break-all;&quot;&gt;sa/passWork@88085348&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=&quot;350&quot; valign=&quot;top&quot; style=&quot;word-break: break-all;&quot;&gt;jumpserver堡垒机&lt;br/&gt;&lt;/td&gt;&lt;td width=&quot;350&quot; valign=&quot;top&quot; style=&quot;word-break: break-all;&quot;&gt;&lt;span style=&quot;text-wrap: wrap;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;text-wrap: wrap;&quot;&gt;192.168.10.76:8080&lt;/span&gt;&lt;/td&gt;&lt;td width=&quot;350&quot; valign=&quot;top&quot; style=&quot;word-break: break-all;&quot;&gt;2088&lt;a href=&quot;http://ddndx2.nbznh.com:2088&quot; target=&quot;_self&quot;&gt;&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;http://ddndx2.nbznh.com:2088&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;td width=&quot;350&quot; valign=&quot;top&quot; style=&quot;word-break: break-all;&quot;&gt;admin/88085348&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=&quot;350&quot; valign=&quot;top&quot; style=&quot;word-break: break-all;&quot;&gt;宝塔&lt;/td&gt;&lt;td width=&quot;350&quot; valign=&quot;top&quot; style=&quot;word-break: break-all;&quot;&gt;http://192.168.10.75:8888/88037233&lt;/td&gt;&lt;td width=&quot;350&quot; valign=&quot;top&quot; style=&quot;word-break: break-all;&quot;&gt;8888&lt;br/&gt;&lt;/td&gt;&lt;td width=&quot;350&quot; valign=&quot;top&quot; style=&quot;word-break: break-all;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=&quot;350&quot; valign=&quot;top&quot; style=&quot;word-break: break-all;&quot;&gt;1panel&lt;br/&gt;&lt;/td&gt;&lt;td width=&quot;350&quot; valign=&quot;top&quot; style=&quot;word-break: break-all;&quot;&gt;http://192.168.10.76:16357/68ad8415ae&lt;/td&gt;&lt;td width=&quot;350&quot; valign=&quot;top&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td width=&quot;350&quot; valign=&quot;top&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=&quot;350&quot; valign=&quot;top&quot; style=&quot;word-break: break-all;&quot;&gt;FRP&lt;/td&gt;&lt;td width=&quot;350&quot; valign=&quot;top&quot; style=&quot;word-break: break-all;&quot;&gt;http://192.168.10.76:7500/static/#/&lt;/td&gt;&lt;td width=&quot;350&quot; valign=&quot;top&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td width=&quot;350&quot; valign=&quot;top&quot; style=&quot;word-break: break-all;&quot;&gt;admin/88085348&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=&quot;350&quot; valign=&quot;top&quot; style=&quot;word-break: break-all;&quot;&gt;nvlic-server&lt;/td&gt;&lt;td width=&quot;350&quot; valign=&quot;top&quot; style=&quot;word-break: break-all;&quot;&gt;192.168.10.190&lt;/td&gt;&lt;td width=&quot;350&quot; valign=&quot;top&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td width=&quot;350&quot; valign=&quot;top&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;word-break: break-all;&quot;&gt;PVE&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;word-break: break-all;&quot;&gt;https://192.168.10.79:8006/&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;word-break: break-all;&quot;&gt;&lt;a href=&quot;http://ddndx2.nbznh.com:8006&quot; target=&quot;_self&quot;&gt;ddndx2.nbznh.com:8006&lt;/a&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;word-break: break-all;&quot;&gt;root/wwwkj88085348&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;word-break: break-all;&quot;&gt;open-webui&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;word-break: break-all;&quot;&gt;http://192.168.10.76:3000&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;word-break: break-all;&quot;&gt;516287000@qq.com/wwwkj88085348&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;word-break: break-all;&quot;&gt;one-hub&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;word-break: break-all;&quot;&gt;http://192.168.10.76:3300/&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;word-break: break-all;&quot;&gt;root/123456&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;word-break: break-all;&quot;&gt;Linux命令搜索&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;word-break: break-all;&quot;&gt;https://linux.nbznh.com/&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;word-break: break-all;&quot;&gt;&lt;a href=&quot;https://linux.nbznh.com/&quot; target=&quot;_self&quot;&gt;&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;https://linux.nbznh.com&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;word-break: break-all;&quot;&gt;Jupyter Server&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;word-break: break-all;&quot;&gt;http://192.168.10.76:10000/&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;word-break: break-all;&quot;&gt;88085348&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;word-break: break-all;&quot;&gt;&lt;p&gt;VMware vCenter Server&lt;/p&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;word-break: break-all;&quot;&gt;https://192.168.1.122&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;word-break: break-all;&quot;&gt;administrator@vsp.nbznh.com/administrator@vsp.nbznh.com&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;word-break: break-all;&quot;&gt;FNOS&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;word-break: break-all;&quot;&gt;192.168.10.236:5666&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;word-break: break-all;&quot;&gt;东京服务器&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;word-break: break-all;&quot;&gt;&lt;span style=&quot;text-wrap-mode: wrap; color: #3C3D41; font-family: Rubrik, Arial, sans-serif; font-size: 20px; text-align: center; background-color: #FDE0E1;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;strong data-immersive-translate-walked=&quot;570958cf-b914-46c1-9128-4f7378b99cf5&quot; style=&quot;text-wrap-mode: wrap; box-sizing: border-box; background-repeat: no-repeat; font-weight: bold; color: rgb(60, 61, 65); font-family: Rubrik, Arial, sans-serif; font-size: 20px; text-align: center; background-color: rgb(253, 224, 225);&quot;&gt;jp1-cloud.duckdns.org&lt;/strong&gt;&lt;span style=&quot;text-wrap-mode: wrap; color: #3C3D41; font-family: Rubrik, Arial, sans-serif; font-size: 20px; text-align: center; background-color: #FDE0E1;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=&quot;350&quot; valign=&quot;top&quot; style=&quot;word-break: break-all;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td width=&quot;350&quot; valign=&quot;top&quot; style=&quot;word-break: break-all;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td width=&quot;350&quot; valign=&quot;top&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td width=&quot;350&quot; valign=&quot;top&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Tue, 27 Aug 2024 20:32:13 +0800</pubDate></item><item><title>ESXi、PVE、unRaid对比</title><link>https://book.nbznh.com/?id=608</link><description>&lt;h2 data-first-child=&quot;&quot; id=&quot;h_166352130_0&quot; data-into-catalog-status=&quot;&quot; style=&quot;font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; margin: 0px 0px calc(1.16667em); clear: left; color: rgb(25, 27, 31); text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;【前言】&lt;/h2&gt;&lt;p data-pid=&quot;WC3H7C-T&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;虚拟机下的&lt;a class=&quot;RichContent-EntityWord css-b7erz1&quot; data-za-not-track-link=&quot;true&quot; data-paste-text=&quot;true&quot; href=&quot;https://zhida.zhihu.com/search?q=%E8%BD%AF%E8%B7%AF%E7%94%B1&amp;zhida_source=entity&amp;is_preview=1&quot; target=&quot;_blank&quot; style=&quot;text-decoration-line: none; color: rgb(9, 64, 142); cursor: pointer;&quot;&gt;软路由&lt;svg width=&quot;10px&quot; height=&quot;10px&quot; viewbox=&quot;0 0 16 16&quot; class=&quot;ZDI ZDI--FourPointedStar16 css-1dvsrp&quot; fill=&quot;currentColor&quot;&gt;&lt;path d=&quot;m5.068 9.267-3.08-.77a.512.512 0 0 1 0-.994l3.08-.77a2.289 2.289 0 0 0 1.665-1.665l.77-3.08a.512.512 0 0 1 .994 0l.77 3.08c.205.82.845 1.46 1.665 1.665l3.08.77a.512.512 0 0 1 0 .994l-3.08.77a2.29 2.29 0 0 0-1.665 1.665l-.77 3.08a.512.512 0 0 1-.994 0l-.77-3.08a2.289 2.289 0 0 0-1.665-1.665Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;、NAS玩了几个月了，当初选择虚拟系统真是纠结得很，觉得哪个都好哪个都有问题。试来试去，发现已经把ESXi、PVE、unRaid这三大虚拟系统（unRaid有点冤）都折腾了几遍了。&lt;/p&gt;&lt;p data-pid=&quot;ZC8gtimf&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;这里罗列记录一下，也许也可以帮你少纠结一点。&lt;/p&gt;&lt;p data-pid=&quot;ks_EYACZ&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;我会粗略描述一些操作步骤，旨在体现操作复杂度等，可能无法当做完整教程。有需要了解详细步骤的同学可以参看其它大神的文章。&lt;/p&gt;&lt;h2 id=&quot;h_166352130_1&quot; data-into-catalog-status=&quot;&quot; style=&quot;font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; margin: calc(2.33333em) 0px calc(1.16667em); clear: left; color: rgb(25, 27, 31); text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;【概述】&lt;/h2&gt;&lt;p data-pid=&quot;E_UWjv0Y&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;ESXi&lt;/span&gt;，是VMWare vSphere Hypervisor套件之下重要组件。前身是ESX，依赖Linux源码，后来抛弃Linux源码做成了ESXi。整个产品商用气息浓重，界面清晰易用，但硬件兼容性较差（主要面向服务器），没什么扩展性（毕竟不是linux）。&lt;/p&gt;&lt;p data-pid=&quot;-azKy9su&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;PVE&lt;/span&gt;，全称Proxmox Virtual Environment，是基于Debian的Linux系统，虚拟机内核为KVM。硬件兼容性优秀。界面功能不强，很多操作要靠命令行，但扩展能力几乎是无限的。&lt;/p&gt;&lt;p data-pid=&quot;ujRN3Mq1&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;unRaid&lt;/span&gt;，其实是个NAS系统，是基于Slackware的Linux系统，虚拟机内核也是KVM。磁盘阵列管理非常有特色，灵活性很高。同时还有很不错的插件、Docker和虚拟机支持。&lt;/p&gt;&lt;h2 id=&quot;h_166352130_2&quot; data-into-catalog-status=&quot;&quot; style=&quot;font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; margin: calc(2.33333em) 0px calc(1.16667em); clear: left; color: rgb(25, 27, 31); text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;【系统安装】&lt;/h2&gt;&lt;p data-pid=&quot;uLY4P0ho&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;ESXi&lt;/span&gt;，官网获取iso镜像，做成启动盘来安装。&lt;/p&gt;&lt;p&gt;&lt;figure data-size=&quot;small&quot; style=&quot;margin: 1.4em 0px; clear: both; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div&gt;&lt;img src=&quot;https://pic1.zhimg.com/80/v2-1226bbc5d950297cbd482518e9ae7da0_720w.webp&quot; data-size=&quot;normal&quot; data-rawwidth=&quot;1024&quot; data-rawheight=&quot;768&quot; class=&quot;origin_image zh-lightbox-thumb lazy&quot; width=&quot;1024&quot; data-original=&quot;https://pic1.zhimg.com/v2-1226bbc5d950297cbd482518e9ae7da0_r.jpg&quot; data-actualsrc=&quot;https://pic1.zhimg.com/v2-1226bbc5d950297cbd482518e9ae7da0_b.jpg&quot; data-original-token=&quot;v2-ffc1a368bb28c87d600f9a6cbed052da&quot; height=&quot;768&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; cursor: zoom-in; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044; width: 690px;&quot;/&gt;&lt;/div&gt;&lt;figcaption style=&quot;color: rgb(145, 150, 161); font-size: 0.9em; line-height: 1.5; margin-top: calc(0.666667em); padding: 0px 1em; text-align: center;&quot;&gt;iso引导界面。整个安装过程界面都很简陋。&lt;/figcaption&gt;&lt;/figure&gt;&lt;figure data-size=&quot;small&quot; style=&quot;margin: calc(2.24em) 0px 1.4em; clear: both; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div&gt;&lt;img src=&quot;https://pic4.zhimg.com/80/v2-50ea718c52facf45ed694194b928c66b_720w.webp&quot; data-size=&quot;normal&quot; data-rawwidth=&quot;1024&quot; data-rawheight=&quot;768&quot; class=&quot;origin_image zh-lightbox-thumb lazy&quot; width=&quot;1024&quot; data-original=&quot;https://pic4.zhimg.com/v2-50ea718c52facf45ed694194b928c66b_r.jpg&quot; data-actualsrc=&quot;https://pic4.zhimg.com/v2-50ea718c52facf45ed694194b928c66b_b.jpg&quot; data-original-token=&quot;v2-3ac240d216c97d5d55924c5e5bfd3955&quot; height=&quot;768&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; cursor: zoom-in; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044; width: 690px;&quot;/&gt;&lt;/div&gt;&lt;figcaption style=&quot;color: rgb(145, 150, 161); font-size: 0.9em; line-height: 1.5; margin-top: calc(0.666667em); padding: 0px 1em; text-align: center;&quot;&gt;有磁盘选择和密码设定等简单环节。&lt;/figcaption&gt;&lt;/figure&gt;&lt;figure data-size=&quot;small&quot; style=&quot;margin: calc(2.24em) 0px 1.4em; clear: both; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div&gt;&lt;img src=&quot;https://pic4.zhimg.com/80/v2-4498e152cfbcc5de20b0888052798e23_720w.webp&quot; data-size=&quot;normal&quot; data-rawwidth=&quot;1024&quot; data-rawheight=&quot;768&quot; class=&quot;origin_image zh-lightbox-thumb lazy&quot; width=&quot;1024&quot; data-original=&quot;https://pic4.zhimg.com/v2-4498e152cfbcc5de20b0888052798e23_r.jpg&quot; data-actualsrc=&quot;https://pic4.zhimg.com/v2-4498e152cfbcc5de20b0888052798e23_b.jpg&quot; data-original-token=&quot;v2-e61039637f634b9b37962765dc2d6900&quot; height=&quot;768&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; cursor: zoom-in; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044; width: 690px;&quot;/&gt;&lt;/div&gt;&lt;figcaption style=&quot;color: rgb(145, 150, 161); font-size: 0.9em; line-height: 1.5; margin-top: calc(0.666667em); padding: 0px 1em; text-align: center;&quot;&gt;安装成功后重启进入系统，会看到管理地址的提示。&lt;/figcaption&gt;&lt;/figure&gt;&lt;figure data-size=&quot;small&quot; style=&quot;margin: calc(2.24em) 0px 1.4em; clear: both; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div&gt;&lt;img src=&quot;https://pic1.zhimg.com/80/v2-481e6236064f3ae84252282d00cb1b6c_720w.webp&quot; data-size=&quot;normal&quot; data-rawwidth=&quot;1024&quot; data-rawheight=&quot;768&quot; class=&quot;origin_image zh-lightbox-thumb lazy&quot; width=&quot;1024&quot; data-original=&quot;https://pic1.zhimg.com/v2-481e6236064f3ae84252282d00cb1b6c_r.jpg&quot; data-actualsrc=&quot;https://pic1.zhimg.com/v2-481e6236064f3ae84252282d00cb1b6c_b.jpg&quot; data-original-token=&quot;v2-cd79436ce08965b5bd628ad1223a4677&quot; height=&quot;768&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; cursor: zoom-in; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044; width: 690px;&quot;/&gt;&lt;/div&gt;&lt;figcaption style=&quot;color: rgb(145, 150, 161); font-size: 0.9em; line-height: 1.5; margin-top: calc(0.666667em); padding: 0px 1em; text-align: center;&quot;&gt;此时可以按f2进入这个系统设定菜单。主要是用来解决网络设定等问题。&lt;/figcaption&gt;&lt;/figure&gt;&lt;/p&gt;&lt;p data-pid=&quot;R-C6wP4k&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;PVE&lt;/span&gt;，同样是官网获取iso镜像，做成启动盘来安装。&lt;/p&gt;&lt;p&gt;&lt;figure data-size=&quot;small&quot; style=&quot;margin: 1.4em 0px; clear: both; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div&gt;&lt;img src=&quot;https://pic2.zhimg.com/80/v2-d46081f795587b14cbdf2c253643aea5_720w.webp&quot; data-size=&quot;normal&quot; data-rawwidth=&quot;640&quot; data-rawheight=&quot;400&quot; class=&quot;origin_image zh-lightbox-thumb lazy&quot; width=&quot;640&quot; data-original=&quot;https://pic2.zhimg.com/v2-d46081f795587b14cbdf2c253643aea5_r.jpg&quot; data-actualsrc=&quot;https://pic2.zhimg.com/v2-d46081f795587b14cbdf2c253643aea5_b.jpg&quot; data-original-token=&quot;v2-ba74b289d16dd5475afa0563ba33434d&quot; height=&quot;400&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; cursor: zoom-in; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044; width: 690px;&quot;/&gt;&lt;/div&gt;&lt;figcaption style=&quot;color: rgb(145, 150, 161); font-size: 0.9em; line-height: 1.5; margin-top: calc(0.666667em); padding: 0px 1em; text-align: center;&quot;&gt;iso引导界面&lt;/figcaption&gt;&lt;/figure&gt;&lt;figure data-size=&quot;small&quot; style=&quot;margin: calc(2.24em) 0px 1.4em; clear: both; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div&gt;&lt;img src=&quot;https://pic4.zhimg.com/80/v2-c22265ca3b979c605aee5cf3828bfaab_720w.webp&quot; data-size=&quot;normal&quot; data-rawwidth=&quot;1024&quot; data-rawheight=&quot;768&quot; class=&quot;origin_image zh-lightbox-thumb lazy&quot; width=&quot;1024&quot; data-original=&quot;https://pic4.zhimg.com/v2-c22265ca3b979c605aee5cf3828bfaab_r.jpg&quot; data-actualsrc=&quot;https://pic4.zhimg.com/v2-c22265ca3b979c605aee5cf3828bfaab_b.jpg&quot; data-original-token=&quot;v2-706453632ee719c5028473f744f97f70&quot; height=&quot;768&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; cursor: zoom-in; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044; width: 690px;&quot;/&gt;&lt;/div&gt;&lt;figcaption style=&quot;color: rgb(145, 150, 161); font-size: 0.9em; line-height: 1.5; margin-top: calc(0.666667em); padding: 0px 1em; text-align: center;&quot;&gt;有磁盘、密码、网络等设定过程。&lt;/figcaption&gt;&lt;/figure&gt;&lt;figure data-size=&quot;small&quot; style=&quot;margin: calc(2.24em) 0px 1.4em; clear: both; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div&gt;&lt;img src=&quot;https://pic2.zhimg.com/80/v2-53308349292b9982bfeb71db31a6677d_720w.webp&quot; data-size=&quot;normal&quot; data-rawwidth=&quot;800&quot; data-rawheight=&quot;600&quot; class=&quot;origin_image zh-lightbox-thumb lazy&quot; width=&quot;800&quot; data-original=&quot;https://pic2.zhimg.com/v2-53308349292b9982bfeb71db31a6677d_r.jpg&quot; data-actualsrc=&quot;https://pic2.zhimg.com/v2-53308349292b9982bfeb71db31a6677d_b.jpg&quot; data-original-token=&quot;v2-a703ecc03ee6ba9bf25404671f1dbf6a&quot; height=&quot;600&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; cursor: zoom-in; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044; width: 690px;&quot;/&gt;&lt;/div&gt;&lt;figcaption style=&quot;color: rgb(145, 150, 161); font-size: 0.9em; line-height: 1.5; margin-top: calc(0.666667em); padding: 0px 1em; text-align: center;&quot;&gt;同样，安装重启后即可看到管理地址。也可以此时登陆控制台进行高级操作。&lt;/figcaption&gt;&lt;/figure&gt;&lt;/p&gt;&lt;p data-pid=&quot;ZM4gqejF&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;unRaid&lt;/span&gt;，比较特别，需要准备一个U盘，制作启动U盘。可以从官网的下载制作工具（exe）来制作。也可以直接下载系统的zip包，如果要用开（po）心（jie）版，也只能下载zip包。&lt;/p&gt;&lt;p&gt;&lt;figure data-size=&quot;small&quot; style=&quot;margin: 1.4em 0px; clear: both; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div&gt;&lt;img src=&quot;https://pic4.zhimg.com/80/v2-2085b780572e0ae07c36888882bed3df_720w.webp&quot; data-size=&quot;normal&quot; data-rawwidth=&quot;800&quot; data-rawheight=&quot;600&quot; class=&quot;origin_image zh-lightbox-thumb lazy&quot; width=&quot;800&quot; data-original=&quot;https://pic4.zhimg.com/v2-2085b780572e0ae07c36888882bed3df_r.jpg&quot; data-actualsrc=&quot;https://pic4.zhimg.com/v2-2085b780572e0ae07c36888882bed3df_b.jpg&quot; data-original-token=&quot;v2-038dcbf67d35b24115f18974f42a8983&quot; height=&quot;600&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; cursor: zoom-in; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044; width: 690px;&quot;/&gt;&lt;/div&gt;&lt;figcaption style=&quot;color: rgb(145, 150, 161); font-size: 0.9em; line-height: 1.5; margin-top: calc(0.666667em); padding: 0px 1em; text-align: center;&quot;&gt;如果是zip包，需要解压到U盘，修改卷标为UNRAID，执行make_bootable.bat。&lt;/figcaption&gt;&lt;/figure&gt;&lt;figure data-size=&quot;small&quot; style=&quot;margin: calc(2.24em) 0px 1.4em; clear: both; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div&gt;&lt;img src=&quot;https://pic2.zhimg.com/80/v2-36d124f12e84da0addb1f9f1a7a9eb59_720w.webp&quot; data-size=&quot;normal&quot; data-rawwidth=&quot;1024&quot; data-rawheight=&quot;768&quot; class=&quot;origin_image zh-lightbox-thumb lazy&quot; width=&quot;1024&quot; data-original=&quot;https://pic2.zhimg.com/v2-36d124f12e84da0addb1f9f1a7a9eb59_r.jpg&quot; data-actualsrc=&quot;https://pic2.zhimg.com/v2-36d124f12e84da0addb1f9f1a7a9eb59_b.jpg&quot; data-original-token=&quot;v2-9d7c56af5a3e8a2b285bfef7400a1cf5&quot; height=&quot;768&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; cursor: zoom-in; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044; width: 690px;&quot;/&gt;&lt;/div&gt;&lt;figcaption style=&quot;color: rgb(145, 150, 161); font-size: 0.9em; line-height: 1.5; margin-top: calc(0.666667em); padding: 0px 1em; text-align: center;&quot;&gt;插上U盘，设置好引导，启动后直接进入系统。可以看到后台管理地址，也可以登陆控制台。&lt;/figcaption&gt;&lt;/figure&gt;&lt;/p&gt;&lt;h2 id=&quot;h_166352130_3&quot; data-into-catalog-status=&quot;&quot; style=&quot;font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; margin: calc(2.33333em) 0px calc(1.16667em); clear: left; color: rgb(25, 27, 31); text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;【系统资源占用】&lt;/h2&gt;&lt;p data-pid=&quot;eY3E535s&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;以下&lt;a class=&quot;RichContent-EntityWord css-b7erz1&quot; data-za-not-track-link=&quot;true&quot; data-paste-text=&quot;true&quot; href=&quot;https://zhida.zhihu.com/search?q=%E6%B5%8B%E8%AF%95%E6%95%B0%E6%8D%AE&amp;zhida_source=entity&amp;is_preview=1&quot; target=&quot;_blank&quot; style=&quot;text-decoration-line: none; color: rgb(9, 64, 142); cursor: pointer;&quot;&gt;测试数据&lt;svg width=&quot;10px&quot; height=&quot;10px&quot; viewbox=&quot;0 0 16 16&quot; class=&quot;ZDI ZDI--FourPointedStar16 css-1dvsrp&quot; fill=&quot;currentColor&quot;&gt;&lt;path d=&quot;m5.068 9.267-3.08-.77a.512.512 0 0 1 0-.994l3.08-.77a2.289 2.289 0 0 0 1.665-1.665l.77-3.08a.512.512 0 0 1 .994 0l.77 3.08c.205.82.845 1.46 1.665 1.665l3.08.77a.512.512 0 0 1 0 .994l-3.08.77a2.29 2.29 0 0 0-1.665 1.665l-.77 3.08a.512.512 0 0 1-.994 0l-.77-3.08a2.289 2.289 0 0 0-1.665-1.665Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;来自于我笔记本的Win10下的VMWare虚拟机，仅供参考。&lt;/p&gt;&lt;p data-pid=&quot;BK5afSNG&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;ESXi 7.0b&lt;/span&gt;，安装iso大小351M，系统占用130G硬盘，待机内存1.1G，待机CPU约1-6%，系统启动时间61秒。&lt;br/&gt;你没看错，系统占用130G磁盘！如果你是128G的ssd，可用空间直接就没有了！其实罪魁祸首是ESXi 7.0版本安装系统会默认分配120G的虚拟闪存（安装系统启动前，可以用shift+o，加上autoPartitionOSDataSize=...来改变默认大小，单位MB）。另外，ESXi 6.7安装之后默认占用磁盘空间约10G。&lt;/p&gt;&lt;p data-pid=&quot;lWdKagiU&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;PVE 6.2-4&lt;/span&gt;，安装iso大小862M，系统占用6G以上硬盘，待机内存900M，待机CPU约1%，系统启动时间20秒。&lt;br/&gt;安装系统时，磁盘空间会动态分配，除了交换分区等，主要两个分区是：&lt;a class=&quot;RichContent-EntityWord css-b7erz1&quot; data-za-not-track-link=&quot;true&quot; data-paste-text=&quot;true&quot; href=&quot;https://zhida.zhihu.com/search?q=%E7%B3%BB%E7%BB%9F%E5%88%86%E5%8C%BA&amp;zhida_source=entity&amp;is_preview=1&quot; target=&quot;_blank&quot; style=&quot;text-decoration-line: none; color: rgb(9, 64, 142); cursor: pointer;&quot;&gt;系统分区&lt;svg width=&quot;10px&quot; height=&quot;10px&quot; viewbox=&quot;0 0 16 16&quot; class=&quot;ZDI ZDI--FourPointedStar16 css-1dvsrp&quot; fill=&quot;currentColor&quot;&gt;&lt;path d=&quot;m5.068 9.267-3.08-.77a.512.512 0 0 1 0-.994l3.08-.77a2.289 2.289 0 0 0 1.665-1.665l.77-3.08a.512.512 0 0 1 .994 0l.77 3.08c.205.82.845 1.46 1.665 1.665l3.08.77a.512.512 0 0 1 0 .994l-3.08.77a2.29 2.29 0 0 0-1.665 1.665l-.77 3.08a.512.512 0 0 1-.994 0l-.77-3.08a2.289 2.289 0 0 0-1.665-1.665Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;和LVM分区，后者提供给虚拟机磁盘使用。不知道具体什么分配算法，实测得到：&lt;br/&gt;16G&lt;a class=&quot;RichContent-EntityWord css-b7erz1&quot; data-za-not-track-link=&quot;true&quot; data-paste-text=&quot;true&quot; href=&quot;https://zhida.zhihu.com/search?q=%E7%A1%AC%E7%9B%98%E5%AE%89%E8%A3%85&amp;zhida_source=entity&amp;is_preview=1&quot; target=&quot;_blank&quot; style=&quot;text-decoration-line: none; color: rgb(9, 64, 142); cursor: pointer;&quot;&gt;硬盘安装&lt;svg width=&quot;10px&quot; height=&quot;10px&quot; viewbox=&quot;0 0 16 16&quot; class=&quot;ZDI ZDI--FourPointedStar16 css-1dvsrp&quot; fill=&quot;currentColor&quot;&gt;&lt;path d=&quot;m5.068 9.267-3.08-.77a.512.512 0 0 1 0-.994l3.08-.77a2.289 2.289 0 0 0 1.665-1.665l.77-3.08a.512.512 0 0 1 .994 0l.77 3.08c.205.82.845 1.46 1.665 1.665l3.08.77a.512.512 0 0 1 0 .994l-3.08.77a2.29 2.29 0 0 0-1.665 1.665l-.77 3.08a.512.512 0 0 1-.994 0l-.77-3.08a2.289 2.289 0 0 0-1.665-1.665Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;PVE，交换分区1.9G、系统3.6G（1.8G已用）、LVM 6G。&lt;br/&gt;128G硬盘安装PVE，交换分区4G、系统31G（1.8G已用）、LVM 74G。&lt;/p&gt;&lt;p data-pid=&quot;AKf9KQPm&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;unRaid 6.8.3&lt;/span&gt;，zip包213M，系统必须放入U盘（所需空间不足300M），占用23G硬盘空间，待机内存不足200M，待机CPU约1-3%，系统启动时间59秒。&lt;br/&gt;23G硬盘空间中，启动Docker会默认创建20G的&lt;a class=&quot;RichContent-EntityWord css-b7erz1&quot; data-za-not-track-link=&quot;true&quot; data-paste-text=&quot;true&quot; href=&quot;https://zhida.zhihu.com/search?q=%E9%95%9C%E5%83%8F%E6%96%87%E4%BB%B6&amp;zhida_source=entity&amp;is_preview=1&quot; target=&quot;_blank&quot; style=&quot;text-decoration-line: none; color: rgb(9, 64, 142); cursor: pointer;&quot;&gt;镜像文件&lt;svg width=&quot;10px&quot; height=&quot;10px&quot; viewbox=&quot;0 0 16 16&quot; class=&quot;ZDI ZDI--FourPointedStar16 css-1dvsrp&quot; fill=&quot;currentColor&quot;&gt;&lt;path d=&quot;m5.068 9.267-3.08-.77a.512.512 0 0 1 0-.994l3.08-.77a2.289 2.289 0 0 0 1.665-1.665l.77-3.08a.512.512 0 0 1 .994 0l.77 3.08c.205.82.845 1.46 1.665 1.665l3.08.77a.512.512 0 0 1 0 .994l-3.08.77a2.29 2.29 0 0 0-1.665 1.665l-.77 3.08a.512.512 0 0 1-.994 0l-.77-3.08a2.289 2.289 0 0 0-1.665-1.665Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;。不用Docker可以手动删除镜像，也可以自定义镜像大小，还可以采用文件夹的方式而不是固定大小的镜像。&lt;/p&gt;&lt;h2 id=&quot;h_166352130_4&quot; data-into-catalog-status=&quot;&quot; style=&quot;font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; margin: calc(2.33333em) 0px calc(1.16667em); clear: left; color: rgb(25, 27, 31); text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;【创建/编辑虚拟机】&lt;/h2&gt;&lt;p data-pid=&quot;8nUqKBqy&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;ESXi&lt;/span&gt;，创建/编辑虚拟机，比较简单易懂&lt;/p&gt;&lt;p&gt;&lt;figure data-size=&quot;small&quot; style=&quot;margin: 1.4em 0px; clear: both; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div&gt;&lt;img src=&quot;https://pic3.zhimg.com/80/v2-d9c5977e3162dfd05e8da0caf0eef6ea_720w.webp&quot; data-size=&quot;normal&quot; data-rawwidth=&quot;1919&quot; data-rawheight=&quot;927&quot; class=&quot;origin_image zh-lightbox-thumb lazy&quot; width=&quot;1919&quot; data-original=&quot;https://pic3.zhimg.com/v2-d9c5977e3162dfd05e8da0caf0eef6ea_r.jpg&quot; data-actualsrc=&quot;https://pic3.zhimg.com/v2-d9c5977e3162dfd05e8da0caf0eef6ea_b.jpg&quot; data-original-token=&quot;v2-1423f12288e9858ccf6be53310d9d531&quot; height=&quot;927&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; cursor: zoom-in; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044; width: 690px;&quot;/&gt;&lt;/div&gt;&lt;figcaption style=&quot;color: rgb(145, 150, 161); font-size: 0.9em; line-height: 1.5; margin-top: calc(0.666667em); padding: 0px 1em; text-align: center;&quot;&gt;创建按钮，你应该一眼就能找到了。&lt;/figcaption&gt;&lt;/figure&gt;&lt;figure data-size=&quot;small&quot; style=&quot;margin: calc(2.24em) 0px 1.4em; clear: both; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div&gt;&lt;img src=&quot;https://pic1.zhimg.com/80/v2-76969e5e715ac0854a16c9889c571250_720w.webp&quot; data-size=&quot;normal&quot; data-rawwidth=&quot;1915&quot; data-rawheight=&quot;930&quot; class=&quot;origin_image zh-lightbox-thumb lazy&quot; width=&quot;1915&quot; data-original=&quot;https://pic1.zhimg.com/v2-76969e5e715ac0854a16c9889c571250_r.jpg&quot; data-actualsrc=&quot;https://pic1.zhimg.com/v2-76969e5e715ac0854a16c9889c571250_b.jpg&quot; data-original-token=&quot;v2-42dc34968cfbfcb7f456fe74111c4364&quot; height=&quot;930&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; cursor: zoom-in; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044; width: 690px;&quot;/&gt;&lt;/div&gt;&lt;figcaption style=&quot;color: rgb(145, 150, 161); font-size: 0.9em; line-height: 1.5; margin-top: calc(0.666667em); padding: 0px 1em; text-align: center;&quot;&gt;创建（1/2）前面的指引步骤，降低了新手理解难度。&lt;/figcaption&gt;&lt;/figure&gt;&lt;figure data-size=&quot;small&quot; style=&quot;margin: calc(2.24em) 0px 1.4em; clear: both; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div&gt;&lt;img src=&quot;https://pic3.zhimg.com/80/v2-8f89eb7802a929f80c22340d778bc7d2_720w.webp&quot; data-size=&quot;normal&quot; data-rawwidth=&quot;1915&quot; data-rawheight=&quot;930&quot; class=&quot;origin_image zh-lightbox-thumb lazy&quot; width=&quot;1915&quot; data-original=&quot;https://pic3.zhimg.com/v2-8f89eb7802a929f80c22340d778bc7d2_r.jpg&quot; data-actualsrc=&quot;https://pic3.zhimg.com/v2-8f89eb7802a929f80c22340d778bc7d2_b.jpg&quot; data-original-token=&quot;v2-3479438075af1971eaa38ce4c85c2741&quot; height=&quot;930&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; cursor: zoom-in; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044; width: 690px;&quot;/&gt;&lt;/div&gt;&lt;figcaption style=&quot;color: rgb(145, 150, 161); font-size: 0.9em; line-height: 1.5; margin-top: calc(0.666667em); padding: 0px 1em; text-align: center;&quot;&gt;创建（2/2）后面也有详细参数的设定。&lt;/figcaption&gt;&lt;/figure&gt;&lt;figure data-size=&quot;small&quot; style=&quot;margin: calc(2.24em) 0px 1.4em; clear: both; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div&gt;&lt;img src=&quot;https://pic2.zhimg.com/80/v2-8fed6322e841b3b05caddbbb5907b61d_720w.webp&quot; data-size=&quot;normal&quot; data-rawwidth=&quot;1916&quot; data-rawheight=&quot;928&quot; class=&quot;origin_image zh-lightbox-thumb lazy&quot; width=&quot;1916&quot; data-original=&quot;https://pic2.zhimg.com/v2-8fed6322e841b3b05caddbbb5907b61d_r.jpg&quot; data-actualsrc=&quot;https://pic2.zhimg.com/v2-8fed6322e841b3b05caddbbb5907b61d_b.jpg&quot; data-original-token=&quot;v2-4b219828b52ee84b47790a6e4bd50307&quot; height=&quot;928&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; cursor: zoom-in; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044; width: 690px;&quot;/&gt;&lt;/div&gt;&lt;figcaption style=&quot;color: rgb(145, 150, 161); font-size: 0.9em; line-height: 1.5; margin-top: calc(0.666667em); padding: 0px 1em; text-align: center;&quot;&gt;编辑虚拟机跟创建时的详细参数差不多，每一项都比较好理解，多数可以进一步展开。&lt;/figcaption&gt;&lt;/figure&gt;&lt;/p&gt;&lt;p data-pid=&quot;RLsxwCSX&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;PVE&lt;/span&gt;，创建/编辑虚拟机，功能也比较全&lt;/p&gt;&lt;p&gt;&lt;figure data-size=&quot;small&quot; style=&quot;margin: 1.4em 0px; clear: both; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div&gt;&lt;img src=&quot;https://pic4.zhimg.com/80/v2-12466e8f7059b7300369152d7e5e2e6b_720w.webp&quot; data-size=&quot;normal&quot; data-rawwidth=&quot;1033&quot; data-rawheight=&quot;689&quot; class=&quot;origin_image zh-lightbox-thumb lazy&quot; width=&quot;1033&quot; data-original=&quot;https://pic4.zhimg.com/v2-12466e8f7059b7300369152d7e5e2e6b_r.jpg&quot; data-actualsrc=&quot;https://pic4.zhimg.com/v2-12466e8f7059b7300369152d7e5e2e6b_b.jpg&quot; data-original-token=&quot;v2-f012f1e4bbdb973bb120c18681d67626&quot; height=&quot;689&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; cursor: zoom-in; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044; width: 690px;&quot;/&gt;&lt;/div&gt;&lt;figcaption style=&quot;color: rgb(145, 150, 161); font-size: 0.9em; line-height: 1.5; margin-top: calc(0.666667em); padding: 0px 1em; text-align: center;&quot;&gt;创建按钮，你能想到藏在右上角吗？&lt;/figcaption&gt;&lt;/figure&gt;&lt;figure data-size=&quot;small&quot; style=&quot;margin: calc(2.24em) 0px 1.4em; clear: both; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div&gt;&lt;img src=&quot;https://pic2.zhimg.com/80/v2-1f1e51fa51cffc2308b62641099901d9_720w.webp&quot; data-size=&quot;normal&quot; data-rawwidth=&quot;1035&quot; data-rawheight=&quot;684&quot; class=&quot;origin_image zh-lightbox-thumb lazy&quot; width=&quot;1035&quot; data-original=&quot;https://pic2.zhimg.com/v2-1f1e51fa51cffc2308b62641099901d9_r.jpg&quot; data-actualsrc=&quot;https://pic2.zhimg.com/v2-1f1e51fa51cffc2308b62641099901d9_b.jpg&quot; data-original-token=&quot;v2-82ac1b6a443e6a43c0909551bdd58158&quot; height=&quot;684&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; cursor: zoom-in; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044; width: 690px;&quot;/&gt;&lt;/div&gt;&lt;figcaption style=&quot;color: rgb(145, 150, 161); font-size: 0.9em; line-height: 1.5; margin-top: calc(0.666667em); padding: 0px 1em; text-align: center;&quot;&gt;创建也是多步骤指引，但是设计细节还是略不友好（步骤太多、有几个步骤不能默认）。&lt;/figcaption&gt;&lt;/figure&gt;&lt;figure data-size=&quot;small&quot; style=&quot;margin: calc(2.24em) 0px 1.4em; clear: both; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div&gt;&lt;img src=&quot;https://pic4.zhimg.com/80/v2-4063cdfd24389d90d0a1545baba59a1f_720w.webp&quot; data-size=&quot;normal&quot; data-rawwidth=&quot;1035&quot; data-rawheight=&quot;689&quot; class=&quot;origin_image zh-lightbox-thumb lazy&quot; width=&quot;1035&quot; data-original=&quot;https://pic4.zhimg.com/v2-4063cdfd24389d90d0a1545baba59a1f_r.jpg&quot; data-actualsrc=&quot;https://pic4.zhimg.com/v2-4063cdfd24389d90d0a1545baba59a1f_b.jpg&quot; data-original-token=&quot;v2-b5bacc6f7a58a6cc1f58d65ea00d7c34&quot; height=&quot;689&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; cursor: zoom-in; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044; width: 690px;&quot;/&gt;&lt;/div&gt;&lt;figcaption style=&quot;color: rgb(145, 150, 161); font-size: 0.9em; line-height: 1.5; margin-top: calc(0.666667em); padding: 0px 1em; text-align: center;&quot;&gt;编辑虚拟机变成了截然不同的界面&lt;/figcaption&gt;&lt;/figure&gt;&lt;/p&gt;&lt;p data-pid=&quot;ADbYjGjw&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;unRaid&lt;/span&gt;，需要先设定并启用阵列后才能使用虚拟机。（阵列相关后面再讲）&lt;/p&gt;&lt;p&gt;&lt;figure data-size=&quot;small&quot; style=&quot;margin: 1.4em 0px; clear: both; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div&gt;&lt;img src=&quot;https://pic2.zhimg.com/80/v2-1890bfc9ce4bdcb57c473df6d88381bd_720w.webp&quot; data-size=&quot;normal&quot; data-rawwidth=&quot;1920&quot; data-rawheight=&quot;935&quot; class=&quot;origin_image zh-lightbox-thumb lazy&quot; width=&quot;1920&quot; data-original=&quot;https://pic2.zhimg.com/v2-1890bfc9ce4bdcb57c473df6d88381bd_r.jpg&quot; data-actualsrc=&quot;https://pic2.zhimg.com/v2-1890bfc9ce4bdcb57c473df6d88381bd_b.jpg&quot; data-original-token=&quot;v2-b413a8618205c06598776f59867f7fcc&quot; height=&quot;935&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; cursor: zoom-in; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044; width: 690px;&quot;/&gt;&lt;/div&gt;&lt;figcaption style=&quot;color: rgb(145, 150, 161); font-size: 0.9em; line-height: 1.5; margin-top: calc(0.666667em); padding: 0px 1em; text-align: center;&quot;&gt;虚拟机放在靠后的菜单里面了（毕竟主要是做NAS的）&lt;/figcaption&gt;&lt;/figure&gt;&lt;figure data-size=&quot;small&quot; style=&quot;margin: calc(2.24em) 0px 1.4em; clear: both; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div&gt;&lt;img src=&quot;https://pic1.zhimg.com/80/v2-122dfb152b5fefa99b6ddc45e533a634_720w.webp&quot; data-size=&quot;normal&quot; data-rawwidth=&quot;1918&quot; data-rawheight=&quot;936&quot; class=&quot;origin_image zh-lightbox-thumb lazy&quot; width=&quot;1918&quot; data-original=&quot;https://pic1.zhimg.com/v2-122dfb152b5fefa99b6ddc45e533a634_r.jpg&quot; data-actualsrc=&quot;https://pic1.zhimg.com/v2-122dfb152b5fefa99b6ddc45e533a634_b.jpg&quot; data-original-token=&quot;v2-7a367660474f38d0cf561665b12f8873&quot; height=&quot;936&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; cursor: zoom-in; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044; width: 690px;&quot;/&gt;&lt;/div&gt;&lt;figcaption style=&quot;color: rgb(145, 150, 161); font-size: 0.9em; line-height: 1.5; margin-top: calc(0.666667em); padding: 0px 1em; text-align: center;&quot;&gt;创建的系统选择倒是挺直观的&lt;/figcaption&gt;&lt;/figure&gt;&lt;figure data-size=&quot;small&quot; style=&quot;margin: calc(2.24em) 0px 1.4em; clear: both; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div&gt;&lt;img src=&quot;https://pic3.zhimg.com/80/v2-eb1e20a1f2a5423ac5046ea5d664cdd2_720w.webp&quot; data-size=&quot;normal&quot; data-rawwidth=&quot;1905&quot; data-rawheight=&quot;936&quot; class=&quot;origin_image zh-lightbox-thumb lazy&quot; width=&quot;1905&quot; data-original=&quot;https://pic3.zhimg.com/v2-eb1e20a1f2a5423ac5046ea5d664cdd2_r.jpg&quot; data-actualsrc=&quot;https://pic3.zhimg.com/v2-eb1e20a1f2a5423ac5046ea5d664cdd2_b.jpg&quot; data-original-token=&quot;v2-9141a286029814b9d431975af7729587&quot; height=&quot;936&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; cursor: zoom-in; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044; width: 690px;&quot;/&gt;&lt;/div&gt;&lt;figcaption style=&quot;color: rgb(145, 150, 161); font-size: 0.9em; line-height: 1.5; margin-top: calc(0.666667em); padding: 0px 1em; text-align: center;&quot;&gt;创建/编辑界面完全一样，可设定参数比较有局限&lt;/figcaption&gt;&lt;/figure&gt;&lt;figure data-size=&quot;small&quot; style=&quot;margin: calc(2.24em) 0px 1.4em; clear: both; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div&gt;&lt;img src=&quot;https://pic3.zhimg.com/80/v2-fc5524cf331aaf20c262822401aec722_720w.webp&quot; data-size=&quot;normal&quot; data-rawwidth=&quot;1899&quot; data-rawheight=&quot;935&quot; class=&quot;origin_image zh-lightbox-thumb lazy&quot; width=&quot;1899&quot; data-original=&quot;https://pic3.zhimg.com/v2-fc5524cf331aaf20c262822401aec722_r.jpg&quot; data-actualsrc=&quot;https://pic3.zhimg.com/v2-fc5524cf331aaf20c262822401aec722_b.jpg&quot; data-original-token=&quot;v2-68d13256a8512b0e286da3b0d92b7116&quot; height=&quot;935&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; cursor: zoom-in; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044; width: 690px;&quot;/&gt;&lt;/div&gt;&lt;figcaption style=&quot;color: rgb(145, 150, 161); font-size: 0.9em; line-height: 1.5; margin-top: calc(0.666667em); padding: 0px 1em; text-align: center;&quot;&gt;创建/编辑可以切换为xml形式，看起来比较高级，但每次用界面编辑都会导致xml修改丢失。。。&lt;/figcaption&gt;&lt;/figure&gt;&lt;/p&gt;&lt;h2 id=&quot;h_166352130_5&quot; data-into-catalog-status=&quot;&quot; style=&quot;font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; margin: calc(2.33333em) 0px calc(1.16667em); clear: left; color: rgb(25, 27, 31); text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;【硬盘直通】&lt;/h2&gt;&lt;p data-pid=&quot;_oYyfggr&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;三个虚拟系统的虚拟硬盘性能都不怎么样。具体&lt;a class=&quot;RichContent-EntityWord css-b7erz1&quot; data-za-not-track-link=&quot;true&quot; data-paste-text=&quot;true&quot; href=&quot;https://zhida.zhihu.com/search?q=%E8%99%9A%E6%8B%9F%E7%A3%81%E7%9B%98&amp;zhida_source=entity&amp;is_preview=1&quot; target=&quot;_blank&quot; style=&quot;text-decoration-line: none; color: rgb(9, 64, 142); cursor: pointer;&quot;&gt;虚拟磁盘&lt;svg width=&quot;10px&quot; height=&quot;10px&quot; viewbox=&quot;0 0 16 16&quot; class=&quot;ZDI ZDI--FourPointedStar16 css-1dvsrp&quot; fill=&quot;currentColor&quot;&gt;&lt;path d=&quot;m5.068 9.267-3.08-.77a.512.512 0 0 1 0-.994l3.08-.77a2.289 2.289 0 0 0 1.665-1.665l.77-3.08a.512.512 0 0 1 .994 0l.77 3.08c.205.82.845 1.46 1.665 1.665l3.08.77a.512.512 0 0 1 0 .994l-3.08.77a2.29 2.29 0 0 0-1.665 1.665l-.77 3.08a.512.512 0 0 1-.994 0l-.77-3.08a2.289 2.289 0 0 0-1.665-1.665Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;的性能问题可以见我另一篇分享（&lt;a href=&quot;https://zhuanlan.zhihu.com/p/271901267&quot; class=&quot;internal&quot; data-za-detail-view-id=&quot;1043&quot; style=&quot;text-decoration-line: none; border-bottom: 1px solid rgb(129, 133, 143); cursor: pointer;&quot;&gt;&lt;span class=&quot;invisible&quot; style=&quot;background-color: transparent; color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-size-adjust: none; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-variant-position: normal; font-stretch: normal; font-size: 0px; line-height: 0; font-family: a; text-shadow: none;&quot;&gt;https://&lt;/span&gt;&lt;span class=&quot;visible&quot;&gt;zhuanlan.zhihu.com/p/27&lt;/span&gt;&lt;span class=&quot;invisible&quot; style=&quot;background-color: transparent; color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-size-adjust: none; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-variant-position: normal; font-stretch: normal; font-size: 0px; line-height: 0; font-family: a; text-shadow: none;&quot;&gt;1901267&lt;/span&gt;&lt;span class=&quot;ellipsis&quot;&gt;&lt;/span&gt;&lt;/a&gt;）。如果真的需要高性能磁盘，最好还是做硬盘直通。&lt;/p&gt;&lt;p data-pid=&quot;torU46kJ&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;ESXi&lt;/span&gt;，需要命令行操作找到硬盘并挂载（RDM），然后在界面添加此磁盘。&lt;/p&gt;&lt;p&gt;&lt;figure data-size=&quot;small&quot; style=&quot;margin: 1.4em 0px; clear: both; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div&gt;&lt;img src=&quot;https://pic3.zhimg.com/80/v2-f1150bc07bc3ca652eac8ca658b157d6_720w.webp&quot; data-size=&quot;normal&quot; data-rawwidth=&quot;1271&quot; data-rawheight=&quot;430&quot; class=&quot;origin_image zh-lightbox-thumb lazy&quot; width=&quot;1271&quot; data-original=&quot;https://pic3.zhimg.com/v2-f1150bc07bc3ca652eac8ca658b157d6_r.jpg&quot; data-actualsrc=&quot;https://pic3.zhimg.com/v2-f1150bc07bc3ca652eac8ca658b157d6_b.jpg&quot; data-original-token=&quot;v2-958dcceb854a35251598ff8c697f5e75&quot; height=&quot;430&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; cursor: zoom-in; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044; width: 690px;&quot;/&gt;&lt;/div&gt;&lt;figcaption style=&quot;color: rgb(145, 150, 161); font-size: 0.9em; line-height: 1.5; margin-top: calc(0.666667em); padding: 0px 1em; text-align: center;&quot;&gt;首先要先开启SSH（最好在完成操作后再关上）&lt;/figcaption&gt;&lt;/figure&gt;&lt;figure data-size=&quot;small&quot; style=&quot;margin: calc(2.24em) 0px 1.4em; clear: both; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div&gt;&lt;img src=&quot;https://pic2.zhimg.com/80/v2-554617e366ef866147ade951965fb63d_720w.webp&quot; data-size=&quot;normal&quot; data-rawwidth=&quot;957&quot; data-rawheight=&quot;329&quot; class=&quot;origin_image zh-lightbox-thumb lazy&quot; width=&quot;957&quot; data-original=&quot;https://pic2.zhimg.com/v2-554617e366ef866147ade951965fb63d_r.jpg&quot; data-actualsrc=&quot;https://pic2.zhimg.com/v2-554617e366ef866147ade951965fb63d_b.jpg&quot; data-original-token=&quot;v2-f51578a622aad48f3b83127f7627c17e&quot; height=&quot;329&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; cursor: zoom-in; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044; width: 690px;&quot;/&gt;&lt;/div&gt;&lt;figcaption style=&quot;color: rgb(145, 150, 161); font-size: 0.9em; line-height: 1.5; margin-top: calc(0.666667em); padding: 0px 1em; text-align: center;&quot;&gt;SSH下找到硬盘并执行命令挂载为vmdk文件&lt;/figcaption&gt;&lt;/figure&gt;&lt;figure data-size=&quot;normal&quot; style=&quot;margin: calc(2.24em) 0px 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div&gt;&lt;img src=&quot;https://pic2.zhimg.com/80/v2-55305467eea46bb33a52cb8df479e339_720w.webp&quot; data-size=&quot;small&quot; data-rawwidth=&quot;310&quot; data-rawheight=&quot;246&quot; class=&quot;content_image lazy&quot; width=&quot;310&quot; data-actualsrc=&quot;https://pic2.zhimg.com/v2-55305467eea46bb33a52cb8df479e339_b.jpg&quot; data-original-token=&quot;v2-16264679ec38588d8c9ceae18ab3a7a6&quot; height=&quot;246&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044; width: 320px;&quot;/&gt;&lt;/div&gt;&lt;figcaption style=&quot;color: rgb(145, 150, 161); font-size: 0.9em; line-height: 1.5; margin-top: calc(0.666667em); padding: 0px 1em; text-align: center;&quot;&gt;虚拟机中添加刚才的vmdk磁盘（ESXi 6.7以上理论上可以直接添加裸盘，但有额外要求）&lt;/figcaption&gt;&lt;/figure&gt;&lt;/p&gt;&lt;p data-pid=&quot;AwwlOWya&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;PVE&lt;/span&gt;，只需要命令行操作&lt;/p&gt;&lt;p&gt;&lt;figure data-size=&quot;normal&quot; style=&quot;margin: 1.4em 0px; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div&gt;&lt;img src=&quot;https://pic2.zhimg.com/80/v2-5e2eb893b06bd2113f793b3169036855_720w.webp&quot; data-size=&quot;normal&quot; data-rawwidth=&quot;1068&quot; data-rawheight=&quot;128&quot; class=&quot;origin_image zh-lightbox-thumb lazy&quot; width=&quot;1068&quot; data-original=&quot;https://pic2.zhimg.com/v2-5e2eb893b06bd2113f793b3169036855_r.jpg&quot; data-actualsrc=&quot;https://pic2.zhimg.com/v2-5e2eb893b06bd2113f793b3169036855_b.png&quot; data-original-token=&quot;v2-5e2eb893b06bd2113f793b3169036855&quot; height=&quot;128&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; cursor: zoom-in; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044; width: 690px;&quot;/&gt;&lt;/div&gt;&lt;figcaption style=&quot;color: rgb(145, 150, 161); font-size: 0.9em; line-height: 1.5; margin-top: calc(0.666667em); padding: 0px 1em; text-align: center;&quot;&gt;SSH下找到硬盘并直接添加给虚拟机&lt;/figcaption&gt;&lt;/figure&gt;&lt;/p&gt;&lt;p data-pid=&quot;VlrV6JQ6&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;unRaid&lt;/span&gt;，先用命令行找到磁盘名，然后界面添加&lt;/p&gt;&lt;p&gt;&lt;figure data-size=&quot;normal&quot; style=&quot;margin: 1.4em 0px; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div&gt;&lt;img src=&quot;https://pic3.zhimg.com/80/v2-eb94a90dd2e2504560b6974672c87a4e_720w.webp&quot; data-size=&quot;normal&quot; data-rawwidth=&quot;1218&quot; data-rawheight=&quot;84&quot; class=&quot;origin_image zh-lightbox-thumb lazy&quot; width=&quot;1218&quot; data-original=&quot;https://pic3.zhimg.com/v2-eb94a90dd2e2504560b6974672c87a4e_r.jpg&quot; data-actualsrc=&quot;https://pic3.zhimg.com/v2-eb94a90dd2e2504560b6974672c87a4e_b.png&quot; data-original-token=&quot;v2-eb94a90dd2e2504560b6974672c87a4e&quot; height=&quot;84&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; cursor: zoom-in; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044; width: 690px;&quot;/&gt;&lt;/div&gt;&lt;figcaption style=&quot;color: rgb(145, 150, 161); font-size: 0.9em; line-height: 1.5; margin-top: calc(0.666667em); padding: 0px 1em; text-align: center;&quot;&gt;类似pve，用SSH查到硬盘名&lt;/figcaption&gt;&lt;/figure&gt;&lt;figure data-size=&quot;normal&quot; style=&quot;margin: calc(2.24em) 0px 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div&gt;&lt;img src=&quot;https://pic2.zhimg.com/80/v2-68c2a858ccfb8e2e2781a8b7e08afb15_720w.webp&quot; data-size=&quot;normal&quot; data-rawwidth=&quot;720&quot; data-rawheight=&quot;123&quot; class=&quot;origin_image zh-lightbox-thumb lazy&quot; width=&quot;720&quot; data-original=&quot;https://pic2.zhimg.com/v2-68c2a858ccfb8e2e2781a8b7e08afb15_r.jpg&quot; data-actualsrc=&quot;https://pic2.zhimg.com/v2-68c2a858ccfb8e2e2781a8b7e08afb15_b.jpg&quot; data-original-token=&quot;v2-99d48a451cc57ee16181dbbb27524f21&quot; height=&quot;123&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; cursor: zoom-in; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044; width: 690px;&quot;/&gt;&lt;/div&gt;&lt;figcaption style=&quot;color: rgb(145, 150, 161); font-size: 0.9em; line-height: 1.5; margin-top: calc(0.666667em); padding: 0px 1em; text-align: center;&quot;&gt;添加Manual类型硬盘，并指定前面找到的硬盘全路径&lt;/figcaption&gt;&lt;/figure&gt;&lt;/p&gt;&lt;h2 id=&quot;h_166352130_6&quot; data-into-catalog-status=&quot;&quot; style=&quot;font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; margin: calc(2.33333em) 0px calc(1.16667em); clear: left; color: rgb(25, 27, 31); text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;【PCI硬件直通】&lt;/h2&gt;&lt;p data-pid=&quot;Fq2NALof&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;网卡、声卡、sata控制器等都可以用PCI直通的方式供虚拟机使用（显卡相关后面详述），性能会好过模拟设备。使用硬件直通，需要CPU有Vt-d功能，并在bios中开启，且要求不可以使用动态内存。&lt;/p&gt;&lt;p data-pid=&quot;tFTDte3m&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;还有一种叫SR-IOV直通的，能力更强一些，但要求较高，我还没成功过，就不聊了。&lt;/p&gt;&lt;p data-pid=&quot;hUGfnHa4&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;ESXi&lt;/span&gt;，直接界面操作&lt;/p&gt;&lt;p&gt;&lt;figure data-size=&quot;small&quot; style=&quot;margin: 1.4em 0px; clear: both; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div&gt;&lt;img src=&quot;https://pic3.zhimg.com/80/v2-b080413f906fef657c1369c252e63262_720w.webp&quot; data-size=&quot;normal&quot; data-rawwidth=&quot;1911&quot; data-rawheight=&quot;721&quot; class=&quot;origin_image zh-lightbox-thumb lazy&quot; width=&quot;1911&quot; data-original=&quot;https://pic3.zhimg.com/v2-b080413f906fef657c1369c252e63262_r.jpg&quot; data-actualsrc=&quot;https://pic3.zhimg.com/v2-b080413f906fef657c1369c252e63262_b.jpg&quot; data-original-token=&quot;v2-b7ac981fbe46e2b99c4aa4b8379dae44&quot; height=&quot;721&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; cursor: zoom-in; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044; width: 690px;&quot;/&gt;&lt;/div&gt;&lt;figcaption style=&quot;color: rgb(145, 150, 161); font-size: 0.9em; line-height: 1.5; margin-top: calc(0.666667em); padding: 0px 1em; text-align: center;&quot;&gt;在硬件列表中切换需要直通的设备为活动状态。7.0以后，直通切换无需重启系统。&lt;/figcaption&gt;&lt;/figure&gt;&lt;figure data-size=&quot;small&quot; style=&quot;margin: calc(2.24em) 0px 1.4em; clear: both; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div&gt;&lt;img src=&quot;https://pic3.zhimg.com/80/v2-ae03616a27aec51f4b030867de03cd02_720w.webp&quot; data-size=&quot;normal&quot; data-rawwidth=&quot;775&quot; data-rawheight=&quot;608&quot; class=&quot;origin_image zh-lightbox-thumb lazy&quot; width=&quot;775&quot; data-original=&quot;https://pic3.zhimg.com/v2-ae03616a27aec51f4b030867de03cd02_r.jpg&quot; data-actualsrc=&quot;https://pic3.zhimg.com/v2-ae03616a27aec51f4b030867de03cd02_b.jpg&quot; data-original-token=&quot;v2-71396ecac3b657c32233cafc1307b236&quot; height=&quot;608&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; cursor: zoom-in; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044; width: 690px;&quot;/&gt;&lt;/div&gt;&lt;figcaption style=&quot;color: rgb(145, 150, 161); font-size: 0.9em; line-height: 1.5; margin-top: calc(0.666667em); padding: 0px 1em; text-align: center;&quot;&gt;添加新PCI设备、选择需要的设备。&lt;/figcaption&gt;&lt;/figure&gt;&lt;/p&gt;&lt;p data-pid=&quot;a4f4uKrZ&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;PVE&lt;/span&gt;，先修改系统配置打开直通功能，然后就可以直接界面操作了&lt;/p&gt;&lt;p&gt;&lt;figure data-size=&quot;normal&quot; style=&quot;margin: 1.4em 0px; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div&gt;&lt;img src=&quot;https://pic3.zhimg.com/80/v2-a8dcec6b72ee3d7a14d0b8d1f78370fa_720w.webp&quot; data-size=&quot;normal&quot; data-rawwidth=&quot;543&quot; data-rawheight=&quot;255&quot; class=&quot;origin_image zh-lightbox-thumb lazy&quot; width=&quot;543&quot; data-original=&quot;https://pic3.zhimg.com/v2-a8dcec6b72ee3d7a14d0b8d1f78370fa_r.jpg&quot; data-actualsrc=&quot;https://pic3.zhimg.com/v2-a8dcec6b72ee3d7a14d0b8d1f78370fa_b.jpg&quot; data-original-token=&quot;v2-558772a659be155b9d7161ff3b1f5458&quot; height=&quot;255&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; cursor: zoom-in; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044; width: 690px;&quot;/&gt;&lt;/div&gt;&lt;figcaption style=&quot;color: rgb(145, 150, 161); font-size: 0.9em; line-height: 1.5; margin-top: calc(0.666667em); padding: 0px 1em; text-align: center;&quot;&gt;引导配置加上一段，执行update-grub更新&lt;/figcaption&gt;&lt;/figure&gt;&lt;figure data-size=&quot;normal&quot; style=&quot;margin: calc(2.24em) 0px 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div&gt;&lt;img src=&quot;https://pic3.zhimg.com/80/v2-e6e112281cefb6c6f158985f8843d626_720w.webp&quot; data-size=&quot;normal&quot; data-rawwidth=&quot;580&quot; data-rawheight=&quot;172&quot; class=&quot;origin_image zh-lightbox-thumb lazy&quot; width=&quot;580&quot; data-original=&quot;https://pic3.zhimg.com/v2-e6e112281cefb6c6f158985f8843d626_r.jpg&quot; data-actualsrc=&quot;https://pic3.zhimg.com/v2-e6e112281cefb6c6f158985f8843d626_b.jpg&quot; data-original-token=&quot;v2-3f91b89e2d3f0ab10ada69dbaedde31a&quot; height=&quot;172&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; cursor: zoom-in; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044; width: 690px;&quot;/&gt;&lt;/div&gt;&lt;figcaption style=&quot;color: rgb(145, 150, 161); font-size: 0.9em; line-height: 1.5; margin-top: calc(0.666667em); padding: 0px 1em; text-align: center;&quot;&gt;模块配置确保包含这些模块，然后重启&lt;/figcaption&gt;&lt;/figure&gt;&lt;figure data-size=&quot;small&quot; style=&quot;margin: calc(2.24em) 0px 1.4em; clear: both; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div&gt;&lt;img src=&quot;https://pic4.zhimg.com/80/v2-b8ee009bb1a4b1656a4ace66c069ebbf_720w.webp&quot; data-size=&quot;normal&quot; data-rawwidth=&quot;1100&quot; data-rawheight=&quot;361&quot; class=&quot;origin_image zh-lightbox-thumb lazy&quot; width=&quot;1100&quot; data-original=&quot;https://pic4.zhimg.com/v2-b8ee009bb1a4b1656a4ace66c069ebbf_r.jpg&quot; data-actualsrc=&quot;https://pic4.zhimg.com/v2-b8ee009bb1a4b1656a4ace66c069ebbf_b.jpg&quot; data-original-token=&quot;v2-f62ff7668ed9d1b6bbef64ffbe8a4b40&quot; height=&quot;361&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; cursor: zoom-in; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044; width: 690px;&quot;/&gt;&lt;/div&gt;&lt;figcaption style=&quot;color: rgb(145, 150, 161); font-size: 0.9em; line-height: 1.5; margin-top: calc(0.666667em); padding: 0px 1em; text-align: center;&quot;&gt;此后，就可以随时添加任意一个PCI设备了&lt;/figcaption&gt;&lt;/figure&gt;&lt;/p&gt;&lt;p data-pid=&quot;_1NZAeqL&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;unRaid&lt;/span&gt;，6.9.2之后可以在系统工具中屏蔽要直通的设备，然后在虚拟机配置中勾选要直通的设备即可。（6.9.1以及之前需要安装VFIO-PCI Config插件）&lt;/p&gt;&lt;p&gt;&lt;figure data-size=&quot;small&quot; style=&quot;margin: 1.4em 0px; clear: both; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div&gt;&lt;img src=&quot;https://pic2.zhimg.com/80/v2-c41690f9bd844988e74735cdbd7a8b39_720w.webp&quot; data-size=&quot;normal&quot; data-rawwidth=&quot;1306&quot; data-rawheight=&quot;627&quot; class=&quot;origin_image zh-lightbox-thumb lazy&quot; width=&quot;1306&quot; data-original=&quot;https://pic2.zhimg.com/v2-c41690f9bd844988e74735cdbd7a8b39_r.jpg&quot; data-actualsrc=&quot;https://pic2.zhimg.com/v2-c41690f9bd844988e74735cdbd7a8b39_b.jpg&quot; data-original-token=&quot;v2-10f3c43a39055a4dc1b0a3039f02b67a&quot; height=&quot;627&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; cursor: zoom-in; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044; width: 690px;&quot;/&gt;&lt;/div&gt;&lt;figcaption style=&quot;color: rgb(145, 150, 161); font-size: 0.9em; line-height: 1.5; margin-top: calc(0.666667em); padding: 0px 1em; text-align: center;&quot;&gt;在Tools/System Devices中选择要直通的硬件，打勾、保存、重启。（有一些情况会失败，甚至无法开机，好在你可以拔掉U盘在另一台电脑上修复一下U盘上的配置文件）&lt;/figcaption&gt;&lt;/figure&gt;&lt;figure data-size=&quot;small&quot; style=&quot;margin: calc(2.24em) 0px 1.4em; clear: both; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div&gt;&lt;img src=&quot;https://pic2.zhimg.com/80/v2-69dc7db9b6be9dd47988228854ce825d_720w.webp&quot; data-size=&quot;normal&quot; data-rawwidth=&quot;695&quot; data-rawheight=&quot;232&quot; class=&quot;origin_image zh-lightbox-thumb lazy&quot; width=&quot;695&quot; data-original=&quot;https://pic2.zhimg.com/v2-69dc7db9b6be9dd47988228854ce825d_r.jpg&quot; data-actualsrc=&quot;https://pic2.zhimg.com/v2-69dc7db9b6be9dd47988228854ce825d_b.jpg&quot; data-original-token=&quot;v2-34ba2f6db09476cb241d57d391529917&quot; height=&quot;232&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; cursor: zoom-in; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044; width: 690px;&quot;/&gt;&lt;/div&gt;&lt;figcaption style=&quot;color: rgb(145, 150, 161); font-size: 0.9em; line-height: 1.5; margin-top: calc(0.666667em); padding: 0px 1em; text-align: center;&quot;&gt;在虚拟机配置中会出现新的可直通设备，勾选即可直通。&lt;/figcaption&gt;&lt;/figure&gt;&lt;/p&gt;&lt;h2 id=&quot;h_166352130_7&quot; data-into-catalog-status=&quot;&quot; style=&quot;font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; margin: calc(2.33333em) 0px calc(1.16667em); clear: left; color: rgb(25, 27, 31); text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;【显卡直通】&lt;/h2&gt;&lt;p data-pid=&quot;7Tlgby_B&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;显卡本来也是PCI硬件之一，但是会有诸多原因导致它的直通不会那么容易。&lt;/p&gt;&lt;p data-pid=&quot;ERJLDrhz&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;ESXi&lt;/span&gt;，基本操作还是PCI硬件直通的操作，但可能遇到了以下诸多的限制：&lt;/p&gt;&lt;ul style=&quot;list-style-type: none;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;核显直通后在Win10下驱动错误，代码43（据说其它系统可以直通，但不能显示）&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;想直通独显，需要在bios屏蔽核显，否则可能无法启动或蓝屏（有的主板没这个限制）&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;NVIDIA显卡直通需要配置hypervisor.cpuid.v0 = FALSE，否则驱动错误，代码43&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;ESXi7.0以后切换显卡直通不需要重启，但是已经直通显卡再重启会导致直通失败，手动切换两次可恢复。这个BUG导致直通显卡的虚拟机是无法开机自动启动的。&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p data-pid=&quot;ztZ5UUFT&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;PVE&lt;/span&gt;，除一般PCI硬件直通的步骤外还需要一些配置，具体操作因为pve版本不同、硬件不同等差别很大。几乎没有限制，技术够牛（改bios、改源码……），基本能直通成功。这里只按照我遇到的简单情况说明下（PVE 6.4-4、Q87主板、NVIDIA显卡）。&lt;/p&gt;&lt;p&gt;&lt;figure data-size=&quot;normal&quot; style=&quot;margin: 1.4em 0px; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div&gt;&lt;img src=&quot;https://pic2.zhimg.com/80/v2-a764baa358b522ff402e5a556151b869_720w.webp&quot; data-size=&quot;normal&quot; data-rawwidth=&quot;634&quot; data-rawheight=&quot;282&quot; class=&quot;origin_image zh-lightbox-thumb lazy&quot; width=&quot;634&quot; data-original=&quot;https://pic2.zhimg.com/v2-a764baa358b522ff402e5a556151b869_r.jpg&quot; data-actualsrc=&quot;https://pic2.zhimg.com/v2-a764baa358b522ff402e5a556151b869_b.jpg&quot; data-original-token=&quot;v2-190c9730861b7e560e1ccbc7b7f6c445&quot; height=&quot;282&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; cursor: zoom-in; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044; width: 690px;&quot;/&gt;&lt;/div&gt;&lt;figcaption style=&quot;color: rgb(145, 150, 161); font-size: 0.9em; line-height: 1.5; margin-top: calc(0.666667em); padding: 0px 1em; text-align: center;&quot;&gt;在/etc/modprobe.d/pve-blacklist.conf添加这些驱动黑名单，随后重启。&lt;/figcaption&gt;&lt;/figure&gt;&lt;figure data-size=&quot;normal&quot; style=&quot;margin: calc(2.24em) 0px 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div&gt;&lt;img src=&quot;https://pic1.zhimg.com/80/v2-c99f2c1ff04887d7d943466683735d8c_720w.webp&quot; data-size=&quot;normal&quot; data-rawwidth=&quot;407&quot; data-rawheight=&quot;132&quot; class=&quot;content_image lazy&quot; width=&quot;407&quot; data-actualsrc=&quot;https://pic1.zhimg.com/v2-c99f2c1ff04887d7d943466683735d8c_b.jpg&quot; data-original-token=&quot;v2-ac77792cb2b2df16a33425745f93bef0&quot; height=&quot;132&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044; width: 690px;&quot;/&gt;&lt;/div&gt;&lt;figcaption style=&quot;color: rgb(145, 150, 161); font-size: 0.9em; line-height: 1.5; margin-top: calc(0.666667em); padding: 0px 1em; text-align: center;&quot;&gt;虚拟机的硬件配置中，机器（machine）设置为q35。&lt;/figcaption&gt;&lt;/figure&gt;&lt;figure data-size=&quot;normal&quot; style=&quot;margin: calc(2.24em) 0px 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div&gt;&lt;img src=&quot;https://pic2.zhimg.com/80/v2-1195f457519b2b39b7db557d40f78ab5_720w.webp&quot; data-size=&quot;normal&quot; data-rawwidth=&quot;607&quot; data-rawheight=&quot;206&quot; class=&quot;origin_image zh-lightbox-thumb lazy&quot; width=&quot;607&quot; data-original=&quot;https://pic2.zhimg.com/v2-1195f457519b2b39b7db557d40f78ab5_r.jpg&quot; data-actualsrc=&quot;https://pic2.zhimg.com/v2-1195f457519b2b39b7db557d40f78ab5_b.jpg&quot; data-original-token=&quot;v2-900102e551ae70ee4e26a13b1342d75b&quot; height=&quot;206&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; cursor: zoom-in; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044; width: 690px;&quot;/&gt;&lt;/div&gt;&lt;figcaption style=&quot;color: rgb(145, 150, 161); font-size: 0.9em; line-height: 1.5; margin-top: calc(0.666667em); padding: 0px 1em; text-align: center;&quot;&gt;添加PCI设备，需要勾选“高级”，随后勾选主GPU、PCI-Express&lt;/figcaption&gt;&lt;/figure&gt;&lt;/p&gt;&lt;p data-pid=&quot;aq7vIeH2&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;unRaid&lt;/span&gt;，系统帮忙解决了很多直通问题，仅在虚拟机中设置即可，连硬件的屏蔽都省了。&lt;/p&gt;&lt;p&gt;&lt;figure data-size=&quot;normal&quot; style=&quot;margin: 1.4em 0px; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div&gt;&lt;img src=&quot;https://pic4.zhimg.com/80/v2-1d2731d40c413d986f6dbb91c09b7997_720w.webp&quot; data-size=&quot;normal&quot; data-rawwidth=&quot;795&quot; data-rawheight=&quot;177&quot; class=&quot;origin_image zh-lightbox-thumb lazy&quot; width=&quot;795&quot; data-original=&quot;https://pic4.zhimg.com/v2-1d2731d40c413d986f6dbb91c09b7997_r.jpg&quot; data-actualsrc=&quot;https://pic4.zhimg.com/v2-1d2731d40c413d986f6dbb91c09b7997_b.jpg&quot; data-original-token=&quot;v2-77184921850b4932527609f365bfd36a&quot; height=&quot;177&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; cursor: zoom-in; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044; width: 690px;&quot;/&gt;&lt;/div&gt;&lt;figcaption style=&quot;color: rgb(145, 150, 161); font-size: 0.9em; line-height: 1.5; margin-top: calc(0.666667em); padding: 0px 1em; text-align: center;&quot;&gt;直接把默认的VNC虚拟显卡改成想要直通的显卡即可。也可以添加多个显卡。声卡一样。&lt;/figcaption&gt;&lt;/figure&gt;&lt;/p&gt;&lt;h2 id=&quot;h_166352130_8&quot; data-into-catalog-status=&quot;&quot; style=&quot;font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; margin: calc(2.33333em) 0px calc(1.16667em); clear: left; color: rgb(25, 27, 31); text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;【&lt;a class=&quot;RichContent-EntityWord css-b7erz1&quot; data-za-not-track-link=&quot;true&quot; data-paste-text=&quot;true&quot; href=&quot;https://zhida.zhihu.com/search?q=%E8%99%9A%E6%8B%9F%E5%85%89%E9%A9%B1&amp;zhida_source=entity&amp;is_preview=1&quot; target=&quot;_blank&quot; style=&quot;text-decoration-line: none; color: rgb(9, 64, 142); cursor: pointer;&quot;&gt;虚拟光驱&lt;svg width=&quot;10px&quot; height=&quot;10px&quot; viewbox=&quot;0 0 16 16&quot; class=&quot;ZDI ZDI--FourPointedStar16 css-1dvsrp&quot; fill=&quot;currentColor&quot;&gt;&lt;path d=&quot;m5.068 9.267-3.08-.77a.512.512 0 0 1 0-.994l3.08-.77a2.289 2.289 0 0 0 1.665-1.665l.77-3.08a.512.512 0 0 1 .994 0l.77 3.08c.205.82.845 1.46 1.665 1.665l3.08.77a.512.512 0 0 1 0 .994l-3.08.77a2.29 2.29 0 0 0-1.665 1.665l-.77 3.08a.512.512 0 0 1-.994 0l-.77-3.08a2.289 2.289 0 0 0-1.665-1.665Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;】&lt;/h2&gt;&lt;p data-pid=&quot;lPkhXfdK&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;虚拟光驱最大的作用是加载iso光盘镜像，用于安装系统。少数人还需要把真的光驱给虚拟机用，用来读取/刻录光盘。&lt;/p&gt;&lt;p&gt;&lt;figure data-size=&quot;normal&quot; style=&quot;margin: 1.4em 0px; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div&gt;&lt;img src=&quot;https://pic3.zhimg.com/80/v2-89550d06ceeb42d348b196b2f784f1b2_720w.webp&quot; data-size=&quot;normal&quot; data-rawwidth=&quot;784&quot; data-rawheight=&quot;211&quot; class=&quot;origin_image zh-lightbox-thumb lazy&quot; width=&quot;784&quot; data-original=&quot;https://pic3.zhimg.com/v2-89550d06ceeb42d348b196b2f784f1b2_r.jpg&quot; data-actualsrc=&quot;https://pic3.zhimg.com/v2-89550d06ceeb42d348b196b2f784f1b2_b.jpg&quot; data-original-token=&quot;v2-53265ec546f4e4d216dc17ac354ada36&quot; height=&quot;211&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; cursor: zoom-in; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044; width: 690px;&quot;/&gt;&lt;/div&gt;&lt;figcaption style=&quot;color: rgb(145, 150, 161); font-size: 0.9em; line-height: 1.5; margin-top: calc(0.666667em); padding: 0px 1em; text-align: center;&quot;&gt;ESXi，支持主机设备和ISO镜像，主机设备还能选具体哪一个设备&lt;/figcaption&gt;&lt;/figure&gt;&lt;figure data-size=&quot;normal&quot; style=&quot;margin: calc(2.24em) 0px 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div&gt;&lt;img src=&quot;https://pic3.zhimg.com/80/v2-b4e40e2f85a122dbeb72b96cf082dabe_720w.webp&quot; data-size=&quot;normal&quot; data-rawwidth=&quot;406&quot; data-rawheight=&quot;247&quot; class=&quot;content_image lazy&quot; width=&quot;406&quot; data-actualsrc=&quot;https://pic3.zhimg.com/v2-b4e40e2f85a122dbeb72b96cf082dabe_b.jpg&quot; data-original-token=&quot;v2-2d90e69813a16a54449c9a2dd2327f22&quot; height=&quot;247&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044; width: 690px;&quot;/&gt;&lt;/div&gt;&lt;figcaption style=&quot;color: rgb(145, 150, 161); font-size: 0.9em; line-height: 1.5; margin-top: calc(0.666667em); padding: 0px 1em; text-align: center;&quot;&gt;PVE，也支持主机设备和ISO，但是主机设备下面没有具体设备选择&lt;/figcaption&gt;&lt;/figure&gt;&lt;figure data-size=&quot;normal&quot; style=&quot;margin: calc(2.24em) 0px 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div&gt;&lt;img src=&quot;https://pic2.zhimg.com/80/v2-4557f9995fc087c6cad37f9215be3f11_720w.webp&quot; data-size=&quot;normal&quot; data-rawwidth=&quot;501&quot; data-rawheight=&quot;108&quot; class=&quot;origin_image zh-lightbox-thumb lazy&quot; width=&quot;501&quot; data-original=&quot;https://pic2.zhimg.com/v2-4557f9995fc087c6cad37f9215be3f11_r.jpg&quot; data-actualsrc=&quot;https://pic2.zhimg.com/v2-4557f9995fc087c6cad37f9215be3f11_b.jpg&quot; data-original-token=&quot;v2-3b54342e41c230420923cb45cfcb6cdd&quot; height=&quot;108&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; cursor: zoom-in; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044; width: 690px;&quot;/&gt;&lt;/div&gt;&lt;figcaption style=&quot;color: rgb(145, 150, 161); font-size: 0.9em; line-height: 1.5; margin-top: calc(0.666667em); padding: 0px 1em; text-align: center;&quot;&gt;unRaid，直接被简化成了安装ISO，不支持主机设备&lt;/figcaption&gt;&lt;/figure&gt;&lt;/p&gt;&lt;h2 id=&quot;h_166352130_9&quot; data-into-catalog-status=&quot;&quot; style=&quot;font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; margin: calc(2.33333em) 0px calc(1.16667em); clear: left; color: rgb(25, 27, 31); text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;【自动开机、关机】&lt;/h2&gt;&lt;p data-pid=&quot;uWnMjYpd&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;有时候虚拟系统主机会需要重启或是意外断电等情况，此时我们需要某些虚拟机会在系统启动后按顺序自动启动。&lt;/p&gt;&lt;p&gt;&lt;figure data-size=&quot;small&quot; style=&quot;margin: 1.4em 0px; clear: both; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div&gt;&lt;img src=&quot;https://pic3.zhimg.com/80/v2-07fb7c3ac1463df6ce49f8d73c5edeb6_720w.webp&quot; data-size=&quot;normal&quot; data-rawwidth=&quot;1143&quot; data-rawheight=&quot;468&quot; class=&quot;origin_image zh-lightbox-thumb lazy&quot; width=&quot;1143&quot; data-original=&quot;https://pic3.zhimg.com/v2-07fb7c3ac1463df6ce49f8d73c5edeb6_r.jpg&quot; data-actualsrc=&quot;https://pic3.zhimg.com/v2-07fb7c3ac1463df6ce49f8d73c5edeb6_b.jpg&quot; data-original-token=&quot;v2-1e1c5a71f58f9a44f36e70cde0251025&quot; height=&quot;468&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; cursor: zoom-in; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044; width: 690px;&quot;/&gt;&lt;/div&gt;&lt;figcaption style=&quot;color: rgb(145, 150, 161); font-size: 0.9em; line-height: 1.5; margin-top: calc(0.666667em); padding: 0px 1em; text-align: center;&quot;&gt;ESXi，一次性整体设置自动启动的开关、顺序、延迟时间等。&lt;/figcaption&gt;&lt;/figure&gt;&lt;figure data-size=&quot;small&quot; style=&quot;margin: calc(2.24em) 0px 1.4em; clear: both; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div&gt;&lt;img src=&quot;https://pic3.zhimg.com/80/v2-189056762d0d0d476678bce6728dd342_720w.webp&quot; data-size=&quot;normal&quot; data-rawwidth=&quot;892&quot; data-rawheight=&quot;548&quot; class=&quot;origin_image zh-lightbox-thumb lazy&quot; width=&quot;892&quot; data-original=&quot;https://pic3.zhimg.com/v2-189056762d0d0d476678bce6728dd342_r.jpg&quot; data-actualsrc=&quot;https://pic3.zhimg.com/v2-189056762d0d0d476678bce6728dd342_b.jpg&quot; data-original-token=&quot;v2-558d9d776dbf5d020ffb172ee928a13c&quot; height=&quot;548&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; cursor: zoom-in; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044; width: 690px;&quot;/&gt;&lt;/div&gt;&lt;figcaption style=&quot;color: rgb(145, 150, 161); font-size: 0.9em; line-height: 1.5; margin-top: calc(0.666667em); padding: 0px 1em; text-align: center;&quot;&gt;PVE，需要在每一个虚拟机里面设置自动启动的开关和顺序。&lt;/figcaption&gt;&lt;/figure&gt;&lt;figure data-size=&quot;normal&quot; style=&quot;margin: calc(2.24em) 0px 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div&gt;&lt;img src=&quot;https://pic4.zhimg.com/80/v2-59f6da78eb821ed0155228b3959ab02f_720w.webp&quot; data-size=&quot;normal&quot; data-rawwidth=&quot;1259&quot; data-rawheight=&quot;243&quot; class=&quot;origin_image zh-lightbox-thumb lazy&quot; width=&quot;1259&quot; data-original=&quot;https://pic4.zhimg.com/v2-59f6da78eb821ed0155228b3959ab02f_r.jpg&quot; data-actualsrc=&quot;https://pic4.zhimg.com/v2-59f6da78eb821ed0155228b3959ab02f_b.jpg&quot; data-original-token=&quot;v2-73b9402a944c041ef493b05c82998f2b&quot; height=&quot;243&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; cursor: zoom-in; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044; width: 690px;&quot;/&gt;&lt;/div&gt;&lt;figcaption style=&quot;color: rgb(145, 150, 161); font-size: 0.9em; line-height: 1.5; margin-top: calc(0.666667em); padding: 0px 1em; text-align: center;&quot;&gt;unRaid，每个虚拟机可以开关自动启动，启动顺序就是但是不能调整顺序和间隔时间。&lt;/figcaption&gt;&lt;/figure&gt;&lt;/p&gt;&lt;h2 id=&quot;h_166352130_10&quot; data-into-catalog-status=&quot;&quot; style=&quot;font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; margin: calc(2.33333em) 0px calc(1.16667em); clear: left; color: rgb(25, 27, 31); text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;【网络管理】&lt;/h2&gt;&lt;p&gt;&lt;figure data-size=&quot;normal&quot; style=&quot;margin: 1.4em 0px; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div&gt;&lt;img src=&quot;https://pic2.zhimg.com/80/v2-a16b7a013c1d6460baade2440f305ff5_720w.webp&quot; data-size=&quot;normal&quot; data-rawwidth=&quot;1020&quot; data-rawheight=&quot;235&quot; class=&quot;origin_image zh-lightbox-thumb lazy&quot; width=&quot;1020&quot; data-original=&quot;https://pic2.zhimg.com/v2-a16b7a013c1d6460baade2440f305ff5_r.jpg&quot; data-actualsrc=&quot;https://pic2.zhimg.com/v2-a16b7a013c1d6460baade2440f305ff5_b.jpg&quot; data-original-token=&quot;v2-50a1c2f849e8b466acc9bca65810b2dc&quot; height=&quot;235&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; cursor: zoom-in; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044; width: 690px;&quot;/&gt;&lt;/div&gt;&lt;figcaption style=&quot;color: rgb(145, 150, 161); font-size: 0.9em; line-height: 1.5; margin-top: calc(0.666667em); padding: 0px 1em; text-align: center;&quot;&gt;ESXi，有众多的网络配置功能，完全可以自己组建各式各样的复杂虚拟网络拓扑结构。不过家用的话，基本用不上，甚至你可能都不需要碰到这个界面。&lt;/figcaption&gt;&lt;/figure&gt;&lt;figure data-size=&quot;normal&quot; style=&quot;margin: calc(2.24em) 0px 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div&gt;&lt;img src=&quot;https://pic1.zhimg.com/80/v2-433d83cfda4a8cf3fe92879282a4d858_720w.webp&quot; data-size=&quot;normal&quot; data-rawwidth=&quot;1329&quot; data-rawheight=&quot;230&quot; class=&quot;origin_image zh-lightbox-thumb lazy&quot; width=&quot;1329&quot; data-original=&quot;https://pic1.zhimg.com/v2-433d83cfda4a8cf3fe92879282a4d858_r.jpg&quot; data-actualsrc=&quot;https://pic1.zhimg.com/v2-433d83cfda4a8cf3fe92879282a4d858_b.jpg&quot; data-original-token=&quot;v2-5f2dfeccebab500eb68ce1fe06d15ec1&quot; height=&quot;230&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; cursor: zoom-in; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044; width: 690px;&quot;/&gt;&lt;/div&gt;&lt;figcaption style=&quot;color: rgb(145, 150, 161); font-size: 0.9em; line-height: 1.5; margin-top: calc(0.666667em); padding: 0px 1em; text-align: center;&quot;&gt;PVE，网络管理简单一些，功能也没那么强，但家用足够了。&lt;/figcaption&gt;&lt;/figure&gt;&lt;figure data-size=&quot;small&quot; style=&quot;margin: calc(2.24em) 0px 1.4em; clear: both; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div&gt;&lt;img src=&quot;https://pic3.zhimg.com/80/v2-10158718dee1876c9ad3894ce480028e_720w.webp&quot; data-size=&quot;normal&quot; data-rawwidth=&quot;1248&quot; data-rawheight=&quot;908&quot; class=&quot;origin_image zh-lightbox-thumb lazy&quot; width=&quot;1248&quot; data-original=&quot;https://pic3.zhimg.com/v2-10158718dee1876c9ad3894ce480028e_r.jpg&quot; data-actualsrc=&quot;https://pic3.zhimg.com/v2-10158718dee1876c9ad3894ce480028e_b.jpg&quot; data-original-token=&quot;v2-18de4298b68e063305cb68d61cd46a48&quot; height=&quot;908&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; cursor: zoom-in; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044; width: 690px;&quot;/&gt;&lt;/div&gt;&lt;figcaption style=&quot;color: rgb(145, 150, 161); font-size: 0.9em; line-height: 1.5; margin-top: calc(0.666667em); padding: 0px 1em; text-align: center;&quot;&gt;unRaid，几乎只有网卡设置，不过一般用途倒是够了。只是每次修改网络配置必须先停掉阵列（所有虚拟机、Docker都要关闭）。&lt;/figcaption&gt;&lt;/figure&gt;&lt;/p&gt;&lt;h2 id=&quot;h_166352130_11&quot; data-into-catalog-status=&quot;&quot; style=&quot;font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; margin: calc(2.33333em) 0px calc(1.16667em); clear: left; color: rgb(25, 27, 31); text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;【稳定性】&lt;/h2&gt;&lt;p data-pid=&quot;96kgNawV&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;单说长时间运行的话，三者没发现什么区别，都很稳定。但如果你跟我一样喜欢“瞎折腾”，那就很容易出事了。&lt;/p&gt;&lt;p data-pid=&quot;MM_DvIID&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;所以ESXi是最稳的，界面清晰、扩展性不强，所以也不太会出故障。PVE、unRaid折腾多了都很危险。尤其是unRaid，似乎虚拟机部分还没那么成熟，花样越多坑越多，而且很多设定（比如网络、直通）必须通过重启或关闭磁盘阵列（所有Docker、虚拟机都要关闭）来生效。&lt;/p&gt;&lt;h2 id=&quot;h_166352130_12&quot; data-into-catalog-status=&quot;&quot; style=&quot;font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; margin: calc(2.33333em) 0px calc(1.16667em); clear: left; color: rgb(25, 27, 31); text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;【CPU性能】&lt;/h2&gt;&lt;p data-pid=&quot;48NrNAKv&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;ESXI使用自己的VMware内核，CPU优化相当好，损耗趋近于0%。&lt;/p&gt;&lt;p data-pid=&quot;lGiFCRAw&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;PVE与unRaid接近（都是KVM），损耗大约是4-10%的样子。&lt;/p&gt;&lt;p data-pid=&quot;_1iwv9xr&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;详细的对比我就不展示了，受影响因素太多，我也没搞清楚，容易误导大家。总的来说三者差距不会很大，如果你的CPU性能本身有一定过剩，就不用特别纠结这点点损耗了。&lt;/p&gt;&lt;h2 id=&quot;h_166352130_13&quot; data-into-catalog-status=&quot;&quot; style=&quot;font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; margin: calc(2.33333em) 0px calc(1.16667em); clear: left; color: rgb(25, 27, 31); text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;【授权】&lt;/h2&gt;&lt;p data-pid=&quot;n2cBf2jJ&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;ESXi&lt;/span&gt;，安装即可试用60天。官网可以免费注册，会有功能限制，但个人足够用了。&lt;br/&gt;最便宜的1年期授权大概是1700人民币以上。&lt;br/&gt;网上可以搜注册码。&lt;/p&gt;&lt;p&gt;&lt;figure data-size=&quot;small&quot; style=&quot;margin: 1.4em 0px; clear: both; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;img src=&quot;https://pic2.zhimg.com/80/v2-e82e42be8e0f02112d9e54a5f4ae71d1_720w.webp&quot; data-caption=&quot;&quot; data-size=&quot;normal&quot; data-rawwidth=&quot;884&quot; data-rawheight=&quot;524&quot; class=&quot;origin_image zh-lightbox-thumb lazy&quot; width=&quot;884&quot; data-original=&quot;https://pic2.zhimg.com/v2-e82e42be8e0f02112d9e54a5f4ae71d1_r.jpg&quot; data-actualsrc=&quot;https://pic2.zhimg.com/v2-e82e42be8e0f02112d9e54a5f4ae71d1_b.jpg&quot; data-original-token=&quot;v2-7a80160b7a1b42afcbea8ebeb40b87fc&quot; height=&quot;524&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; cursor: zoom-in; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044; width: 690px;&quot;/&gt;&lt;/figure&gt;&lt;/p&gt;&lt;p data-pid=&quot;G-8F5t7A&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;PVE&lt;/span&gt;，算是免费吧。不注册会每次登陆有个提示框，且不能更新官方稳定源。&lt;br/&gt;最便宜的1年期授权是85欧元。&lt;br/&gt;可以通过修改代码屏蔽提示，还可以添加免费更新源来更新。&lt;/p&gt;&lt;p&gt;&lt;figure data-size=&quot;small&quot; style=&quot;margin: 1.4em 0px; clear: both; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;img src=&quot;https://pic3.zhimg.com/80/v2-99f9ab416638819d64fe7dfb330e1696_720w.webp&quot; data-caption=&quot;&quot; data-size=&quot;normal&quot; data-rawwidth=&quot;609&quot; data-rawheight=&quot;138&quot; class=&quot;origin_image zh-lightbox-thumb lazy&quot; width=&quot;609&quot; data-original=&quot;https://pic3.zhimg.com/v2-99f9ab416638819d64fe7dfb330e1696_r.jpg&quot; data-actualsrc=&quot;https://pic3.zhimg.com/v2-99f9ab416638819d64fe7dfb330e1696_b.jpg&quot; data-original-token=&quot;v2-a20448c7a152363038e47bf2fb7c98ea&quot; height=&quot;138&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; cursor: zoom-in; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044; width: 690px;&quot;/&gt;&lt;/figure&gt;&lt;/p&gt;&lt;p data-pid=&quot;ZuU1MoT7&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;unRaid&lt;/span&gt;，针对U盘注册，不注册几乎等于不能用。可以免费注册30天&lt;a class=&quot;RichContent-EntityWord css-b7erz1&quot; data-za-not-track-link=&quot;true&quot; data-paste-text=&quot;true&quot; href=&quot;https://zhida.zhihu.com/search?q=%E8%AF%95%E7%94%A8%E7%89%88&amp;zhida_source=entity&amp;is_preview=1&quot; target=&quot;_blank&quot; style=&quot;text-decoration-line: none; color: rgb(9, 64, 142); cursor: pointer;&quot;&gt;试用版&lt;svg width=&quot;10px&quot; height=&quot;10px&quot; viewbox=&quot;0 0 16 16&quot; class=&quot;ZDI ZDI--FourPointedStar16 css-1dvsrp&quot; fill=&quot;currentColor&quot;&gt;&lt;path d=&quot;m5.068 9.267-3.08-.77a.512.512 0 0 1 0-.994l3.08-.77a2.289 2.289 0 0 0 1.665-1.665l.77-3.08a.512.512 0 0 1 .994 0l.77 3.08c.205.82.845 1.46 1.665 1.665l3.08.77a.512.512 0 0 1 0 .994l-3.08.77a2.29 2.29 0 0 0-1.665 1.665l-.77 3.08a.512.512 0 0 1-.994 0l-.77-3.08a2.289 2.289 0 0 0-1.665-1.665Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;。&lt;br/&gt;6块硬盘的永久授权是59美元，允许一年换一块U盘（毕竟是U盘杀手）。&lt;br/&gt;网上有开（po）心（jie）版。&lt;/p&gt;&lt;p&gt;&lt;figure data-size=&quot;small&quot; style=&quot;margin: 1.4em 0px; clear: both; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;img src=&quot;https://pic1.zhimg.com/80/v2-38cca13401327b7c2447df3875b84864_720w.webp&quot; data-caption=&quot;&quot; data-size=&quot;normal&quot; data-rawwidth=&quot;1430&quot; data-rawheight=&quot;607&quot; class=&quot;origin_image zh-lightbox-thumb lazy&quot; width=&quot;1430&quot; data-original=&quot;https://pic1.zhimg.com/v2-38cca13401327b7c2447df3875b84864_r.jpg&quot; data-actualsrc=&quot;https://pic1.zhimg.com/v2-38cca13401327b7c2447df3875b84864_b.jpg&quot; data-original-token=&quot;v2-f7c0fdbdea79ea606e68193b1dd1473d&quot; height=&quot;607&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; cursor: zoom-in; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044; width: 690px;&quot;/&gt;&lt;/figure&gt;&lt;/p&gt;&lt;h2 id=&quot;h_166352130_14&quot; data-into-catalog-status=&quot;&quot; style=&quot;font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; margin: calc(2.33333em) 0px calc(1.16667em); clear: left; color: rgb(25, 27, 31); text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;【Docker】&lt;/h2&gt;&lt;p data-pid=&quot;5KgGU4Bd&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;如果你没玩过Docker，强烈建议你入坑~ 比虚拟机更轻便、灵活。很多好用的Linux软件都会有Docker的版本，很好地解决了兼容性等问题。&lt;/p&gt;&lt;p data-pid=&quot;WKs8CNqw&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;ESXi&lt;/span&gt;，不支持Docker，估计未来也不会支持，毕竟不是Linux。你只能先装个linux虚拟系统，再用docker。&lt;/p&gt;&lt;p data-pid=&quot;SkgsPG4f&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;PVE&lt;/span&gt;，本身不直接支持Docker，但是可以自己安装相关软件。&lt;/p&gt;&lt;p data-pid=&quot;WB-8uyFV&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;unRaid&lt;/span&gt;，可以运行Docker，还有方便的界面支持。但是虚拟缓存有点麻烦（内存不足时才用），算是瑕疵。&lt;/p&gt;&lt;h2 id=&quot;h_166352130_15&quot; data-into-catalog-status=&quot;&quot; style=&quot;font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; margin: calc(2.33333em) 0px calc(1.16667em); clear: left; color: rgb(25, 27, 31); text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;【温度显示】&lt;/h2&gt;&lt;p data-pid=&quot;nmfkzZ4V&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;如果不是用过这几个虚拟系统，我还真想象不到温度显示也会是一个需要考虑的问题。&lt;/p&gt;&lt;p data-pid=&quot;PxeypCvd&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;ESXi&lt;/span&gt;，需要主板支持IPMI，基本只有服务器才行了。否则，就完全看不到温度。&lt;/p&gt;&lt;p data-pid=&quot;Z4E8X_kt&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;PVE&lt;/span&gt;，需要安装软件和手改界面代码。不同机器情况还不一样，要解决得有点编程基础。&lt;/p&gt;&lt;p data-pid=&quot;54mDnAYq&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;unRaid&lt;/span&gt;，默认只显示硬盘温度。需要安装温度显示插件来显示CPU、主板温度。&lt;/p&gt;&lt;h2 id=&quot;h_166352130_16&quot; data-into-catalog-status=&quot;&quot; style=&quot;font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; margin: calc(2.33333em) 0px calc(1.16667em); clear: left; color: rgb(25, 27, 31); text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;【特别的磁盘阵列】&lt;/h2&gt;&lt;p data-pid=&quot;tjQMNb87&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;这是&lt;span style=&quot;font-weight: 600;&quot;&gt;unRaid&lt;/span&gt;独有的，也是它最初的主要卖点。它不同于真正的raid阵列，是一种灵活的文件级磁盘空间组织方式。&lt;/p&gt;&lt;p data-pid=&quot;S4FtqcSC&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;使用中体会到的几个优点：&lt;/p&gt;&lt;ul style=&quot;list-style-type: none;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;硬盘数量可以随时增加（减少也能，但会麻烦点）。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;每一块盘上面都是独立的文件系统（阵列只剩一块盘，也能读出部分数据）。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;结合共享目录做设定，可以指定不同目录的不同阵列分配方案。&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p data-pid=&quot;ot8ZUDgP&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;但这个文件系统的性能不是太好，连续满负荷读写会突然性能下降，即使有ssd缓存也不行。不知道是BUG还是某些机制决定了这样的特性。&lt;/p&gt;&lt;h2 id=&quot;h_166352130_17&quot; data-into-catalog-status=&quot;&quot; style=&quot;font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; margin: calc(2.33333em) 0px calc(1.16667em); clear: left; color: rgb(25, 27, 31); text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;【总结特点】&lt;/h2&gt;&lt;p data-pid=&quot;qFerVUq7&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;ESXi&lt;/span&gt;，注重企业支持，界面简单易用，自身功能较强，对硬件要求较高，扩展性较低。&lt;br/&gt;适合初学者、不想太折腾的、有服务器主板的（例如Gen8这种家用服务器）。迷茫的时候，优选ESXi吧。&lt;/p&gt;&lt;p data-pid=&quot;jWViM1Xn&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;PVE&lt;/span&gt;，兼容性最好，扩展性好，界面友善度欠佳，需要一定Linux基础。&lt;br/&gt;适合低端机型、懂Linux的、爱折腾的。PVE玩得溜了之后，看其它的系统都像是弟弟。（可惜我玩不溜）&lt;/p&gt;&lt;p data-pid=&quot;3QLx0iNe&quot; style=&quot;margin-top: 1.4em; margin-bottom: 0px; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;unRaid&lt;/span&gt;，Docker、磁盘阵列、显卡直通、虚拟U盘等都是亮点。必须U盘引导有点麻烦（廉价U盘7x24工作，心还是很慌）。特色功能多，出新快，因此问题也多。&lt;br/&gt;适合直接做NAS、玩PT，尤其适合做家庭影视库、HTPC，玩一拖二也是个不错的选择。比较有可玩性，又不会难度特别高。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Tue, 27 Aug 2024 12:34:11 +0800</pubDate></item><item><title>嵌入式福星 -- QEMU(Quick EMUlator)学习</title><link>https://book.nbznh.com/?id=607</link><description>&lt;h2 data-first-child=&quot;&quot; id=&quot;h_705273664_0&quot; data-into-catalog-status=&quot;&quot; style=&quot;font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; margin: 0px 0px calc(1.16667em); clear: left; color: rgb(25, 27, 31); text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;QEMU介绍&lt;/h2&gt;&lt;p data-pid=&quot;Np9Z_ad8&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;QEMU (Quick EMUlator) 是一个开源的虚拟化软件和硬件仿真器，它能实现完整系统仿真或进程级仿真。QEMU 的用途广泛，可以用来运行不同体系结构的程序，测试操作系统和驱动程序，开发嵌入式系统，甚至作为&lt;a class=&quot;RichContent-EntityWord css-b7erz1&quot; data-za-not-track-link=&quot;true&quot; data-paste-text=&quot;true&quot; href=&quot;https://zhida.zhihu.com/search?q=%E4%BA%91%E8%AE%A1%E7%AE%97%E5%B9%B3%E5%8F%B0&amp;zhida_source=entity&amp;is_preview=1&quot; target=&quot;_blank&quot; style=&quot;text-decoration-line: none; color: rgb(9, 64, 142); cursor: pointer;&quot;&gt;云计算平台&lt;svg width=&quot;10px&quot; height=&quot;10px&quot; viewbox=&quot;0 0 16 16&quot; class=&quot;ZDI ZDI--FourPointedStar16 css-1dvsrp&quot; fill=&quot;currentColor&quot;&gt;&lt;path d=&quot;m5.068 9.267-3.08-.77a.512.512 0 0 1 0-.994l3.08-.77a2.289 2.289 0 0 0 1.665-1.665l.77-3.08a.512.512 0 0 1 .994 0l.77 3.08c.205.82.845 1.46 1.665 1.665l3.08.77a.512.512 0 0 1 0 .994l-3.08.77a2.29 2.29 0 0 0-1.665 1.665l-.77 3.08a.512.512 0 0 1-.994 0l-.77-3.08a2.289 2.289 0 0 0-1.665-1.665Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;的一部分。以下是 QEMU 的一些主要特性和使用示例。&lt;/p&gt;&lt;h2 id=&quot;h_705273664_1&quot; data-into-catalog-status=&quot;&quot; style=&quot;font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; margin: calc(2.33333em) 0px calc(1.16667em); clear: left; color: rgb(25, 27, 31); text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;QEMU 的主要特性&lt;/h2&gt;&lt;ol style=&quot;list-style-type: none;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;全系统仿真 (System Emulation):&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;仿真整个计算机系统，包括 CPU、存储器、硬盘、网络设备等。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;支持多种架构，如 x86、ARM、MIPS、PowerPC、SPARC 等。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;用户模式仿真 (User Mode Emulation)&lt;/span&gt;:&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;仿真单个用户模式进程，可以运行不同架构的程序，而无需完整操作系统的仿真。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;加速模式&lt;/span&gt;:&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;与 KVM (Kernel-based Virtual Machine) 结合使用，可以利用&lt;a class=&quot;RichContent-EntityWord css-b7erz1&quot; data-za-not-track-link=&quot;true&quot; data-paste-text=&quot;true&quot; href=&quot;https://zhida.zhihu.com/search?q=%E7%A1%AC%E4%BB%B6%E8%99%9A%E6%8B%9F%E5%8C%96&amp;zhida_source=entity&amp;is_preview=1&quot; target=&quot;_blank&quot; style=&quot;text-decoration-line: none; color: rgb(9, 64, 142); cursor: pointer;&quot;&gt;硬件虚拟化&lt;svg width=&quot;10px&quot; height=&quot;10px&quot; viewbox=&quot;0 0 16 16&quot; class=&quot;ZDI ZDI--FourPointedStar16 css-1dvsrp&quot; fill=&quot;currentColor&quot;&gt;&lt;path d=&quot;m5.068 9.267-3.08-.77a.512.512 0 0 1 0-.994l3.08-.77a2.289 2.289 0 0 0 1.665-1.665l.77-3.08a.512.512 0 0 1 .994 0l.77 3.08c.205.82.845 1.46 1.665 1.665l3.08.77a.512.512 0 0 1 0 .994l-3.08.77a2.29 2.29 0 0 0-1.665 1.665l-.77 3.08a.512.512 0 0 1-.994 0l-.77-3.08a2.289 2.289 0 0 0-1.665-1.665Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;特性，大幅提升性能&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;设备仿真&lt;/span&gt;:&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;支持多种虚拟设备，如网络接口、存储设备、图形设备等。&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;h2 id=&quot;h_705273664_2&quot; data-into-catalog-status=&quot;&quot; style=&quot;font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; margin: calc(2.33333em) 0px calc(1.16667em); clear: left; color: rgb(25, 27, 31); text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;QEMU 的安装&lt;/h2&gt;&lt;p data-pid=&quot;2iOfjSIP&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;在大多数 Linux 发行版中，可以使用包管理器安装 QEMU：&lt;br/&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;Ubuntu / Debian&lt;/span&gt;:&lt;/p&gt;&lt;div class=&quot;highlight&quot; style=&quot;margin: 1em 0px; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;pre style=&quot;margin-top: 0px; margin-bottom: 0px; overflow-wrap: initial; background-color: rgb(248, 248, 250); border-radius: 4px; font-size: 0.9em; overflow: auto; padding: calc(0.888889em); word-break: initial;&quot;&gt;sudo&amp;nbsp;apt-get&amp;nbsp;install&amp;nbsp;qemu&amp;nbsp;qemu-kvm&lt;/pre&gt;&lt;/div&gt;&lt;p data-pid=&quot;VH9R_m7G&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;CentOS / Fedora&lt;/span&gt;:&lt;/p&gt;&lt;div class=&quot;highlight&quot; style=&quot;margin: 1em 0px; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;pre style=&quot;margin-top: 0px; margin-bottom: 0px; overflow-wrap: initial; background-color: rgb(248, 248, 250); border-radius: 4px; font-size: 0.9em; overflow: auto; padding: calc(0.888889em); word-break: initial;&quot;&gt;sudo&amp;nbsp;yum&amp;nbsp;install&amp;nbsp;qemu-kvm&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&quot;h_705273664_3&quot; data-into-catalog-status=&quot;&quot; style=&quot;font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; margin: calc(2.33333em) 0px calc(1.16667em); clear: left; color: rgb(25, 27, 31); text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;QEMU 选项总结&lt;/h2&gt;&lt;ul style=&quot;list-style-type: none;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;-m&amp;nbsp;&lt;/span&gt;: 指定虚拟机内存大小，例如&amp;nbsp;&lt;span style=&quot;font-weight: 600;&quot;&gt;-m 4G&lt;/span&gt;。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;-smp&amp;nbsp;&lt;/span&gt;: 指定虚拟机 CPU 数量，例如&amp;nbsp;&lt;span style=&quot;font-weight: 600;&quot;&gt;-smp 4&lt;/span&gt;。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;-drive file=,format=&lt;/span&gt;: 指定磁盘映像及其格式。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;-net&amp;nbsp;&lt;/span&gt;: 配置网络设备。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;-cdrom&amp;nbsp;&lt;/span&gt;: 指定光盘镜像文件。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;-boot&amp;nbsp;&lt;/span&gt;: 指定启动顺序，例如&amp;nbsp;&lt;span style=&quot;font-weight: 600;&quot;&gt;-boot d&lt;/span&gt;&amp;nbsp;从光盘启动。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;-enable-kvm&lt;/span&gt;: 启用 KVM 硬件加速。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;-cpu&amp;nbsp;&lt;/span&gt;: 指定 CPU 模型和功能集。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;-device&amp;nbsp;&lt;/span&gt;: 添加虚拟或物理设备。&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 id=&quot;h_705273664_4&quot; data-into-catalog-status=&quot;&quot; style=&quot;font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; margin: calc(2.33333em) 0px calc(1.16667em); clear: left; color: rgb(25, 27, 31); text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;使用 QEMU 进行系统仿真&lt;/h2&gt;&lt;p data-pid=&quot;zZUlpaAu&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;以下是如何使用 QEMU 仿真一个简单的 x86 系统的示例。&lt;/p&gt;&lt;h3 id=&quot;h_705273664_5&quot; data-into-catalog-status=&quot;&quot; style=&quot;font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-stretch: inherit; font-size: 1.1em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; margin: calc(1.90909em) 0px calc(1.27273em); clear: left; color: rgb(25, 27, 31); text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;1. 下载操作系统镜像&lt;/h3&gt;&lt;p data-pid=&quot;Elko8tJc&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;首先，下载一个操作系统镜像。例如，可以下载一个 Ubuntu 的 ISO 镜像：&lt;/p&gt;&lt;div class=&quot;highlight&quot; style=&quot;margin: 1em 0px; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;pre style=&quot;margin-top: 0px; margin-bottom: 0px; overflow-wrap: initial; background-color: rgb(248, 248, 250); border-radius: 4px; font-size: 0.9em; overflow: auto; padding: calc(0.888889em); word-break: initial;&quot;&gt;wget&amp;nbsp;https://releases.ubuntu.com/20.04/ubuntu-20.04.6-desktop-amd64.iso&lt;/pre&gt;&lt;/div&gt;&lt;p class=&quot;ztext-empty-paragraph&quot; style=&quot;margin-top: -0.8em; margin-bottom: -0.8em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;h3 id=&quot;h_705273664_6&quot; data-into-catalog-status=&quot;&quot; style=&quot;font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-stretch: inherit; font-size: 1.1em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; margin: calc(1.90909em) 0px calc(1.27273em); clear: left; color: rgb(25, 27, 31); text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;2. 创建一个虚拟硬盘&lt;/h3&gt;&lt;p data-pid=&quot;DZKePQiC&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;使用 QEMU 创建一个虚拟硬盘文件：&lt;/p&gt;&lt;div class=&quot;highlight&quot; style=&quot;margin: 1em 0px; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;pre style=&quot;margin-top: 0px; margin-bottom: 0px; overflow-wrap: initial; background-color: rgb(248, 248, 250); border-radius: 4px; font-size: 0.9em; overflow: auto; padding: calc(0.888889em); word-break: initial;&quot;&gt;qemu-img&amp;nbsp;create&amp;nbsp;-f&amp;nbsp;qcow2&amp;nbsp;ubuntu.qcow2&amp;nbsp;20G&lt;/pre&gt;&lt;/div&gt;&lt;p class=&quot;ztext-empty-paragraph&quot; style=&quot;margin-top: -0.8em; margin-bottom: -0.8em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;h3 id=&quot;h_705273664_7&quot; data-into-catalog-status=&quot;&quot; style=&quot;font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-stretch: inherit; font-size: 1.1em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; margin: calc(1.90909em) 0px calc(1.27273em); clear: left; color: rgb(25, 27, 31); text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;3. 启动虚拟机&lt;/h3&gt;&lt;p data-pid=&quot;j_zuIaJH&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;使用 QEMU 启动虚拟机，并从 ISO 镜像启动：&lt;/p&gt;&lt;div class=&quot;highlight&quot; style=&quot;margin: 1em 0px; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;pre style=&quot;margin-top: 0px; margin-bottom: 0px; overflow-wrap: initial; background-color: rgb(248, 248, 250); border-radius: 4px; font-size: 0.9em; overflow: auto; padding: calc(0.888889em); word-break: initial;&quot;&gt;qemu-system-x86_64&amp;nbsp;-m&amp;nbsp;4G&amp;nbsp;-cdrom&amp;nbsp;ubuntu-20.04.6-desktop-amd64.iso&amp;nbsp;-hda&amp;nbsp;ubuntu.qcow2&amp;nbsp;-boot&amp;nbsp;d&lt;/pre&gt;&lt;/div&gt;&lt;p data-pid=&quot;FIq_FaeT&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;在这个命令中：&lt;/p&gt;&lt;ul style=&quot;list-style-type: none;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;qemu-system-x86_64&lt;/span&gt;：指定仿真 x86_64 架构的系统。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;-m 4G&lt;/span&gt;：分配 4 GB 内存给虚拟机。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;-cdrom ubuntu-20.04.6-desktop-amd64.iso&lt;/span&gt;：指定 ISO 镜像文件作为 CD-ROM。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;-hda ubuntu.qcow2&lt;/span&gt;：指定虚拟硬盘文件。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;-boot d&lt;/span&gt;：从 CD-ROM 启动。&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h3 id=&quot;h_705273664_8&quot; data-into-catalog-status=&quot;&quot; style=&quot;font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-stretch: inherit; font-size: 1.1em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; margin: calc(1.90909em) 0px calc(1.27273em); clear: left; color: rgb(25, 27, 31); text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;4. 安装操作系统&lt;/h3&gt;&lt;p data-pid=&quot;agPnnXAz&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;QEMU 启动后，会加载 ISO 镜像，像在物理机上那样进行操作系统安装。&lt;/p&gt;&lt;p class=&quot;ztext-empty-paragraph&quot; style=&quot;margin-top: -0.8em; margin-bottom: -0.8em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;h2 id=&quot;h_705273664_9&quot; data-into-catalog-status=&quot;&quot; style=&quot;font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; margin: calc(2.33333em) 0px calc(1.16667em); clear: left; color: rgb(25, 27, 31); text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;使用 QEMU 进行用户模式仿真&lt;/h2&gt;&lt;p data-pid=&quot;tJgqJeSI&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;QEMU 还可以用于用户模式仿真，即仿真单个用户进程。以下是一个简单的示例：&lt;/p&gt;&lt;h3 id=&quot;h_705273664_10&quot; data-into-catalog-status=&quot;&quot; style=&quot;font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-stretch: inherit; font-size: 1.1em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; margin: calc(1.90909em) 0px calc(1.27273em); clear: left; color: rgb(25, 27, 31); text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;1. 编写一个简单的 C 程序&lt;/h3&gt;&lt;p data-pid=&quot;QOCAxSNg&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;编写一个简单的 C 程序&amp;nbsp;&lt;span style=&quot;font-weight: 600;&quot;&gt;hello.c&lt;/span&gt;：&lt;/p&gt;&lt;div class=&quot;highlight&quot; style=&quot;margin: 1em 0px; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;pre style=&quot;margin-top: 0px; margin-bottom: 0px; overflow-wrap: initial; background-color: rgb(248, 248, 250); border-radius: 4px; font-size: 0.9em; overflow: auto; padding: calc(0.888889em); word-break: initial;&quot;&gt;#include&amp;nbsp;&amp;lt;stdio.h&amp;gt;int&amp;nbsp;main()&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;printf(&amp;quot;Hello,&amp;nbsp;QEMU!\n&amp;quot;);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return&amp;nbsp;0;}&lt;/pre&gt;&lt;/div&gt;&lt;p class=&quot;ztext-empty-paragraph&quot; style=&quot;margin-top: -0.8em; margin-bottom: -0.8em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;h3 id=&quot;h_705273664_11&quot; data-into-catalog-status=&quot;&quot; style=&quot;font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-stretch: inherit; font-size: 1.1em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; margin: calc(1.90909em) 0px calc(1.27273em); clear: left; color: rgb(25, 27, 31); text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;2. 编译程序&lt;/h3&gt;&lt;p data-pid=&quot;jTbb9qq1&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;假设我们要在 ARM 架构上运行这个程序，可以使用&lt;a class=&quot;RichContent-EntityWord css-b7erz1&quot; data-za-not-track-link=&quot;true&quot; data-paste-text=&quot;true&quot; href=&quot;https://zhida.zhihu.com/search?q=%E4%BA%A4%E5%8F%89%E7%BC%96%E8%AF%91&amp;zhida_source=entity&amp;is_preview=1&quot; target=&quot;_blank&quot; style=&quot;text-decoration-line: none; color: rgb(9, 64, 142); cursor: pointer;&quot;&gt;交叉编译&lt;svg width=&quot;10px&quot; height=&quot;10px&quot; viewbox=&quot;0 0 16 16&quot; class=&quot;ZDI ZDI--FourPointedStar16 css-1dvsrp&quot; fill=&quot;currentColor&quot;&gt;&lt;path d=&quot;m5.068 9.267-3.08-.77a.512.512 0 0 1 0-.994l3.08-.77a2.289 2.289 0 0 0 1.665-1.665l.77-3.08a.512.512 0 0 1 .994 0l.77 3.08c.205.82.845 1.46 1.665 1.665l3.08.77a.512.512 0 0 1 0 .994l-3.08.77a2.29 2.29 0 0 0-1.665 1.665l-.77 3.08a.512.512 0 0 1-.994 0l-.77-3.08a2.289 2.289 0 0 0-1.665-1.665Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;工具链进行编译：&lt;/p&gt;&lt;div class=&quot;highlight&quot; style=&quot;margin: 1em 0px; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;pre style=&quot;margin-top: 0px; margin-bottom: 0px; overflow-wrap: initial; background-color: rgb(248, 248, 250); border-radius: 4px; font-size: 0.9em; overflow: auto; padding: calc(0.888889em); word-break: initial;&quot;&gt;arm-linux-gnueabi-gcc&amp;nbsp;-o&amp;nbsp;hello-arm&amp;nbsp;hello.c&lt;/pre&gt;&lt;/div&gt;&lt;p class=&quot;ztext-empty-paragraph&quot; style=&quot;margin-top: -0.8em; margin-bottom: -0.8em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;h3 id=&quot;h_705273664_12&quot; data-into-catalog-status=&quot;&quot; style=&quot;font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-stretch: inherit; font-size: 1.1em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; margin: calc(1.90909em) 0px calc(1.27273em); clear: left; color: rgb(25, 27, 31); text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;3. 使用 QEMU 运行程序&lt;/h3&gt;&lt;p data-pid=&quot;w-ZSa18f&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;使用 QEMU 的用户模式仿真来运行这个 ARM 程序：&lt;/p&gt;&lt;div class=&quot;highlight&quot; style=&quot;margin: 1em 0px; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;pre style=&quot;margin-top: 0px; margin-bottom: 0px; overflow-wrap: initial; background-color: rgb(248, 248, 250); border-radius: 4px; font-size: 0.9em; overflow: auto; padding: calc(0.888889em); word-break: initial;&quot;&gt;qemu-arm&amp;nbsp;hello-arm&lt;/pre&gt;&lt;/div&gt;&lt;p data-pid=&quot;GHL7pc39&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;QEMU 将仿真 ARM CPU 并执行程序，输出&amp;nbsp;&lt;span style=&quot;font-weight: 600;&quot;&gt;Hello, QEMU!&lt;/span&gt;。&lt;/p&gt;&lt;p class=&quot;ztext-empty-paragraph&quot; style=&quot;margin-top: -0.8em; margin-bottom: -0.8em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;h2 id=&quot;h_705273664_13&quot; data-into-catalog-status=&quot;&quot; style=&quot;font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; margin: calc(2.33333em) 0px calc(1.16667em); clear: left; color: rgb(25, 27, 31); text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;使用 QEMU 进行更高级的系统仿真&lt;/h2&gt;&lt;p class=&quot;ztext-empty-paragraph&quot; style=&quot;margin-top: -0.8em; margin-bottom: -0.8em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;h3 id=&quot;h_705273664_14&quot; data-into-catalog-status=&quot;&quot; style=&quot;font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-stretch: inherit; font-size: 1.1em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; margin: calc(1.90909em) 0px calc(1.27273em); clear: left; color: rgb(25, 27, 31); text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;1. 通过网络启动虚拟机&lt;/h3&gt;&lt;p data-pid=&quot;RqYV7tKQ&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;QEMU 支持通过网络启动虚拟机。这在构建&lt;a class=&quot;RichContent-EntityWord css-b7erz1&quot; data-za-not-track-link=&quot;true&quot; data-paste-text=&quot;true&quot; href=&quot;https://zhida.zhihu.com/search?q=%E6%97%A0%E7%9B%98%E5%B7%A5%E4%BD%9C%E7%AB%99&amp;zhida_source=entity&amp;is_preview=1&quot; target=&quot;_blank&quot; style=&quot;text-decoration-line: none; color: rgb(9, 64, 142); cursor: pointer;&quot;&gt;无盘工作站&lt;svg width=&quot;10px&quot; height=&quot;10px&quot; viewbox=&quot;0 0 16 16&quot; class=&quot;ZDI ZDI--FourPointedStar16 css-1dvsrp&quot; fill=&quot;currentColor&quot;&gt;&lt;path d=&quot;m5.068 9.267-3.08-.77a.512.512 0 0 1 0-.994l3.08-.77a2.289 2.289 0 0 0 1.665-1.665l.77-3.08a.512.512 0 0 1 .994 0l.77 3.08c.205.82.845 1.46 1.665 1.665l3.08.77a.512.512 0 0 1 0 .994l-3.08.77a2.29 2.29 0 0 0-1.665 1.665l-.77 3.08a.512.512 0 0 1-.994 0l-.77-3.08a2.289 2.289 0 0 0-1.665-1.665Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;或测试网络引导配置时非常有用。&lt;br/&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;准备 TFTP 服务器和网络&lt;a class=&quot;RichContent-EntityWord css-b7erz1&quot; data-za-not-track-link=&quot;true&quot; data-paste-text=&quot;true&quot; href=&quot;https://zhida.zhihu.com/search?q=%E5%BC%95%E5%AF%BC%E6%96%87%E4%BB%B6&amp;zhida_source=entity&amp;is_preview=1&quot; target=&quot;_blank&quot; style=&quot;text-decoration-line: none; color: rgb(9, 64, 142); cursor: pointer;&quot;&gt;引导文件&lt;svg width=&quot;10px&quot; height=&quot;10px&quot; viewbox=&quot;0 0 16 16&quot; class=&quot;ZDI ZDI--FourPointedStar16 css-1dvsrp&quot; fill=&quot;currentColor&quot;&gt;&lt;path d=&quot;m5.068 9.267-3.08-.77a.512.512 0 0 1 0-.994l3.08-.77a2.289 2.289 0 0 0 1.665-1.665l.77-3.08a.512.512 0 0 1 .994 0l.77 3.08c.205.82.845 1.46 1.665 1.665l3.08.77a.512.512 0 0 1 0 .994l-3.08.77a2.29 2.29 0 0 0-1.665 1.665l-.77 3.08a.512.512 0 0 1-.994 0l-.77-3.08a2.289 2.289 0 0 0-1.665-1.665Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;&lt;/span&gt;： 首先，您需要设置一个 TFTP 服务器并准备网络引导文件。以下示例基于 Ubuntu：&lt;br/&gt;安装 TFTP 服务器：&lt;/p&gt;&lt;div class=&quot;highlight&quot; style=&quot;margin: 1em 0px; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;pre style=&quot;margin-top: 0px; margin-bottom: 0px; overflow-wrap: initial; background-color: rgb(248, 248, 250); border-radius: 4px; font-size: 0.9em; overflow: auto; padding: calc(0.888889em); word-break: initial;&quot;&gt;sudo&amp;nbsp;apt-get&amp;nbsp;install&amp;nbsp;tftpd-hpa&lt;/pre&gt;&lt;/div&gt;&lt;p data-pid=&quot;VZjeBsMr&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;配置 TFTP 服务器：&lt;br/&gt;编辑&amp;nbsp;&lt;span style=&quot;font-weight: 600;&quot;&gt;/etc/default/tftpd-hpa&lt;/span&gt;，确保以下内容：&lt;/p&gt;&lt;div class=&quot;highlight&quot; style=&quot;margin: 1em 0px; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;pre style=&quot;margin-top: 0px; margin-bottom: 0px; overflow-wrap: initial; background-color: rgb(248, 248, 250); border-radius: 4px; font-size: 0.9em; overflow: auto; padding: calc(0.888889em); word-break: initial;&quot;&gt;TFTP_OPTIONS=&amp;quot;--secure&amp;nbsp;--create&amp;quot;TFTP_DIRECTORY=&amp;quot;/srv/tftp&amp;quot;RUN_DAEMON=&amp;quot;yes&amp;quot;OPTIONS=&amp;quot;-l&amp;nbsp;-s&amp;nbsp;/srv/tftp&amp;quot;&lt;/pre&gt;&lt;/div&gt;&lt;p data-pid=&quot;9JBCSTrj&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;启动 TFTP 服务器：&lt;/p&gt;&lt;div class=&quot;highlight&quot; style=&quot;margin: 1em 0px; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;pre style=&quot;margin-top: 0px; margin-bottom: 0px; overflow-wrap: initial; background-color: rgb(248, 248, 250); border-radius: 4px; font-size: 0.9em; overflow: auto; padding: calc(0.888889em); word-break: initial;&quot;&gt;sudo&amp;nbsp;systemctl&amp;nbsp;restart&amp;nbsp;tftpd-hpa&lt;/pre&gt;&lt;/div&gt;&lt;p data-pid=&quot;0srkahNU&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;将 PXE 引导文件（如&amp;nbsp;&lt;span style=&quot;font-weight: 600;&quot;&gt;pxelinux.0&lt;/span&gt;&amp;nbsp;和相关&lt;a class=&quot;RichContent-EntityWord css-b7erz1&quot; data-za-not-track-link=&quot;true&quot; data-paste-text=&quot;true&quot; href=&quot;https://zhida.zhihu.com/search?q=%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6&amp;zhida_source=entity&amp;is_preview=1&quot; target=&quot;_blank&quot; style=&quot;text-decoration-line: none; color: rgb(9, 64, 142); cursor: pointer;&quot;&gt;配置文件&lt;svg width=&quot;10px&quot; height=&quot;10px&quot; viewbox=&quot;0 0 16 16&quot; class=&quot;ZDI ZDI--FourPointedStar16 css-1dvsrp&quot; fill=&quot;currentColor&quot;&gt;&lt;path d=&quot;m5.068 9.267-3.08-.77a.512.512 0 0 1 0-.994l3.08-.77a2.289 2.289 0 0 0 1.665-1.665l.77-3.08a.512.512 0 0 1 .994 0l.77 3.08c.205.82.845 1.46 1.665 1.665l3.08.77a.512.512 0 0 1 0 .994l-3.08.77a2.29 2.29 0 0 0-1.665 1.665l-.77 3.08a.512.512 0 0 1-.994 0l-.77-3.08a2.289 2.289 0 0 0-1.665-1.665Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;）放入&amp;nbsp;&lt;span style=&quot;font-weight: 600;&quot;&gt;/srv/tftp&lt;/span&gt;&amp;nbsp;目录。&lt;br/&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;启动 QEMU 并使用网络引导：&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;highlight&quot; style=&quot;margin: 1em 0px; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;pre style=&quot;margin-top: 0px; margin-bottom: 0px; overflow-wrap: initial; background-color: rgb(248, 248, 250); border-radius: 4px; font-size: 0.9em; overflow: auto; padding: calc(0.888889em); word-break: initial;&quot;&gt;qemu-system-x86_64&amp;nbsp;-m&amp;nbsp;2G&amp;nbsp;-boot&amp;nbsp;n&amp;nbsp;-net&amp;nbsp;nic&amp;nbsp;-net&amp;nbsp;user,tftp=/srv/tftp,bootfile=pxelinux.0&lt;/pre&gt;&lt;/div&gt;&lt;p data-pid=&quot;etGNbOP3&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;在这个命令中：&lt;/p&gt;&lt;ul style=&quot;list-style-type: none;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;-boot n&lt;/span&gt;: 指定从网络引导。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;-net nic&lt;/span&gt;: 创建一个虚拟网络接口。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;-net user,tftp=/srv/tftp,bootfile=pxelinux.0&lt;/span&gt;: 使用用户模式网络后端并设置 TFTP 根目录及引导文件。&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p class=&quot;ztext-empty-paragraph&quot; style=&quot;margin-top: -0.8em; margin-bottom: -0.8em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;h3 id=&quot;h_705273664_15&quot; data-into-catalog-status=&quot;&quot; style=&quot;font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-stretch: inherit; font-size: 1.1em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; margin: calc(1.90909em) 0px calc(1.27273em); clear: left; color: rgb(25, 27, 31); text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;2. 使用快照功能&lt;/h3&gt;&lt;p data-pid=&quot;x9np2Csr&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;QEMU 支持快照功能，可以在不修改原始磁盘映像的情况下保存和恢复虚拟机状态。&lt;br/&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;创建基础映像&lt;/span&gt;：&lt;/p&gt;&lt;div class=&quot;highlight&quot; style=&quot;margin: 1em 0px; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;pre style=&quot;margin-top: 0px; margin-bottom: 0px; overflow-wrap: initial; background-color: rgb(248, 248, 250); border-radius: 4px; font-size: 0.9em; overflow: auto; padding: calc(0.888889em); word-break: initial;&quot;&gt;qemu-img&amp;nbsp;create&amp;nbsp;-f&amp;nbsp;qcow2&amp;nbsp;base.qcow2&amp;nbsp;20G&lt;/pre&gt;&lt;/div&gt;&lt;p data-pid=&quot;zAZ8GNzv&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;创建快照映像&lt;/span&gt;：&lt;/p&gt;&lt;div class=&quot;highlight&quot; style=&quot;margin: 1em 0px; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;pre style=&quot;margin-top: 0px; margin-bottom: 0px; overflow-wrap: initial; background-color: rgb(248, 248, 250); border-radius: 4px; font-size: 0.9em; overflow: auto; padding: calc(0.888889em); word-break: initial;&quot;&gt;qemu-img&amp;nbsp;create&amp;nbsp;-f&amp;nbsp;qcow2&amp;nbsp;-b&amp;nbsp;base.qcow2&amp;nbsp;snapshot.qcow2&lt;/pre&gt;&lt;/div&gt;&lt;p data-pid=&quot;CFDjrLN8&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;启动虚拟机并使用快照映像&lt;/span&gt;：&lt;/p&gt;&lt;div class=&quot;highlight&quot; style=&quot;margin: 1em 0px; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;pre style=&quot;margin-top: 0px; margin-bottom: 0px; overflow-wrap: initial; background-color: rgb(248, 248, 250); border-radius: 4px; font-size: 0.9em; overflow: auto; padding: calc(0.888889em); word-break: initial;&quot;&gt;qemu-system-x86_64&amp;nbsp;-m&amp;nbsp;2G&amp;nbsp;-hda&amp;nbsp;snapshot.qcow2&lt;/pre&gt;&lt;/div&gt;&lt;p data-pid=&quot;z3KzuNsz&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;在这个命令中：&lt;/p&gt;&lt;ul style=&quot;list-style-type: none;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;-b base.qcow2&lt;/span&gt;: 指定基础映像。&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p data-pid=&quot;H8C0lihZ&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;您可以进行各种操作，并在需要时创建新的快照映像，从而无需担心对原始映像的破坏。&lt;/p&gt;&lt;p class=&quot;ztext-empty-paragraph&quot; style=&quot;margin-top: -0.8em; margin-bottom: -0.8em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;h3 id=&quot;h_705273664_16&quot; data-into-catalog-status=&quot;&quot; style=&quot;font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-stretch: inherit; font-size: 1.1em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; margin: calc(1.90909em) 0px calc(1.27273em); clear: left; color: rgb(25, 27, 31); text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;3. 使用 GPU 直通 (PCI Passthrough)&lt;/h3&gt;&lt;p data-pid=&quot;xruZBAeC&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;QEMU 支持将主机的 PCI 设备（如 GPU）直接分配给虚拟机，提供接近原生的性能。这通常与 KVM 结合使用，并且需要特定的硬件支持。&lt;br/&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;启用 IOMMU 支持&lt;/span&gt;： 在主机的启动配置中启用 IOMMU。编辑&amp;nbsp;&lt;span style=&quot;font-weight: 600;&quot;&gt;/etc/default/grub&lt;/span&gt;：&lt;/p&gt;&lt;div class=&quot;highlight&quot; style=&quot;margin: 1em 0px; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;pre style=&quot;margin-top: 0px; margin-bottom: 0px; overflow-wrap: initial; background-color: rgb(248, 248, 250); border-radius: 4px; font-size: 0.9em; overflow: auto; padding: calc(0.888889em); word-break: initial;&quot;&gt;GRUB_CMDLINE_LINUX_DEFAULT=&amp;quot;quiet&amp;nbsp;intel_iommu=on&amp;quot;&amp;nbsp;&amp;nbsp;#&amp;nbsp;对于&amp;nbsp;Intel&amp;nbsp;CPUGRUB_CMDLINE_LINUX_DEFAULT=&amp;quot;quiet&amp;nbsp;amd_iommu=on&amp;quot;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;#&amp;nbsp;对于&amp;nbsp;AMD&amp;nbsp;CPU&lt;/pre&gt;&lt;/div&gt;&lt;p data-pid=&quot;088mgl8z&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;更新 GRUB 并重启主机：&lt;/p&gt;&lt;div class=&quot;highlight&quot; style=&quot;margin: 1em 0px; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;pre style=&quot;margin-top: 0px; margin-bottom: 0px; overflow-wrap: initial; background-color: rgb(248, 248, 250); border-radius: 4px; font-size: 0.9em; overflow: auto; padding: calc(0.888889em); word-break: initial;&quot;&gt;sudo&amp;nbsp;update-grubsudo&amp;nbsp;reboot&lt;/pre&gt;&lt;/div&gt;&lt;p data-pid=&quot;6rzTateq&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;分离 GPU 驱动&lt;/span&gt;： 找到 GPU 设备的 PCI 地址：&lt;/p&gt;&lt;div class=&quot;highlight&quot; style=&quot;margin: 1em 0px; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;pre style=&quot;margin-top: 0px; margin-bottom: 0px; overflow-wrap: initial; background-color: rgb(248, 248, 250); border-radius: 4px; font-size: 0.9em; overflow: auto; padding: calc(0.888889em); word-break: initial;&quot;&gt;lspci&amp;nbsp;-nn&amp;nbsp;|&amp;nbsp;grep&amp;nbsp;-i&amp;nbsp;vga&lt;/pre&gt;&lt;/div&gt;&lt;p data-pid=&quot;1PpKk5_O&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;分离设备： 创建&amp;nbsp;&lt;span style=&quot;font-weight: 600;&quot;&gt;/etc/modprobe.d/vfio.conf&lt;/span&gt;&amp;nbsp;并添加以下内容：&lt;/p&gt;&lt;div class=&quot;highlight&quot; style=&quot;margin: 1em 0px; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;pre style=&quot;margin-top: 0px; margin-bottom: 0px; overflow-wrap: initial; background-color: rgb(248, 248, 250); border-radius: 4px; font-size: 0.9em; overflow: auto; padding: calc(0.888889em); word-break: initial;&quot;&gt;options&amp;nbsp;vfio-pci&amp;nbsp;ids=&amp;lt;GPU设备ID&amp;gt;,&amp;lt;声卡设备ID&amp;gt;&lt;/pre&gt;&lt;/div&gt;&lt;p data-pid=&quot;uNDf86XT&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;重新生成 initramfs：&lt;/p&gt;&lt;div class=&quot;highlight&quot; style=&quot;margin: 1em 0px; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;pre style=&quot;margin-top: 0px; margin-bottom: 0px; overflow-wrap: initial; background-color: rgb(248, 248, 250); border-radius: 4px; font-size: 0.9em; overflow: auto; padding: calc(0.888889em); word-break: initial;&quot;&gt;sudo&amp;nbsp;update-initramfs&amp;nbsp;-u&lt;/pre&gt;&lt;/div&gt;&lt;p data-pid=&quot;SEZOjnjw&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;启动虚拟机并使用 GPU 直通&lt;/span&gt;：&lt;/p&gt;&lt;div class=&quot;highlight&quot; style=&quot;margin: 1em 0px; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;pre style=&quot;margin-top: 0px; margin-bottom: 0px; overflow-wrap: initial; background-color: rgb(248, 248, 250); border-radius: 4px; font-size: 0.9em; overflow: auto; padding: calc(0.888889em); word-break: initial;&quot;&gt;qemu-system-x86_64&amp;nbsp;-enable-kvm&amp;nbsp;-m&amp;nbsp;8G&amp;nbsp;-cpu&amp;nbsp;host,kvm=off&amp;nbsp;\-device&amp;nbsp;vfio-pci,host=01:00.0,x-vga=on&amp;nbsp;\-device&amp;nbsp;vfio-pci,host=01:00.1&lt;/pre&gt;&lt;/div&gt;&lt;p data-pid=&quot;9tRI3QX7&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;在这个命令中：&lt;/p&gt;&lt;ul style=&quot;list-style-type: none;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;-enable-kvm&lt;/span&gt;: 启用 KVM。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;-cpu host,kvm=off&lt;/span&gt;: 使用主机 CPU 的功能集，禁用 KVM 特定标志。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;-device vfio-pci,host=01:00.0,x-vga=on&lt;/span&gt;: 分配 GPU。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;-device vfio-pci,host=01:00.1&lt;/span&gt;: 分配声卡。&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 id=&quot;h_705273664_17&quot; data-into-catalog-status=&quot;&quot; style=&quot;font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; margin: calc(2.33333em) 0px calc(1.16667em); clear: left; color: rgb(25, 27, 31); text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;使用 QEMU 进行用户模式仿真&lt;/h2&gt;&lt;h3 id=&quot;h_705273664_18&quot; data-into-catalog-status=&quot;&quot; style=&quot;font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-stretch: inherit; font-size: 1.1em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; margin: calc(1.90909em) 0px calc(1.27273em); clear: left; color: rgb(25, 27, 31); text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;1. 运行不同架构的程序&lt;/h3&gt;&lt;p data-pid=&quot;fJoo2MoC&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;QEMU 的用户模式仿真可以在一个架构上运行另一个架构的程序。以下是一个示例，展示如何在 x86_64 主机上运行 ARM 程序。&lt;br/&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;编写并编译 ARM 程序&lt;/span&gt;：&lt;br/&gt;创建一个简单的 ARM 程序&amp;nbsp;&lt;span style=&quot;font-weight: 600;&quot;&gt;hello_arm.c&lt;/span&gt;：&lt;/p&gt;&lt;div class=&quot;highlight&quot; style=&quot;margin: 1em 0px; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;pre style=&quot;margin-top: 0px; margin-bottom: 0px; overflow-wrap: initial; background-color: rgb(248, 248, 250); border-radius: 4px; font-size: 0.9em; overflow: auto; padding: calc(0.888889em); word-break: initial;&quot;&gt;#include&amp;nbsp;&amp;lt;stdio.h&amp;gt;int&amp;nbsp;main()&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;printf(&amp;quot;Hello,&amp;nbsp;ARM!\n&amp;quot;);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return&amp;nbsp;0;}&lt;/pre&gt;&lt;/div&gt;&lt;p data-pid=&quot;qYnh5-ZS&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;使用交叉编译工具链编译：&lt;/p&gt;&lt;div class=&quot;highlight&quot; style=&quot;margin: 1em 0px; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;pre style=&quot;margin-top: 0px; margin-bottom: 0px; overflow-wrap: initial; background-color: rgb(248, 248, 250); border-radius: 4px; font-size: 0.9em; overflow: auto; padding: calc(0.888889em); word-break: initial;&quot;&gt;arm-linux-gnueabi-gcc&amp;nbsp;-o&amp;nbsp;hello_arm&amp;nbsp;hello_arm.c&lt;/pre&gt;&lt;/div&gt;&lt;p data-pid=&quot;rJNnS2kP&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;运行 ARM 程序&lt;/span&gt;： 使用 QEMU 的用户模式仿真运行：&lt;/p&gt;&lt;div class=&quot;highlight&quot; style=&quot;margin: 1em 0px; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;pre style=&quot;margin-top: 0px; margin-bottom: 0px; overflow-wrap: initial; background-color: rgb(248, 248, 250); border-radius: 4px; font-size: 0.9em; overflow: auto; padding: calc(0.888889em); word-break: initial;&quot;&gt;qemu-arm&amp;nbsp;./hello_arm&lt;/pre&gt;&lt;/div&gt;&lt;p data-pid=&quot;x6VIhJa0&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;输出将是&amp;nbsp;&lt;span style=&quot;font-weight: 600;&quot;&gt;Hello, ARM!&lt;/span&gt;。&lt;/p&gt;&lt;h2 id=&quot;h_705273664_19&quot; data-into-catalog-status=&quot;&quot; style=&quot;font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; margin: calc(2.33333em) 0px calc(1.16667em); clear: left; color: rgb(25, 27, 31); text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;总结&lt;/h2&gt;&lt;p data-pid=&quot;AQT4JYbs&quot; style=&quot;margin-top: 1.4em; margin-bottom: 0px; color: rgb(25, 27, 31); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;QEMU (Quick EMUlator) 是一个开源的虚拟化软件和硬件仿真器，它能实现完整系统仿真或进程级仿真。在身边没有开发板的情况下，也是可以实现最基本的嵌入式功能的。很方便。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Tue, 27 Aug 2024 11:23:55 +0800</pubDate></item><item><title>双飞燕无线键盘鼠标配对</title><link>https://book.nbznh.com/?id=606</link><description>橙色接收对码不再需要软件附助直接用硬件配对。 1：键盘配对方法：先把接收器插到电脑上，装好电池，长按FN+字母上面的数字0键，按住三秒后ScrollLock键指示灯会闪亮（右边第三个），然后再把接收器从电脑上重新拔插，等待3-6秒后NumLock指示灯亮起（小键盘锁定键）后对码成功。 2：鼠标对码方法：先把接收器插到电脑上，装好电池按住右键加中键（滚轮）再打开电源开关或重新拆装一下电池（开电源或重新电池时按住的按键不要松开）等待三秒后再重新拔插接收器再等待3-5秒就可以了。对码尽量把接收器和产品保持在10厘米内的距离。 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

接收器连接蓝牙键要调成蓝红交闪模式等待几秒即可连接

蓝牙1连接要调成蓝灯常亮模式 再常按三秒进入蓝牙配对模式

蓝牙2连接要调成红灯常亮模式 再常按三秒进入蓝牙配对模式

如果现在是蓝牙2连接状态 要去切换蓝牙1 重复蓝牙1连接步骤即可切换哈

​</description><pubDate>Tue, 27 Aug 2024 09:34:21 +0800</pubDate></item><item><title>中国移动stun穿透搭建教程</title><link>https://book.nbznh.com/?id=605</link><description>&lt;article class=&quot;post-content&quot; id=&quot;article-container&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; overflow-wrap: break-word; color: rgb(76, 73, 72); font-family: -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Lato, Roboto, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; font-size: 14px; text-wrap: wrap;&quot;&gt;&lt;h1 id=&quot;准备工作&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; font-size: 2em; margin: 20px 0px 14px; position: relative; color: var(--text-highlight-color);&quot;&gt;准备工作&lt;/h1&gt;&lt;p style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;&quot;&gt;在正式进入教程之前，大家需要对路由器进行设置。&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;1.开启full cone，其他设备下大家查找对应的教程&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;ros对应的开启命令如下&lt;/p&gt;&lt;figure class=&quot;highlight plaintext&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; overflow: auto; margin: 0px 0px 20px; padding: 0px; background-image: ; background-position-x: ; background-position-y: ; background-size: ; background-repeat: ; background-attachment: ; background-origin: ; background-clip: ; color: var(--hl-color); line-height: 1.6; position: relative;&quot;&gt;&lt;div class=&quot;highlight-tools &quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: relative; display: flex; -webkit-box-align: center; align-items: center; overflow: hidden; min-height: 24px; height: 2.15em; background-image: ; background-position-x: ; background-position-y: ; background-size: ; background-repeat: ; background-attachment: ; background-origin: ; background-clip: ; color: var(--hltools-color); font-size: var(--global-font-size);&quot;&gt;&lt;span class=&quot;fas fa-angle-down expand &quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; -webkit-font-smoothing: antialiased; display: var(--fa-display,inline-block); font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; line-height: 1; text-rendering: auto; font-family: &amp;quot;Font Awesome 6 Free&amp;quot;; font-weight: 900; position: absolute; padding: 0.57em 0.7em; cursor: pointer; transition: transform 0.3s ease 0s;&quot;&gt;&lt;/span&gt;&lt;div class=&quot;code-lang&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: absolute; left: 1.7em; text-transform: uppercase; font-weight: bold; font-size: 1.15em; user-select: none;&quot;&gt;PLAINTEXT&lt;/div&gt;&lt;div class=&quot;copy-notice&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: absolute; right: 2.4em; opacity: 0; transition: opacity 0.4s ease 0s;&quot;&gt;&lt;/div&gt;&lt;span class=&quot;fas fa-paste copy-button&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; -webkit-font-smoothing: antialiased; display: var(--fa-display,inline-block); font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; line-height: 1; text-rendering: auto; font-family: &amp;quot;Font Awesome 6 Free&amp;quot;; font-weight: 900; position: absolute; right: 14px; cursor: pointer; transition: color 0.2s ease 0s;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;table width=&quot;785&quot;&gt;&lt;tbody style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;&lt;tr style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot; class=&quot;firstRow&quot;&gt;&lt;td class=&quot;gutter&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; padding: 0px; border-width: initial; border-style: none; border-color: initial; vertical-align: middle; user-select: none;&quot;&gt;&lt;pre style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; font-size: var(--global-font-size); overflow: auto; margin-top: 0px; margin-bottom: 0px; padding: 8px 10px; background-color: var(--hlnumber-bg); color: var(--hlnumber-color); line-height: 1.6; border: none; text-align: right; font-family: consolas, Menlo, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif !important;&quot;&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;1&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;2&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;3&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;4&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;5&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;code&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; padding: 0px; border-width: initial; border-style: none; border-color: initial; vertical-align: middle;&quot;&gt;&lt;pre style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; font-size: var(--global-font-size); overflow: auto; margin-top: 0px; margin-bottom: 0px; padding: 8px 10px; background: var(--hl-bg); color: var(--hl-color); line-height: 1.6; border: none; width: 744.875px; font-family: consolas, Menlo, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif !important;&quot;&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;/ip firewall nat&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;add action=endpoint-independent-nat chain=srcnat out-interface=pppoe-out1 protocol=udp&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;/ip firewall nat&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;add action=endpoint-independent-nat chain=dstnat in-interface=pppoe-out1 protocol=udp&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/figure&gt;&lt;p style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;&quot;&gt;输入完成后，在ros中，将相关命令放到伪装条目的上方，&lt;/p&gt;&lt;p style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;&quot;&gt;开启后，利用nat检测工具，检测一下，就可以看到对应的结果。&lt;/p&gt;&lt;p style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;&quot;&gt;接着，进入我们的路由器，新开一个端口转发。以我内网的主页服务为例&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;将51920转发至192.168.6.16 的80端口为例&lt;/p&gt;&lt;figure class=&quot;highlight plaintext&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; overflow: auto; margin: 0px 0px 20px; padding: 0px; background-image: ; background-position-x: ; background-position-y: ; background-size: ; background-repeat: ; background-attachment: ; background-origin: ; background-clip: ; color: var(--hl-color); line-height: 1.6; position: relative;&quot;&gt;&lt;div class=&quot;highlight-tools &quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: relative; display: flex; -webkit-box-align: center; align-items: center; overflow: hidden; min-height: 24px; height: 2.15em; background-image: ; background-position-x: ; background-position-y: ; background-size: ; background-repeat: ; background-attachment: ; background-origin: ; background-clip: ; color: var(--hltools-color); font-size: var(--global-font-size);&quot;&gt;&lt;span class=&quot;fas fa-angle-down expand &quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; -webkit-font-smoothing: antialiased; display: var(--fa-display,inline-block); font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; line-height: 1; text-rendering: auto; font-family: &amp;quot;Font Awesome 6 Free&amp;quot;; font-weight: 900; position: absolute; padding: 0.57em 0.7em; cursor: pointer; transition: transform 0.3s ease 0s;&quot;&gt;&lt;/span&gt;&lt;div class=&quot;code-lang&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: absolute; left: 1.7em; text-transform: uppercase; font-weight: bold; font-size: 1.15em; user-select: none;&quot;&gt;PLAINTEXT&lt;/div&gt;&lt;div class=&quot;copy-notice&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: absolute; right: 2.4em; opacity: 0; transition: opacity 0.4s ease 0s;&quot;&gt;&lt;/div&gt;&lt;span class=&quot;fas fa-paste copy-button&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; -webkit-font-smoothing: antialiased; display: var(--fa-display,inline-block); font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; line-height: 1; text-rendering: auto; font-family: &amp;quot;Font Awesome 6 Free&amp;quot;; font-weight: 900; position: absolute; right: 14px; cursor: pointer; transition: color 0.2s ease 0s;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;table width=&quot;785&quot;&gt;&lt;tbody style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;&lt;tr style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot; class=&quot;firstRow&quot;&gt;&lt;td class=&quot;gutter&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; padding: 0px; border-width: initial; border-style: none; border-color: initial; vertical-align: middle; user-select: none;&quot;&gt;&lt;pre style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; font-size: var(--global-font-size); overflow: auto; margin-top: 0px; margin-bottom: 0px; padding: 8px 10px; background-color: var(--hlnumber-bg); color: var(--hlnumber-color); line-height: 1.6; border: none; text-align: right; font-family: consolas, Menlo, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif !important;&quot;&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;1&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;code&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; padding: 0px; border-width: initial; border-style: none; border-color: initial; vertical-align: middle;&quot;&gt;&lt;pre style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; font-size: var(--global-font-size); overflow: auto; margin-top: 0px; margin-bottom: 0px; padding: 8px 10px; background: var(--hl-bg); color: var(--hl-color); line-height: 1.6; border: none; width: 980.875px; font-family: consolas, Menlo, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif !important;&quot;&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;/ip firewall nat add action=dst-nat chain=dstnat protocol=tcp dst-port=51920 to-addresses=192.168.6.16 to-ports=80&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/figure&gt;&lt;p style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;&quot;&gt;在ros中直接输入命令,即可设置完成&lt;/p&gt;&lt;p style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;&quot;&gt;打开我们的pve控制台，克隆一个lxc机器。&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;将我们资源包中的程序核心上传至home文件夹&lt;/p&gt;&lt;p style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;&quot;&gt;输入以下命令&lt;/p&gt;&lt;figure class=&quot;highlight plaintext&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; overflow: auto; margin: 0px 0px 20px; padding: 0px; background-image: ; background-position-x: ; background-position-y: ; background-size: ; background-repeat: ; background-attachment: ; background-origin: ; background-clip: ; color: var(--hl-color); line-height: 1.6; position: relative;&quot;&gt;&lt;div class=&quot;highlight-tools &quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: relative; display: flex; -webkit-box-align: center; align-items: center; overflow: hidden; min-height: 24px; height: 2.15em; background-image: ; background-position-x: ; background-position-y: ; background-size: ; background-repeat: ; background-attachment: ; background-origin: ; background-clip: ; color: var(--hltools-color); font-size: var(--global-font-size);&quot;&gt;&lt;span class=&quot;fas fa-angle-down expand &quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; -webkit-font-smoothing: antialiased; display: var(--fa-display,inline-block); font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; line-height: 1; text-rendering: auto; font-family: &amp;quot;Font Awesome 6 Free&amp;quot;; font-weight: 900; position: absolute; padding: 0.57em 0.7em; cursor: pointer; transition: transform 0.3s ease 0s;&quot;&gt;&lt;/span&gt;&lt;div class=&quot;code-lang&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: absolute; left: 1.7em; text-transform: uppercase; font-weight: bold; font-size: 1.15em; user-select: none;&quot;&gt;PLAINTEXT&lt;/div&gt;&lt;div class=&quot;copy-notice&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: absolute; right: 2.4em; opacity: 0; transition: opacity 0.4s ease 0s;&quot;&gt;&lt;/div&gt;&lt;span class=&quot;fas fa-paste copy-button&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; -webkit-font-smoothing: antialiased; display: var(--fa-display,inline-block); font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; line-height: 1; text-rendering: auto; font-family: &amp;quot;Font Awesome 6 Free&amp;quot;; font-weight: 900; position: absolute; right: 14px; cursor: pointer; transition: color 0.2s ease 0s;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;table width=&quot;785&quot;&gt;&lt;tbody style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;&lt;tr style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot; class=&quot;firstRow&quot;&gt;&lt;td class=&quot;gutter&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; padding: 0px; border-width: initial; border-style: none; border-color: initial; vertical-align: middle; user-select: none;&quot;&gt;&lt;pre style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; font-size: var(--global-font-size); overflow: auto; margin-top: 0px; margin-bottom: 0px; padding: 8px 10px; background-color: var(--hlnumber-bg); color: var(--hlnumber-color); line-height: 1.6; border: none; text-align: right; font-family: consolas, Menlo, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif !important;&quot;&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;1&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;code&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; padding: 0px; border-width: initial; border-style: none; border-color: initial; vertical-align: middle;&quot;&gt;&lt;pre style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; font-size: var(--global-font-size); overflow: auto; margin-top: 0px; margin-bottom: 0px; padding: 8px 10px; background: var(--hl-bg); color: var(--hl-color); line-height: 1.6; border: none; width: 500.438px; font-family: consolas, Menlo, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif !important;&quot;&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;cd /home &amp;amp;&amp;amp; chmod u+x natmap &amp;amp;&amp;amp; mv natmap /usr/local/bin/&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/figure&gt;&lt;p style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;&quot;&gt;然后输入&lt;/p&gt;&lt;figure class=&quot;highlight plaintext&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; overflow: auto; margin: 0px 0px 20px; padding: 0px; background-image: ; background-position-x: ; background-position-y: ; background-size: ; background-repeat: ; background-attachment: ; background-origin: ; background-clip: ; color: var(--hl-color); line-height: 1.6; position: relative;&quot;&gt;&lt;div class=&quot;highlight-tools &quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: relative; display: flex; -webkit-box-align: center; align-items: center; overflow: hidden; min-height: 24px; height: 2.15em; background-image: ; background-position-x: ; background-position-y: ; background-size: ; background-repeat: ; background-attachment: ; background-origin: ; background-clip: ; color: var(--hltools-color); font-size: var(--global-font-size);&quot;&gt;&lt;span class=&quot;fas fa-angle-down expand &quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; -webkit-font-smoothing: antialiased; display: var(--fa-display,inline-block); font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; line-height: 1; text-rendering: auto; font-family: &amp;quot;Font Awesome 6 Free&amp;quot;; font-weight: 900; position: absolute; padding: 0.57em 0.7em; cursor: pointer; transition: transform 0.3s ease 0s;&quot;&gt;&lt;/span&gt;&lt;div class=&quot;code-lang&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: absolute; left: 1.7em; text-transform: uppercase; font-weight: bold; font-size: 1.15em; user-select: none;&quot;&gt;PLAINTEXT&lt;/div&gt;&lt;div class=&quot;copy-notice&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: absolute; right: 2.4em; opacity: 0; transition: opacity 0.4s ease 0s;&quot;&gt;&lt;/div&gt;&lt;span class=&quot;fas fa-paste copy-button&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; -webkit-font-smoothing: antialiased; display: var(--fa-display,inline-block); font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; line-height: 1; text-rendering: auto; font-family: &amp;quot;Font Awesome 6 Free&amp;quot;; font-weight: 900; position: absolute; right: 14px; cursor: pointer; transition: color 0.2s ease 0s;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;table width=&quot;785&quot;&gt;&lt;tbody style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;&lt;tr style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot; class=&quot;firstRow&quot;&gt;&lt;td class=&quot;gutter&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; padding: 0px; border-width: initial; border-style: none; border-color: initial; vertical-align: middle; user-select: none;&quot;&gt;&lt;pre style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; font-size: var(--global-font-size); overflow: auto; margin-top: 0px; margin-bottom: 0px; padding: 8px 10px; background-color: var(--hlnumber-bg); color: var(--hlnumber-color); line-height: 1.6; border: none; text-align: right; font-family: consolas, Menlo, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif !important;&quot;&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;1&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;code&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; padding: 0px; border-width: initial; border-style: none; border-color: initial; vertical-align: middle;&quot;&gt;&lt;pre style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; font-size: var(--global-font-size); overflow: auto; margin-top: 0px; margin-bottom: 0px; padding: 8px 10px; background: var(--hl-bg); color: var(--hl-color); line-height: 1.6; border: none; width: 517.297px; font-family: consolas, Menlo, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif !important;&quot;&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;natmap -4 -s stunserver.stunprotocol.org -h qq.com -b 51920&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/figure&gt;&lt;p style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;&quot;&gt;当我们看到对应的提示后，第一个字段是我们的公网ip，第二个字段是获取到的端口号。此时，端口已经映射成功。&lt;/p&gt;&lt;p style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;&quot;&gt;我这里用手机的网络简单的测试一下，可以看到，已经可以打开，证明我们的网络是可以使用相关服务的。&lt;/p&gt;&lt;p style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;&quot;&gt;接着，我们来制作一个开机自启服务&lt;/p&gt;&lt;figure class=&quot;highlight plaintext&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; overflow: auto; margin: 0px 0px 20px; padding: 0px; background-image: ; background-position-x: ; background-position-y: ; background-size: ; background-repeat: ; background-attachment: ; background-origin: ; background-clip: ; color: var(--hl-color); line-height: 1.6; position: relative;&quot;&gt;&lt;div class=&quot;highlight-tools &quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: relative; display: flex; -webkit-box-align: center; align-items: center; overflow: hidden; min-height: 24px; height: 2.15em; background-image: ; background-position-x: ; background-position-y: ; background-size: ; background-repeat: ; background-attachment: ; background-origin: ; background-clip: ; color: var(--hltools-color); font-size: var(--global-font-size);&quot;&gt;&lt;span class=&quot;fas fa-angle-down expand &quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; -webkit-font-smoothing: antialiased; display: var(--fa-display,inline-block); font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; line-height: 1; text-rendering: auto; font-family: &amp;quot;Font Awesome 6 Free&amp;quot;; font-weight: 900; position: absolute; padding: 0.57em 0.7em; cursor: pointer; transition: transform 0.3s ease 0s;&quot;&gt;&lt;/span&gt;&lt;div class=&quot;code-lang&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: absolute; left: 1.7em; text-transform: uppercase; font-weight: bold; font-size: 1.15em; user-select: none;&quot;&gt;PLAINTEXT&lt;/div&gt;&lt;div class=&quot;copy-notice&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: absolute; right: 2.4em; opacity: 0; transition: opacity 0.4s ease 0s;&quot;&gt;&lt;/div&gt;&lt;span class=&quot;fas fa-paste copy-button&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; -webkit-font-smoothing: antialiased; display: var(--fa-display,inline-block); font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; line-height: 1; text-rendering: auto; font-family: &amp;quot;Font Awesome 6 Free&amp;quot;; font-weight: 900; position: absolute; right: 14px; cursor: pointer; transition: color 0.2s ease 0s;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;table width=&quot;785&quot;&gt;&lt;tbody style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;&lt;tr style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot; class=&quot;firstRow&quot;&gt;&lt;td class=&quot;gutter&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; padding: 0px; border-width: initial; border-style: none; border-color: initial; vertical-align: middle; user-select: none;&quot;&gt;&lt;pre style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; font-size: var(--global-font-size); overflow: auto; margin-top: 0px; margin-bottom: 0px; padding: 8px 10px; background-color: var(--hlnumber-bg); color: var(--hlnumber-color); line-height: 1.6; border: none; text-align: right; font-family: consolas, Menlo, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif !important;&quot;&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;1&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;code&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; padding: 0px; border-width: initial; border-style: none; border-color: initial; vertical-align: middle;&quot;&gt;&lt;pre style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; font-size: var(--global-font-size); overflow: auto; margin-top: 0px; margin-bottom: 0px; padding: 8px 10px; background: var(--hl-bg); color: var(--hl-color); line-height: 1.6; border: none; width: 365.578px; font-family: consolas, Menlo, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif !important;&quot;&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;touch /etc/systemd/system/natmap1.service&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/figure&gt;&lt;figure class=&quot;highlight plaintext&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; overflow: auto; margin: 0px 0px 20px; padding: 0px; background-image: ; background-position-x: ; background-position-y: ; background-size: ; background-repeat: ; background-attachment: ; background-origin: ; background-clip: ; color: var(--hl-color); line-height: 1.6; position: relative;&quot;&gt;&lt;div class=&quot;highlight-tools &quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: relative; display: flex; -webkit-box-align: center; align-items: center; overflow: hidden; min-height: 24px; height: 2.15em; background-image: ; background-position-x: ; background-position-y: ; background-size: ; background-repeat: ; background-attachment: ; background-origin: ; background-clip: ; color: var(--hltools-color); font-size: var(--global-font-size);&quot;&gt;&lt;span class=&quot;fas fa-angle-down expand &quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; -webkit-font-smoothing: antialiased; display: var(--fa-display,inline-block); font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; line-height: 1; text-rendering: auto; font-family: &amp;quot;Font Awesome 6 Free&amp;quot;; font-weight: 900; position: absolute; padding: 0.57em 0.7em; cursor: pointer; transition: transform 0.3s ease 0s;&quot;&gt;&lt;/span&gt;&lt;div class=&quot;code-lang&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: absolute; left: 1.7em; text-transform: uppercase; font-weight: bold; font-size: 1.15em; user-select: none;&quot;&gt;PLAINTEXT&lt;/div&gt;&lt;div class=&quot;copy-notice&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: absolute; right: 2.4em; opacity: 0; transition: opacity 0.4s ease 0s;&quot;&gt;&lt;/div&gt;&lt;span class=&quot;fas fa-paste copy-button&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; -webkit-font-smoothing: antialiased; display: var(--fa-display,inline-block); font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; line-height: 1; text-rendering: auto; font-family: &amp;quot;Font Awesome 6 Free&amp;quot;; font-weight: 900; position: absolute; right: 14px; cursor: pointer; transition: color 0.2s ease 0s;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;table width=&quot;785&quot;&gt;&lt;tbody style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;&lt;tr style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot; class=&quot;firstRow&quot;&gt;&lt;td class=&quot;gutter&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; padding: 0px; border-width: initial; border-style: none; border-color: initial; vertical-align: middle; user-select: none;&quot;&gt;&lt;pre style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; font-size: var(--global-font-size); overflow: auto; margin-top: 0px; margin-bottom: 0px; padding: 8px 10px; background-color: var(--hlnumber-bg); color: var(--hlnumber-color); line-height: 1.6; border: none; text-align: right; font-family: consolas, Menlo, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif !important;&quot;&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;1&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;2&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;3&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;4&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;5&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;6&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;7&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;8&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;9&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;10&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;11&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;code&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; padding: 0px; border-width: initial; border-style: none; border-color: initial; vertical-align: middle;&quot;&gt;&lt;pre style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; font-size: var(--global-font-size); overflow: auto; margin-top: 0px; margin-bottom: 0px; padding: 8px 10px; background: var(--hl-bg); color: var(--hl-color); line-height: 1.6; border: none; width: 728.016px; font-family: consolas, Menlo, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif !important;&quot;&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;[Unit]&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;Description=NAT Mapping Service&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;After=network.target&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;[Service]&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;ExecStart=/usr/local/bin/natmap -4 -s stunserver.stunprotocol.org -h qq.com -b 51920&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;Restart=always&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;SyslogIdentifier=natmap&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;[Install]&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;WantedBy=multi-user.target&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/figure&gt;&lt;p style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;&quot;&gt;制作完成后，通过以下命令来启动它&lt;/p&gt;&lt;figure class=&quot;highlight plaintext&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; overflow: auto; margin: 0px 0px 20px; padding: 0px; background-image: ; background-position-x: ; background-position-y: ; background-size: ; background-repeat: ; background-attachment: ; background-origin: ; background-clip: ; color: var(--hl-color); line-height: 1.6; position: relative;&quot;&gt;&lt;div class=&quot;highlight-tools &quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: relative; display: flex; -webkit-box-align: center; align-items: center; overflow: hidden; min-height: 24px; height: 2.15em; background-image: ; background-position-x: ; background-position-y: ; background-size: ; background-repeat: ; background-attachment: ; background-origin: ; background-clip: ; color: var(--hltools-color); font-size: var(--global-font-size);&quot;&gt;&lt;span class=&quot;fas fa-angle-down expand &quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; -webkit-font-smoothing: antialiased; display: var(--fa-display,inline-block); font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; line-height: 1; text-rendering: auto; font-family: &amp;quot;Font Awesome 6 Free&amp;quot;; font-weight: 900; position: absolute; padding: 0.57em 0.7em; cursor: pointer; transition: transform 0.3s ease 0s;&quot;&gt;&lt;/span&gt;&lt;div class=&quot;code-lang&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: absolute; left: 1.7em; text-transform: uppercase; font-weight: bold; font-size: 1.15em; user-select: none;&quot;&gt;PLAINTEXT&lt;/div&gt;&lt;div class=&quot;copy-notice&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: absolute; right: 2.4em; opacity: 0; transition: opacity 0.4s ease 0s;&quot;&gt;&lt;/div&gt;&lt;span class=&quot;fas fa-paste copy-button&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; -webkit-font-smoothing: antialiased; display: var(--fa-display,inline-block); font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; line-height: 1; text-rendering: auto; font-family: &amp;quot;Font Awesome 6 Free&amp;quot;; font-weight: 900; position: absolute; right: 14px; cursor: pointer; transition: color 0.2s ease 0s;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;table width=&quot;785&quot;&gt;&lt;tbody style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;&lt;tr style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot; class=&quot;firstRow&quot;&gt;&lt;td class=&quot;gutter&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; padding: 0px; border-width: initial; border-style: none; border-color: initial; vertical-align: middle; user-select: none;&quot;&gt;&lt;pre style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; font-size: var(--global-font-size); overflow: auto; margin-top: 0px; margin-bottom: 0px; padding: 8px 10px; background-color: var(--hlnumber-bg); color: var(--hlnumber-color); line-height: 1.6; border: none; text-align: right; font-family: consolas, Menlo, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif !important;&quot;&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;1&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;2&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;3&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;code&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; padding: 0px; border-width: initial; border-style: none; border-color: initial; vertical-align: middle;&quot;&gt;&lt;pre style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; font-size: var(--global-font-size); overflow: auto; margin-top: 0px; margin-bottom: 0px; padding: 8px 10px; background: var(--hl-bg); color: var(--hl-color); line-height: 1.6; border: none; width: 331.867px; font-family: consolas, Menlo, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif !important;&quot;&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;sudo systemctl daemon-reload&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;sudo systemctl enable natmap1.service&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;sudo systemctl start natmap1.service&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/figure&gt;&lt;p style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;&quot;&gt;至此，我们的服务已经制作好了，但是我们也不能每次查看日志的方式，看我们的ip和端口是多少，这时候，我们通过机器人来通知我们，当ip与端口进行更换的时候，提醒我们，最新的ip和端口是多少。&lt;/p&gt;&lt;p style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;&quot;&gt;这里我们采用微信机器人的方式进行通知&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;我们在home文件夹下，新建一个名称为natmap1-wx.sh的脚本文件，内容包含以下信息&lt;/p&gt;&lt;figure class=&quot;highlight plaintext&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; overflow: auto; margin: 0px 0px 20px; padding: 0px; background-image: ; background-position-x: ; background-position-y: ; background-size: ; background-repeat: ; background-attachment: ; background-origin: ; background-clip: ; color: var(--hl-color); line-height: 1.6; position: relative;&quot;&gt;&lt;div class=&quot;highlight-tools &quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: relative; display: flex; -webkit-box-align: center; align-items: center; overflow: hidden; min-height: 24px; height: 2.15em; background-image: ; background-position-x: ; background-position-y: ; background-size: ; background-repeat: ; background-attachment: ; background-origin: ; background-clip: ; color: var(--hltools-color); font-size: var(--global-font-size);&quot;&gt;&lt;span class=&quot;fas fa-angle-down expand &quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; -webkit-font-smoothing: antialiased; display: var(--fa-display,inline-block); font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; line-height: 1; text-rendering: auto; font-family: &amp;quot;Font Awesome 6 Free&amp;quot;; font-weight: 900; position: absolute; padding: 0.57em 0.7em; cursor: pointer; transition: transform 0.3s ease 0s;&quot;&gt;&lt;/span&gt;&lt;div class=&quot;code-lang&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: absolute; left: 1.7em; text-transform: uppercase; font-weight: bold; font-size: 1.15em; user-select: none;&quot;&gt;PLAINTEXT&lt;/div&gt;&lt;div class=&quot;copy-notice&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: absolute; right: 2.4em; opacity: 0; transition: opacity 0.4s ease 0s;&quot;&gt;&lt;/div&gt;&lt;span class=&quot;fas fa-paste copy-button&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; -webkit-font-smoothing: antialiased; display: var(--fa-display,inline-block); font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; line-height: 1; text-rendering: auto; font-family: &amp;quot;Font Awesome 6 Free&amp;quot;; font-weight: 900; position: absolute; right: 14px; cursor: pointer; transition: color 0.2s ease 0s;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;table width=&quot;785&quot;&gt;&lt;tbody style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;&lt;tr style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot; class=&quot;firstRow&quot;&gt;&lt;td class=&quot;gutter&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; padding: 0px; border-width: initial; border-style: none; border-color: initial; vertical-align: middle; user-select: none;&quot;&gt;&lt;pre style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; font-size: var(--global-font-size); overflow: auto; margin-top: 0px; margin-bottom: 0px; padding: 8px 10px; background-color: var(--hlnumber-bg); color: var(--hlnumber-color); line-height: 1.6; border: none; text-align: right; font-family: consolas, Menlo, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif !important;&quot;&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;1&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;2&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;3&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;4&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;5&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;6&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;7&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;8&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;9&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;10&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;11&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;12&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;13&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;14&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;code&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; padding: 0px; border-width: initial; border-style: none; border-color: initial; vertical-align: middle;&quot;&gt;&lt;pre style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; font-size: var(--global-font-size); overflow: auto; margin-top: 0px; margin-bottom: 0px; padding: 8px 10px; background: var(--hl-bg); color: var(--hl-color); line-height: 1.6; border: none; width: 1107.3px; font-family: consolas, Menlo, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif !important;&quot;&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;#!/bin/bash&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;address=${1}&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;PORT=${2}&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;# 微信机器人Webhook URL&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;webhook_url=&amp;quot;https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=YOUR_WEBHOOK_KEY&amp;quot;&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;# 要发送的消息内容&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;message=&amp;quot;最新的地址为${1}:${2}&amp;quot;&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;# 发送通知消息&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;curl -H &amp;quot;Content-Type: application/json&amp;quot; -X POST -d &amp;quot;{\&amp;quot;msgtype\&amp;quot;: \&amp;quot;text\&amp;quot;, \&amp;quot;text\&amp;quot;: {\&amp;quot;content\&amp;quot;: \&amp;quot;$message\&amp;quot;}}&amp;quot; $webhook_url&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/figure&gt;&lt;p style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;&quot;&gt;创建完成后，我们赋予它可执行权限&lt;/p&gt;&lt;figure class=&quot;highlight plaintext&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; overflow: auto; margin: 0px 0px 20px; padding: 0px; background-image: ; background-position-x: ; background-position-y: ; background-size: ; background-repeat: ; background-attachment: ; background-origin: ; background-clip: ; color: var(--hl-color); line-height: 1.6; position: relative;&quot;&gt;&lt;div class=&quot;highlight-tools &quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: relative; display: flex; -webkit-box-align: center; align-items: center; overflow: hidden; min-height: 24px; height: 2.15em; background-image: ; background-position-x: ; background-position-y: ; background-size: ; background-repeat: ; background-attachment: ; background-origin: ; background-clip: ; color: var(--hltools-color); font-size: var(--global-font-size);&quot;&gt;&lt;span class=&quot;fas fa-angle-down expand &quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; -webkit-font-smoothing: antialiased; display: var(--fa-display,inline-block); font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; line-height: 1; text-rendering: auto; font-family: &amp;quot;Font Awesome 6 Free&amp;quot;; font-weight: 900; position: absolute; padding: 0.57em 0.7em; cursor: pointer; transition: transform 0.3s ease 0s;&quot;&gt;&lt;/span&gt;&lt;div class=&quot;code-lang&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: absolute; left: 1.7em; text-transform: uppercase; font-weight: bold; font-size: 1.15em; user-select: none;&quot;&gt;PLAINTEXT&lt;/div&gt;&lt;div class=&quot;copy-notice&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: absolute; right: 2.4em; opacity: 0; transition: opacity 0.4s ease 0s;&quot;&gt;&lt;/div&gt;&lt;span class=&quot;fas fa-paste copy-button&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; -webkit-font-smoothing: antialiased; display: var(--fa-display,inline-block); font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; line-height: 1; text-rendering: auto; font-family: &amp;quot;Font Awesome 6 Free&amp;quot;; font-weight: 900; position: absolute; right: 14px; cursor: pointer; transition: color 0.2s ease 0s;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;table width=&quot;785&quot;&gt;&lt;tbody style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;&lt;tr style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot; class=&quot;firstRow&quot;&gt;&lt;td class=&quot;gutter&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; padding: 0px; border-width: initial; border-style: none; border-color: initial; vertical-align: middle; user-select: none;&quot;&gt;&lt;pre style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; font-size: var(--global-font-size); overflow: auto; margin-top: 0px; margin-bottom: 0px; padding: 8px 10px; background-color: var(--hlnumber-bg); color: var(--hlnumber-color); line-height: 1.6; border: none; text-align: right; font-family: consolas, Menlo, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif !important;&quot;&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;1&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;code&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; padding: 0px; border-width: initial; border-style: none; border-color: initial; vertical-align: middle;&quot;&gt;&lt;pre style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; font-size: var(--global-font-size); overflow: auto; margin-top: 0px; margin-bottom: 0px; padding: 8px 10px; background: var(--hl-bg); color: var(--hl-color); line-height: 1.6; border: none; width: 256.008px; font-family: consolas, Menlo, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif !important;&quot;&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;chmod +x /home/natmap1-wx.sh&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/figure&gt;&lt;p style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;&quot;&gt;修改第一步中创建的启动文件内容为&lt;/p&gt;&lt;figure class=&quot;highlight plaintext&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; overflow: auto; margin: 0px 0px 20px; padding: 0px; background-image: ; background-position-x: ; background-position-y: ; background-size: ; background-repeat: ; background-attachment: ; background-origin: ; background-clip: ; color: var(--hl-color); line-height: 1.6; position: relative;&quot;&gt;&lt;div class=&quot;highlight-tools &quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: relative; display: flex; -webkit-box-align: center; align-items: center; overflow: hidden; min-height: 24px; height: 2.15em; background-image: ; background-position-x: ; background-position-y: ; background-size: ; background-repeat: ; background-attachment: ; background-origin: ; background-clip: ; color: var(--hltools-color); font-size: var(--global-font-size);&quot;&gt;&lt;span class=&quot;fas fa-angle-down expand &quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; -webkit-font-smoothing: antialiased; display: var(--fa-display,inline-block); font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; line-height: 1; text-rendering: auto; font-family: &amp;quot;Font Awesome 6 Free&amp;quot;; font-weight: 900; position: absolute; padding: 0.57em 0.7em; cursor: pointer; transition: transform 0.3s ease 0s;&quot;&gt;&lt;/span&gt;&lt;div class=&quot;code-lang&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: absolute; left: 1.7em; text-transform: uppercase; font-weight: bold; font-size: 1.15em; user-select: none;&quot;&gt;PLAINTEXT&lt;/div&gt;&lt;div class=&quot;copy-notice&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: absolute; right: 2.4em; opacity: 0; transition: opacity 0.4s ease 0s;&quot;&gt;&lt;/div&gt;&lt;span class=&quot;fas fa-paste copy-button&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; -webkit-font-smoothing: antialiased; display: var(--fa-display,inline-block); font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; line-height: 1; text-rendering: auto; font-family: &amp;quot;Font Awesome 6 Free&amp;quot;; font-weight: 900; position: absolute; right: 14px; cursor: pointer; transition: color 0.2s ease 0s;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;table width=&quot;785&quot;&gt;&lt;tbody style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;&lt;tr style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot; class=&quot;firstRow&quot;&gt;&lt;td class=&quot;gutter&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; padding: 0px; border-width: initial; border-style: none; border-color: initial; vertical-align: middle; user-select: none;&quot;&gt;&lt;pre style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; font-size: var(--global-font-size); overflow: auto; margin-top: 0px; margin-bottom: 0px; padding: 8px 10px; background-color: var(--hlnumber-bg); color: var(--hlnumber-color); line-height: 1.6; border: none; text-align: right; font-family: consolas, Menlo, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif !important;&quot;&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;1&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;2&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;3&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;4&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;5&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;6&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;7&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;8&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;9&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;10&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;11&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;code&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; padding: 0px; border-width: initial; border-style: none; border-color: initial; vertical-align: middle;&quot;&gt;&lt;pre style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; font-size: var(--global-font-size); overflow: auto; margin-top: 0px; margin-bottom: 0px; padding: 8px 10px; background: var(--hl-bg); color: var(--hl-color); line-height: 1.6; border: none; width: 913.445px; font-family: consolas, Menlo, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif !important;&quot;&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;[Unit]&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;Description=NAT Mapping Service&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;After=network.target&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;[Service]&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;ExecStart=/usr/local/bin/natmap -4 -s stunserver.stunprotocol.org -h qq.com -b 6010 -e /home/natmap1-wx.sh&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;Restart=always&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;SyslogIdentifier=natmap&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;[Install]&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;WantedBy=multi-user.target&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/figure&gt;&lt;p style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;&quot;&gt;这时候，我们重启一下机器，就可以在微信中接到相关的通知了。&lt;/p&gt;&lt;p style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;&quot;&gt;以上就是简单的一个tcp端口映射，部署完成后，就不用再去管理了，机器重新拨号后，该服务也会获取到最新的ip和端口的。&lt;/p&gt;&lt;p style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;&quot;&gt;接着我们来进行 udp的端口映射&lt;/p&gt;&lt;p style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;&quot;&gt;接着，我们来制作一个开机自启服务&lt;/p&gt;&lt;figure class=&quot;highlight plaintext&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; overflow: auto; margin: 0px 0px 20px; padding: 0px; background-image: ; background-position-x: ; background-position-y: ; background-size: ; background-repeat: ; background-attachment: ; background-origin: ; background-clip: ; color: var(--hl-color); line-height: 1.6; position: relative;&quot;&gt;&lt;div class=&quot;highlight-tools &quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: relative; display: flex; -webkit-box-align: center; align-items: center; overflow: hidden; min-height: 24px; height: 2.15em; background-image: ; background-position-x: ; background-position-y: ; background-size: ; background-repeat: ; background-attachment: ; background-origin: ; background-clip: ; color: var(--hltools-color); font-size: var(--global-font-size);&quot;&gt;&lt;span class=&quot;fas fa-angle-down expand &quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; -webkit-font-smoothing: antialiased; display: var(--fa-display,inline-block); font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; line-height: 1; text-rendering: auto; font-family: &amp;quot;Font Awesome 6 Free&amp;quot;; font-weight: 900; position: absolute; padding: 0.57em 0.7em; cursor: pointer; transition: transform 0.3s ease 0s;&quot;&gt;&lt;/span&gt;&lt;div class=&quot;code-lang&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: absolute; left: 1.7em; text-transform: uppercase; font-weight: bold; font-size: 1.15em; user-select: none;&quot;&gt;PLAINTEXT&lt;/div&gt;&lt;div class=&quot;copy-notice&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: absolute; right: 2.4em; opacity: 0; transition: opacity 0.4s ease 0s;&quot;&gt;&lt;/div&gt;&lt;span class=&quot;fas fa-paste copy-button&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; -webkit-font-smoothing: antialiased; display: var(--fa-display,inline-block); font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; line-height: 1; text-rendering: auto; font-family: &amp;quot;Font Awesome 6 Free&amp;quot;; font-weight: 900; position: absolute; right: 14px; cursor: pointer; transition: color 0.2s ease 0s;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;table width=&quot;785&quot;&gt;&lt;tbody style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;&lt;tr style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot; class=&quot;firstRow&quot;&gt;&lt;td class=&quot;gutter&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; padding: 0px; border-width: initial; border-style: none; border-color: initial; vertical-align: middle; user-select: none;&quot;&gt;&lt;pre style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; font-size: var(--global-font-size); overflow: auto; margin-top: 0px; margin-bottom: 0px; padding: 8px 10px; background-color: var(--hlnumber-bg); color: var(--hlnumber-color); line-height: 1.6; border: none; text-align: right; font-family: consolas, Menlo, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif !important;&quot;&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;1&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;code&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; padding: 0px; border-width: initial; border-style: none; border-color: initial; vertical-align: middle;&quot;&gt;&lt;pre style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; font-size: var(--global-font-size); overflow: auto; margin-top: 0px; margin-bottom: 0px; padding: 8px 10px; background: var(--hl-bg); color: var(--hl-color); line-height: 1.6; border: none; width: 365.578px; font-family: consolas, Menlo, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif !important;&quot;&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;touch /etc/systemd/system/natmap2.service&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/figure&gt;&lt;figure class=&quot;highlight plaintext&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; overflow: auto; margin: 0px 0px 20px; padding: 0px; background-image: ; background-position-x: ; background-position-y: ; background-size: ; background-repeat: ; background-attachment: ; background-origin: ; background-clip: ; color: var(--hl-color); line-height: 1.6; position: relative;&quot;&gt;&lt;div class=&quot;highlight-tools &quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: relative; display: flex; -webkit-box-align: center; align-items: center; overflow: hidden; min-height: 24px; height: 2.15em; background-image: ; background-position-x: ; background-position-y: ; background-size: ; background-repeat: ; background-attachment: ; background-origin: ; background-clip: ; color: var(--hltools-color); font-size: var(--global-font-size);&quot;&gt;&lt;span class=&quot;fas fa-angle-down expand &quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; -webkit-font-smoothing: antialiased; display: var(--fa-display,inline-block); font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; line-height: 1; text-rendering: auto; font-family: &amp;quot;Font Awesome 6 Free&amp;quot;; font-weight: 900; position: absolute; padding: 0.57em 0.7em; cursor: pointer; transition: transform 0.3s ease 0s;&quot;&gt;&lt;/span&gt;&lt;div class=&quot;code-lang&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: absolute; left: 1.7em; text-transform: uppercase; font-weight: bold; font-size: 1.15em; user-select: none;&quot;&gt;PLAINTEXT&lt;/div&gt;&lt;div class=&quot;copy-notice&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: absolute; right: 2.4em; opacity: 0; transition: opacity 0.4s ease 0s;&quot;&gt;&lt;/div&gt;&lt;span class=&quot;fas fa-paste copy-button&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; -webkit-font-smoothing: antialiased; display: var(--fa-display,inline-block); font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; line-height: 1; text-rendering: auto; font-family: &amp;quot;Font Awesome 6 Free&amp;quot;; font-weight: 900; position: absolute; right: 14px; cursor: pointer; transition: color 0.2s ease 0s;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;table width=&quot;785&quot;&gt;&lt;tbody style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;&lt;tr style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot; class=&quot;firstRow&quot;&gt;&lt;td class=&quot;gutter&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; padding: 0px; border-width: initial; border-style: none; border-color: initial; vertical-align: middle; user-select: none;&quot;&gt;&lt;pre style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; font-size: var(--global-font-size); overflow: auto; margin-top: 0px; margin-bottom: 0px; padding: 8px 10px; background-color: var(--hlnumber-bg); color: var(--hlnumber-color); line-height: 1.6; border: none; text-align: right; font-family: consolas, Menlo, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif !important;&quot;&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;1&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;2&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;3&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;4&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;5&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;6&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;7&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;8&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;9&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;10&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;11&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;code&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; padding: 0px; border-width: initial; border-style: none; border-color: initial; vertical-align: middle;&quot;&gt;&lt;pre style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; font-size: var(--global-font-size); overflow: auto; margin-top: 0px; margin-bottom: 0px; padding: 8px 10px; background: var(--hl-bg); color: var(--hl-color); line-height: 1.6; border: none; width: 719.586px; font-family: consolas, Menlo, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif !important;&quot;&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;[Unit]&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;Description=NAT Mapping Service&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;After=network.target&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;[Service]&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;ExecStart=/usr/local/bin/natmap -4 -u stunserver.stunprotocol.org -h qq.com -b 6023&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;Restart=always&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;SyslogIdentifier=natmap&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;[Install]&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;WantedBy=multi-user.target&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/figure&gt;&lt;p style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;&quot;&gt;制作完成后，通过以下命令来启动它&lt;/p&gt;&lt;figure class=&quot;highlight plaintext&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; overflow: auto; margin: 0px 0px 20px; padding: 0px; background-image: ; background-position-x: ; background-position-y: ; background-size: ; background-repeat: ; background-attachment: ; background-origin: ; background-clip: ; color: var(--hl-color); line-height: 1.6; position: relative;&quot;&gt;&lt;div class=&quot;highlight-tools &quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: relative; display: flex; -webkit-box-align: center; align-items: center; overflow: hidden; min-height: 24px; height: 2.15em; background-image: ; background-position-x: ; background-position-y: ; background-size: ; background-repeat: ; background-attachment: ; background-origin: ; background-clip: ; color: var(--hltools-color); font-size: var(--global-font-size);&quot;&gt;&lt;span class=&quot;fas fa-angle-down expand &quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; -webkit-font-smoothing: antialiased; display: var(--fa-display,inline-block); font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; line-height: 1; text-rendering: auto; font-family: &amp;quot;Font Awesome 6 Free&amp;quot;; font-weight: 900; position: absolute; padding: 0.57em 0.7em; cursor: pointer; transition: transform 0.3s ease 0s;&quot;&gt;&lt;/span&gt;&lt;div class=&quot;code-lang&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: absolute; left: 1.7em; text-transform: uppercase; font-weight: bold; font-size: 1.15em; user-select: none;&quot;&gt;PLAINTEXT&lt;/div&gt;&lt;div class=&quot;copy-notice&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: absolute; right: 2.4em; opacity: 0; transition: opacity 0.4s ease 0s;&quot;&gt;&lt;/div&gt;&lt;span class=&quot;fas fa-paste copy-button&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; -webkit-font-smoothing: antialiased; display: var(--fa-display,inline-block); font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; line-height: 1; text-rendering: auto; font-family: &amp;quot;Font Awesome 6 Free&amp;quot;; font-weight: 900; position: absolute; right: 14px; cursor: pointer; transition: color 0.2s ease 0s;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;table width=&quot;785&quot;&gt;&lt;tbody style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;&lt;tr style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot; class=&quot;firstRow&quot;&gt;&lt;td class=&quot;gutter&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; padding: 0px; border-width: initial; border-style: none; border-color: initial; vertical-align: middle; user-select: none;&quot;&gt;&lt;pre style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; font-size: var(--global-font-size); overflow: auto; margin-top: 0px; margin-bottom: 0px; padding: 8px 10px; background-color: var(--hlnumber-bg); color: var(--hlnumber-color); line-height: 1.6; border: none; text-align: right; font-family: consolas, Menlo, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif !important;&quot;&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;1&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;code&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; padding: 0px; border-width: initial; border-style: none; border-color: initial; vertical-align: middle;&quot;&gt;&lt;pre style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; font-size: var(--global-font-size); overflow: auto; margin-top: 0px; margin-bottom: 0px; padding: 8px 10px; background: var(--hl-bg); color: var(--hl-color); line-height: 1.6; border: none; width: 938.734px; font-family: consolas, Menlo, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif !important;&quot;&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;sudo systemctl daemon-reload &amp;amp;&amp;amp; sudo systemctl enable natmap2.service &amp;amp;&amp;amp; sudo systemctl start natmap2.service&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/figure&gt;&lt;p style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;&quot;&gt;这里我们采用微信机器人的方式进行通知&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;我们在home文件夹下，新建一个名称为natmap2-wx.sh的脚本文件，内容包含以下信息&lt;/p&gt;&lt;figure class=&quot;highlight plaintext&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; overflow: auto; margin: 0px 0px 20px; padding: 0px; background-image: ; background-position-x: ; background-position-y: ; background-size: ; background-repeat: ; background-attachment: ; background-origin: ; background-clip: ; color: var(--hl-color); line-height: 1.6; position: relative;&quot;&gt;&lt;div class=&quot;highlight-tools &quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: relative; display: flex; -webkit-box-align: center; align-items: center; overflow: hidden; min-height: 24px; height: 2.15em; background-image: ; background-position-x: ; background-position-y: ; background-size: ; background-repeat: ; background-attachment: ; background-origin: ; background-clip: ; color: var(--hltools-color); font-size: var(--global-font-size);&quot;&gt;&lt;span class=&quot;fas fa-angle-down expand &quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; -webkit-font-smoothing: antialiased; display: var(--fa-display,inline-block); font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; line-height: 1; text-rendering: auto; font-family: &amp;quot;Font Awesome 6 Free&amp;quot;; font-weight: 900; position: absolute; padding: 0.57em 0.7em; cursor: pointer; transition: transform 0.3s ease 0s;&quot;&gt;&lt;/span&gt;&lt;div class=&quot;code-lang&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: absolute; left: 1.7em; text-transform: uppercase; font-weight: bold; font-size: 1.15em; user-select: none;&quot;&gt;PLAINTEXT&lt;/div&gt;&lt;div class=&quot;copy-notice&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: absolute; right: 2.4em; opacity: 0; transition: opacity 0.4s ease 0s;&quot;&gt;&lt;/div&gt;&lt;span class=&quot;fas fa-paste copy-button&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; -webkit-font-smoothing: antialiased; display: var(--fa-display,inline-block); font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; line-height: 1; text-rendering: auto; font-family: &amp;quot;Font Awesome 6 Free&amp;quot;; font-weight: 900; position: absolute; right: 14px; cursor: pointer; transition: color 0.2s ease 0s;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;table width=&quot;785&quot;&gt;&lt;tbody style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;&lt;tr style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot; class=&quot;firstRow&quot;&gt;&lt;td class=&quot;gutter&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; padding: 0px; border-width: initial; border-style: none; border-color: initial; vertical-align: middle; user-select: none;&quot;&gt;&lt;pre style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; font-size: var(--global-font-size); overflow: auto; margin-top: 0px; margin-bottom: 0px; padding: 8px 10px; background-color: var(--hlnumber-bg); color: var(--hlnumber-color); line-height: 1.6; border: none; text-align: right; font-family: consolas, Menlo, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif !important;&quot;&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;1&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;2&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;3&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;4&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;5&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;6&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;7&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;8&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;9&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;10&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;11&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;12&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;13&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;14&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;code&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; padding: 0px; border-width: initial; border-style: none; border-color: initial; vertical-align: middle;&quot;&gt;&lt;pre style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; font-size: var(--global-font-size); overflow: auto; margin-top: 0px; margin-bottom: 0px; padding: 8px 10px; background: var(--hl-bg); color: var(--hl-color); line-height: 1.6; border: none; width: 1107.3px; font-family: consolas, Menlo, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif !important;&quot;&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;#!/bin/bash&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;address=${1}&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;PORT=${2}&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;# 微信机器人Webhook URL&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;webhook_url=&amp;quot;https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=YOUR_WEBHOOK_KEY&amp;quot;&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;# 要发送的消息内容&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;message=&amp;quot;最新的地址为${1}:${2}&amp;quot;&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;# 发送通知消息&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;curl -H &amp;quot;Content-Type: application/json&amp;quot; -X POST -d &amp;quot;{\&amp;quot;msgtype\&amp;quot;: \&amp;quot;text\&amp;quot;, \&amp;quot;text\&amp;quot;: {\&amp;quot;content\&amp;quot;: \&amp;quot;$message\&amp;quot;}}&amp;quot; $webhook_url&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/figure&gt;&lt;p style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;&quot;&gt;创建完成后，我们赋予它可执行权限&lt;/p&gt;&lt;figure class=&quot;highlight plaintext&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; overflow: auto; margin: 0px 0px 20px; padding: 0px; background-image: ; background-position-x: ; background-position-y: ; background-size: ; background-repeat: ; background-attachment: ; background-origin: ; background-clip: ; color: var(--hl-color); line-height: 1.6; position: relative;&quot;&gt;&lt;div class=&quot;highlight-tools &quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: relative; display: flex; -webkit-box-align: center; align-items: center; overflow: hidden; min-height: 24px; height: 2.15em; background-image: ; background-position-x: ; background-position-y: ; background-size: ; background-repeat: ; background-attachment: ; background-origin: ; background-clip: ; color: var(--hltools-color); font-size: var(--global-font-size);&quot;&gt;&lt;span class=&quot;fas fa-angle-down expand &quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; -webkit-font-smoothing: antialiased; display: var(--fa-display,inline-block); font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; line-height: 1; text-rendering: auto; font-family: &amp;quot;Font Awesome 6 Free&amp;quot;; font-weight: 900; position: absolute; padding: 0.57em 0.7em; cursor: pointer; transition: transform 0.3s ease 0s;&quot;&gt;&lt;/span&gt;&lt;div class=&quot;code-lang&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: absolute; left: 1.7em; text-transform: uppercase; font-weight: bold; font-size: 1.15em; user-select: none;&quot;&gt;PLAINTEXT&lt;/div&gt;&lt;div class=&quot;copy-notice&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: absolute; right: 2.4em; opacity: 0; transition: opacity 0.4s ease 0s;&quot;&gt;&lt;/div&gt;&lt;span class=&quot;fas fa-paste copy-button&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; -webkit-font-smoothing: antialiased; display: var(--fa-display,inline-block); font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; line-height: 1; text-rendering: auto; font-family: &amp;quot;Font Awesome 6 Free&amp;quot;; font-weight: 900; position: absolute; right: 14px; cursor: pointer; transition: color 0.2s ease 0s;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;table width=&quot;785&quot;&gt;&lt;tbody style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;&lt;tr style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot; class=&quot;firstRow&quot;&gt;&lt;td class=&quot;gutter&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; padding: 0px; border-width: initial; border-style: none; border-color: initial; vertical-align: middle; user-select: none;&quot;&gt;&lt;pre style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; font-size: var(--global-font-size); overflow: auto; margin-top: 0px; margin-bottom: 0px; padding: 8px 10px; background-color: var(--hlnumber-bg); color: var(--hlnumber-color); line-height: 1.6; border: none; text-align: right; font-family: consolas, Menlo, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif !important;&quot;&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;1&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;code&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; padding: 0px; border-width: initial; border-style: none; border-color: initial; vertical-align: middle;&quot;&gt;&lt;pre style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; font-size: var(--global-font-size); overflow: auto; margin-top: 0px; margin-bottom: 0px; padding: 8px 10px; background: var(--hl-bg); color: var(--hl-color); line-height: 1.6; border: none; width: 256.008px; font-family: consolas, Menlo, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif !important;&quot;&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;chmod +x /home/natmap2-wx.sh&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/figure&gt;&lt;p style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;&quot;&gt;修改第一步中创建的启动文件内容为&lt;/p&gt;&lt;figure class=&quot;highlight plaintext&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; overflow: auto; margin: 0px 0px 20px; padding: 0px; background-image: ; background-position-x: ; background-position-y: ; background-size: ; background-repeat: ; background-attachment: ; background-origin: ; background-clip: ; color: var(--hl-color); line-height: 1.6; position: relative;&quot;&gt;&lt;div class=&quot;highlight-tools &quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: relative; display: flex; -webkit-box-align: center; align-items: center; overflow: hidden; min-height: 24px; height: 2.15em; background-image: ; background-position-x: ; background-position-y: ; background-size: ; background-repeat: ; background-attachment: ; background-origin: ; background-clip: ; color: var(--hltools-color); font-size: var(--global-font-size);&quot;&gt;&lt;span class=&quot;fas fa-angle-down expand &quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; -webkit-font-smoothing: antialiased; display: var(--fa-display,inline-block); font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; line-height: 1; text-rendering: auto; font-family: &amp;quot;Font Awesome 6 Free&amp;quot;; font-weight: 900; position: absolute; padding: 0.57em 0.7em; cursor: pointer; transition: transform 0.3s ease 0s;&quot;&gt;&lt;/span&gt;&lt;div class=&quot;code-lang&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: absolute; left: 1.7em; text-transform: uppercase; font-weight: bold; font-size: 1.15em; user-select: none;&quot;&gt;PLAINTEXT&lt;/div&gt;&lt;div class=&quot;copy-notice&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: absolute; right: 2.4em; opacity: 0; transition: opacity 0.4s ease 0s;&quot;&gt;&lt;/div&gt;&lt;span class=&quot;fas fa-paste copy-button&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; -webkit-font-smoothing: antialiased; display: var(--fa-display,inline-block); font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; line-height: 1; text-rendering: auto; font-family: &amp;quot;Font Awesome 6 Free&amp;quot;; font-weight: 900; position: absolute; right: 14px; cursor: pointer; transition: color 0.2s ease 0s;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;table width=&quot;785&quot;&gt;&lt;tbody style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;&lt;tr style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot; class=&quot;firstRow&quot;&gt;&lt;td class=&quot;gutter&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; padding: 0px; border-width: initial; border-style: none; border-color: initial; vertical-align: middle; user-select: none;&quot;&gt;&lt;pre style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; font-size: var(--global-font-size); overflow: auto; margin-top: 0px; margin-bottom: 0px; padding: 8px 10px; background-color: var(--hlnumber-bg); color: var(--hlnumber-color); line-height: 1.6; border: none; text-align: right; font-family: consolas, Menlo, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif !important;&quot;&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;1&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;2&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;3&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;4&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;5&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;6&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;7&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;8&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;9&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;10&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;11&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;code&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; padding: 0px; border-width: initial; border-style: none; border-color: initial; vertical-align: middle;&quot;&gt;&lt;pre style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; font-size: var(--global-font-size); overflow: auto; margin-top: 0px; margin-bottom: 0px; padding: 8px 10px; background: var(--hl-bg); color: var(--hl-color); line-height: 1.6; border: none; width: 913.445px; font-family: consolas, Menlo, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif !important;&quot;&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;[Unit]&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;Description=NAT Mapping Service&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;After=network.target&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;[Service]&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;ExecStart=/usr/local/bin/natmap -4 -s stunserver.stunprotocol.org -h qq.com -b 6023 -e /home/natmap2-wx.sh&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;Restart=always&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;SyslogIdentifier=natmap&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;[Install]&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;WantedBy=multi-user.target&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/figure&gt;&lt;p style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;&quot;&gt;制作完成后，通过以下命令来启动它&lt;/p&gt;&lt;figure class=&quot;highlight plaintext&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; margin: 0px 0px 20px; overflow: auto; padding: 0px; background-image: ; background-position-x: ; background-position-y: ; background-size: ; background-repeat: ; background-attachment: ; background-origin: ; background-clip: ; color: var(--hl-color); line-height: 1.6; position: relative;&quot;&gt;&lt;div class=&quot;highlight-tools &quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: relative; display: flex; -webkit-box-align: center; align-items: center; overflow: hidden; min-height: 24px; height: 2.15em; background-image: ; background-position-x: ; background-position-y: ; background-size: ; background-repeat: ; background-attachment: ; background-origin: ; background-clip: ; color: var(--hltools-color); font-size: var(--global-font-size);&quot;&gt;&lt;span class=&quot;fas fa-angle-down expand &quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; -webkit-font-smoothing: antialiased; display: var(--fa-display,inline-block); font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; line-height: 1; text-rendering: auto; font-family: &amp;quot;Font Awesome 6 Free&amp;quot;; font-weight: 900; position: absolute; padding: 0.57em 0.7em; cursor: pointer; transition: transform 0.3s ease 0s;&quot;&gt;&lt;/span&gt;&lt;div class=&quot;code-lang&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: absolute; left: 1.7em; text-transform: uppercase; font-weight: bold; font-size: 1.15em; user-select: none;&quot;&gt;PLAINTEXT&lt;/div&gt;&lt;div class=&quot;copy-notice&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: absolute; right: 2.4em; opacity: 0; transition: opacity 0.4s ease 0s;&quot;&gt;&lt;/div&gt;&lt;span class=&quot;fas fa-paste copy-button&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; -webkit-font-smoothing: antialiased; display: var(--fa-display,inline-block); font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; line-height: 1; text-rendering: auto; font-family: &amp;quot;Font Awesome 6 Free&amp;quot;; font-weight: 900; position: absolute; right: 14px; cursor: pointer; transition: color 0.2s ease 0s;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;table width=&quot;785&quot;&gt;&lt;tbody style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;&lt;tr style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot; class=&quot;firstRow&quot;&gt;&lt;td class=&quot;gutter&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; padding: 0px; border-width: initial; border-style: none; border-color: initial; vertical-align: middle; user-select: none;&quot;&gt;&lt;pre style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; font-size: var(--global-font-size); overflow: auto; margin-top: 0px; margin-bottom: 0px; padding: 8px 10px; background-color: var(--hlnumber-bg); color: var(--hlnumber-color); line-height: 1.6; border: none; text-align: right; font-family: consolas, Menlo, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif !important;&quot;&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;1&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;code&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; padding: 0px; border-width: initial; border-style: none; border-color: initial; vertical-align: middle;&quot;&gt;&lt;pre style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; font-size: var(--global-font-size); overflow: auto; margin-top: 0px; margin-bottom: 0px; padding: 8px 10px; background: var(--hl-bg); color: var(--hl-color); line-height: 1.6; border: none; width: 938.734px; font-family: consolas, Menlo, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif !important;&quot;&gt;&lt;span class=&quot;line&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;&gt;sudo systemctl daemon-reload &amp;amp;&amp;amp; sudo systemctl enable natmap2.service &amp;amp;&amp;amp; sudo systemctl start natmap2.service&lt;/span&gt;&lt;br style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box;&quot;/&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/figure&gt;&lt;/article&gt;&lt;div class=&quot;post-copyright&quot; style=&quot;scrollbar-width: thin; scrollbar-color: var(--scrollbar-color) transparent; box-sizing: border-box; position: relative; margin: 40px 0px 10px; padding: 10px 16px; border: 1px solid var(--light-grey); transition: box-shadow 0.3s ease-in-out 0s; color: rgb(76, 73, 72); font-family: -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Lato, Roboto, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; font-size: 14px; text-wrap: wrap;&quot;&gt;&lt;/div&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Sun, 16 Jun 2024 12:53:23 +0800</pubDate></item><item><title>Linux磁盘扩容</title><link>https://book.nbznh.com/?id=604</link><description>&lt;p&gt;&lt;img src=&quot;https://book.nbznh.com/zb_users/upload/2024/06/202406071306228684784.jpeg&quot; alt=&quot;屏幕截图_7-6-2024_13114_blog.csdn.net.jpeg&quot; title=&quot;屏幕截图_7-6-2024_13114_blog.csdn.net.jpeg&quot;/&gt;&lt;/p&gt;</description><pubDate>Fri, 07 Jun 2024 13:00:25 +0800</pubDate></item></channel></rss>