<?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://www.stephenwxf.com/</link><description>技术类分享博客</description><item><title>邮件域名的记录设置</title><link>https://www.stephenwxf.com/post/220.html</link><description>&lt;h2 id=&quot;spf&quot; _msttexthash=&quot;27329107&quot; _msthash=&quot;71&quot; style=&quot;margin-top: 24px; margin-bottom: 24px; font-size: 36px; padding-top: 20px; font-family: &amp;quot;PT Sans&amp;quot;, Georgia, Palatino, serif; text-wrap-mode: wrap;&quot;&gt;邮件域名的SPF记录&lt;/h2&gt;&lt;h3 id=&quot;what-is-a-spf-record&quot; _msttexthash=&quot;25426570&quot; _msthash=&quot;72&quot; style=&quot;margin-top: 24px; margin-bottom: 24px; font-size: 24px; padding-top: 20px; font-family: &amp;quot;PT Sans&amp;quot;, Georgia, Palatino, serif; text-wrap-mode: wrap;&quot;&gt;什么是防晒记录&lt;/h3&gt;&lt;p _msttexthash=&quot;820262417&quot; _msthash=&quot;73&quot; style=&quot;margin-bottom: 4px; padding: 0px; font-size: 17px; line-height: 24px; font-family: &amp;quot;PT Sans&amp;quot;, Georgia, Palatino, serif; text-wrap-mode: wrap;&quot;&gt;SPF是一种垃圾邮件和钓鱼攻击手段，利用DNS的SPF记录来 定义哪些主机允许为某个域名发送电子邮件。详情请见 SPF，请查阅&lt;a href=&quot;https://en.wikipedia.org/wiki/Sender_Policy_Framework&quot; _istranslated=&quot;1&quot; style=&quot;color: rgb(0, 153, 255); margin: 0px; padding: 0px; vertical-align: baseline; text-decoration-line: none;&quot;&gt;维基百科&lt;/a&gt;。&lt;/p&gt;&lt;p _msttexthash=&quot;604049849&quot; _msthash=&quot;74&quot; style=&quot;margin-bottom: 4px; padding: 0px; font-size: 17px; line-height: 24px; font-family: &amp;quot;PT Sans&amp;quot;, Georgia, Palatino, serif; text-wrap-mode: wrap;&quot;&gt;该方法为电子邮件域名定义DNS的SPF记录，具体如下： 哪些主机（电子邮件服务器）被允许从域名发送电子邮件。&lt;/p&gt;&lt;p _msttexthash=&quot;482277120&quot; _msthash=&quot;75&quot; style=&quot;margin-bottom: 4px; padding: 0px; font-size: 17px; line-height: 24px; font-family: &amp;quot;PT Sans&amp;quot;, Georgia, Palatino, serif; text-wrap-mode: wrap;&quot;&gt;其他电子邮件服务器在接收来自该邮件时可以查询该记录 域名用于验证发送邮件服务器是否从许可的 IP地址。&lt;/p&gt;&lt;h3 id=&quot;how-to-setup-the-spf-record&quot; _msttexthash=&quot;23927202&quot; _msthash=&quot;76&quot; style=&quot;margin-top: 24px; margin-bottom: 24px; font-size: 24px; padding-top: 20px; font-family: &amp;quot;PT Sans&amp;quot;, Georgia, Palatino, serif; text-wrap-mode: wrap;&quot;&gt;如何设置SPF记录&lt;/h3&gt;&lt;p _msttexthash=&quot;266952205&quot; _msthash=&quot;77&quot; style=&quot;margin-bottom: 4px; padding: 0px; font-size: 17px; line-height: 24px; font-family: &amp;quot;PT Sans&amp;quot;, Georgia, Palatino, serif; text-wrap-mode: wrap;&quot;&gt;SPF是一个TXT类型的DNS记录，你可以在里面列出IP地址或MX域名。 例如：&lt;/p&gt;&lt;pre style=&quot;padding: 5px 10px; text-wrap-mode: wrap; background-color: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; overflow-wrap: normal; line-height: 25px; margin-left: 30px;&quot;&gt;mydomain.com.&amp;nbsp;&amp;nbsp;&amp;nbsp;3600&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;IN&amp;nbsp;&amp;nbsp;TXT&amp;nbsp;&amp;quot;v=spf1&amp;nbsp;mx&amp;nbsp;-all&amp;quot;&lt;/pre&gt;&lt;p style=&quot;margin-bottom: 4px; padding: 0px; font-size: 17px; line-height: 24px; font-family: &amp;quot;PT Sans&amp;quot;, Georgia, Palatino, serif; text-wrap-mode: wrap;&quot;&gt;&lt;span style=&quot;&quot;&gt;该SPF记录意味着从MX记录中定义的所有服务器发送的邮件都允许发送为。&lt;/span&gt;&lt;code style=&quot;font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; line-height: 25px; font-size: 14px; background: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding: 1px 5px; overflow-wrap: normal;&quot;&gt;mydomain.com&lt;/code&gt;&lt;code style=&quot;font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; line-height: 25px; font-size: 14px; background: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding: 1px 5px; overflow-wrap: normal;&quot;&gt;someone@mydomain.com&lt;/code&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 4px; padding: 0px; font-size: 17px; line-height: 24px; font-family: &amp;quot;PT Sans&amp;quot;, Georgia, Palatino, serif; text-wrap-mode: wrap;&quot;&gt;&lt;code style=&quot;font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; line-height: 25px; font-size: 14px; background: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding: 1px 5px; overflow-wrap: normal;&quot;&gt;-all&lt;/code&gt;&lt;span style=&quot;&quot;&gt;禁止从所有其他服务器发送的电子邮件。如果太严格了 对你来说，你可以选择替代，也就是软失败（不确定）。&lt;/span&gt;&lt;code style=&quot;font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; line-height: 25px; font-size: 14px; background: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding: 1px 5px; overflow-wrap: normal;&quot;&gt;~all&lt;/code&gt;&lt;/p&gt;&lt;p _msttexthash=&quot;52282321&quot; _msthash=&quot;80&quot; style=&quot;margin-bottom: 4px; padding: 0px; font-size: 17px; line-height: 24px; font-family: &amp;quot;PT Sans&amp;quot;, Georgia, Palatino, serif; text-wrap-mode: wrap;&quot;&gt;你也可以直接指定IP地址：&lt;/p&gt;&lt;pre style=&quot;padding: 5px 10px; text-wrap-mode: wrap; background-color: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; overflow-wrap: normal; line-height: 25px; margin-left: 30px;&quot;&gt;mydomain.com.&amp;nbsp;&amp;nbsp;&amp;nbsp;3600&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;IN&amp;nbsp;&amp;nbsp;TXT&amp;nbsp;&amp;quot;v=spf1&amp;nbsp;mx&amp;nbsp;ip4:111.111.111.222&amp;nbsp;-all&amp;quot;&lt;/pre&gt;&lt;p _msttexthash=&quot;144729884&quot; _msthash=&quot;81&quot; style=&quot;margin-bottom: 4px; padding: 0px; font-size: 17px; line-height: 24px; font-family: &amp;quot;PT Sans&amp;quot;, Georgia, Palatino, serif; text-wrap-mode: wrap;&quot;&gt;当然，你可以在同一个记录中同时保留两个或多个：&lt;/p&gt;&lt;pre style=&quot;padding: 5px 10px; text-wrap-mode: wrap; background-color: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; overflow-wrap: normal; line-height: 25px; margin-left: 30px;&quot;&gt;mydomain.com.&amp;nbsp;&amp;nbsp;&amp;nbsp;3600&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;IN&amp;nbsp;&amp;nbsp;TXT&amp;nbsp;&amp;quot;v=spf1&amp;nbsp;mx&amp;nbsp;ip4:111.111.111.111&amp;nbsp;ip4:111.111.111.222&amp;nbsp;-all&amp;quot;&lt;/pre&gt;&lt;p _msttexthash=&quot;156716300&quot; _msthash=&quot;82&quot; style=&quot;margin-bottom: 4px; padding: 0px; font-size: 17px; line-height: 24px; font-family: &amp;quot;PT Sans&amp;quot;, Georgia, Palatino, serif; text-wrap-mode: wrap;&quot;&gt;还有更有效的机制，请查阅&lt;a href=&quot;https://en.wikipedia.org/wiki/Sender_Policy_Framework&quot; _istranslated=&quot;1&quot; style=&quot;color: rgb(0, 153, 255); margin: 0px; padding: 0px; vertical-align: baseline; text-decoration-line: none;&quot;&gt;维基百科&lt;/a&gt;获取更多细节。&lt;/p&gt;&lt;h2 id=&quot;dkim&quot; _msttexthash=&quot;28123628&quot; _msthash=&quot;83&quot; style=&quot;margin-top: 24px; margin-bottom: 24px; font-size: 36px; padding-top: 20px; font-family: &amp;quot;PT Sans&amp;quot;, Georgia, Palatino, serif; text-wrap-mode: wrap;&quot;&gt;邮件域名的DKIM记录&lt;/h2&gt;&lt;h3 id=&quot;what-is-a-dkim-record&quot; _msttexthash=&quot;18290584&quot; _msthash=&quot;84&quot; style=&quot;margin-top: 24px; margin-bottom: 24px; font-size: 24px; padding-top: 20px; font-family: &amp;quot;PT Sans&amp;quot;, Georgia, Palatino, serif; text-wrap-mode: wrap;&quot;&gt;什么是DKIM记录&lt;/h3&gt;&lt;p _msttexthash=&quot;10021713741&quot; _msthash=&quot;85&quot; style=&quot;margin-bottom: 4px; padding: 0px; font-size: 17px; line-height: 24px; font-family: &amp;quot;PT Sans&amp;quot;, Georgia, Palatino, serif; text-wrap-mode: wrap;&quot;&gt;DKIM允许组织以以下方式对信息负责 可由收件人验证。该组织可以直接处理 消息，比如作者的、发件方的，或 中介人在交通路径上。不过，它也可以是间接的 处理者，例如为 直接作者。DKIM定义了域级数字签名认证 通过公钥密码学和 域名服务作为其密钥服务器技术 （&lt;a href=&quot;http://www.dkim.org/specs/rfc5585.html#RFC4871&quot; _istranslated=&quot;1&quot; style=&quot;color: rgb(0, 153, 255); margin: 0px; padding: 0px; vertical-align: baseline; text-decoration-line: none;&quot;&gt;RFC4871&lt;/a&gt;）。它允许 验证消息签署者及其完整性 目录。DKIM还将提供一个允许潜在电子邮件发送的机制 签署人发布其电子邮件签名实践的信息;这将 允许电子邮件接收者对未签名邮件进行额外评估。 DKIM对电子邮件身份的认证可以协助全局控制 “垃圾邮件”和“钓鱼”。&lt;/p&gt;&lt;p style=&quot;margin-bottom: 4px; padding: 0px; font-size: 17px; line-height: 24px; font-family: &amp;quot;PT Sans&amp;quot;, Georgia, Palatino, serif; text-wrap-mode: wrap;&quot;&gt;&lt;span style=&quot;&quot;&gt;一个人或组织拥有“身份”——即一组 这些特征使他们区别于其他任何身份。相关 通过这种抽象，可以有一个标签作为引用，或者说“标识符”。 这就是事物和事物名称之间的区别。DKIM的用途 以域名作为标识符，指代负责人的身份 个人或组织。在DKIM中，该标识符称为签名域 IDentifier（SDID）和包含在DKIM-Signature头字段标签中。注意，同一身份可以有多个标识符。&lt;/span&gt;&lt;code style=&quot;font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; line-height: 25px; font-size: 14px; background: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding: 1px 5px; overflow-wrap: normal;&quot;&gt;d=&lt;/code&gt;&lt;/p&gt;&lt;h3 id=&quot;how-to-setup-the-dkim-record&quot; _msttexthash=&quot;24720943&quot; _msthash=&quot;87&quot; style=&quot;margin-top: 24px; margin-bottom: 24px; font-size: 24px; padding-top: 20px; font-family: &amp;quot;PT Sans&amp;quot;, Georgia, Palatino, serif; text-wrap-mode: wrap;&quot;&gt;如何设置DKIM记录&lt;/h3&gt;&lt;ul style=&quot;padding-left: 30px; font-size: 17px; line-height: 24px; font-family: &amp;quot;PT Sans&amp;quot;, Georgia, Palatino, serif; text-wrap-mode: wrap;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p _msttexthash=&quot;95328077&quot; _msthash=&quot;88&quot; style=&quot;margin-bottom: 4px; padding: 0px; line-height: 24px;&quot;&gt;在终端里运行命令显示你的DKIM密钥：&lt;/p&gt;&lt;div class=&quot;admonition attention&quot; style=&quot;padding: 12px; line-height: 24px; margin-bottom: 24px; background: rgb(231, 242, 250); margin-top: 20px;&quot;&gt;&lt;p style=&quot;margin-bottom: 4px; padding: 0px; line-height: 24px; margin-top: 4px;&quot;&gt;&lt;code style=&quot;font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; line-height: 25px; font-size: 14px; background: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding: 1px 5px; overflow-wrap: normal;&quot;&gt;amavisd -c /etc/amavisd/amavisd.conf showkeys&lt;/code&gt;&lt;/p&gt;&lt;/div&gt;&lt;/li&gt;&lt;ul style=&quot;list-style-type: square;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;&quot;&gt;在某些Linux/BSD发行版上，你应该用命令而不是 。&lt;/span&gt;&lt;code style=&quot;font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; line-height: 25px; font-size: 14px; background: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding: 1px 5px; overflow-wrap: normal;&quot;&gt;amavisd-new&lt;/code&gt;&lt;code style=&quot;font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; line-height: 25px; font-size: 14px; background: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding: 1px 5px; overflow-wrap: normal;&quot;&gt;amavisd&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;&quot;&gt;在CentOS上，如果它抱怨，请用路径运行命令到它的配置文件。例如：&lt;/span&gt;&lt;code style=&quot;font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; line-height: 25px; font-size: 14px; background: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding: 1px 5px; overflow-wrap: normal;&quot;&gt;/etc/amavisd.conf not found&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;pre style=&quot;padding: 5px 10px; text-wrap-mode: wrap; background-color: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; overflow-wrap: normal; line-height: 25px; margin-left: 30px;&quot;&gt;#&amp;nbsp;amavisd&amp;nbsp;showkeys
dkim._domainkey.mydomain.com.&amp;nbsp;&amp;nbsp;&amp;nbsp;3600&amp;nbsp;TXT&amp;nbsp;(
&amp;nbsp;&amp;nbsp;&amp;quot;v=DKIM1;&amp;nbsp;p=&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;quot;MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDYArsr2BKbdhv9efugByf7LhaK&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;quot;txFUt0ec5+1dWmcDv0WH0qZLFK711sibNN5LutvnaiuH+w3Kr8Ylbw8gq2j0UBok&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;quot;FcMycUvOBd7nsYn/TUrOua3Nns+qKSJBy88IWSh2zHaGbjRYujyWSTjlPELJ0H+5&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;quot;EV711qseo/omquskkwIDAQAB&amp;quot;)&lt;/pre&gt;&lt;ul style=&quot;padding-left: 30px; font-size: 17px; line-height: 24px; font-family: &amp;quot;PT Sans&amp;quot;, Georgia, Palatino, serif; text-wrap-mode: wrap;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;&quot;&gt;将上面命令的输出复制成一行，就像下面一样，移除所有引号，但 保持。&lt;strong _mstmutation=&quot;1&quot; _istranslated=&quot;1&quot;&gt;我们只需要（&lt;code _istranslated=&quot;1&quot; style=&quot;font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; line-height: 25px; font-size: 14px; background: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding: 1px 5px; overflow-wrap: normal;&quot;&gt;）&lt;/code&gt;块内的字符串&lt;/strong&gt;，它就是 DKIM DNS 记录。&lt;/span&gt;&lt;code style=&quot;font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; line-height: 25px; font-size: 14px; background: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding: 1px 5px; overflow-wrap: normal;&quot;&gt;;&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;pre style=&quot;padding: 5px 10px; text-wrap-mode: wrap; background-color: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; overflow-wrap: normal; line-height: 25px; margin-left: 30px;&quot;&gt;v=DKIM1;&amp;nbsp;p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDYArsr2BKbdhv9efugBy...&lt;/pre&gt;&lt;p _msttexthash=&quot;655228119&quot; _msthash=&quot;93&quot; style=&quot;margin-bottom: 4px; padding: 0px; font-size: 17px; line-height: 24px; font-family: &amp;quot;PT Sans&amp;quot;, Georgia, Palatino, serif; text-wrap-mode: wrap;&quot;&gt;&lt;strong _istranslated=&quot;1&quot;&gt;注意&lt;/strong&gt;：BIND（&lt;a href=&quot;http://www.isc.org/downloads/bind/&quot; _istranslated=&quot;1&quot; style=&quot;color: rgb(0, 153, 255); margin: 0px; padding: 0px; vertical-align: baseline; text-decoration-line: none;&quot;&gt;最广泛使用的名称服务器软件&lt;/a&gt;） 可以处理这种多行格式，所以你可以粘贴到你的领域里 直接使用区域文件。&lt;/p&gt;&lt;ul style=&quot;padding-left: 30px; font-size: 17px; line-height: 24px; font-family: &amp;quot;PT Sans&amp;quot;, Georgia, Palatino, serif; text-wrap-mode: wrap;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p style=&quot;margin-bottom: 4px; padding: 0px; line-height: 24px;&quot;&gt;&lt;span style=&quot;&quot;&gt;为域名添加类型的DNS记录， 将值设置为你复制的那行： 。&lt;/span&gt;&lt;code style=&quot;font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; line-height: 25px; font-size: 14px; background: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding: 1px 5px; overflow-wrap: normal;&quot;&gt;TXT&lt;/code&gt;&lt;code style=&quot;font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; line-height: 25px; font-size: 14px; background: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding: 1px 5px; overflow-wrap: normal;&quot;&gt;dkim._domainkey.mydomain.com&lt;/code&gt;&lt;code style=&quot;font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; line-height: 25px; font-size: 14px; background: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding: 1px 5px; overflow-wrap: normal;&quot;&gt;v=DKIM1; p=...&lt;/code&gt;&lt;/p&gt;&lt;blockquote style=&quot;border-left: 0.5em solid rgb(238, 238, 238); padding: 0px 1em; margin-left: 0px; font-style: italic;&quot;&gt;&lt;p style=&quot;margin-bottom: 4px; padding: 0px; line-height: 24px; color: rgb(102, 102, 102);&quot;&gt;&lt;span style=&quot;&quot;&gt;警告：一个常见的错误是将这个DKIM记录添加到域名上，这是错误的。请确保你添加了域名。&lt;/span&gt;&lt;code style=&quot;font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; line-height: 25px; font-size: 14px; background: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding: 1px 5px; overflow-wrap: normal;&quot;&gt;mydomain.com&lt;/code&gt;&lt;code style=&quot;font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; line-height: 25px; font-size: 14px; background: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding: 1px 5px; overflow-wrap: normal;&quot;&gt;dkim._domainkey.mydomain.com&lt;/code&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/li&gt;&lt;li&gt;&lt;p style=&quot;margin-bottom: 4px; padding: 0px; line-height: 24px;&quot;&gt;&lt;span style=&quot;&quot;&gt;在你添加这个后，用 或 ：&lt;/span&gt;&lt;code style=&quot;font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; line-height: 25px; font-size: 14px; background: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding: 1px 5px; overflow-wrap: normal;&quot;&gt;dig&lt;/code&gt;&lt;code style=&quot;font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; line-height: 25px; font-size: 14px; background: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding: 1px 5px; overflow-wrap: normal;&quot;&gt;nslookup&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;pre style=&quot;padding: 5px 10px; text-wrap-mode: wrap; background-color: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; overflow-wrap: normal; line-height: 25px; margin-left: 30px;&quot;&gt;$&amp;nbsp;dig&amp;nbsp;-t&amp;nbsp;txt&amp;nbsp;dkim._domainkey.mydomain.com

$&amp;nbsp;nslookup&amp;nbsp;-type=txt&amp;nbsp;dkim._domainkey.foodmall.com&lt;/pre&gt;&lt;p _msttexthash=&quot;21309119&quot; _msthash=&quot;97&quot; style=&quot;margin-bottom: 4px; padding: 0px; font-size: 17px; line-height: 24px; font-family: &amp;quot;PT Sans&amp;quot;, Georgia, Palatino, serif; text-wrap-mode: wrap;&quot;&gt;示例输出：&lt;/p&gt;&lt;pre style=&quot;padding: 5px 10px; text-wrap-mode: wrap; background-color: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; overflow-wrap: normal; line-height: 25px; margin-left: 30px;&quot;&gt;dkim._domainkey.mydomain.com.&amp;nbsp;600&amp;nbsp;IN&amp;nbsp;TXT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;quot;v=DKIM1\;p=...&amp;quot;&lt;/pre&gt;&lt;p _msttexthash=&quot;30565353&quot; _msthash=&quot;98&quot; style=&quot;margin-bottom: 4px; padding: 0px; font-size: 17px; line-height: 24px; font-family: &amp;quot;PT Sans&amp;quot;, Georgia, Palatino, serif; text-wrap-mode: wrap;&quot;&gt;并向Amavisd核实：&lt;/p&gt;&lt;pre style=&quot;padding: 5px 10px; text-wrap-mode: wrap; background-color: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; overflow-wrap: normal; line-height: 25px; margin-left: 30px;&quot;&gt;#&amp;nbsp;amavisd&amp;nbsp;testkeys
TESTING:&amp;nbsp;dkim._domainkey.mydomain.com&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;=&amp;gt;&amp;nbsp;pass&lt;/pre&gt;&lt;p style=&quot;margin-bottom: 4px; padding: 0px; font-size: 17px; line-height: 24px; font-family: &amp;quot;PT Sans&amp;quot;, Georgia, Palatino, serif; text-wrap-mode: wrap;&quot;&gt;&lt;span style=&quot;&quot;&gt;如果显示了，那就正常工作。&lt;/span&gt;&lt;code style=&quot;font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; line-height: 25px; font-size: 14px; background: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding: 1px 5px; overflow-wrap: normal;&quot;&gt;pass&lt;/code&gt;&lt;/p&gt;&lt;p _msttexthash=&quot;321414704&quot; _msthash=&quot;100&quot; style=&quot;margin-bottom: 4px; padding: 0px; font-size: 17px; line-height: 24px; font-family: &amp;quot;PT Sans&amp;quot;, Georgia, Palatino, serif; text-wrap-mode: wrap;&quot;&gt;&lt;strong _istranslated=&quot;1&quot;&gt;注意&lt;/strong&gt;：如果你使用ISP提供的DNS服务，新的DNS记录可能会被处理 有些时间将开放。&lt;/p&gt;&lt;p _msttexthash=&quot;756352038&quot; _msthash=&quot;101&quot; style=&quot;margin-bottom: 4px; padding: 0px; font-size: 17px; line-height: 24px; font-family: &amp;quot;PT Sans&amp;quot;, Georgia, Palatino, serif; text-wrap-mode: wrap;&quot;&gt;如果你想重新生成DKIM密钥，或者需要为新邮件生成一个 域名，请查看我们的另一个教程：&lt;a href=&quot;https://docs.iredmail.org/sign.dkim.signature.for.new.domain.html&quot; _istranslated=&quot;1&quot; style=&quot;color: rgb(0, 153, 255); margin: 0px; padding: 0px; vertical-align: baseline; text-decoration-line: none;&quot;&gt;在新邮箱域名的外发邮件上签署DKIM签名&lt;/a&gt;。&lt;/p&gt;&lt;h2 id=&quot;dmarc&quot; _msttexthash=&quot;28919566&quot; _msthash=&quot;102&quot; style=&quot;margin-top: 24px; margin-bottom: 24px; font-size: 36px; padding-top: 20px; font-family: &amp;quot;PT Sans&amp;quot;, Georgia, Palatino, serif; text-wrap-mode: wrap;&quot;&gt;邮件域名的DMARC记录&lt;/h2&gt;&lt;h3 id=&quot;what-is-dmarc-and-how-does-it-combat-phishing&quot; _msttexthash=&quot;87498983&quot; _msthash=&quot;103&quot; style=&quot;margin-top: 24px; margin-bottom: 24px; font-size: 24px; padding-top: 20px; font-family: &amp;quot;PT Sans&amp;quot;, Georgia, Palatino, serif; text-wrap-mode: wrap;&quot;&gt;什么是DMARC，它如何打击钓鱼？&lt;/h3&gt;&lt;p _msttexthash=&quot;387963381&quot; _msthash=&quot;104&quot; style=&quot;margin-bottom: 4px; padding: 0px; font-size: 17px; line-height: 24px; font-family: &amp;quot;PT Sans&amp;quot;, Georgia, Palatino, serif; text-wrap-mode: wrap;&quot;&gt;引用自&amp;nbsp;&lt;a href=&quot;https://dmarc.org/wiki/FAQ&quot; _istranslated=&quot;1&quot; style=&quot;color: rgb(0, 153, 255); margin: 0px; padding: 0px; vertical-align: baseline; text-decoration-line: none;&quot;&gt;dmarc.org 官网常见问题页面&lt;/a&gt;（是 强烈建议阅读完整的常见问题页面：&lt;/p&gt;&lt;blockquote style=&quot;border-left: 0.5em solid rgb(238, 238, 238); padding: 0px 1em; margin-left: 0px; font-style: italic; font-family: &amp;quot;PT Sans&amp;quot;, Georgia, Palatino, serif; font-size: medium; text-wrap-mode: wrap;&quot;&gt;&lt;p _msttexthash=&quot;1729680537&quot; _msthash=&quot;105&quot; style=&quot;margin-bottom: 4px; padding: 0px; font-size: 17px; line-height: 24px; color: rgb(102, 102, 102);&quot;&gt;DMARC是一种让邮件发送者和接收者更容易判断的方式 某条消息是否真实来自发送者，以及该如何处理 如果不是，就去做。这使识别垃圾邮件和钓鱼邮件变得更容易， 并且不要让他们出现在别人的收件箱里。&lt;/p&gt;&lt;p _msttexthash=&quot;3395654379&quot; _msthash=&quot;106&quot; style=&quot;margin-bottom: 4px; padding: 0px; font-size: 17px; line-height: 24px; color: rgb(102, 102, 102);&quot;&gt;DMARC是一个提议标准，允许电子邮件发送者和接收者 合作分享彼此发送邮件的信息。 这些信息帮助发送者改进邮件认证基础设施 这样他们所有的邮件都能被认证。它也赋予了合法性 互联网域名所有者，一种请求非法消息的方式—— 伪造垃圾邮件、钓鱼——直接被放入垃圾邮件文件夹或被拒绝 直接。&lt;/p&gt;&lt;/blockquote&gt;&lt;p _msttexthash=&quot;95027647&quot; _msthash=&quot;107&quot; style=&quot;margin-bottom: 4px; padding: 0px; font-size: 17px; line-height: 24px; font-family: &amp;quot;PT Sans&amp;quot;, Georgia, Palatino, serif; text-wrap-mode: wrap;&quot;&gt;以下是一些&amp;nbsp;&lt;a href=&quot;https://dmarc.org/&quot; _istranslated=&quot;1&quot; style=&quot;color: rgb(0, 153, 255); margin: 0px; padding: 0px; vertical-align: baseline; text-decoration-line: none;&quot;&gt;https://dmarc.org&lt;/a&gt;&amp;nbsp;的有用文件：&lt;/p&gt;&lt;ul style=&quot;padding-left: 30px; font-size: 17px; line-height: 24px; font-family: &amp;quot;PT Sans&amp;quot;, Georgia, Palatino, serif; text-wrap-mode: wrap;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://dmarc.org/wiki/FAQ&quot; _msttexthash=&quot;38687155&quot; _msthash=&quot;108&quot; style=&quot;color: rgb(0, 153, 255); margin: 0px; padding: 0px; vertical-align: baseline; text-decoration-line: none;&quot;&gt;DMARC 常见问题解答&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;ul style=&quot;list-style-type: square;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://dmarc.org/wiki/FAQ#Why_is_DMARC_important.3F&quot; _msttexthash=&quot;35353643&quot; _msthash=&quot;109&quot; style=&quot;color: rgb(0, 153, 255); margin: 0px; padding: 0px; vertical-align: baseline; text-decoration-line: none;&quot;&gt;为什么DMARC重要？&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://dmarc.org/overview/&quot; _msttexthash=&quot;45084312&quot; _msthash=&quot;110&quot; style=&quot;color: rgb(0, 153, 255); margin: 0px; padding: 0px; vertical-align: baseline; text-decoration-line: none;&quot;&gt;DMARC是如何运作的？&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://dmarc.org/resources/specification/&quot; _msttexthash=&quot;5984524&quot; _msthash=&quot;111&quot; style=&quot;color: rgb(0, 153, 255); margin: 0px; padding: 0px; vertical-align: baseline; text-decoration-line: none;&quot;&gt;规格&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h3 id=&quot;how-to-setup-the-dmarc-record&quot; _msttexthash=&quot;25516023&quot; _msthash=&quot;112&quot; style=&quot;margin-top: 24px; margin-bottom: 24px; font-size: 24px; padding-top: 20px; font-family: &amp;quot;PT Sans&amp;quot;, Georgia, Palatino, serif; text-wrap-mode: wrap;&quot;&gt;如何设置DMARC记录&lt;/h3&gt;&lt;div class=&quot;admonition attention&quot; style=&quot;padding: 12px; line-height: 24px; margin-bottom: 24px; background: rgb(231, 242, 250); margin-top: 20px; font-family: &amp;quot;PT Sans&amp;quot;, Georgia, Palatino, serif; font-size: medium; text-wrap-mode: wrap;&quot;&gt;&lt;p _msttexthash=&quot;345428096&quot; _msthash=&quot;114&quot; style=&quot;margin-bottom: 4px; padding: 0px; font-size: 17px; line-height: 24px; margin-top: 4px;&quot;&gt;DMARC非常依赖SPF和DKIM记录，请务必确保你有 发布的SPF和DKIM记录为正确且最新的。&lt;/p&gt;&lt;/div&gt;&lt;p _msttexthash=&quot;58748482&quot; _msthash=&quot;115&quot; style=&quot;margin-bottom: 4px; padding: 0px; font-size: 17px; line-height: 24px; font-family: &amp;quot;PT Sans&amp;quot;, Georgia, Palatino, serif; text-wrap-mode: wrap;&quot;&gt;DMARC记录是TXT类型的DNS记录。&lt;/p&gt;&lt;p _msttexthash=&quot;29875846&quot; _msthash=&quot;116&quot; style=&quot;margin-bottom: 4px; padding: 0px; font-size: 17px; line-height: 24px; font-family: &amp;quot;PT Sans&amp;quot;, Georgia, Palatino, serif; text-wrap-mode: wrap;&quot;&gt;简化记录如下：&lt;/p&gt;&lt;pre style=&quot;padding: 5px 10px; text-wrap-mode: wrap; background-color: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; overflow-wrap: normal; line-height: 25px; margin-left: 30px;&quot;&gt;v=DMARC1;&amp;nbsp;p=none;&amp;nbsp;rua=mailto:dmarc@mydomain.com&lt;/pre&gt;&lt;p _msttexthash=&quot;48483305&quot; _msthash=&quot;117&quot; style=&quot;margin-bottom: 4px; padding: 0px; font-size: 17px; line-height: 24px; font-family: &amp;quot;PT Sans&amp;quot;, Georgia, Palatino, serif; text-wrap-mode: wrap;&quot;&gt;详细的示例记录如下：&lt;/p&gt;&lt;pre style=&quot;padding: 5px 10px; text-wrap-mode: wrap; background-color: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; overflow-wrap: normal; line-height: 25px; margin-left: 30px;&quot;&gt;v=DMARC1;&amp;nbsp;p=reject;&amp;nbsp;sp=none;&amp;nbsp;adkim=s;&amp;nbsp;aspf=s;&amp;nbsp;rua=mailto:dmarc@mydomain.com;&amp;nbsp;ruf=mailto:dmarc@mydomain.com&lt;/pre&gt;&lt;ul style=&quot;padding-left: 30px; font-size: 17px; line-height: 24px; font-family: &amp;quot;PT Sans&amp;quot;, Georgia, Palatino, serif; text-wrap-mode: wrap;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;&lt;code style=&quot;font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; line-height: 25px; font-size: 14px; background: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding: 1px 5px; overflow-wrap: normal;&quot;&gt;v=DMARC1&lt;/code&gt;&lt;span style=&quot;&quot;&gt;识别DMARC协议版本，目前仅为 且必须先出现在DMARC记录中。&lt;/span&gt;&lt;code style=&quot;font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; line-height: 25px; font-size: 14px; background: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding: 1px 5px; overflow-wrap: normal;&quot;&gt;DMARC1&lt;/code&gt;&lt;code style=&quot;font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; line-height: 25px; font-size: 14px; background: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding: 1px 5px; overflow-wrap: normal;&quot;&gt;v=DMARC1&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;code style=&quot;font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; line-height: 25px; font-size: 14px; background: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding: 1px 5px; overflow-wrap: normal;&quot;&gt;adkim&lt;/code&gt;&lt;span style=&quot;&quot;&gt;指定了DKIM的比对模式。有两种选择：&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;ul style=&quot;list-style-type: square;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;&lt;code style=&quot;font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; line-height: 25px; font-size: 14px; background: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding: 1px 5px; overflow-wrap: normal;&quot;&gt;r&lt;/code&gt;&lt;span style=&quot;&quot;&gt;：放松模式（&lt;/span&gt;&lt;code style=&quot;font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; line-height: 25px; font-size: 14px; background: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding: 1px 5px; overflow-wrap: normal;&quot;&gt;adkim=r&lt;/code&gt;)&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;code style=&quot;font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; line-height: 25px; font-size: 14px; background: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding: 1px 5px; overflow-wrap: normal;&quot;&gt;s&lt;/code&gt;&lt;span style=&quot;&quot;&gt;：严格模式（&lt;/span&gt;&lt;code style=&quot;font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; line-height: 25px; font-size: 14px; background: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding: 1px 5px; overflow-wrap: normal;&quot;&gt;adkim=s&lt;/code&gt;)&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;p&gt;&lt;code style=&quot;font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; line-height: 25px; font-size: 14px; background: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding: 1px 5px; overflow-wrap: normal;&quot;&gt;aspf&lt;/code&gt;&lt;span style=&quot;&quot;&gt;指定SPF的对准模式。有两种选择：&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;ul style=&quot;list-style-type: square;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;&lt;code style=&quot;font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; line-height: 25px; font-size: 14px; background: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding: 1px 5px; overflow-wrap: normal;&quot;&gt;r&lt;/code&gt;&lt;span style=&quot;&quot;&gt;：放松模式（&lt;/span&gt;&lt;code style=&quot;font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; line-height: 25px; font-size: 14px; background: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding: 1px 5px; overflow-wrap: normal;&quot;&gt;aspf=r&lt;/code&gt;)&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;code style=&quot;font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; line-height: 25px; font-size: 14px; background: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding: 1px 5px; overflow-wrap: normal;&quot;&gt;s&lt;/code&gt;&lt;span style=&quot;&quot;&gt;：严格模式（&lt;/span&gt;&lt;code style=&quot;font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; line-height: 25px; font-size: 14px; background: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding: 1px 5px; overflow-wrap: normal;&quot;&gt;aspf=s&lt;/code&gt;)&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;p style=&quot;margin-bottom: 4px; padding: 0px; line-height: 24px;&quot;&gt;&lt;code style=&quot;font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; line-height: 25px; font-size: 14px; background: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding: 1px 5px; overflow-wrap: normal;&quot;&gt;p&lt;/code&gt;&lt;span style=&quot;&quot;&gt;指定了组织领域的策略。它告诉接收者 服务器：如果收到的邮件未通过DMARC机制检查该怎么办。三种选择 可获得：&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;admonition attention&quot; style=&quot;padding: 12px; line-height: 24px; margin-bottom: 24px; background: rgb(231, 242, 250); margin-top: 20px;&quot;&gt;&lt;/div&gt;&lt;/li&gt;&lt;ul style=&quot;list-style-type: square;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;&quot;&gt;如果你确定所有邮件都是由SPF中列出的服务器发送的 记录，或签署正确的DKIM签名，是强有力的 推荐。&lt;/span&gt;&lt;code style=&quot;font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; line-height: 25px; font-size: 14px; background: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding: 1px 5px; overflow-wrap: normal;&quot;&gt;p=reject&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;&quot;&gt;根据&lt;a href=&quot;https://tools.ietf.org/html/rfc7489#section-6.3&quot; _mstmutation=&quot;1&quot; _istranslated=&quot;1&quot; style=&quot;color: rgb(0, 153, 255); margin: 0px; padding: 0px; vertical-align: baseline; text-decoration-line: none;&quot;&gt;RFC 7489&lt;/a&gt;，&lt;strong _mstmutation=&quot;1&quot; _istranslated=&quot;1&quot;&gt;“v”和“p”标签必须存在，并且必须按顺序出现。&lt;/strong&gt;因此请始终将“P”标签紧接在“V”标签之后。例如： 可以，但不行。&lt;/span&gt;&lt;code style=&quot;font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; line-height: 25px; font-size: 14px; background: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding: 1px 5px; overflow-wrap: normal;&quot;&gt;v=DMARC1; p=reject; aspf=s; ...&lt;/code&gt;&lt;code style=&quot;font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; line-height: 25px; font-size: 14px; background: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding: 1px 5px; overflow-wrap: normal;&quot;&gt;v=DMARC1; aspf=s; p=reject; ...&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;code style=&quot;font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; line-height: 25px; font-size: 14px; background: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding: 1px 5px; overflow-wrap: normal;&quot;&gt;none&lt;/code&gt;&amp;nbsp;(&lt;code style=&quot;font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; line-height: 25px; font-size: 14px; background: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding: 1px 5px; overflow-wrap: normal;&quot;&gt;p=none&lt;/code&gt;&lt;span style=&quot;&quot;&gt;域名所有者请求不采取具体措施 传递信息。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;code style=&quot;font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; line-height: 25px; font-size: 14px; background: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding: 1px 5px; overflow-wrap: normal;&quot;&gt;quarantine&lt;/code&gt;&amp;nbsp;(&lt;code style=&quot;font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; line-height: 25px; font-size: 14px; background: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding: 1px 5px; overflow-wrap: normal;&quot;&gt;p=quarantine&lt;/code&gt;&lt;span style=&quot;&quot;&gt;：域名所有者希望收到未通过DMARC的邮件 邮件接收者会将机制检查视为可疑。具体情况取决于 邮件接收器的功能，这可以意味着“将邮件放入垃圾邮件” 文件夹“，”标记为可疑“，或者”隔离邮件某处“，可能还有更多。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;code style=&quot;font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; line-height: 25px; font-size: 14px; background: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding: 1px 5px; overflow-wrap: normal;&quot;&gt;reject&lt;/code&gt;&amp;nbsp;(&lt;code style=&quot;font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; line-height: 25px; font-size: 14px; background: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding: 1px 5px; overflow-wrap: normal;&quot;&gt;p=reject&lt;/code&gt;&lt;span style=&quot;&quot;&gt;：域名所有者希望邮件接收者拒绝 在SMTP交易过程中未通过DMARC机制检查的邮件。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;p style=&quot;margin-bottom: 4px; padding: 0px; line-height: 24px;&quot;&gt;&lt;code style=&quot;font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; line-height: 25px; font-size: 14px; background: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding: 1px 5px; overflow-wrap: normal;&quot;&gt;sp&lt;/code&gt;&lt;span style=&quot;&quot;&gt;规定所有子域的策略。这是可选的。可选方案 与 相同。&lt;/span&gt;&lt;code style=&quot;font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; line-height: 25px; font-size: 14px; background: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding: 1px 5px; overflow-wrap: normal;&quot;&gt;p&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;code style=&quot;font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; line-height: 25px; font-size: 14px; background: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding: 1px 5px; overflow-wrap: normal;&quot;&gt;rua&lt;/code&gt;&lt;span style=&quot;&quot;&gt;指定一种传输机制以传递汇总反馈。现状 只有支持。这是可选的。&lt;/span&gt;&lt;code style=&quot;font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; line-height: 25px; font-size: 14px; background: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding: 1px 5px; overflow-wrap: normal;&quot;&gt;mailto:&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;code style=&quot;font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; line-height: 25px; font-size: 14px; background: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding: 1px 5px; overflow-wrap: normal;&quot;&gt;ruf&lt;/code&gt;&lt;span style=&quot;&quot;&gt;指定了一种传输机制，该机制会导致消息特定故障 信息需报告。目前仅支持。这是 可选。&lt;/span&gt;&lt;code style=&quot;font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; line-height: 25px; font-size: 14px; background: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding: 1px 5px; overflow-wrap: normal;&quot;&gt;mailto:&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Mon, 15 Dec 2025 01:51:23 +0800</pubDate></item><item><title>debian或者ubuntu将系统盘剩余空间挂载</title><link>https://www.stephenwxf.com/post/219.html</link><description>&lt;h2 data-start=&quot;70&quot; data-end=&quot;87&quot; class=&quot;&quot;&gt;1. 查看当前分区和空闲区域&lt;/h2&gt;&lt;pre class=&quot;overflow-visible!&quot; data-start=&quot;89&quot; data-end=&quot;132&quot;&gt;sudo&amp;nbsp;parted&amp;nbsp;/dev/sda&amp;nbsp;print&amp;nbsp;free&lt;/pre&gt;&lt;p data-start=&quot;134&quot; data-end=&quot;202&quot; class=&quot;&quot;&gt;你会看到类似输出，Free Space 就是可用来新建分区的区域。记下它的起始位置（例如 100GiB 以后）和终点（通常是磁盘末尾）。&lt;/p&gt;&lt;p data-start=&quot;134&quot; data-end=&quot;202&quot; class=&quot;&quot;&gt;以下实际操作：&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;# 1. 在剩余空间新建分区（编号为 3）&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;sudo parted /dev/sda --script mkpart primary ext4 107GiB 100%&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;# 2. 让内核重新加载分区表&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;sudo partprobe /dev/sda&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;# 3. 格式化新分区为 ext4&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;sudo mkfs.ext4 /dev/sda3&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;# 4. 创建挂载点（如果 /home 已存在且为空，可跳过这一步）&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;sudo mkdir -p /home&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;# 5. 将新分区临时挂载到 /home&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;sudo mount /dev/sda3 /home&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;# 6. 查询新分区的 UUID（推荐用 UUID 挂载，防止设备名变更）&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;sudo blkid /dev/sda3&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;# 假设输出如下：&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;#&amp;nbsp; &amp;nbsp;/dev/sda3: UUID=&amp;quot;aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee&amp;quot; TYPE=&amp;quot;ext4&amp;quot;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;# 7. 备份 fstab 并写入新的挂载条目&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;sudo cp /etc/fstab /etc/fstab.bak&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;echo &amp;#39;UUID=aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee&amp;nbsp; /home&amp;nbsp; ext4&amp;nbsp; defaults&amp;nbsp; 0&amp;nbsp; 2&amp;#39; | sudo tee -a /etc/fstab&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;# 8. 验证 fstab 配置正确，无错误&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;sudo mount -a&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;# 9. 查看挂载情况&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;mount | grep &amp;#39; /home &amp;#39;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;df -h /home&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Sat, 19 Apr 2025 16:36:47 +0800</pubDate></item><item><title>让rsync 命令在后台运行，自动输入密码，实现后台数据同步运行</title><link>https://www.stephenwxf.com/post/218.html</link><description>&lt;ul class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p data-start=&quot;78&quot; data-end=&quot;106&quot; class=&quot;&quot;&gt;&lt;strong data-start=&quot;78&quot; data-end=&quot;94&quot;&gt;安装 &lt;code data-start=&quot;83&quot; data-end=&quot;92&quot;&gt;sshpass&lt;/code&gt;&lt;/strong&gt;（如果还没有安装的话）：&lt;/p&gt;&lt;/li&gt;&lt;ul data-start=&quot;110&quot; data-end=&quot;279&quot; class=&quot; list-paddingleft-2&quot; style=&quot;list-style-type: square;&quot;&gt;&lt;li&gt;&lt;p data-start=&quot;112&quot; data-end=&quot;138&quot; class=&quot;&quot;&gt;在基于 Debian 的系统（如 Ubuntu）上：&lt;/p&gt;&lt;pre class=&quot;overflow-visible!&quot; data-start=&quot;144&quot; data-end=&quot;194&quot;&gt;apt-get&amp;nbsp;install&amp;nbsp;sshpass&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;&lt;p data-start=&quot;200&quot; data-end=&quot;227&quot; class=&quot;&quot;&gt;在基于 Red Hat 的系统（如 CentOS）上：&lt;/p&gt;&lt;pre class=&quot;overflow-visible!&quot; data-start=&quot;233&quot; data-end=&quot;279&quot;&gt;yum&amp;nbsp;install&amp;nbsp;sshpass&lt;/pre&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;p data-start=&quot;284&quot; data-end=&quot;355&quot; class=&quot;&quot;&gt;&lt;strong data-start=&quot;284&quot; data-end=&quot;310&quot;&gt;使用 &lt;code data-start=&quot;289&quot; data-end=&quot;298&quot;&gt;sshpass&lt;/code&gt; 和 &lt;code data-start=&quot;301&quot; data-end=&quot;308&quot;&gt;rsync&lt;/code&gt;&lt;/strong&gt;：
假设你的用户名是 &lt;code data-start=&quot;324&quot; data-end=&quot;330&quot;&gt;user&lt;/code&gt;，密码是 &lt;code data-start=&quot;335&quot; data-end=&quot;345&quot;&gt;password&lt;/code&gt;，可以使用以下命令：&lt;/p&gt;&lt;pre class=&quot;overflow-visible!&quot; data-start=&quot;360&quot; data-end=&quot;470&quot;&gt;nohup&amp;nbsp;sshpass&amp;nbsp;-p&amp;nbsp;&amp;#39;password&amp;#39;&amp;nbsp;rsync&amp;nbsp;-avz&amp;nbsp;user@192.168.5.179:/data1/&amp;nbsp;/data1/&amp;nbsp;&amp;gt;&amp;nbsp;rsync.log&amp;nbsp;2&amp;gt;&amp;amp;1&amp;nbsp;&amp;amp;&lt;/pre&gt;&lt;p data-start=&quot;475&quot; data-end=&quot;480&quot; class=&quot;&quot;&gt;具体说明：&lt;/p&gt;&lt;/li&gt;&lt;ul data-start=&quot;484&quot; data-end=&quot;685&quot; class=&quot; list-paddingleft-2&quot; style=&quot;list-style-type: square;&quot;&gt;&lt;li&gt;&lt;p data-start=&quot;486&quot; data-end=&quot;539&quot; class=&quot;&quot;&gt;&lt;code data-start=&quot;486&quot; data-end=&quot;509&quot;&gt;sshpass -p &amp;#39;password&amp;#39;&lt;/code&gt;：自动提供密码，&lt;code data-start=&quot;517&quot; data-end=&quot;527&quot;&gt;password&lt;/code&gt; 是你的 SSH 密码。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p data-start=&quot;545&quot; data-end=&quot;572&quot; class=&quot;&quot;&gt;&lt;code data-start=&quot;545&quot; data-end=&quot;557&quot;&gt;rsync -avz&lt;/code&gt;：同步选项，和之前的命令一样。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p data-start=&quot;578&quot; data-end=&quot;612&quot; class=&quot;&quot;&gt;&lt;code data-start=&quot;578&quot; data-end=&quot;585&quot;&gt;nohup&lt;/code&gt;：使进程在后台运行，即使你退出终端，进程也会继续运行。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p data-start=&quot;618&quot; data-end=&quot;665&quot; class=&quot;&quot;&gt;&lt;code data-start=&quot;618&quot; data-end=&quot;636&quot;&gt;&amp;gt; rsync.log 2&amp;gt;&amp;amp;1&lt;/code&gt;：将输出和错误信息重定向到 &lt;code data-start=&quot;650&quot; data-end=&quot;661&quot;&gt;rsync.log&lt;/code&gt; 文件。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p data-start=&quot;671&quot; data-end=&quot;685&quot; class=&quot;&quot;&gt;&lt;code data-start=&quot;671&quot; data-end=&quot;674&quot;&gt;&amp;amp;&lt;/code&gt;：将命令放到后台运行。&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;p data-start=&quot;690&quot; data-end=&quot;799&quot; class=&quot;&quot;&gt;&lt;strong data-start=&quot;690&quot; data-end=&quot;698&quot;&gt;后台运行&lt;/strong&gt;：
使用 &lt;code data-start=&quot;706&quot; data-end=&quot;713&quot;&gt;nohup&lt;/code&gt; 命令和 &lt;code data-start=&quot;718&quot; data-end=&quot;721&quot;&gt;&amp;amp;&lt;/code&gt; 将进程放到后台运行后，你可以关闭终端，进程会继续执行。如果需要查看进度或者日志，可以通过 &lt;code data-start=&quot;767&quot; data-end=&quot;786&quot;&gt;tail -f rsync.log&lt;/code&gt; 来查看日志文件中的输出。&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Thu, 17 Apr 2025 21:54:21 +0800</pubDate></item><item><title>ipmitool配置机器的BMC</title><link>https://www.stephenwxf.com/post/217.html</link><description>&lt;div id=&quot;cnblogs_post_body&quot; class=&quot;blogpost-body blogpost-body-html&quot; style=&quot;line-height: 1.8; margin-bottom: 20px; word-break: break-word; color: rgb(75, 75, 75); font-family: &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 13px; text-wrap-mode: wrap;&quot;&gt;&lt;h1 id=&quot;1-安装ipmitool-软件&quot; style=&quot;font-size: 28px; line-height: 1.5; margin: 10px 0px;&quot;&gt;1 安装ipmitool 软件：&lt;/h1&gt;&lt;pre class=&quot;highlighter-hljs&quot; highlighted=&quot;true&quot; has-selection=&quot;true&quot; style=&quot;transition-duration: 0.2s; transition-property: background, font-size, border-color, border-radius, border-width, padding, margin, color; overflow: auto; margin: 10px auto;&quot;&gt;apt-get&amp;nbsp;install&amp;nbsp;-y&amp;nbsp;ipmitool
yum&amp;nbsp;install&amp;nbsp;-y&amp;nbsp;ipmitool&lt;/pre&gt;&lt;h1 id=&quot;2-ipmitool-常用命令&quot; style=&quot;font-size: 28px; line-height: 1.5; margin: 10px 0px;&quot;&gt;&lt;em id=&quot;locator-2-ipmitool-常用命令&quot; class=&quot;lnh-article-header-locator&quot;&gt;&lt;/em&gt;2 IPMItool 常用命令：&lt;/h1&gt;&lt;h2 id=&quot;21-bmc配置命令&quot; style=&quot;font-size: 21px; line-height: 1.5; margin: 10px 0px;&quot;&gt;&lt;em id=&quot;locator-21-bmc配置命令&quot; class=&quot;lnh-article-header-locator&quot;&gt;&lt;/em&gt;2.1 BMC配置命令&lt;/h2&gt;&lt;pre class=&quot;highlighter-hljs&quot; highlighted=&quot;true&quot; has-selection=&quot;true&quot; cnb-code-toolbar-active=&quot;true&quot; style=&quot;transition-duration: 0.2s; transition-property: background, font-size, border-color, border-radius, border-width, padding, margin, color; overflow: auto; margin: 10px auto; position: relative;&quot;&gt;ipmitool&amp;nbsp;lan&amp;nbsp;print&amp;nbsp;1&amp;nbsp;#打印当前ipmi&amp;nbsp;地址配置信息。
ipmitool&amp;nbsp;lan&amp;nbsp;set&amp;nbsp;1&amp;nbsp;ipsrc&amp;nbsp;static&amp;nbsp;&amp;nbsp;#&amp;nbsp;设置&amp;nbsp;id&amp;nbsp;1&amp;nbsp;为静态IP地址。
ipmitool&amp;nbsp;lan&amp;nbsp;set&amp;nbsp;1&amp;nbsp;ipaddr&amp;nbsp;10.42.223.71&amp;nbsp;&amp;nbsp;#&amp;nbsp;设置&amp;nbsp;IPMI&amp;nbsp;地址。
ipmitool&amp;nbsp;lan&amp;nbsp;set&amp;nbsp;1&amp;nbsp;netmask&amp;nbsp;255.255.255.0&amp;nbsp;#&amp;nbsp;设置&amp;nbsp;IPMI&amp;nbsp;子网掩码。
ipmitool&amp;nbsp;lan&amp;nbsp;set&amp;nbsp;1&amp;nbsp;defgw&amp;nbsp;ipaddr&amp;nbsp;10.42.223.254&amp;nbsp;#&amp;nbsp;设置&amp;nbsp;IPMI&amp;nbsp;网关。&lt;/pre&gt;&lt;h2 id=&quot;22-配置-ipmi-用户登录账户密码&quot; style=&quot;font-size: 21px; line-height: 1.5; margin: 10px 0px;&quot;&gt;&lt;em id=&quot;locator-22-配置-ipmi-用户登录账户密码&quot; class=&quot;lnh-article-header-locator&quot;&gt;&lt;/em&gt;2.2 配置 IPMI 用户登录账户密码。&lt;/h2&gt;&lt;pre class=&quot;highlighter-hljs&quot; highlighted=&quot;true&quot; has-selection=&quot;true&quot; cnb-code-toolbar-active=&quot;true&quot; style=&quot;transition-duration: 0.2s; transition-property: background, font-size, border-color, border-radius, border-width, padding, margin, color; overflow: auto; margin: 10px auto; position: relative;&quot;&gt;Ipmitool&amp;nbsp;user&amp;nbsp;list&amp;nbsp;1&amp;nbsp;&amp;nbsp;#&amp;nbsp;显示&amp;nbsp;IPMI&amp;nbsp;用户列表。
ipmitool&amp;nbsp;user&amp;nbsp;set&amp;nbsp;name&amp;nbsp;2&amp;nbsp;root&amp;nbsp;#创建用户，一般服务器有默认的超级用户（root,admin,ADMIN）,可以直接修改超级用户的密码，不用重新创建。&lt;/pre&gt;&lt;pre class=&quot;highlighter-hljs&quot; highlighted=&quot;true&quot; has-selection=&quot;true&quot; style=&quot;transition-duration: 0.2s; transition-property: background, font-size, border-color, border-radius, border-width, padding, margin, color; overflow: auto; margin: 10px auto;&quot;&gt;&lt;code class=&quot;hljs language-csharp highlighter-hljs&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;, sans-serif; transition-duration: 0.2s; transition-property: background, font-size, border-color, border-radius, border-width, padding, margin, color; background: rgb(245, 245, 245); color: rgb(68, 68, 68); padding: 1em; display: block; font-size: 12px; border: 1px solid rgb(204, 204, 204); border-radius: 3px; overflow-x: auto; line-height: 1.5; margin: 0px;&quot;&gt;ipmitool user &lt;span class=&quot;hljs-keyword&quot; style=&quot;color: #0000FF;&quot;&gt;set&lt;/span&gt; password &lt;span class=&quot;hljs-number&quot; style=&quot;color: #880000;&quot;&gt;2&lt;/span&gt; calvin &lt;span class=&quot;hljs-meta&quot; style=&quot;color: #2B91AF;&quot;&gt;#创建密码&lt;br/&gt;&lt;br/&gt;&lt;/span&gt;ipmitool channel setaccess &lt;span class=&quot;hljs-number&quot; style=&quot;color: #880000;&quot;&gt;1&lt;/span&gt; &lt;span class=&quot;hljs-number&quot; style=&quot;color: #880000;&quot;&gt;2&lt;/span&gt; callin=&lt;span class=&quot;hljs-keyword&quot; style=&quot;color: #0000FF;&quot;&gt;on&lt;/span&gt; ipi=&lt;span class=&quot;hljs-keyword&quot; style=&quot;color: #0000FF;&quot;&gt;on&lt;/span&gt; link=&lt;span class=&quot;hljs-keyword&quot; style=&quot;color: #0000FF;&quot;&gt;on&lt;/span&gt; privilege=&lt;span class=&quot;hljs-number&quot; style=&quot;color: #880000;&quot;&gt;4&lt;/span&gt; &lt;span class=&quot;hljs-meta&quot; style=&quot;color: #2B91AF;&quot;&gt;#开权限 &lt;br/&gt;&lt;br/&gt;&lt;/span&gt;ipmitool user list &lt;span class=&quot;hljs-number&quot; style=&quot;color: #880000;&quot;&gt;1&lt;/span&gt; &lt;span class=&quot;hljs-meta&quot; style=&quot;color: #2B91AF;&quot;&gt;# 查看chanenel1的用户信息&lt;br/&gt;&lt;br/&gt;&lt;/span&gt;ipmitool user &lt;span class=&quot;hljs-keyword&quot; style=&quot;color: #0000FF;&quot;&gt;set&lt;/span&gt; password &lt;span class=&quot;hljs-number&quot; style=&quot;color: #880000;&quot;&gt;1&lt;/span&gt; abc&lt;span class=&quot;hljs-number&quot; style=&quot;color: #880000;&quot;&gt;-123&lt;/span&gt; &lt;span class=&quot;hljs-meta&quot; style=&quot;color: #2B91AF;&quot;&gt;# 修改用户 id1 的密码 为 abc-123 &lt;br/&gt;&lt;br/&gt;&lt;/span&gt;参考：https:&lt;span class=&quot;hljs-comment&quot; style=&quot;color: #008000;&quot;&gt;//www.cnblogs.com/foolqiu/p/17449172.html&lt;/span&gt;&lt;/code&gt;&lt;div&gt;&lt;span class=&quot;hljs-comment&quot; style=&quot;color: #008000;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class=&quot;clear&quot; style=&quot;clear: both; color: rgb(75, 75, 75); font-family: &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 13px; text-wrap-mode: wrap;&quot;&gt;&lt;/div&gt;&lt;div id=&quot;blog_post_info_block&quot; role=&quot;contentinfo&quot; style=&quot;margin-top: 20px; color: rgb(75, 75, 75); font-family: &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 13px; text-wrap-mode: wrap;&quot;&gt;&lt;/div&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Sat, 08 Mar 2025 09:36:32 +0800</pubDate></item><item><title>Debian12无人值守自动安装镜像制作</title><link>https://www.stephenwxf.com/post/216.html</link><description>&lt;p style=&quot;border: 0px; font-family: &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, STHeiti, &amp;quot;WenQuanYi Micro Hei&amp;quot;, Helvetica, Arial, sans-serif; margin-top: 20px; margin-bottom: 20px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(49, 49, 49); text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;在批量创建虚拟机时，或者在无显示器、无键鼠的服务器上安装系统时，通常无法与操作系统的Installer交互。这时就需要制作一个无人值守的自动安装镜像，直接给机器一个空硬盘+挂载iso镜像，即可自动完成网络配置、自动安装软件包、打开ssh、创建指定用户名密码的用户。&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;figure class=&quot;wp-block-image size-full&quot; style=&quot;border: 0px; font-family: &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, STHeiti, &amp;quot;WenQuanYi Micro Hei&amp;quot;, Helvetica, Arial, sans-serif; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(49, 49, 49); text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;img fetchpriority=&quot;high&quot; decoding=&quot;async&quot; width=&quot;808&quot; height=&quot;639&quot; src=&quot;https://www.stephenwxf.com/zb_users/upload/2025/02/20250204010835_89613.png&quot; alt=&quot;&quot; class=&quot;wp-image-1952&quot; srcset=&quot;https://www.stephenwxf.com/zb_users/upload/2025/02/20250204010835_89613.png 808w, https://www.mmuaa.com/wp-content/uploads/2025/01/image-300x237.png 300w, https://www.mmuaa.com/wp-content/uploads/2025/01/image-768x607.png 768w&quot; sizes=&quot;(max-width: 808px) 100vw, 808px&quot; style=&quot;display: block; max-width: 100%; height: auto; width: 661.5px; border-radius: 5px; overflow: hidden;&quot;/&gt;&lt;/figure&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;首先准备一个Linux环境，我的是ubuntu，下载Debian12.0.0原盘镜像&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;cd ~&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;wget https://mirrors.huaweicloud.com/repository/debian-cd/12.0.0/amd64/iso-cd/debian-12.0.0-amd64-netinst.iso&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;注意这里注意只能下载Debian12.0.0，我尝试使用Debian12.7，使用本文的方法无法成功自动安装，会跳转到GUI安装界面，原因未知&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;接着创建一个iso挂载点和镜像修改目录（iso挂载后为只读，无法修改），挂载镜像并将镜像内部文件拷贝到镜像修改目录&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;mkdir mnt&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;mkdir isofiles&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;mount debian-12.0.0-amd64-netinst.iso mnt/&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;cp -rT mnt/ isofiles/&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;进入isofiles中，创建自动安装配置文件&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;cd isofiles&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;mkdir conf&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;vim auto.preseed&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;auto.preseed文件内容如下&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;### 本地化&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;# 中文&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;d-i debian-installer/locale string zh_CN.UTF-8&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;d-i keyboard-configuration/xkb-keymap select us&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;d-i localechooser/supported-locales multiselect en_US.UTF-8, zh_CN.UTF-8&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;### 网络&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;d-i netcfg/choose_interface select auto&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;d-i netcfg/enable boolean true&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;# 注意这里是你的主机名称&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;d-i netcfg/get_hostname string debian-server&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;d-i netcfg/get_domain string&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;### Network console&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;#d-i anna/choose_modules string network-console&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;#d-i network-console/password password passwd&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;#d-i network-console/password-again password passwd&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;### Mirror&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;d-i mirror/country string manual&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;d-i mirror/http/hostname string mirrors.aliyun.com&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;d-i mirror/http/directory string /debian&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;d-i mirror/http/proxy string&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;### Account setup&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;d-i passwd/root-login boolean true&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;d-i passwd/make-user boolean false&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;# 这里是你的root密码，输入两次&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;d-i passwd/root-password password 123456&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;d-i passwd/root-password-again password 123456&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;### 时区&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;d-i clock-setup/utc boolean true&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;d-i time/zone string Asia/Shanghai&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;d-i clock-setup/ntp boolean true&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;### 分区&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;d-i partman-auto/disk string /dev/[sv]da&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;# 用第一块盘来操作分区&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;#d-i partman/early_command string \&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;#&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ONEDISK=&amp;quot;$(lsblk -l -n -o NAME -d -p | grep &amp;#39;/dev/vda\|/dev/nvme0n1\|/dev/sda\|/dev/xvda&amp;#39;|sort|tail -n 1)&amp;quot;; \&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;#&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;debconf-set partman-auto/disk &amp;quot;$ONEDISK&amp;quot;; \&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;#&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;debconf-set grub-installer/bootdev &amp;quot;$ONEDISK&amp;quot;;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;# 常规分区&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;d-i partman-auto/method string regular&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;# 禁止swap分区&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;d-i partman-basicfilesystems/no_swap boolean false&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;# 如果硬盘内之前有lvm或是raid的分区，全部删除&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;d-i partman-lvm/device_remove_lvm boolean true&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;d-i partman-md/device_remove_md boolean true&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;# 分区，一个boot分区最小512M，1优先级，最大1024M&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;d-i partman-auto/expert_recipe string&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; boot-root ::&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;\&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 512 1 1024 ext4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$primary{ } $bootable{ }&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;method{ format } format{ }&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;use_filesystem{ } filesystem{ ext4 }&amp;nbsp; &amp;nbsp; \&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;mountpoint{ /boot }&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;\&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1 2 -1 xfs&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;\&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; method{ format } format{ }&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;\&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; use_filesystem{ } filesystem{ xfs }&amp;nbsp; &amp;nbsp; \&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mountpoint{ / }&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;# 非交互式完成分区&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;## 确认是否写入新的分区标签。设置为&amp;quot;true&amp;quot;表示允许写入新的分区标签。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;d-i partman-partitioning/confirm_write_new_label boolean true&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;## 安装程序在选择分区时选择“完成”选项，即跳过手动选择分区的步骤。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;d-i partman/choose_partition select finish&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;## 确认分区的操作。设置为&amp;quot;true&amp;quot;表示允许自动确认分区操作。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;d-i partman/confirm boolean true&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;## 确认是否覆盖分区。设置为&amp;quot;true&amp;quot;表示允许自动确认分区操作&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;d-i partman/confirm_nooverwrite boolean true&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;### Apt setup&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;# 不启用非自由（non-free）软件包源。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;d-i apt-setup/non-free boolean true&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;# 启用贡献（contrib）软件包源。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;d-i apt-setup/contrib boolean true&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;# 选择了主要（main）软件包源，以确保安装基本软件。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;d-i apt-setup/services-select multiselect main&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;# 允许在安装过程中使用未经身份验证的软件包源。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;d-i debian-installer/allow_unauthenticated boolean true&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;# 光盘相关&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;d-i apt-setup/cdrom/set-first boolean false&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;d-i apt-setup/cdrom/set-next boolean false&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;d-i apt-setup/cdrom/set-failed boolean false&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;### Package selection&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;# 标准安装&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;tasksel tasksel/first multiselect standard&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;d-i pkgsel/upgrade select none&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;d-i pkgsel/language-packs multiselect en, zh&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;d-i pkgsel/include string openssh-server&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;d-i pkgsel/update-policy select none&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;# 禁止在安装的时候弹出popularity&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;popularity-contest popularity-contest/participate boolean false&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;### Boot loader installation&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;d-i grub-installer/only_debian boolean true&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;d-i grub-installer/bootdev string /dev/[sv]da&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;# 安装完成之后不要弹出安装完成的界面，直接重启&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;d-i finish-install/reboot_in_progress note&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;# 允许ssh服务使用root用户登录&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;d-i preseed/late_command string in-target sed -i &amp;#39;s/#PermitRootLogin.*/PermitRootLogin yes/g&amp;#39; /etc/ssh/sshd_config&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;接着使用gtk.cfg（GUI安装界面）模板创建一个自动安装的配置&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;cd ~/isofiles&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;cp isolinux/gtk.cfg isolinux/gtk_auto.cfg&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;chmod +x isolinux/gtk.cfg&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;vim isolinux/gtk.cfg&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;gtk.cfg的内容修改如下，把第一行的default installgui和第四行的menu default都删掉&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;label installgui&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; menu label ^Graphical install&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; kernel /install.amd/vmlinuz&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; append vga=788 initrd=/install.amd/gtk/initrd.gz --- quiet&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;最后别忘了改回只读模式&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;chmod -x isolinux/gtk.cfg&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;接着修改刚刚创建的gtk_auto.cfg&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;chmod +x isolinux/gtk_auto.cfg&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;vim isolinux/gtk_auto.cfg&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;内容修改为&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;default autoinstallgui&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;label autoinstallgui&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; menu label ^Auto Install&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; menu default&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; kernel /install.amd/vmlinuz&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; append vga=788 initrd=/install.amd/gtk/initrd.gz auto=true file=/cdrom/conf/auto.preseed --- quiet&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;timeout 10&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;ontimeout /install.amd/vmlinuz vga=788 initrd=/install.amd/gtk/initrd.gz auto=true file=/cdrom/conf/auto.preseed --- quiet&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;接着&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;chmod +x isolinux/gtk_auto.cfg&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;接着菜单&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;chmod +x menu.cfg&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;vim menu.cfg&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;在include stdmenu.cfg下面添加一行&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;include stdmenu.cfg&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;include gtk_auto.cfg #把刚刚创建的自动安装配置加进来&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;include gtk.cfg&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;改回只读&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;chmod -x menu.cfg&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;重新生成md5sum.txt，否则验证会不通过&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;chmod +w md5sum.txt&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;find -follow -type f ! -name md5sum.txt -print0 | xargs -0 md5sum &amp;gt; md5sum.txt&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;chmod -w md5sum.txt&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;最后打包回iso&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;genisoimage -r -J -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o preseed-debian-12.0.0-amd64-netinst.iso isofiles&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;border: 0px; font-family: &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, STHeiti, &amp;quot;WenQuanYi Micro Hei&amp;quot;, Helvetica, Arial, sans-serif; margin-top: 20px; margin-bottom: 20px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(49, 49, 49); text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Tue, 04 Feb 2025 01:02:54 +0800</pubDate></item><item><title>zimbra配置启用SMTP认证的简单配置</title><link>https://www.stephenwxf.com/post/215.html</link><description>&lt;p style=&quot;box-sizing: border-box;outline: 0px;margin-top: 0px;margin-bottom: 0px;padding: 0px;color: rgb(85, 85, 85);overflow: hidden;line-height: 28px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;background-color: rgb(255, 255, 255);clear: both;height: auto;font-family: 宋体, &amp;#39;Arial Narrow&amp;#39;, arial, serif&quot;&gt;&lt;span style=&quot;box-sizing: border-box;outline: 0px;padding: 0px;font-synthesis-style: auto;overflow-wrap: break-word;font-family: 宋体, SimSun&quot;&gt;配置SMTP认证&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box;outline: 0px;margin-top: 0px;margin-bottom: 0px;padding: 0px;color: rgb(85, 85, 85);overflow: hidden;line-height: 21px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;background-color: rgb(255, 255, 255);clear: both;height: auto;font-family: 微软雅黑, &amp;#39;Microsoft YaHei&amp;#39;, Georgia, Helvetica, Arial, sans-serif, 宋体, PMingLiU, serif&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; zimbra&lt;span style=&quot;box-sizing: border-box;outline: 0px;padding: 0px;font-synthesis-style: auto;overflow-wrap: break-word;font-family: 宋体&quot;&gt;邮件系统安装完成后开启的是&lt;/span&gt;TLS&lt;span style=&quot;box-sizing: border-box;outline: 0px;padding: 0px;font-synthesis-style: auto;overflow-wrap: break-word;font-family: 宋体&quot;&gt;认证功能，没有开始&lt;/span&gt;postfix&lt;span style=&quot;box-sizing: border-box;outline: 0px;padding: 0px;font-synthesis-style: auto;overflow-wrap: break-word;font-family: 宋体&quot;&gt;的&lt;/span&gt;&lt;a href=&quot;https://so.csdn.net/so/search?q=SMTP&amp;spm=1001.2101.3001.7020&quot; target=&quot;_blank&quot; class=&quot;hl hl-1&quot; data-report-click=&quot;{&amp;quot;spm&amp;quot;:&amp;quot;1001.2101.3001.7020&amp;quot;,&amp;quot;dest&amp;quot;:&amp;quot;https://so.csdn.net/so/search?q=SMTP&amp;amp;spm=1001.2101.3001.7020&amp;quot;,&amp;quot;extra&amp;quot;:&amp;quot;{\&amp;quot;searchword\&amp;quot;:\&amp;quot;SMTP\&amp;quot;}&amp;quot;}&quot; data-tit=&quot;SMTP&quot; data-pretit=&quot;smtp&quot; style=&quot;box-sizing: border-box;outline: none;margin: 0px 3px 0px 0px;padding: 0px 14px 0px 3px;cursor: pointer;color: rgb(252, 85, 49);font-synthesis-style: auto;overflow-wrap: break-word;border-radius: 3px;background: url(&amp;#39;../img/iconHighlight.svg&amp;#39;) right top / 12px 14px no-repeat transparent;box-shadow: none&quot;&gt;SMTP&lt;/a&gt;&lt;span style=&quot;box-sizing: border-box;outline: 0px;padding: 0px;font-synthesis-style: auto;overflow-wrap: break-word;font-family: 宋体&quot;&gt;认证功能。&lt;/span&gt;open relay&lt;span style=&quot;box-sizing: border-box;outline: 0px;padding: 0px;font-synthesis-style: auto;overflow-wrap: break-word;font-family: 宋体&quot;&gt;对公网上所有的用户开放，意味着垃圾邮件制造者可以使用我们的邮件服务器做中转站达到发送垃圾邮件的目的，我们的邮件服务器有可能会被反垃圾邮件联盟组织列入黑名单，导致互联网上的邮件服务器拒收我们的邮件，因此我们需要关闭服务器的&lt;/span&gt;open relay&lt;span style=&quot;box-sizing: border-box;outline: 0px;padding: 0px;font-synthesis-style: auto;overflow-wrap: break-word;font-family: 宋体&quot;&gt;功能，启用&lt;/span&gt;SMTP&lt;span style=&quot;box-sizing: border-box;outline: 0px;padding: 0px;font-synthesis-style: auto;overflow-wrap: break-word;font-family: 宋体&quot;&gt;认证，只给通过认证的用户进行邮件的转发。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box;outline: 0px;margin-top: 0px;margin-bottom: 0px;padding: 0px;color: rgb(85, 85, 85);overflow: hidden;line-height: 21px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;background-color: rgb(255, 255, 255);clear: both;height: auto;font-family: 微软雅黑, &amp;#39;Microsoft YaHei&amp;#39;, Georgia, Helvetica, Arial, sans-serif, 宋体, PMingLiU, serif&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;box-sizing: border-box;outline: 0px;padding: 0px;font-synthesis-style: auto;overflow-wrap: break-word;font-family: 宋体&quot;&gt;测试服务器是否开始&lt;/span&gt;SMTP&lt;span style=&quot;box-sizing: border-box;outline: 0px;padding: 0px;font-synthesis-style: auto;overflow-wrap: break-word;font-family: 宋体&quot;&gt;认证，在&lt;/span&gt;CMD&lt;span style=&quot;box-sizing: border-box;outline: 0px;padding: 0px;font-synthesis-style: auto;overflow-wrap: break-word;font-family: 宋体&quot;&gt;命令行执行&lt;/span&gt;&lt;span class=&quot;words-blog hl-git-1&quot; data-tit=&quot;telnet&quot; data-pretit=&quot;telnet&quot; style=&quot;box-sizing: border-box;outline: 0px;margin: 0px 3px 0px 0px;padding: 0px 18px 0px 0px;font-synthesis-style: auto;overflow-wrap: break-word;cursor: pointer;background: url(&amp;#39;../img/gitcode-key.png&amp;#39;) right center / 14px 14px no-repeat transparent;box-shadow: none;color: #4EA1DB !important&quot;&gt;telnet&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;box-sizing: border-box;outline: 0px;padding: 0px;font-synthesis-style: auto;overflow-wrap: break-word;font-family: 宋体&quot;&gt;命令&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;box-sizing: border-box;outline: 0px;padding: 0px;font-synthesis-style: auto;overflow-wrap: break-word;font-family: 宋体&quot;&gt;如下：&lt;/span&gt;&lt;/p&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;720&quot;&gt;&lt;tbody style=&quot;box-sizing: border-box;outline: 0px !important;border: 0px !important;font-synthesis-style: auto;overflow-wrap: break-word;padding: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-size: 1em !important;min-height: inherit !important;background: none !important&quot;&gt;&lt;tr style=&quot;box-sizing: border-box;outline: 0px !important;border: 0px !important;background: none !important;font-synthesis-style: auto;overflow-wrap: break-word;padding: 0px !important;font-size: 1em !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;min-height: inherit !important&quot; class=&quot;firstRow&quot;&gt;&lt;td style=&quot;box-sizing: border-box; font-synthesis-style: auto; overflow-wrap: break-word; color: rgb(79, 79, 79); outline: 0px !important; padding: 0px !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important; font-size: 1em !important; line-height: 1.1em !important; float: none !important; inset: auto !important; overflow: visible !important; position: static !important; vertical-align: baseline !important; min-height: inherit !important; background: none !important;&quot; width=&quot;685&quot; height=&quot;26&quot;&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;[d:\~]$&amp;nbsp;telnet&amp;nbsp;192.168.3.26&amp;nbsp;25&lt;/code&gt;&amp;nbsp;&amp;nbsp;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;Connecting&amp;nbsp;to&amp;nbsp;192.168.3.26:25...&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;Connection&amp;nbsp;established.&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;To&amp;nbsp;escape&amp;nbsp;to&amp;nbsp;&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;bash functions&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: rgb(255, 20, 147) !important;background: none !important&quot;&gt;local&lt;/code&gt;&amp;nbsp;&amp;nbsp;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;shell,&amp;nbsp;press&amp;nbsp;&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;bash string&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: blue !important;background: none !important&quot;&gt;&amp;#39;Ctrl+Alt+]&amp;#39;&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;.&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;220&amp;nbsp;weyeenet.net&amp;nbsp;ESMTP&amp;nbsp;Postfix&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;ehlo&amp;nbsp;weyeenet.net&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;250-weyeenet.net&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;250-PIPELINING&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;250-SIZE&amp;nbsp;10240000&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;250-VRFY&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;250-ETRN&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;250-STARTTLS&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;250-ENHANCEDSTATUSCODES&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;250-8BITMIME&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;250&amp;nbsp;DSN&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;quit221&amp;nbsp;2.0.0&amp;nbsp;Bye&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style=&quot;box-sizing: border-box;outline: 0px;margin-top: 0px;margin-bottom: 0px;padding: 0px;color: rgb(85, 85, 85);overflow: hidden;line-height: 28px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;background-color: rgb(255, 255, 255);clear: both;height: auto;font-family: 宋体, &amp;#39;Arial Narrow&amp;#39;, arial, serif&quot;&gt;&lt;span style=&quot;box-sizing: border-box;outline: 0px;padding: 0px;font-synthesis-style: auto;overflow-wrap: break-word;font-family: 宋体;line-height: 21px&quot;&gt;在以上命令结果中，没有看到任何有关&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box;outline: 0px;padding: 0px;font-synthesis-style: auto;overflow-wrap: break-word;font-style: italic;font-family: 微软雅黑, &amp;#39;Microsoft YaHei&amp;#39;, Georgia, Helvetica, Arial, sans-serif, 宋体, PMingLiU, serif;line-height: 21px&quot;&gt;AUTH&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box;outline: 0px;padding: 0px;font-synthesis-style: auto;overflow-wrap: break-word;font-family: 宋体;line-height: 21px&quot;&gt;认证的参数，表明服务器是没有开启&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box;outline: 0px;padding: 0px;font-synthesis-style: auto;overflow-wrap: break-word;font-style: italic;font-family: 微软雅黑, &amp;#39;Microsoft YaHei&amp;#39;, Georgia, Helvetica, Arial, sans-serif, 宋体, PMingLiU, serif;line-height: 21px&quot;&gt;SMTP&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box;outline: 0px;padding: 0px;font-synthesis-style: auto;overflow-wrap: break-word;font-family: 宋体;line-height: 21px&quot;&gt;认证功能的。&lt;/span&gt;&lt;/p&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;720&quot;&gt;&lt;tbody style=&quot;box-sizing: border-box;outline: 0px !important;border: 0px !important;font-synthesis-style: auto;overflow-wrap: break-word;padding: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-size: 1em !important;min-height: inherit !important;background: none !important&quot;&gt;&lt;tr style=&quot;box-sizing: border-box;outline: 0px !important;border: 0px !important;background: none !important;font-synthesis-style: auto;overflow-wrap: break-word;padding: 0px !important;font-size: 1em !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;min-height: inherit !important&quot; class=&quot;firstRow&quot;&gt;&lt;td style=&quot;box-sizing: border-box; font-synthesis-style: auto; overflow-wrap: break-word; color: rgb(79, 79, 79); outline: 0px !important; padding: 0px !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important; font-size: 1em !important; line-height: 1.1em !important; float: none !important; inset: auto !important; overflow: visible !important; position: static !important; vertical-align: baseline !important; min-height: inherit !important; background: none !important;&quot; width=&quot;692&quot; height=&quot;26&quot;&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;[zimbra@mail&amp;nbsp;root]$&amp;nbsp;zmprov&amp;nbsp;modifyServer&amp;nbsp;mail.weyeenet.net&amp;nbsp;zimbraMtaTlsAuthOnly&amp;nbsp;FALSE&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;[zimbra@mail&amp;nbsp;root]$&amp;nbsp;zmcontrol&amp;nbsp;&amp;nbsp;restart&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style=&quot;box-sizing: border-box;outline: 0px;margin-top: 0px;margin-bottom: 0px;padding: 0px;color: rgb(85, 85, 85);overflow: hidden;line-height: 28px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;background-color: rgb(255, 255, 255);clear: both;height: auto;font-family: 宋体, &amp;#39;Arial Narrow&amp;#39;, arial, serif&quot;&gt;&lt;span style=&quot;box-sizing: border-box;outline: 0px;padding: 0px;font-synthesis-style: auto;overflow-wrap: break-word;font-family: 宋体;line-height: 21px;text-indent: 21px&quot;&gt;查看调整以后的参数结果&lt;/span&gt;&lt;/p&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;720&quot; style=&quot;width: 1453px;&quot;&gt;&lt;tbody style=&quot;box-sizing: border-box;outline: 0px !important;border: 0px !important;font-synthesis-style: auto;overflow-wrap: break-word;padding: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-size: 1em !important;min-height: inherit !important;background: none !important&quot;&gt;&lt;tr style=&quot;box-sizing: border-box;outline: 0px !important;border: 0px !important;background: none !important;font-synthesis-style: auto;overflow-wrap: break-word;padding: 0px !important;font-size: 1em !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;min-height: inherit !important&quot; class=&quot;firstRow&quot;&gt;&lt;td style=&quot;box-sizing: border-box; font-synthesis-style: auto; overflow-wrap: break-word; color: rgb(79, 79, 79); outline: 0px !important; padding: 0px !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important; font-size: 1em !important; line-height: 1.1em !important; float: none !important; inset: auto !important; overflow: visible !important; position: static !important; vertical-align: baseline !important; min-height: inherit !important; background: none !important;&quot; width=&quot;685&quot; height=&quot;26&quot;&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;[zimbra@mail&amp;nbsp;root]$&amp;nbsp;zmprov&amp;nbsp;getServer&amp;nbsp;mail.weyeenet.net&amp;nbsp;|&amp;nbsp;&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;bash functions&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: rgb(255, 20, 147) !important;background: none !important&quot;&gt;grep&lt;/code&gt;&amp;nbsp;&amp;nbsp;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;Auth&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;zimbraAuthTokenNotificationInterval:&amp;nbsp;60000&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;zimbraLowestSupportedAuthVersion:&amp;nbsp;2&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;zimbraMtaAuthEnabled:&amp;nbsp;TRUE&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;zimbraMtaAuthHost:&amp;nbsp;weyeenet.net&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;zimbraMtaAuthTarget:&amp;nbsp;TRUE&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;zimbraMtaAuthURL:&amp;nbsp;https:&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;//weyeenet&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;.net:8443&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;/service/soap/&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;zimbraMtaBrokenSaslAuthClients:&amp;nbsp;&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;bash functions&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: rgb(255, 20, 147) !important;background: none !important&quot;&gt;yes&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;zimbraMtaSaslAuthEnable:&amp;nbsp;&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;bash functions&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: rgb(255, 20, 147) !important;background: none !important&quot;&gt;yes&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;zimbraMtaSmtpSaslAuthEnable:&amp;nbsp;no&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;zimbraMtaSmtpdSaslAuthenticatedHeader:&amp;nbsp;no&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;zimbraMtaTlsAuthOnly:&amp;nbsp;FALSE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;bash comments&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: rgb(0, 130, 0) !important;background: none !important&quot;&gt;#这项值要FALSE才能进行SMTP认证&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;zimbraShareNotificationMtaAuthRequired:&amp;nbsp;FALSE&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style=&quot;box-sizing: border-box;outline: 0px;margin-top: 0px;margin-bottom: 0px;padding: 0px;color: rgb(85, 85, 85);overflow: hidden;line-height: 28px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;background-color: rgb(255, 255, 255);clear: both;height: auto;font-family: 宋体, &amp;#39;Arial Narrow&amp;#39;, arial, serif&quot;&gt;&lt;span style=&quot;box-sizing: border-box;outline: 0px;padding: 0px;font-synthesis-style: auto;overflow-wrap: break-word;font-family: 宋体;line-height: 21px&quot;&gt;再次测试&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box;outline: 0px;padding: 0px;font-synthesis-style: auto;overflow-wrap: break-word;font-style: italic;font-family: 微软雅黑, &amp;#39;Microsoft YaHei&amp;#39;, Georgia, Helvetica, Arial, sans-serif, 宋体, PMingLiU, serif;line-height: 21px&quot;&gt;SMTP&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box;outline: 0px;padding: 0px;font-synthesis-style: auto;overflow-wrap: break-word;font-family: 宋体;line-height: 21px&quot;&gt;开始是否成功&lt;/span&gt;&lt;/p&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;720&quot;&gt;&lt;tbody style=&quot;box-sizing: border-box;outline: 0px !important;border: 0px !important;font-synthesis-style: auto;overflow-wrap: break-word;padding: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-size: 1em !important;min-height: inherit !important;background: none !important&quot;&gt;&lt;tr style=&quot;box-sizing: border-box;outline: 0px !important;border: 0px !important;background: none !important;font-synthesis-style: auto;overflow-wrap: break-word;padding: 0px !important;font-size: 1em !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;min-height: inherit !important&quot; class=&quot;firstRow&quot;&gt;&lt;td style=&quot;box-sizing: border-box; font-synthesis-style: auto; overflow-wrap: break-word; color: rgb(79, 79, 79); outline: 0px !important; padding: 0px !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important; font-size: 1em !important; line-height: 1.1em !important; float: none !important; inset: auto !important; overflow: visible !important; position: static !important; vertical-align: baseline !important; min-height: inherit !important; background: none !important;&quot; width=&quot;685&quot; height=&quot;26&quot;&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;[d:\~]$&amp;nbsp;telnet&amp;nbsp;192.168.3.26&amp;nbsp;25&lt;/code&gt;&amp;nbsp;&amp;nbsp;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;Connecting&amp;nbsp;to&amp;nbsp;192.168.3.26:25...&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;Connection&amp;nbsp;established.&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;To&amp;nbsp;escape&amp;nbsp;to&amp;nbsp;&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;bash functions&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: rgb(255, 20, 147) !important;background: none !important&quot;&gt;local&lt;/code&gt;&amp;nbsp;&amp;nbsp;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;shell,&amp;nbsp;press&amp;nbsp;&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;bash string&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: blue !important;background: none !important&quot;&gt;&amp;#39;Ctrl+Alt+]&amp;#39;&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;.&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;220&amp;nbsp;weyeenet.net&amp;nbsp;ESMTP&amp;nbsp;Postfix&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;ehlo&amp;nbsp;weyeenet.net&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;250-weyeenet.net&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;250-PIPELINING&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;250-SIZE&amp;nbsp;10240000&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;250-VRFY&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;250-ETRN&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;250-STARTTLS&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;250-AUTH&amp;nbsp;LOGIN&amp;nbsp;PLAIN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;bash comments&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: rgb(0, 130, 0) !important;background: none !important&quot;&gt;#和SMTP认证相关的参数&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;250-AUTH=LOGIN&amp;nbsp;PLAIN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;bash comments&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: rgb(0, 130, 0) !important;background: none !important&quot;&gt;#和SMTP认证相关的参数&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;250-ENHANCEDSTATUSCODES&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;250-8BITMIME&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;250&amp;nbsp;DSN&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background: none !important&quot;&gt;quit221&amp;nbsp;2.0.0&amp;nbsp;Bye&lt;/code&gt;&lt;code class=&quot;bash comments&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: rgb(0, 130, 0) !important;background: none !important&quot;&gt;#验证结果中出现了2行AUTH的参数，表明服务器的SMTP认证功能已经开启。&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style=&quot;box-sizing: border-box;outline: 0px;margin-top: 0px;margin-bottom: 0px;padding: 0px;color: rgb(85, 85, 85);overflow: hidden;line-height: 28px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;background-color: rgb(255, 255, 255);clear: both;height: auto;font-family: 宋体, &amp;#39;Arial Narrow&amp;#39;, arial, serif&quot;&gt;配置zimbra用户只能在指定的域内发送邮件&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box;outline: 0px;margin-top: 0px;margin-bottom: 0px;padding: 0px;color: rgb(85, 85, 85);overflow: hidden;line-height: 28px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;background-color: rgb(255, 255, 255);clear: both;height: auto;font-family: 宋体, &amp;#39;Arial Narrow&amp;#39;, arial, serif&quot;&gt;可参考http://wenku.baidu.com/link?url=T4o0MMnVX9oJDPtJy26IzcLfcJnG4Tbl4MxZNnkelAfjO9jOrcvrYshPSxUI1C8Af1rIRkTst9Ps6Flq9oH9JbLqQFvUip2orVAjnMfJOIK&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box;outline: 0px;margin-top: 0px;margin-bottom: 0px;padding: 0px;color: rgb(85, 85, 85);overflow: hidden;line-height: 28px;font-synthesis-style: auto;overflow-wrap: break-word;text-wrap-mode: wrap;background-color: rgb(255, 255, 255);clear: both;height: auto;font-family: 宋体, &amp;#39;Arial Narrow&amp;#39;, arial, serif&quot;&gt;可参考http://wiki.zimbra.com/wiki/Restrict_users_to_certain_domain&lt;/p&gt;&lt;p&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;[zimbra@mail&amp;nbsp;root]$&amp;nbsp;&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;bash functions&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: rgb(255, 20, 147) !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;head&lt;/code&gt;&amp;nbsp;&amp;nbsp;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;-1&amp;nbsp;&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;/opt/zimbra/conf/zmconfigd/smtpd_recipient_restrictions&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;.cf&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;check_sender_access&amp;nbsp;&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;bash functions&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: rgb(255, 20, 147) !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;hash&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;:&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;/opt/zimbra/postfix/conf/restricted_senders&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;[zimbra@mail&amp;nbsp;root]$&amp;nbsp;vim&amp;nbsp;&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;/opt/zimbra/conf/zmconfigd&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;.cf&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;bash comments&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: rgb(0, 130, 0) !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;#在SECTION&amp;nbsp;mta标签下增加下面2行&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;SECTION&amp;nbsp;mta&amp;nbsp;DEPENDS&amp;nbsp;amavis&lt;/code&gt;&lt;code class=&quot;bash spaces&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;POSTCONF&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;smtpd_restriction_classes&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;local_only&lt;/code&gt;&lt;code class=&quot;bash spaces&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;POSTCONF&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;local_only&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FILE&amp;nbsp;&amp;nbsp;postfix_check_recipient_access.cf&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;[zimbra@mail&amp;nbsp;root]$&amp;nbsp;&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;bash functions&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: rgb(255, 20, 147) !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;cat&lt;/code&gt;&amp;nbsp;&amp;nbsp;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;/opt/zimbra/conf/postfix_check_recipient_access&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;.cf&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;check_recipient_access&amp;nbsp;&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;bash functions&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: rgb(255, 20, 147) !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;hash&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;:&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;/opt/zimbra/postfix/conf/local_domains&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;,&amp;nbsp;reject&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;[zimbra@mail&amp;nbsp;root]$&amp;nbsp;&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;bash functions&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: rgb(255, 20, 147) !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;cat&lt;/code&gt;&amp;nbsp;&amp;nbsp;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;/opt/zimbra/postfix/conf/restricted_senders&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;weyee@weyeenet.net&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;local_only&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;[zimbra@mail&amp;nbsp;root]$&amp;nbsp;&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;bash functions&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: rgb(255, 20, 147) !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;cat&lt;/code&gt;&amp;nbsp;&amp;nbsp;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;/opt/zimbra/postfix/conf/local_domains&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;weyeenet.net&amp;nbsp;&amp;nbsp;&amp;nbsp; OK&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;[zimbra@mail&amp;nbsp;root]$&amp;nbsp;postmap&amp;nbsp;&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;/opt/zimbra/postfix/conf/restricted_senders&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;[zimbra@mail&amp;nbsp;root]$&amp;nbsp;postmap&amp;nbsp;&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;/opt/zimbra/postfix/conf/local_domains&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;[zimbra@mail&amp;nbsp;root]$&amp;nbsp;zmmtactl&amp;nbsp;stop&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;/postfix-script&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;:&amp;nbsp;stopping&amp;nbsp;the&amp;nbsp;Postfix&amp;nbsp;mail&amp;nbsp;system&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;Stopping&amp;nbsp;saslauthd...&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;bash keyword&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-weight: bold !important;font-size: 1em !important;min-height: inherit !important;color: rgb(0, 102, 153) !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;done&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;.&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;[zimbra@mail&amp;nbsp;root]$&amp;nbsp;zmmtactl&amp;nbsp;start&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;Rewriting&amp;nbsp;configuration&amp;nbsp;files...&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;bash keyword&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-weight: bold !important;font-size: 1em !important;min-height: inherit !important;color: rgb(0, 102, 153) !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;done&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;.&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;Starting&amp;nbsp;saslauthd...&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;bash keyword&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-weight: bold !important;font-size: 1em !important;min-height: inherit !important;color: rgb(0, 102, 153) !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;done&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;.&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;/postfix-script&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;bash plain&quot; style=&quot;box-sizing: border-box;border-radius: 4px;font-synthesis-style: auto;overflow-wrap: break-word;outline: 0px !important;padding: 0px !important;border: 0px !important;inset: auto !important;float: none !important;line-height: 1.1em !important;overflow: visible !important;position: static !important;vertical-align: baseline !important;width: auto !important;font-family: Consolas, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;, Courier, monospace !important;font-size: 1em !important;min-height: inherit !important;color: black !important;background-image: none !important;background-position: initial !important;background-size: initial !important;background-repeat: initial !important;background-attachment: initial !important;background-origin: initial !important;background-clip: initial !important&quot;&gt;:&amp;nbsp;starting&amp;nbsp;the&amp;nbsp;Postfix&amp;nbsp;mail&amp;nbsp;system&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Thu, 16 Jan 2025 19:49:51 +0800</pubDate></item><item><title>宝塔用NGINX的情况下，在CDN场景获取用户真实IP地址</title><link>https://www.stephenwxf.com/post/214.html</link><description>&lt;p&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: #FFFFFF;&quot;&gt;在nginx #include luawaf.conf; 后面配置还下面代码然后重启&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: #FFFFFF;&quot;&gt;&lt;img src=&quot;https://www.stephenwxf.com/zb_users/upload/2024/12/202412191734578675594466.png&quot; alt=&quot;image.png&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: #FFFFFF;&quot;&gt;代码：&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: #FFFFFF;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;white-space-collapse: preserve;&quot;&gt;		&lt;/span&gt;#获取真实IP&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; set_real_ip_from 0.0.0.0/0;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; real_ip_header X-Forwarded-For;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; proxy_set_header X-Real-IP $remote_addr;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: #FFFFFF;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Thu, 19 Dec 2024 11:23:45 +0800</pubDate></item><item><title>PVE下debian支持串口显示</title><link>https://www.stephenwxf.com/post/213.html</link><description>&lt;p style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; margin-top: 0px; margin-bottom: 0.5rem; color: rgb(13, 13, 13); font-family: ui-sans-serif, -apple-system, system-ui, &amp;quot;Segoe UI&amp;quot;, Helvetica, &amp;quot;Apple Color Emoji&amp;quot;, Arial, sans-serif, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;Debian 系统支持通过串口显示输出（serial console），这在嵌入式设备、开发板和服务器管理中非常常见。以下是如何启用串口显示的完整步骤：&lt;/p&gt;&lt;h3 style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-size: 1.25em; margin: 1rem 0px 0.5rem; line-height: 1.6; color: rgb(13, 13, 13); font-family: ui-sans-serif, -apple-system, system-ui, &amp;quot;Segoe UI&amp;quot;, Helvetica, &amp;quot;Apple Color Emoji&amp;quot;, Arial, sans-serif, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;1.&amp;nbsp;&lt;span style=&quot;border: 0px solid #E3E3E3; box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; color: inherit;&quot;&gt;确认串口设备&lt;/span&gt;&lt;/h3&gt;&lt;p style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; margin-top: 0.5rem; margin-bottom: 0.5rem; color: rgb(13, 13, 13); font-family: ui-sans-serif, -apple-system, system-ui, &amp;quot;Segoe UI&amp;quot;, Helvetica, &amp;quot;Apple Color Emoji&amp;quot;, Arial, sans-serif, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;首先确定你的设备支持的串口接口，一般常见的设备名为：&lt;/p&gt;&lt;ul style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; list-style-position: initial; list-style-image: initial; margin-bottom: 0.75em; padding: 0px 0px 0px 1.625em; color: rgb(13, 13, 13); font-family: ui-sans-serif, -apple-system, system-ui, &amp;quot;Segoe UI&amp;quot;, Helvetica, &amp;quot;Apple Color Emoji&amp;quot;, Arial, sans-serif, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;&lt;code style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-feature-settings: normal; font-size: 0.875em; font-variation-settings: normal; background-color: var(--gray-100); border-radius: 0.25rem; color: var(--tw-prose-code); padding: 0.15rem 0.3rem; margin-top: 0px; margin-bottom: 0px; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace !important;&quot;&gt;/dev/ttyS0&lt;/code&gt;（标准串口）&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;code style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-feature-settings: normal; font-size: 0.875em; font-variation-settings: normal; background-color: var(--gray-100); border-radius: 0.25rem; color: var(--tw-prose-code); padding: 0.15rem 0.3rem; margin-top: 0px; margin-bottom: 0px; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace !important;&quot;&gt;/dev/ttyUSB0&lt;/code&gt;（USB 转串口设备）&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;code style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-feature-settings: normal; font-size: 0.875em; font-variation-settings: normal; background-color: var(--gray-100); border-radius: 0.25rem; color: var(--tw-prose-code); padding: 0.15rem 0.3rem; margin-top: 0px; margin-bottom: 0px; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace !important;&quot;&gt;/dev/ttyAMA0&lt;/code&gt;（ARM 平台的串口）&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h4 style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-size: 16px; margin: 1rem 0px 0.5rem; color: rgb(13, 13, 13); line-height: 1.5; font-family: ui-sans-serif, -apple-system, system-ui, &amp;quot;Segoe UI&amp;quot;, Helvetica, &amp;quot;Apple Color Emoji&amp;quot;, Arial, sans-serif, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;检查串口设备是否存在：&lt;/h4&gt;&lt;pre class=&quot;!overflow-visible&quot; style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-feature-settings: normal; font-size: 0.875em; font-variation-settings: normal; margin-top: 0.5rem; margin-bottom: 0px; background-color: rgb(255, 255, 255); border-radius: 0.375rem; color: rgb(13, 13, 13); line-height: 1.71429; padding: 0px; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace !important; overflow: visible !important;&quot;&gt;ls&amp;nbsp;/dev/tty*&lt;/pre&gt;&lt;p style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; margin-top: 0.5rem; margin-bottom: 0.5rem; color: rgb(13, 13, 13); font-family: ui-sans-serif, -apple-system, system-ui, &amp;quot;Segoe UI&amp;quot;, Helvetica, &amp;quot;Apple Color Emoji&amp;quot;, Arial, sans-serif, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;查找&amp;nbsp;&lt;code style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-feature-settings: normal; font-size: 0.875em; font-variation-settings: normal; background-color: var(--gray-100); border-radius: 0.25rem; color: var(--tw-prose-code); padding: 0.15rem 0.3rem; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace !important;&quot;&gt;ttyS*&lt;/code&gt;、&lt;code style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-feature-settings: normal; font-size: 0.875em; font-variation-settings: normal; background-color: var(--gray-100); border-radius: 0.25rem; color: var(--tw-prose-code); padding: 0.15rem 0.3rem; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace !important;&quot;&gt;ttyUSB*&lt;/code&gt;&amp;nbsp;或&amp;nbsp;&lt;code style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-feature-settings: normal; font-size: 0.875em; font-variation-settings: normal; background-color: var(--gray-100); border-radius: 0.25rem; color: var(--tw-prose-code); padding: 0.15rem 0.3rem; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace !important;&quot;&gt;ttyAMA*&lt;/code&gt;。&lt;/p&gt;&lt;h3 style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-size: 1.25em; margin: 1rem 0px 0.5rem; line-height: 1.6; color: rgb(13, 13, 13); font-family: ui-sans-serif, -apple-system, system-ui, &amp;quot;Segoe UI&amp;quot;, Helvetica, &amp;quot;Apple Color Emoji&amp;quot;, Arial, sans-serif, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;2.&amp;nbsp;&lt;span style=&quot;border: 0px solid #E3E3E3; box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; color: inherit;&quot;&gt;修改 GRUB 配置（引导时启用串口显示）&lt;/span&gt;&lt;/h3&gt;&lt;p style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; margin-top: 0.5rem; margin-bottom: 0.5rem; color: rgb(13, 13, 13); font-family: ui-sans-serif, -apple-system, system-ui, &amp;quot;Segoe UI&amp;quot;, Helvetica, &amp;quot;Apple Color Emoji&amp;quot;, Arial, sans-serif, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;编辑 GRUB 配置文件，启用串口调试输出：&lt;/p&gt;&lt;h4 style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-size: 16px; margin: 1rem 0px 0.5rem; color: rgb(13, 13, 13); line-height: 1.5; font-family: ui-sans-serif, -apple-system, system-ui, &amp;quot;Segoe UI&amp;quot;, Helvetica, &amp;quot;Apple Color Emoji&amp;quot;, Arial, sans-serif, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;编辑 GRUB 配置文件&lt;/h4&gt;&lt;pre class=&quot;!overflow-visible&quot; style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-feature-settings: normal; font-size: 0.875em; font-variation-settings: normal; margin-top: 0.5rem; margin-bottom: 0px; background-color: rgb(255, 255, 255); border-radius: 0.375rem; color: rgb(13, 13, 13); line-height: 1.71429; padding: 0px; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace !important; overflow: visible !important;&quot;&gt;sudo&amp;nbsp;nano&amp;nbsp;/etc/default/grub&lt;/pre&gt;&lt;h4 style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-size: 16px; margin: 1rem 0px 0.5rem; color: rgb(13, 13, 13); line-height: 1.5; font-family: ui-sans-serif, -apple-system, system-ui, &amp;quot;Segoe UI&amp;quot;, Helvetica, &amp;quot;Apple Color Emoji&amp;quot;, Arial, sans-serif, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;修改或添加以下内容：&lt;/h4&gt;&lt;pre class=&quot;!overflow-visible&quot; style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-feature-settings: normal; font-size: 0.875em; font-variation-settings: normal; margin-top: 0.5rem; margin-bottom: 0px; background-color: rgb(255, 255, 255); border-radius: 0.375rem; color: rgb(13, 13, 13); line-height: 1.71429; padding: 0px; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace !important; overflow: visible !important;&quot;&gt;GRUB_CMDLINE_LINUX=&amp;quot;console=tty0&amp;nbsp;console=ttyS0,115200n8&amp;quot;GRUB_TERMINAL=&amp;quot;console&amp;nbsp;serial&amp;quot;GRUB_SERIAL_COMMAND=&amp;quot;serial&amp;nbsp;--unit=0&amp;nbsp;--speed=115200&amp;nbsp;--word=8&amp;nbsp;--parity=no&amp;nbsp;--stop=1&amp;quot;&lt;/pre&gt;&lt;ul style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; list-style-position: initial; list-style-image: initial; margin-top: 0.75em; margin-bottom: 0.75em; padding: 0px 0px 0px 1.625em; color: rgb(13, 13, 13); font-family: ui-sans-serif, -apple-system, system-ui, &amp;quot;Segoe UI&amp;quot;, Helvetica, &amp;quot;Apple Color Emoji&amp;quot;, Arial, sans-serif, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;border: 0px solid #E3E3E3; box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-weight: 600; color: var(--tw-prose-bold); margin-top: 0px; margin-bottom: 0px;&quot;&gt;解释&lt;/span&gt;：&lt;/p&gt;&lt;/li&gt;&lt;ul style=&quot;list-style-type: square;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;&lt;code style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-feature-settings: normal; font-size: 0.875em; font-variation-settings: normal; background-color: var(--gray-100); border-radius: 0.25rem; color: var(--tw-prose-code); padding: 0.15rem 0.3rem; margin-bottom: 0px; margin-top: 0px; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace !important;&quot;&gt;console=tty0&lt;/code&gt;：仍然保留默认的显示器输出。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;code style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-feature-settings: normal; font-size: 0.875em; font-variation-settings: normal; background-color: var(--gray-100); border-radius: 0.25rem; color: var(--tw-prose-code); padding: 0.15rem 0.3rem; margin-bottom: 0px; margin-top: 0px; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace !important;&quot;&gt;console=ttyS0,115200n8&lt;/code&gt;：将串口&amp;nbsp;&lt;code style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-feature-settings: normal; font-size: 0.875em; font-variation-settings: normal; background-color: var(--gray-100); border-radius: 0.25rem; color: var(--tw-prose-code); padding: 0.15rem 0.3rem; margin-bottom: 0px; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace !important;&quot;&gt;ttyS0&lt;/code&gt;&amp;nbsp;设置为 115200 波特率，无校验位（n8）。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;code style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-feature-settings: normal; font-size: 0.875em; font-variation-settings: normal; background-color: var(--gray-100); border-radius: 0.25rem; color: var(--tw-prose-code); padding: 0.15rem 0.3rem; margin-bottom: 0px; margin-top: 0px; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace !important;&quot;&gt;GRUB_TERMINAL=&amp;quot;console serial&amp;quot;&lt;/code&gt;：启用串口输出。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;code style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-feature-settings: normal; font-size: 0.875em; font-variation-settings: normal; background-color: var(--gray-100); border-radius: 0.25rem; color: var(--tw-prose-code); padding: 0.15rem 0.3rem; margin-bottom: 0px; margin-top: 0px; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace !important;&quot;&gt;GRUB_SERIAL_COMMAND&lt;/code&gt;：设置串口的详细参数。&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;h4 style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-size: 16px; margin: 1rem 0px 0.5rem; color: rgb(13, 13, 13); line-height: 1.5; font-family: ui-sans-serif, -apple-system, system-ui, &amp;quot;Segoe UI&amp;quot;, Helvetica, &amp;quot;Apple Color Emoji&amp;quot;, Arial, sans-serif, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;保存并更新 GRUB 配置&lt;/h4&gt;&lt;pre class=&quot;!overflow-visible&quot; style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-feature-settings: normal; font-size: 0.875em; font-variation-settings: normal; margin-top: 0.5rem; margin-bottom: 0px; background-color: rgb(255, 255, 255); border-radius: 0.375rem; color: rgb(13, 13, 13); line-height: 1.71429; padding: 0px; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace !important; overflow: visible !important;&quot;&gt;sudo&amp;nbsp;update-grub&lt;/pre&gt;&lt;h3 style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-size: 1.25em; margin: 1rem 0px 0.5rem; line-height: 1.6; color: rgb(13, 13, 13); font-family: ui-sans-serif, -apple-system, system-ui, &amp;quot;Segoe UI&amp;quot;, Helvetica, &amp;quot;Apple Color Emoji&amp;quot;, Arial, sans-serif, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;3.&amp;nbsp;&lt;span style=&quot;border: 0px solid #E3E3E3; box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; color: inherit;&quot;&gt;启用&amp;nbsp;&lt;code style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-feature-settings: normal; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace !important; font-size: 0.9em; font-variation-settings: normal; background-color: var(--gray-100); border-radius: 0.25rem; color: inherit; font-weight: 500; padding: 0.15rem 0.3rem;&quot;&gt;getty&lt;/code&gt;&amp;nbsp;服务（登录时启用串口显示）&lt;/span&gt;&lt;/h3&gt;&lt;p style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; margin-top: 0.5rem; margin-bottom: 0.5rem; color: rgb(13, 13, 13); font-family: ui-sans-serif, -apple-system, system-ui, &amp;quot;Segoe UI&amp;quot;, Helvetica, &amp;quot;Apple Color Emoji&amp;quot;, Arial, sans-serif, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;确保&amp;nbsp;&lt;code style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-feature-settings: normal; font-size: 0.875em; font-variation-settings: normal; background-color: var(--gray-100); border-radius: 0.25rem; color: var(--tw-prose-code); padding: 0.15rem 0.3rem; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace !important;&quot;&gt;getty&lt;/code&gt;&amp;nbsp;在串口设备上运行，允许通过串口登录。&lt;/p&gt;&lt;h4 style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-size: 16px; margin: 1rem 0px 0.5rem; color: rgb(13, 13, 13); line-height: 1.5; font-family: ui-sans-serif, -apple-system, system-ui, &amp;quot;Segoe UI&amp;quot;, Helvetica, &amp;quot;Apple Color Emoji&amp;quot;, Arial, sans-serif, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;创建或编辑串口服务配置：&lt;/h4&gt;&lt;p style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; margin-top: 0.5rem; margin-bottom: 0.5rem; color: rgb(13, 13, 13); font-family: ui-sans-serif, -apple-system, system-ui, &amp;quot;Segoe UI&amp;quot;, Helvetica, &amp;quot;Apple Color Emoji&amp;quot;, Arial, sans-serif, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;以&amp;nbsp;&lt;code style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-feature-settings: normal; font-size: 0.875em; font-variation-settings: normal; background-color: var(--gray-100); border-radius: 0.25rem; color: var(--tw-prose-code); padding: 0.15rem 0.3rem; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace !important;&quot;&gt;ttyS0&lt;/code&gt;&amp;nbsp;为例，创建对应的&amp;nbsp;&lt;code style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-feature-settings: normal; font-size: 0.875em; font-variation-settings: normal; background-color: var(--gray-100); border-radius: 0.25rem; color: var(--tw-prose-code); padding: 0.15rem 0.3rem; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace !important;&quot;&gt;getty&lt;/code&gt;&amp;nbsp;服务：&lt;/p&gt;&lt;pre class=&quot;!overflow-visible&quot; style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-feature-settings: normal; font-size: 0.875em; font-variation-settings: normal; margin-top: 0.5rem; margin-bottom: 0px; background-color: rgb(255, 255, 255); border-radius: 0.375rem; color: rgb(13, 13, 13); line-height: 1.71429; padding: 0px; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace !important; overflow: visible !important;&quot;&gt;sudo&amp;nbsp;systemctl&amp;nbsp;enable&amp;nbsp;serial-getty@ttyS0.service
sudo&amp;nbsp;systemctl&amp;nbsp;start&amp;nbsp;serial-getty@ttyS0.service&lt;/pre&gt;&lt;h4 style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-size: 16px; margin: 1rem 0px 0.5rem; color: rgb(13, 13, 13); line-height: 1.5; font-family: ui-sans-serif, -apple-system, system-ui, &amp;quot;Segoe UI&amp;quot;, Helvetica, &amp;quot;Apple Color Emoji&amp;quot;, Arial, sans-serif, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;检查服务状态：&lt;/h4&gt;&lt;pre class=&quot;!overflow-visible&quot; style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-feature-settings: normal; font-size: 0.875em; font-variation-settings: normal; margin-top: 0.5rem; margin-bottom: 0px; background-color: rgb(255, 255, 255); border-radius: 0.375rem; color: rgb(13, 13, 13); line-height: 1.71429; padding: 0px; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace !important; overflow: visible !important;&quot;&gt;sudo&amp;nbsp;systemctl&amp;nbsp;status&amp;nbsp;serial-getty@ttyS0.service&lt;/pre&gt;&lt;h3 style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-size: 1.25em; margin: 1rem 0px 0.5rem; line-height: 1.6; color: rgb(13, 13, 13); font-family: ui-sans-serif, -apple-system, system-ui, &amp;quot;Segoe UI&amp;quot;, Helvetica, &amp;quot;Apple Color Emoji&amp;quot;, Arial, sans-serif, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;4.&amp;nbsp;&lt;span style=&quot;border: 0px solid #E3E3E3; box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; color: inherit;&quot;&gt;检查串口输出&lt;/span&gt;&lt;/h3&gt;&lt;p style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; margin-top: 0.5rem; margin-bottom: 0.5rem; color: rgb(13, 13, 13); font-family: ui-sans-serif, -apple-system, system-ui, &amp;quot;Segoe UI&amp;quot;, Helvetica, &amp;quot;Apple Color Emoji&amp;quot;, Arial, sans-serif, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;通过串口工具（如&amp;nbsp;&lt;code style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-feature-settings: normal; font-size: 0.875em; font-variation-settings: normal; background-color: var(--gray-100); border-radius: 0.25rem; color: var(--tw-prose-code); padding: 0.15rem 0.3rem; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace !important;&quot;&gt;minicom&lt;/code&gt;&amp;nbsp;或&amp;nbsp;&lt;code style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-feature-settings: normal; font-size: 0.875em; font-variation-settings: normal; background-color: var(--gray-100); border-radius: 0.25rem; color: var(--tw-prose-code); padding: 0.15rem 0.3rem; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace !important;&quot;&gt;screen&lt;/code&gt;）查看输出。&lt;/p&gt;&lt;h4 style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-size: 16px; margin: 1rem 0px 0.5rem; color: rgb(13, 13, 13); line-height: 1.5; font-family: ui-sans-serif, -apple-system, system-ui, &amp;quot;Segoe UI&amp;quot;, Helvetica, &amp;quot;Apple Color Emoji&amp;quot;, Arial, sans-serif, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;安装工具：&lt;/h4&gt;&lt;pre class=&quot;!overflow-visible&quot; style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-feature-settings: normal; font-size: 0.875em; font-variation-settings: normal; margin-top: 0.5rem; margin-bottom: 0px; background-color: rgb(255, 255, 255); border-radius: 0.375rem; color: rgb(13, 13, 13); line-height: 1.71429; padding: 0px; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace !important; overflow: visible !important;&quot;&gt;sudo&amp;nbsp;apt-get&amp;nbsp;install&amp;nbsp;minicom&amp;nbsp;screen&lt;/pre&gt;&lt;h4 style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-size: 16px; margin: 1rem 0px 0.5rem; color: rgb(13, 13, 13); line-height: 1.5; font-family: ui-sans-serif, -apple-system, system-ui, &amp;quot;Segoe UI&amp;quot;, Helvetica, &amp;quot;Apple Color Emoji&amp;quot;, Arial, sans-serif, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;使用&amp;nbsp;&lt;code style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-feature-settings: normal; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace !important; font-size: 0.875em; font-variation-settings: normal; background-color: var(--gray-100); border-radius: 0.25rem; color: inherit; font-weight: 500; padding: 0.15rem 0.3rem;&quot;&gt;screen&lt;/code&gt;&amp;nbsp;查看：&lt;/h4&gt;&lt;pre class=&quot;!overflow-visible&quot; style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-feature-settings: normal; font-size: 0.875em; font-variation-settings: normal; margin-top: 0.5rem; margin-bottom: 0px; background-color: rgb(255, 255, 255); border-radius: 0.375rem; color: rgb(13, 13, 13); line-height: 1.71429; padding: 0px; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace !important; overflow: visible !important;&quot;&gt;screen&amp;nbsp;/dev/ttyS0&amp;nbsp;115200&lt;/pre&gt;&lt;h4 style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-size: 16px; margin: 1rem 0px 0.5rem; color: rgb(13, 13, 13); line-height: 1.5; font-family: ui-sans-serif, -apple-system, system-ui, &amp;quot;Segoe UI&amp;quot;, Helvetica, &amp;quot;Apple Color Emoji&amp;quot;, Arial, sans-serif, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;使用&amp;nbsp;&lt;code style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-feature-settings: normal; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace !important; font-size: 0.875em; font-variation-settings: normal; background-color: var(--gray-100); border-radius: 0.25rem; color: inherit; font-weight: 500; padding: 0.15rem 0.3rem;&quot;&gt;minicom&lt;/code&gt;：&lt;/h4&gt;&lt;ol style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; list-style-position: initial; list-style-image: initial; margin-bottom: 0.75em; padding: 0px 0px 0px 1.625em; color: rgb(13, 13, 13); font-family: ui-sans-serif, -apple-system, system-ui, &amp;quot;Segoe UI&amp;quot;, Helvetica, &amp;quot;Apple Color Emoji&amp;quot;, Arial, sans-serif, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;启动&amp;nbsp;&lt;code style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-feature-settings: normal; font-size: 0.875em; font-variation-settings: normal; background-color: var(--gray-100); border-radius: 0.25rem; color: var(--tw-prose-code); padding: 0.15rem 0.3rem; margin-top: 0px; margin-bottom: 0px; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace !important;&quot;&gt;minicom&lt;/code&gt;：&lt;/p&gt;&lt;pre class=&quot;!overflow-visible&quot; style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-feature-settings: normal; font-size: 0.875em; font-variation-settings: normal; margin-top: 0.5rem; margin-bottom: 0px; background-color: transparent; border-radius: 0.375rem; color: currentcolor; line-height: 1.71429; padding: 0px; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace !important; overflow: visible !important;&quot;&gt;minicom&amp;nbsp;-s&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;选择&amp;nbsp;&lt;span style=&quot;border: 0px solid #E3E3E3; box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-weight: 600; color: var(--tw-prose-bold); margin-top: 0px; margin-bottom: 0px;&quot;&gt;Serial port setup&lt;/span&gt;，设置串口参数（例如&amp;nbsp;&lt;code style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-feature-settings: normal; font-size: 0.875em; font-variation-settings: normal; background-color: var(--gray-100); border-radius: 0.25rem; color: var(--tw-prose-code); padding: 0.15rem 0.3rem; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace !important;&quot;&gt;/dev/ttyS0&lt;/code&gt;，波特率&amp;nbsp;&lt;code style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-feature-settings: normal; font-size: 0.875em; font-variation-settings: normal; background-color: var(--gray-100); border-radius: 0.25rem; color: var(--tw-prose-code); padding: 0.15rem 0.3rem; margin-bottom: 0px; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace !important;&quot;&gt;115200&lt;/code&gt;）。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;保存并启动。&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;h3 style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-size: 1.25em; margin: 1rem 0px 0.5rem; line-height: 1.6; color: rgb(13, 13, 13); font-family: ui-sans-serif, -apple-system, system-ui, &amp;quot;Segoe UI&amp;quot;, Helvetica, &amp;quot;Apple Color Emoji&amp;quot;, Arial, sans-serif, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;5.&amp;nbsp;&lt;span style=&quot;border: 0px solid #E3E3E3; box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; color: inherit;&quot;&gt;验证输出&lt;/span&gt;&lt;/h3&gt;&lt;p style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; margin-top: 0.5rem; margin-bottom: 0.5rem; color: rgb(13, 13, 13); font-family: ui-sans-serif, -apple-system, system-ui, &amp;quot;Segoe UI&amp;quot;, Helvetica, &amp;quot;Apple Color Emoji&amp;quot;, Arial, sans-serif, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;重启设备，观察串口终端是否输出启动日志。如果一切配置正确，你应该可以在串口终端看到 GRUB 和系统启动过程的日志，并能够通过串口登录到 Debian。&lt;/p&gt;&lt;h3 style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-size: 1.25em; margin: 1rem 0px 0.5rem; line-height: 1.6; color: rgb(13, 13, 13); font-family: ui-sans-serif, -apple-system, system-ui, &amp;quot;Segoe UI&amp;quot;, Helvetica, &amp;quot;Apple Color Emoji&amp;quot;, Arial, sans-serif, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;注意事项&lt;/h3&gt;&lt;ol style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; list-style-position: initial; list-style-image: initial; margin-bottom: 0.75em; padding: 0px 0px 0px 1.625em; color: rgb(13, 13, 13); font-family: ui-sans-serif, -apple-system, system-ui, &amp;quot;Segoe UI&amp;quot;, Helvetica, &amp;quot;Apple Color Emoji&amp;quot;, Arial, sans-serif, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; margin-top: 0px; margin-bottom: 0px;&quot;&gt;&lt;span style=&quot;border: 0px solid #E3E3E3; box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-weight: 600; color: var(--tw-prose-bold);&quot;&gt;设备串口是否可用&lt;/span&gt;： 如果你使用 USB 转串口设备，可能需要额外安装驱动（通常自动加载）。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; margin-top: 0px; margin-bottom: 0px;&quot;&gt;&lt;span style=&quot;border: 0px solid #E3E3E3; box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-weight: 600; color: var(--tw-prose-bold);&quot;&gt;波特率和参数匹配&lt;/span&gt;： 确保设备两端的波特率、数据位、校验位等参数一致。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; margin-top: 0px; margin-bottom: 0px;&quot;&gt;&lt;span style=&quot;border: 0px solid #E3E3E3; box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-weight: 600; color: var(--tw-prose-bold);&quot;&gt;多串口支持&lt;/span&gt;： 如果设备有多个串口（如&amp;nbsp;&lt;code style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-feature-settings: normal; font-size: 0.875em; font-variation-settings: normal; background-color: var(--gray-100); border-radius: 0.25rem; color: var(--tw-prose-code); padding: 0.15rem 0.3rem; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace !important;&quot;&gt;ttyS0&lt;/code&gt;,&amp;nbsp;&lt;code style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-feature-settings: normal; font-size: 0.875em; font-variation-settings: normal; background-color: var(--gray-100); border-radius: 0.25rem; color: var(--tw-prose-code); padding: 0.15rem 0.3rem; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace !important;&quot;&gt;ttyS1&lt;/code&gt;&amp;nbsp;等），可以按需修改为对应的串口设备。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; margin-top: 0px; margin-bottom: 0px;&quot;&gt;&lt;span style=&quot;border: 0px solid #E3E3E3; box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; scrollbar-color: var(--main-surface-tertiary) transparent; font-weight: 600; color: var(--tw-prose-bold);&quot;&gt;BIOS/固件设置&lt;/span&gt;： 在某些设备上，可能需要在 BIOS 或固件中启用串口支持。&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Tue, 26 Nov 2024 19:36:41 +0800</pubDate></item><item><title>从零开始自定义编译 Armbian 系统</title><link>https://www.stephenwxf.com/post/212.html</link><description>&lt;h3 id=&quot;toc-head-1&quot; style=&quot;box-sizing: border-box; clear: both; padding-left: 16px; padding-bottom: 8px; border-bottom: 1px dashed rgb(221, 221, 221); color: rgb(115, 115, 115); font-family: &amp;quot;HarmonyOS Sans SC&amp;quot;, &amp;quot;Noto Serif SC&amp;quot;, &amp;quot;Source Han Serif SC&amp;quot;, &amp;quot;Source Han Serif&amp;quot;, source-han-serif-sc, &amp;quot;PT Serif&amp;quot;, &amp;quot;SongTi SC&amp;quot;, &amp;quot;MicroSoft Yahei&amp;quot;, Georgia, serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.8);&quot;&gt;前言&lt;/h3&gt;&lt;p style=&quot;box-sizing: border-box; margin-bottom: 1.5em; cursor: url(&amp;quot;https://fastly.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/texto.cur&amp;quot;), auto; transition: color 1s; color: rgb(121, 121, 121); line-height: 30px; font-family: &amp;quot;HarmonyOS Sans SC&amp;quot;, &amp;quot;Noto Serif SC&amp;quot;, &amp;quot;Source Han Serif SC&amp;quot;, &amp;quot;Source Han Serif&amp;quot;, source-han-serif-sc, &amp;quot;PT Serif&amp;quot;, &amp;quot;SongTi SC&amp;quot;, &amp;quot;MicroSoft Yahei&amp;quot;, Georgia, serif; font-size: 15px; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.8);&quot;&gt;Armbian 是一套以 Linux 为基础的针对 Arm 架构及相关硬件所开发的轻量级软件系统，而且主要面向嵌入式体系架构的单板机（SBCs）应用场景，比如电视盒子、游戏机、NAS、媒体播放器、个人小电脑等等。目前 Armbian 支持 Debian 和 Ubuntu 的编译选项，可以生成具有字符或图形界面的运行系统。&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-bottom: 1.5em; cursor: url(&amp;quot;https://fastly.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/texto.cur&amp;quot;), auto; transition: color 1s; color: rgb(121, 121, 121); line-height: 30px; font-family: &amp;quot;HarmonyOS Sans SC&amp;quot;, &amp;quot;Noto Serif SC&amp;quot;, &amp;quot;Source Han Serif SC&amp;quot;, &amp;quot;Source Han Serif&amp;quot;, source-han-serif-sc, &amp;quot;PT Serif&amp;quot;, &amp;quot;SongTi SC&amp;quot;, &amp;quot;MicroSoft Yahei&amp;quot;, Georgia, serif; font-size: 15px; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.8);&quot;&gt;此教程适用于 Amlogic S9xxx 系列处理器和 Rockchip 盒子，编译一次需要1-3小时左右，需要耐心等待，理论上 CPU 核心数越多编译越快。&lt;/p&gt;&lt;h3 id=&quot;toc-head-2&quot; style=&quot;box-sizing: border-box; clear: both; padding-left: 16px; padding-bottom: 8px; border-bottom: 1px dashed rgb(221, 221, 221); color: rgb(115, 115, 115); font-family: &amp;quot;HarmonyOS Sans SC&amp;quot;, &amp;quot;Noto Serif SC&amp;quot;, &amp;quot;Source Han Serif SC&amp;quot;, &amp;quot;Source Han Serif&amp;quot;, source-han-serif-sc, &amp;quot;PT Serif&amp;quot;, &amp;quot;SongTi SC&amp;quot;, &amp;quot;MicroSoft Yahei&amp;quot;, Georgia, serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.8);&quot;&gt;环境要求&lt;/h3&gt;&lt;ol style=&quot;box-sizing: border-box; margin-bottom: 1.5em; list-style-position: initial; list-style-image: initial; transition: color 1s; border: 1px dashed rgb(228, 228, 228); padding: 15px 10px 15px 50px; color: rgb(97, 97, 97); border-radius: 10px; font-family: &amp;quot;HarmonyOS Sans SC&amp;quot;, &amp;quot;Noto Serif SC&amp;quot;, &amp;quot;Source Han Serif SC&amp;quot;, &amp;quot;Source Han Serif&amp;quot;, source-han-serif-sc, &amp;quot;PT Serif&amp;quot;, &amp;quot;SongTi SC&amp;quot;, &amp;quot;MicroSoft Yahei&amp;quot;, Georgia, serif; font-size: 15px; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.8);&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;系统版本&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-bottom: 1.5em; cursor: url(&amp;quot;https://fastly.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/texto.cur&amp;quot;), auto; transition: color 1s; color: rgb(121, 121, 121); line-height: 30px;&quot;&gt;推荐 Debian 11 或者 Ubuntu 22.04&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p style=&quot;box-sizing: border-box; margin-bottom: 1.5em; cursor: url(&amp;quot;https://fastly.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/texto.cur&amp;quot;), auto; transition: color 1s; color: rgb(121, 121, 121); line-height: 30px;&quot;&gt;配置要求&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-bottom: 1.5em; cursor: url(&amp;quot;https://fastly.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/texto.cur&amp;quot;), auto; transition: color 1s; color: rgb(121, 121, 121); line-height: 30px;&quot;&gt;至少 4G RAM，SSD，推荐4核处理器以上，预留 25G 硬盘空间&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p style=&quot;box-sizing: border-box; margin-bottom: 1.5em; cursor: url(&amp;quot;https://fastly.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/texto.cur&amp;quot;), auto; transition: color 1s; color: rgb(121, 121, 121); line-height: 30px;&quot;&gt;网络要求&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-bottom: 1.5em; cursor: url(&amp;quot;https://fastly.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/texto.cur&amp;quot;), auto; transition: color 1s; color: rgb(121, 121, 121); line-height: 30px;&quot;&gt;最好是境外主机或者能够访问国际网络，大陆网络环境编译耗时久且需要修改地方较多&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p style=&quot;box-sizing: border-box; margin-bottom: 1.5em; cursor: url(&amp;quot;https://fastly.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/texto.cur&amp;quot;), auto; transition: color 1s; color: rgb(121, 121, 121); line-height: 30px;&quot;&gt;编译依赖&lt;/p&gt;&lt;pre class=&quot;highlight-wrap&quot; autocomplete=&quot;off&quot; autocorrect=&quot;off&quot; autocapitalize=&quot;off&quot; spellcheck=&quot;false&quot; contenteditable=&quot;false&quot; design=&quot;by Mashiro&quot; style=&quot;box-sizing: border-box; overflow: auto; 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; line-height: 1.6; font-family: &amp;quot;Microsoft YaHei&amp;quot;, Arial, sans-serif; background-color: rgb(33, 37, 43); border-radius: 5px; margin-bottom: 1.6em; max-width: 100%; text-shadow: none; color: rgb(0, 0, 0); position: relative; padding-top: 30px; box-shadow: rgba(0, 0, 0, 0.4) 0px 10px 30px 0px;&quot;&gt;#&amp;nbsp;升级sudo&amp;nbsp;apt&amp;nbsp;update&amp;nbsp;-ysudo&amp;nbsp;apt&amp;nbsp;full-upgrade&amp;nbsp;-y#&amp;nbsp;安装依赖sudo&amp;nbsp;apt&amp;nbsp;install&amp;nbsp;$(curl&amp;nbsp;-fsSL&amp;nbsp;https://is.gd/depend_ubuntu2204_armbian)#&amp;nbsp;清理sudo&amp;nbsp;apt&amp;nbsp;autoremove&amp;nbsp;--purgesudo&amp;nbsp;apt&amp;nbsp;clean&lt;/pre&gt;&lt;/li&gt;&lt;/ol&gt;&lt;h3 id=&quot;toc-head-3&quot; style=&quot;box-sizing: border-box; clear: both; padding-left: 16px; padding-bottom: 8px; border-bottom: 1px dashed rgb(221, 221, 221); color: rgb(115, 115, 115); font-family: &amp;quot;HarmonyOS Sans SC&amp;quot;, &amp;quot;Noto Serif SC&amp;quot;, &amp;quot;Source Han Serif SC&amp;quot;, &amp;quot;Source Han Serif&amp;quot;, source-han-serif-sc, &amp;quot;PT Serif&amp;quot;, &amp;quot;SongTi SC&amp;quot;, &amp;quot;MicroSoft Yahei&amp;quot;, Georgia, serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.8);&quot;&gt;编译镜像&lt;/h3&gt;&lt;p style=&quot;box-sizing: border-box; margin-bottom: 1.5em; cursor: url(&amp;quot;https://fastly.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/texto.cur&amp;quot;), auto; transition: color 1s; color: rgb(121, 121, 121); line-height: 30px; font-family: &amp;quot;HarmonyOS Sans SC&amp;quot;, &amp;quot;Noto Serif SC&amp;quot;, &amp;quot;Source Han Serif SC&amp;quot;, &amp;quot;Source Han Serif&amp;quot;, source-han-serif-sc, &amp;quot;PT Serif&amp;quot;, &amp;quot;SongTi SC&amp;quot;, &amp;quot;MicroSoft Yahei&amp;quot;, Georgia, serif; font-size: 15px; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.8);&quot;&gt;拉取 Armbian 源码&lt;/p&gt;&lt;pre class=&quot;highlight-wrap&quot; autocomplete=&quot;off&quot; autocorrect=&quot;off&quot; autocapitalize=&quot;off&quot; spellcheck=&quot;false&quot; contenteditable=&quot;false&quot; design=&quot;by Mashiro&quot; style=&quot;box-sizing: border-box; overflow: auto; 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: 15px; line-height: 1.6; font-family: &amp;quot;Microsoft YaHei&amp;quot;, Arial, sans-serif; background-color: rgb(33, 37, 43); border-radius: 5px; margin-bottom: 1.6em; max-width: 100%; text-shadow: none; position: relative; padding-top: 30px; box-shadow: rgba(0, 0, 0, 0.4) 0px 10px 30px 0px;&quot;&gt;git&amp;nbsp;clone&amp;nbsp;--single-branch&amp;nbsp;--depth=1&amp;nbsp;--branch=main&amp;nbsp;https://github.com/armbian/build.git&amp;nbsp;buildcd&amp;nbsp;build&lt;/pre&gt;&lt;h4 id=&quot;toc-head-4&quot; style=&quot;box-sizing: border-box; clear: both; padding-left: 16px; color: rgb(64, 64, 64); font-family: &amp;quot;HarmonyOS Sans SC&amp;quot;, &amp;quot;Noto Serif SC&amp;quot;, &amp;quot;Source Han Serif SC&amp;quot;, &amp;quot;Source Han Serif&amp;quot;, source-han-serif-sc, &amp;quot;PT Serif&amp;quot;, &amp;quot;SongTi SC&amp;quot;, &amp;quot;MicroSoft Yahei&amp;quot;, Georgia, serif; font-size: 15px; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.8);&quot;&gt;自定义配置&lt;/h4&gt;&lt;ol style=&quot;box-sizing: border-box; margin-bottom: 1.5em; list-style-position: initial; list-style-image: initial; transition: color 1s; border: 1px dashed rgb(228, 228, 228); padding: 15px 10px 15px 50px; color: rgb(97, 97, 97); border-radius: 10px; font-family: &amp;quot;HarmonyOS Sans SC&amp;quot;, &amp;quot;Noto Serif SC&amp;quot;, &amp;quot;Source Han Serif SC&amp;quot;, &amp;quot;Source Han Serif&amp;quot;, source-han-serif-sc, &amp;quot;PT Serif&amp;quot;, &amp;quot;SongTi SC&amp;quot;, &amp;quot;MicroSoft Yahei&amp;quot;, Georgia, serif; font-size: 15px; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.8);&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;安装特定的软件包&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-bottom: 1.5em; cursor: url(&amp;quot;https://fastly.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/texto.cur&amp;quot;), auto; transition: color 1s; color: rgb(121, 121, 121); line-height: 30px;&quot;&gt;安装特定的软件包只要在&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: &amp;quot;Source Code Pro&amp;quot;, monospace, Helvetica, Tahoma, Arial, STXihei, &amp;quot;STHeiti Light&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; font-size: 0.9375rem; background: rgb(254, 250, 199); color: rgb(230, 116, 116); word-break: break-word; padding: 2px; text-shadow: none; border-radius: 5px;&quot;&gt;userpatches/lib.config&lt;/code&gt;&amp;nbsp;中增加下面一行即可（文件目录请自行创建），当然也可以写在下面的自定义脚本中运行（推荐）：&lt;/p&gt;&lt;pre class=&quot;highlight-wrap&quot; autocomplete=&quot;off&quot; autocorrect=&quot;off&quot; autocapitalize=&quot;off&quot; spellcheck=&quot;false&quot; contenteditable=&quot;false&quot; design=&quot;by Mashiro&quot; style=&quot;box-sizing: border-box; overflow: auto; 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; line-height: 1.6; font-family: &amp;quot;Microsoft YaHei&amp;quot;, Arial, sans-serif; background-color: rgb(33, 37, 43); border-radius: 5px; margin-bottom: 1.6em; max-width: 100%; text-shadow: none; color: rgb(0, 0, 0); position: relative; padding-top: 30px; box-shadow: rgba(0, 0, 0, 0.4) 0px 10px 30px 0px;&quot;&gt;#&amp;nbsp;PACKAGE_LIST_ADDITIONAL=&amp;quot;$PACKAGE_LIST_ADDITIONAL&amp;nbsp;package_name&amp;quot;PACKAGE_LIST_ADDITIONAL=&amp;quot;$PACKAGE_LIST_ADDITIONAL&amp;nbsp;python-serial&amp;nbsp;python&amp;quot;&amp;nbsp;#&amp;nbsp;additional&amp;nbsp;packages&lt;/pre&gt;&lt;p style=&quot;box-sizing: border-box; margin-bottom: 1.5em; cursor: url(&amp;quot;https://fastly.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/texto.cur&amp;quot;), auto; transition: color 1s; color: rgb(121, 121, 121); line-height: 30px;&quot;&gt;建议仔细阅读分析一下&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: &amp;quot;Source Code Pro&amp;quot;, monospace, Helvetica, Tahoma, Arial, STXihei, &amp;quot;STHeiti Light&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; font-size: 0.9375rem; background: rgb(254, 250, 199); color: rgb(230, 116, 116); word-break: break-word; padding: 2px; text-shadow: none; border-radius: 5px;&quot;&gt;lib/functions/configuration/main-config.sh&lt;/code&gt;&amp;nbsp;这个文件，里面定义了编译中所使用的环境变量，修改相应的变量可以改变编译结果，当然不是在这个文件中直接修改，而是放到&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: &amp;quot;Source Code Pro&amp;quot;, monospace, Helvetica, Tahoma, Arial, STXihei, &amp;quot;STHeiti Light&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; font-size: 0.9375rem; background: rgb(254, 250, 199); color: rgb(230, 116, 116); word-break: break-word; padding: 2px; text-shadow: none; border-radius: 5px;&quot;&gt;lib.config&lt;/code&gt;当中做调整。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p style=&quot;box-sizing: border-box; margin-bottom: 1.5em; cursor: url(&amp;quot;https://fastly.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/texto.cur&amp;quot;), auto; transition: color 1s; color: rgb(121, 121, 121); line-height: 30px;&quot;&gt;在编译的镜像中运行自定义命令&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-bottom: 1.5em; cursor: url(&amp;quot;https://fastly.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/texto.cur&amp;quot;), auto; transition: color 1s; color: rgb(121, 121, 121); line-height: 30px;&quot;&gt;方法是在&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: &amp;quot;Source Code Pro&amp;quot;, monospace, Helvetica, Tahoma, Arial, STXihei, &amp;quot;STHeiti Light&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; font-size: 0.9375rem; background: rgb(254, 250, 199); color: rgb(230, 116, 116); word-break: break-word; padding: 2px; text-shadow: none; border-radius: 5px;&quot;&gt;userpatches&lt;/code&gt;&amp;nbsp;目录中创建脚本文件&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: &amp;quot;Source Code Pro&amp;quot;, monospace, Helvetica, Tahoma, Arial, STXihei, &amp;quot;STHeiti Light&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; font-size: 0.9375rem; background: rgb(254, 250, 199); color: rgb(230, 116, 116); word-break: break-word; padding: 2px; text-shadow: none; border-radius: 5px;&quot;&gt;customize-image.sh&lt;/code&gt;，写入需要执行的命令，这些命令是在 chroot 环境中运行的，该脚本文件是在编译完成后并在生成最终目标镜像之前被执行。如果要复制文件到镜像中，需要将文件放在&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: &amp;quot;Source Code Pro&amp;quot;, monospace, Helvetica, Tahoma, Arial, STXihei, &amp;quot;STHeiti Light&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; font-size: 0.9375rem; background: rgb(254, 250, 199); color: rgb(230, 116, 116); word-break: break-word; padding: 2px; text-shadow: none; border-radius: 5px;&quot;&gt;userpatches/overlay&lt;/code&gt;下，然后在&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: &amp;quot;Source Code Pro&amp;quot;, monospace, Helvetica, Tahoma, Arial, STXihei, &amp;quot;STHeiti Light&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; font-size: 0.9375rem; background: rgb(254, 250, 199); color: rgb(230, 116, 116); word-break: break-word; padding: 2px; text-shadow: none; border-radius: 5px;&quot;&gt;customize-image.sh&lt;/code&gt;&amp;nbsp;通过&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: &amp;quot;Source Code Pro&amp;quot;, monospace, Helvetica, Tahoma, Arial, STXihei, &amp;quot;STHeiti Light&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; font-size: 0.9375rem; background: rgb(254, 250, 199); color: rgb(230, 116, 116); word-break: break-word; padding: 2px; text-shadow: none; border-radius: 5px;&quot;&gt;/tmp/overlay&lt;/code&gt;&amp;nbsp;路径进行访问。官方提供了一个模版可以参考，下面是我列出的一些常用命令：&lt;/p&gt;&lt;pre class=&quot;highlight-wrap&quot; autocomplete=&quot;off&quot; autocorrect=&quot;off&quot; autocapitalize=&quot;off&quot; spellcheck=&quot;false&quot; contenteditable=&quot;false&quot; design=&quot;by Mashiro&quot; style=&quot;box-sizing: border-box; overflow: auto; 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; line-height: 1.6; font-family: &amp;quot;Microsoft YaHei&amp;quot;, Arial, sans-serif; background-color: rgb(33, 37, 43); border-radius: 5px; margin-bottom: 1.6em; max-width: 100%; text-shadow: none; color: rgb(0, 0, 0); position: relative; padding-top: 30px; box-shadow: rgba(0, 0, 0, 0.4) 0px 10px 30px 0px;&quot;&gt;#!/bin/bash#&amp;nbsp;安装常用软件apt-get&amp;nbsp;updateapt-get&amp;nbsp;install&amp;nbsp;-y&amp;nbsp;apt-transport-https&amp;nbsp;ca-certificates&amp;nbsp;\curl&amp;nbsp;gnupg&amp;nbsp;lsb-release&amp;nbsp;pciutils&amp;nbsp;net-tools&amp;nbsp;iperf3&amp;nbsp;zip&amp;nbsp;unzip&amp;nbsp;\ntpdate&amp;nbsp;iputils-ping&amp;nbsp;vim&amp;nbsp;iftop&amp;nbsp;iotop&amp;nbsp;mtr&amp;nbsp;wget&amp;nbsp;sudo&amp;nbsp;qrencode&amp;nbsp;\python3&amp;nbsp;python3-pip&amp;nbsp;python3-venv#&amp;nbsp;修改默认&amp;nbsp;Python&amp;nbsp;版本ln&amp;nbsp;-s&amp;nbsp;/usr/bin/python3&amp;nbsp;/usr/bin/python#&amp;nbsp;安装&amp;nbsp;Dockercurl&amp;nbsp;-fsSL&amp;nbsp;https://download.docker.com/linux/debian/gpg&amp;nbsp;|&amp;nbsp;gpg&amp;nbsp;--dearmor&amp;nbsp;-o&amp;nbsp;/usr/share/keyrings/docker-archive-keyring.gpgecho&amp;nbsp;&amp;quot;deb&amp;nbsp;[arch=$(dpkg&amp;nbsp;--print-architecture)&amp;nbsp;signed-by=/usr/share/keyrings/docker-archive-keyring.gpg]&amp;nbsp;https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/debian&amp;nbsp;$(lsb_release&amp;nbsp;-cs)&amp;nbsp;stable&amp;quot;&amp;nbsp;|&amp;nbsp;tee&amp;nbsp;/etc/apt/sources.list.d/docker.list&amp;nbsp;&amp;gt;/dev/nullapt-get&amp;nbsp;updateapt-get&amp;nbsp;install&amp;nbsp;-y&amp;nbsp;docker-ce&amp;nbsp;docker-ce-cli&amp;nbsp;containerd.io&amp;nbsp;docker-compose-pluginsystemctl&amp;nbsp;enable&amp;nbsp;docker&amp;nbsp;--nowmkdir&amp;nbsp;/etc/dockercat&amp;nbsp;&amp;gt;/etc/docker/daemon.json&amp;nbsp;&amp;lt;&amp;lt;&amp;#39;EOF&amp;#39;{&amp;quot;log-driver&amp;quot;:&amp;nbsp;&amp;quot;json-file&amp;quot;,&amp;quot;log-opts&amp;quot;:&amp;nbsp;{&amp;quot;max-size&amp;quot;:&amp;nbsp;&amp;quot;10m&amp;quot;,&amp;quot;max-file&amp;quot;:&amp;nbsp;&amp;quot;1&amp;quot;},&amp;quot;storage-driver&amp;quot;:&amp;nbsp;&amp;quot;overlay2&amp;quot;}EOFsystemctl&amp;nbsp;daemon-reloadsystemctl&amp;nbsp;restart&amp;nbsp;docker#&amp;nbsp;取消首次登录创建新用户步骤并修改&amp;nbsp;root&amp;nbsp;用户密码##&amp;nbsp;不修改的默认用户密码是&amp;nbsp;root/1234rm&amp;nbsp;-f&amp;nbsp;/root/.not_logged_in_yetecho&amp;nbsp;&amp;quot;root:1234567&amp;quot;&amp;nbsp;|&amp;nbsp;chpasswd##&amp;nbsp;关闭&amp;nbsp;root&amp;nbsp;用户终端自动登陆rm&amp;nbsp;-f&amp;nbsp;/etc/systemd/system/getty@.service.d/override.confrm&amp;nbsp;-f&amp;nbsp;/etc/systemd/system/serial-getty@.service.d/override.confsystemctl&amp;nbsp;daemon-reload#&amp;nbsp;设置开机自启脚本（脚本文件自行创建）mv&amp;nbsp;/tmp/overlay/init.sh&amp;nbsp;/rootchmod&amp;nbsp;+x&amp;nbsp;/root/init.sh##&amp;nbsp;将要开机执行的命令添加到&amp;nbsp;/etc/rc.local&amp;nbsp;中&amp;nbsp;&amp;#39;exit&amp;nbsp;0&amp;#39;&amp;nbsp;的上面即可sed&amp;nbsp;-i&amp;nbsp;&amp;#39;s/^exit&amp;nbsp;0$//g&amp;#39;&amp;nbsp;/etc/rc.localcat&amp;nbsp;&amp;gt;&amp;gt;/etc/rc.local&amp;nbsp;&amp;lt;&amp;lt;&amp;#39;EOF&amp;#39;bash&amp;nbsp;/root/init.shexit&amp;nbsp;0EOFchmod&amp;nbsp;a+x&amp;nbsp;/etc/rc.localsystemctl&amp;nbsp;enable&amp;nbsp;rc-local#&amp;nbsp;清理缓存apt&amp;nbsp;autoremove&amp;nbsp;-y&amp;nbsp;&amp;amp;&amp;amp;&amp;nbsp;apt&amp;nbsp;autoclean&amp;nbsp;&amp;amp;&amp;amp;&amp;nbsp;apt&amp;nbsp;remove&amp;nbsp;-y&amp;nbsp;&amp;amp;&amp;amp;&amp;nbsp;apt&amp;nbsp;clean&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;实现 EMMC 自动写入&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-bottom: 1.5em; cursor: url(&amp;quot;https://fastly.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/texto.cur&amp;quot;), auto; transition: color 1s; color: rgb(121, 121, 121); line-height: 30px;&quot;&gt;默认不会自动写入 EMMC，系统需要插着U盘才能使用，手动写入需要进入系统执行&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: &amp;quot;Source Code Pro&amp;quot;, monospace, Helvetica, Tahoma, Arial, STXihei, &amp;quot;STHeiti Light&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; font-size: 0.9375rem; background: rgb(254, 250, 199); color: rgb(230, 116, 116); word-break: break-word; padding: 2px; text-shadow: none; border-radius: 5px;&quot;&gt;armbian-install&lt;/code&gt;&amp;nbsp;命令然后根据提示操作，要实现自动写入则需要利用上方创建的&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: &amp;quot;Source Code Pro&amp;quot;, monospace, Helvetica, Tahoma, Arial, STXihei, &amp;quot;STHeiti Light&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; font-size: 0.9375rem; background: rgb(254, 250, 199); color: rgb(230, 116, 116); word-break: break-word; padding: 2px; text-shadow: none; border-radius: 5px;&quot;&gt;init.sh&lt;/code&gt;&amp;nbsp;开机自启脚本，脚本内容如下，详见注释：&lt;/p&gt;&lt;pre class=&quot;highlight-wrap&quot; autocomplete=&quot;off&quot; autocorrect=&quot;off&quot; autocapitalize=&quot;off&quot; spellcheck=&quot;false&quot; contenteditable=&quot;false&quot; design=&quot;by Mashiro&quot; style=&quot;box-sizing: border-box; overflow: auto; 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; line-height: 1.6; font-family: &amp;quot;Microsoft YaHei&amp;quot;, Arial, sans-serif; background-color: rgb(33, 37, 43); border-radius: 5px; margin-bottom: 1.6em; max-width: 100%; text-shadow: none; color: rgb(0, 0, 0); position: relative; padding-top: 30px; box-shadow: rgba(0, 0, 0, 0.4) 0px 10px 30px 0px;&quot;&gt;#!/bin/bash#&amp;nbsp;1.写入EMMClsblk&amp;nbsp;-o&amp;nbsp;NAME,MOUNTPOINT&amp;nbsp;|&amp;nbsp;grep&amp;nbsp;-E&amp;nbsp;&amp;#39;mmcblk[0-9]p[0-9]&amp;#39;&amp;nbsp;|&amp;nbsp;sed&amp;nbsp;&amp;#39;s/├─//g;s/└─//g&amp;#39;&amp;nbsp;|&amp;nbsp;awk&amp;nbsp;&amp;#39;{print&amp;nbsp;$1}&amp;#39;&amp;nbsp;|&amp;nbsp;xargs&amp;nbsp;-I{}&amp;nbsp;mkfs.ext4&amp;nbsp;/dev/{}echo&amp;nbsp;-e&amp;nbsp;&amp;quot;101\n1&amp;quot;&amp;nbsp;|&amp;nbsp;(/usr/sbin/armbian-install)&amp;nbsp;#&amp;nbsp;斐讯N1为例，其他设备需要修改101为对应选项#&amp;nbsp;2.写入初始化脚本ROOTFS=$(lsblk&amp;nbsp;-o&amp;nbsp;NAME,MOUNTPOINT&amp;nbsp;|&amp;nbsp;grep&amp;nbsp;-E&amp;nbsp;&amp;#39;mmcblk[0-9]p2&amp;#39;&amp;nbsp;|&amp;nbsp;sed&amp;nbsp;&amp;#39;s/├─//g;s/└─//g&amp;#39;&amp;nbsp;|&amp;nbsp;awk&amp;nbsp;&amp;#39;{print&amp;nbsp;$1}&amp;#39;)mount&amp;nbsp;/dev/${ROOTFS}&amp;nbsp;/mntcat&amp;nbsp;&amp;gt;/mnt/root/init.sh&amp;nbsp;&amp;lt;&amp;lt;&amp;#39;EEE&amp;#39;#!/bin/bash#DEL&amp;nbsp;BEGIN##&amp;nbsp;1.修改&amp;nbsp;DNScat&amp;nbsp;&amp;gt;/etc/resolv.conf&amp;nbsp;&amp;lt;&amp;lt;&amp;#39;EOF&amp;#39;nameserver&amp;nbsp;114.114.114.114nameserver&amp;nbsp;119.29.29.29nameserver&amp;nbsp;223.5.5.5EOF##&amp;nbsp;2.修改默认SSH端口sed&amp;nbsp;-i&amp;nbsp;&amp;#39;s/Port&amp;nbsp;22/Port&amp;nbsp;60001/g&amp;#39;&amp;nbsp;/etc/ssh/sshd_configsystemctl&amp;nbsp;restart&amp;nbsp;sshd##&amp;nbsp;3.删除环境初始化sed&amp;nbsp;-i&amp;nbsp;&amp;#39;/#DEL&amp;nbsp;BEGIN/,/#DEL&amp;nbsp;END/d&amp;#39;&amp;nbsp;/root/init.sh#DEL&amp;nbsp;END#&amp;nbsp;3.提示信息clearecho&amp;nbsp;-e&amp;nbsp;&amp;quot;\033[33mThe&amp;nbsp;system&amp;nbsp;will&amp;nbsp;automatically&amp;nbsp;shut&amp;nbsp;down&amp;nbsp;within&amp;nbsp;10&amp;nbsp;seconds\033[0m&amp;quot;echo&amp;nbsp;-e&amp;nbsp;&amp;quot;\033[33mPlease&amp;nbsp;remove&amp;nbsp;the&amp;nbsp;USB&amp;nbsp;flash&amp;nbsp;drive&amp;nbsp;after&amp;nbsp;the&amp;nbsp;system&amp;nbsp;shuts&amp;nbsp;down\033[0m&amp;quot;echo&amp;nbsp;-e&amp;nbsp;&amp;quot;\033[33mPlease&amp;nbsp;remove&amp;nbsp;the&amp;nbsp;USB&amp;nbsp;flash&amp;nbsp;drive&amp;nbsp;after&amp;nbsp;the&amp;nbsp;system&amp;nbsp;shuts&amp;nbsp;down\033[0m&amp;quot;echo&amp;nbsp;-e&amp;nbsp;&amp;quot;\033[33mPlease&amp;nbsp;remove&amp;nbsp;the&amp;nbsp;USB&amp;nbsp;flash&amp;nbsp;drive&amp;nbsp;after&amp;nbsp;the&amp;nbsp;system&amp;nbsp;shuts&amp;nbsp;down\033[0m&amp;quot;echo&amp;nbsp;-e&amp;nbsp;&amp;quot;\033[33mPlease&amp;nbsp;remove&amp;nbsp;the&amp;nbsp;USB&amp;nbsp;flash&amp;nbsp;drive&amp;nbsp;after&amp;nbsp;the&amp;nbsp;system&amp;nbsp;shuts&amp;nbsp;down\033[0m&amp;quot;echo&amp;nbsp;-e&amp;nbsp;&amp;quot;\033[33mPlease&amp;nbsp;remove&amp;nbsp;the&amp;nbsp;USB&amp;nbsp;flash&amp;nbsp;drive&amp;nbsp;after&amp;nbsp;the&amp;nbsp;system&amp;nbsp;shuts&amp;nbsp;down\033[0m&amp;quot;echo&amp;nbsp;-e&amp;nbsp;&amp;quot;\033[33mPlease&amp;nbsp;remove&amp;nbsp;the&amp;nbsp;USB&amp;nbsp;flash&amp;nbsp;drive&amp;nbsp;after&amp;nbsp;the&amp;nbsp;system&amp;nbsp;shuts&amp;nbsp;down\033[0m&amp;quot;echo&amp;nbsp;-e&amp;nbsp;&amp;quot;\033[33mPlease&amp;nbsp;remove&amp;nbsp;the&amp;nbsp;USB&amp;nbsp;flash&amp;nbsp;drive&amp;nbsp;after&amp;nbsp;the&amp;nbsp;system&amp;nbsp;shuts&amp;nbsp;down\033[0m&amp;quot;echo&amp;nbsp;-e&amp;nbsp;&amp;quot;\033[33mPlease&amp;nbsp;remove&amp;nbsp;the&amp;nbsp;USB&amp;nbsp;flash&amp;nbsp;drive&amp;nbsp;after&amp;nbsp;the&amp;nbsp;system&amp;nbsp;shuts&amp;nbsp;down\033[0m&amp;quot;echo&amp;nbsp;-e&amp;nbsp;&amp;quot;\033[33mPlease&amp;nbsp;remove&amp;nbsp;the&amp;nbsp;USB&amp;nbsp;flash&amp;nbsp;drive&amp;nbsp;after&amp;nbsp;the&amp;nbsp;system&amp;nbsp;shuts&amp;nbsp;down\033[0m&amp;quot;echo&amp;nbsp;-e&amp;nbsp;&amp;quot;\033[33mPlease&amp;nbsp;remove&amp;nbsp;the&amp;nbsp;USB&amp;nbsp;flash&amp;nbsp;drive&amp;nbsp;after&amp;nbsp;the&amp;nbsp;system&amp;nbsp;shuts&amp;nbsp;down\033[0m&amp;quot;sleep&amp;nbsp;10poweroff&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;其他自定义需求&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-bottom: 1.5em; cursor: url(&amp;quot;https://fastly.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/texto.cur&amp;quot;), auto; transition: color 1s; color: rgb(121, 121, 121); line-height: 30px;&quot;&gt;官方文档的&lt;a class=&quot;wp-editor-md-post-content-link&quot; href=&quot;https://docs.armbian.com/Developer-Guide_User-Configurations/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot; style=&quot;box-sizing: border-box; background-color: transparent; text-decoration-style: dotted; text-decoration-color: rgba(0, 0, 0, 0.1); cursor: url(&amp;quot;https://fastly.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/ayuda.cur&amp;quot;), auto; color: rgb(230, 116, 116); outline: 0px; transition: color 0.2s ease-out, border 0.2s ease-out, opacity 0.2s ease-out;&quot;&gt;这个页面&lt;/a&gt;有很详细的说明&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;h4 id=&quot;toc-head-5&quot; style=&quot;box-sizing: border-box; clear: both; padding-left: 16px; color: rgb(64, 64, 64); font-family: &amp;quot;HarmonyOS Sans SC&amp;quot;, &amp;quot;Noto Serif SC&amp;quot;, &amp;quot;Source Han Serif SC&amp;quot;, &amp;quot;Source Han Serif&amp;quot;, source-han-serif-sc, &amp;quot;PT Serif&amp;quot;, &amp;quot;SongTi SC&amp;quot;, &amp;quot;MicroSoft Yahei&amp;quot;, Georgia, serif; font-size: 15px; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.8);&quot;&gt;开始编译&lt;/h4&gt;&lt;p style=&quot;box-sizing: border-box; margin-bottom: 1.5em; cursor: url(&amp;quot;https://fastly.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/texto.cur&amp;quot;), auto; transition: color 1s; color: rgb(121, 121, 121); line-height: 30px; font-family: &amp;quot;HarmonyOS Sans SC&amp;quot;, &amp;quot;Noto Serif SC&amp;quot;, &amp;quot;Source Han Serif SC&amp;quot;, &amp;quot;Source Han Serif&amp;quot;, source-han-serif-sc, &amp;quot;PT Serif&amp;quot;, &amp;quot;SongTi SC&amp;quot;, &amp;quot;MicroSoft Yahei&amp;quot;, Georgia, serif; font-size: 15px; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.8);&quot;&gt;编译速度取决于你的机器 CPU 性能和核心数&lt;/p&gt;&lt;pre class=&quot;highlight-wrap&quot; autocomplete=&quot;off&quot; autocorrect=&quot;off&quot; autocapitalize=&quot;off&quot; spellcheck=&quot;false&quot; contenteditable=&quot;false&quot; design=&quot;by Mashiro&quot; style=&quot;box-sizing: border-box; overflow: auto; 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: 15px; line-height: 1.6; font-family: &amp;quot;Microsoft YaHei&amp;quot;, Arial, sans-serif; background-color: rgb(33, 37, 43); border-radius: 5px; margin-bottom: 1.6em; max-width: 100%; text-shadow: none; position: relative; padding-top: 30px; box-shadow: rgba(0, 0, 0, 0.4) 0px 10px 30px 0px;&quot;&gt;#&amp;nbsp;RELEASE:&amp;nbsp;bullseye&amp;nbsp;代表&amp;nbsp;Debian&amp;nbsp;11，jammy&amp;nbsp;代表&amp;nbsp;Ubuntu&amp;nbsp;22，其他参数不要修改./compile.sh&amp;nbsp;RELEASE=bullseye&amp;nbsp;BUILD_MINIMAL=no&amp;nbsp;\BOARD=odroidn2&amp;nbsp;BRANCH=current&amp;nbsp;BUILD_ONLY=default&amp;nbsp;HOST=armbian&amp;nbsp;BUILD_DESKTOP=no&amp;nbsp;EXPERT=yes&amp;nbsp;\KERNEL_CONFIGURE=no&amp;nbsp;CLEAN_LEVEL=&amp;quot;make,cache,alldebs,sources&amp;quot;&amp;nbsp;COMPRESS_OUTPUTIMAGE=&amp;quot;sha&amp;quot;&lt;/pre&gt;&lt;p style=&quot;box-sizing: border-box; margin-bottom: 1.5em; cursor: url(&amp;quot;https://fastly.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/texto.cur&amp;quot;), auto; transition: color 1s; color: rgb(121, 121, 121); line-height: 30px; font-family: &amp;quot;HarmonyOS Sans SC&amp;quot;, &amp;quot;Noto Serif SC&amp;quot;, &amp;quot;Source Han Serif SC&amp;quot;, &amp;quot;Source Han Serif&amp;quot;, source-han-serif-sc, &amp;quot;PT Serif&amp;quot;, &amp;quot;SongTi SC&amp;quot;, &amp;quot;MicroSoft Yahei&amp;quot;, Georgia, serif; font-size: 15px; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.8);&quot;&gt;完整参数列表参考：https://docs.armbian.com/Developer-Guide_Build-Options/&lt;/p&gt;&lt;h3 id=&quot;toc-head-6&quot; style=&quot;box-sizing: border-box; clear: both; padding-left: 16px; padding-bottom: 8px; border-bottom: 1px dashed rgb(221, 221, 221); color: rgb(115, 115, 115); font-family: &amp;quot;HarmonyOS Sans SC&amp;quot;, &amp;quot;Noto Serif SC&amp;quot;, &amp;quot;Source Han Serif SC&amp;quot;, &amp;quot;Source Han Serif&amp;quot;, source-han-serif-sc, &amp;quot;PT Serif&amp;quot;, &amp;quot;SongTi SC&amp;quot;, &amp;quot;MicroSoft Yahei&amp;quot;, Georgia, serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.8);&quot;&gt;打包镜像&lt;/h3&gt;&lt;p style=&quot;box-sizing: border-box; margin-bottom: 1.5em; cursor: url(&amp;quot;https://fastly.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/texto.cur&amp;quot;), auto; transition: color 1s; color: rgb(121, 121, 121); line-height: 30px; font-family: &amp;quot;HarmonyOS Sans SC&amp;quot;, &amp;quot;Noto Serif SC&amp;quot;, &amp;quot;Source Han Serif SC&amp;quot;, &amp;quot;Source Han Serif&amp;quot;, source-han-serif-sc, &amp;quot;PT Serif&amp;quot;, &amp;quot;SongTi SC&amp;quot;, &amp;quot;MicroSoft Yahei&amp;quot;, Georgia, serif; font-size: 15px; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.8);&quot;&gt;编译成功的镜像文件不能直接写到U盘去引导，因为只有一个根文件系统，N1 的引导需要有引导分区和根文件系统分区，所以需要重新打包可引导的映像。&lt;/p&gt;&lt;ol style=&quot;box-sizing: border-box; margin-bottom: 1.5em; list-style-position: initial; list-style-image: initial; transition: color 1s; border: 1px dashed rgb(228, 228, 228); padding: 15px 10px 15px 50px; color: rgb(97, 97, 97); border-radius: 10px; font-family: &amp;quot;HarmonyOS Sans SC&amp;quot;, &amp;quot;Noto Serif SC&amp;quot;, &amp;quot;Source Han Serif SC&amp;quot;, &amp;quot;Source Han Serif&amp;quot;, source-han-serif-sc, &amp;quot;PT Serif&amp;quot;, &amp;quot;SongTi SC&amp;quot;, &amp;quot;MicroSoft Yahei&amp;quot;, Georgia, serif; font-size: 15px; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.8);&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;拉取源码&lt;/p&gt;&lt;pre class=&quot;highlight-wrap&quot; autocomplete=&quot;off&quot; autocorrect=&quot;off&quot; autocapitalize=&quot;off&quot; spellcheck=&quot;false&quot; contenteditable=&quot;false&quot; design=&quot;by Mashiro&quot; style=&quot;box-sizing: border-box; overflow: auto; 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; line-height: 1.6; font-family: &amp;quot;Microsoft YaHei&amp;quot;, Arial, sans-serif; background-color: rgb(33, 37, 43); border-radius: 5px; margin-bottom: 1.6em; max-width: 100%; text-shadow: none; color: rgb(0, 0, 0); position: relative; padding-top: 30px; box-shadow: rgba(0, 0, 0, 0.4) 0px 10px 30px 0px;&quot;&gt;#&amp;nbsp;拉取源码git&amp;nbsp;clone&amp;nbsp;https://github.com/ophub/amlogic-s9xxx-armbian.git#&amp;nbsp;进入&amp;nbsp;amlogic-s9xxx-armbian&amp;nbsp;根目录cd&amp;nbsp;amlogic-s9xxx-armbian&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;打包镜像&lt;/p&gt;&lt;pre class=&quot;highlight-wrap&quot; autocomplete=&quot;off&quot; autocorrect=&quot;off&quot; autocapitalize=&quot;off&quot; spellcheck=&quot;false&quot; contenteditable=&quot;false&quot; design=&quot;by Mashiro&quot; style=&quot;box-sizing: border-box; overflow: auto; 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; line-height: 1.6; font-family: &amp;quot;Microsoft YaHei&amp;quot;, Arial, sans-serif; background-color: rgb(33, 37, 43); border-radius: 5px; margin-bottom: 1.6em; max-width: 100%; text-shadow: none; color: rgb(0, 0, 0); position: relative; padding-top: 30px; box-shadow: rgba(0, 0, 0, 0.4) 0px 10px 30px 0px;&quot;&gt;#&amp;nbsp;在&amp;nbsp;amlogic-s9xxx-armbian&amp;nbsp;目录下创建文件夹&amp;nbsp;build/output/imagesmkdir&amp;nbsp;-p&amp;nbsp;build/output/images#&amp;nbsp;拷贝上面编译好的&amp;nbsp;Armbian&amp;nbsp;镜像到&amp;nbsp;amlogic-s9xxx-armbian/build/output/images&amp;nbsp;目录里##&amp;nbsp;Armbian&amp;nbsp;镜像文件名称中的发行版本号（如：21.11.0）和内核版本号（如：5.15.50）请保留，它将在重构后用作&amp;nbsp;Armbian&amp;nbsp;固件的名称##&amp;nbsp;进入&amp;nbsp;amlogic-s9xxx-armbian&amp;nbsp;根目录，然后运行如下命令即可生成指定&amp;nbsp;board&amp;nbsp;的&amp;nbsp;Armbian&amp;nbsp;镜像文件sudo&amp;nbsp;./rebuild&amp;nbsp;-b&amp;nbsp;s905d&amp;nbsp;-k&amp;nbsp;6.1.21&lt;/pre&gt;&lt;p style=&quot;box-sizing: border-box; margin-bottom: 1.5em; cursor: url(&amp;quot;https://fastly.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/texto.cur&amp;quot;), auto; transition: color 1s; color: rgb(121, 121, 121); line-height: 30px;&quot;&gt;打包参数说明：&lt;a class=&quot;wp-editor-md-post-content-link&quot; href=&quot;https://github.com/ophub/amlogic-s9xxx-armbian/blob/main/README.cn.md#%E6%9C%AC%E5%9C%B0%E5%8C%96%E6%89%93%E5%8C%85&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot; style=&quot;box-sizing: border-box; background-color: transparent; text-decoration-style: dotted; text-decoration-color: rgba(0, 0, 0, 0.1); cursor: url(&amp;quot;https://fastly.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/ayuda.cur&amp;quot;), auto; color: rgb(230, 116, 116); outline: 0px; transition: color 0.2s ease-out, border 0.2s ease-out, opacity 0.2s ease-out;&quot;&gt;本地化打包说明&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p style=&quot;box-sizing: border-box; margin-bottom: 1.5em; cursor: url(&amp;quot;https://fastly.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/texto.cur&amp;quot;), auto; transition: color 1s; color: rgb(121, 121, 121); line-height: 30px;&quot;&gt;至此，镜像编译完成，新的镜像同样保存在&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: &amp;quot;Source Code Pro&amp;quot;, monospace, Helvetica, Tahoma, Arial, STXihei, &amp;quot;STHeiti Light&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; font-size: 0.9375rem; background: rgb(254, 250, 199); color: rgb(230, 116, 116); word-break: break-word; padding: 2px; text-shadow: none; border-radius: 5px;&quot;&gt;build/output/images&lt;/code&gt;&amp;nbsp;目录&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;h3 id=&quot;toc-head-7&quot; style=&quot;box-sizing: border-box; clear: both; padding-left: 16px; padding-bottom: 8px; border-bottom: 1px dashed rgb(221, 221, 221); color: rgb(115, 115, 115); font-family: &amp;quot;HarmonyOS Sans SC&amp;quot;, &amp;quot;Noto Serif SC&amp;quot;, &amp;quot;Source Han Serif SC&amp;quot;, &amp;quot;Source Han Serif&amp;quot;, source-han-serif-sc, &amp;quot;PT Serif&amp;quot;, &amp;quot;SongTi SC&amp;quot;, &amp;quot;MicroSoft Yahei&amp;quot;, Georgia, serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.8);&quot;&gt;编辑镜像&lt;/h3&gt;&lt;p style=&quot;box-sizing: border-box; margin-bottom: 1.5em; cursor: url(&amp;quot;https://fastly.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/texto.cur&amp;quot;), auto; transition: color 1s; color: rgb(121, 121, 121); line-height: 30px; font-family: &amp;quot;HarmonyOS Sans SC&amp;quot;, &amp;quot;Noto Serif SC&amp;quot;, &amp;quot;Source Han Serif SC&amp;quot;, &amp;quot;Source Han Serif&amp;quot;, source-han-serif-sc, &amp;quot;PT Serif&amp;quot;, &amp;quot;SongTi SC&amp;quot;, &amp;quot;MicroSoft Yahei&amp;quot;, Georgia, serif; font-size: 15px; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.8);&quot;&gt;涉及镜像文件内容变更时，不需要重新编译镜像，直接挂载编辑镜像文件即可。&lt;/p&gt;&lt;ol style=&quot;box-sizing: border-box; margin-bottom: 1.5em; list-style-position: initial; list-style-image: initial; transition: color 1s; border: 1px dashed rgb(228, 228, 228); padding: 15px 10px 15px 50px; color: rgb(97, 97, 97); border-radius: 10px; font-family: &amp;quot;HarmonyOS Sans SC&amp;quot;, &amp;quot;Noto Serif SC&amp;quot;, &amp;quot;Source Han Serif SC&amp;quot;, &amp;quot;Source Han Serif&amp;quot;, source-han-serif-sc, &amp;quot;PT Serif&amp;quot;, &amp;quot;SongTi SC&amp;quot;, &amp;quot;MicroSoft Yahei&amp;quot;, Georgia, serif; font-size: 15px; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.8);&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;解压已经打包好的镜像，查看镜像分区信息&lt;/p&gt;&lt;pre class=&quot;highlight-wrap&quot; autocomplete=&quot;off&quot; autocorrect=&quot;off&quot; autocapitalize=&quot;off&quot; spellcheck=&quot;false&quot; contenteditable=&quot;false&quot; design=&quot;by Mashiro&quot; style=&quot;box-sizing: border-box; overflow: auto; 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; line-height: 1.6; font-family: &amp;quot;Microsoft YaHei&amp;quot;, Arial, sans-serif; background-color: rgb(33, 37, 43); border-radius: 5px; margin-bottom: 1.6em; max-width: 100%; text-shadow: none; color: rgb(0, 0, 0); position: relative; padding-top: 30px; box-shadow: rgba(0, 0, 0, 0.4) 0px 10px 30px 0px;&quot;&gt;#&amp;nbsp;使用下方命令可以查看镜像分区信息fdisk&amp;nbsp;-l&amp;nbsp;filename.img&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;挂载 img 系统镜像分区&lt;/p&gt;&lt;pre class=&quot;highlight-wrap&quot; autocomplete=&quot;off&quot; autocorrect=&quot;off&quot; autocapitalize=&quot;off&quot; spellcheck=&quot;false&quot; contenteditable=&quot;false&quot; design=&quot;by Mashiro&quot; style=&quot;box-sizing: border-box; overflow: auto; 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; line-height: 1.6; font-family: &amp;quot;Microsoft YaHei&amp;quot;, Arial, sans-serif; background-color: rgb(33, 37, 43); border-radius: 5px; margin-bottom: 1.6em; max-width: 100%; text-shadow: none; color: rgb(0, 0, 0); position: relative; padding-top: 30px; box-shadow: rgba(0, 0, 0, 0.4) 0px 10px 30px 0px;&quot;&gt;#&amp;nbsp;查询下一个可用&amp;nbsp;loop&amp;nbsp;设备文件，假设是&amp;nbsp;/dev/loop0losetup&amp;nbsp;-f#&amp;nbsp;使用&amp;nbsp;losetup&amp;nbsp;-P&amp;nbsp;参数挂载&amp;nbsp;img&amp;nbsp;文件losetup&amp;nbsp;-P&amp;nbsp;/dev/loop0&amp;nbsp;filename.imglsblk#&amp;nbsp;一般会有两个分区，分别为启动分区和文件系统分区mkdir&amp;nbsp;bootmkdir&amp;nbsp;rootfsmount&amp;nbsp;/dev/loop0p1&amp;nbsp;./boot/mount&amp;nbsp;/dev/loop0p2&amp;nbsp;./rootfs/#&amp;nbsp;现在就可以根据需要修改镜像了，可执行文件别忘了赋权&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;编辑完成后，卸载镜像&lt;/p&gt;&lt;pre class=&quot;highlight-wrap&quot; autocomplete=&quot;off&quot; autocorrect=&quot;off&quot; autocapitalize=&quot;off&quot; spellcheck=&quot;false&quot; contenteditable=&quot;false&quot; design=&quot;by Mashiro&quot; style=&quot;box-sizing: border-box; overflow: auto; 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; line-height: 1.6; font-family: &amp;quot;Microsoft YaHei&amp;quot;, Arial, sans-serif; background-color: rgb(33, 37, 43); border-radius: 5px; margin-bottom: 1.6em; max-width: 100%; text-shadow: none; color: rgb(0, 0, 0); position: relative; padding-top: 30px; box-shadow: rgba(0, 0, 0, 0.4) 0px 10px 30px 0px;&quot;&gt;umount&amp;nbsp;/dev/loop0p1umount&amp;nbsp;/dev/loop0p2losetup&amp;nbsp;-d&amp;nbsp;/dev/loop0#&amp;nbsp;重新压缩gzip&amp;nbsp;filename.img&lt;/pre&gt;&lt;/li&gt;&lt;/ol&gt;&lt;h3 id=&quot;toc-head-8&quot; style=&quot;box-sizing: border-box; clear: both; padding-left: 16px; padding-bottom: 8px; border-bottom: 1px dashed rgb(221, 221, 221); color: rgb(115, 115, 115); font-family: &amp;quot;HarmonyOS Sans SC&amp;quot;, &amp;quot;Noto Serif SC&amp;quot;, &amp;quot;Source Han Serif SC&amp;quot;, &amp;quot;Source Han Serif&amp;quot;, source-han-serif-sc, &amp;quot;PT Serif&amp;quot;, &amp;quot;SongTi SC&amp;quot;, &amp;quot;MicroSoft Yahei&amp;quot;, Georgia, serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.8);&quot;&gt;参考文档&lt;/h3&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Sun, 27 Oct 2024 17:37:08 +0800</pubDate></item><item><title>一个golang写的探测网关是否支持UPNP的代码</title><link>https://www.stephenwxf.com/post/211.html</link><description>&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;package main&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;import (&lt;/span&gt;&lt;/p&gt;&lt;p&gt;	&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;&amp;quot;fmt&amp;quot;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;	&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;&amp;quot;log&amp;quot;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;	&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;&amp;quot;github.com/huin/goupnp&amp;quot;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;	&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;&amp;quot;github.com/huin/goupnp/dcps/internetgateway1&amp;quot;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;func main() {&lt;/span&gt;&lt;/p&gt;&lt;p&gt;	&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;// 发现UPnP网关设备&lt;/span&gt;&lt;/p&gt;&lt;p&gt;	&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;devices, err := goupnp.DiscoverDevices(internetgateway1.URN_WANConnectionDevice_1)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;	&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;if err != nil {&lt;/span&gt;&lt;/p&gt;&lt;p&gt;		&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;log.Fatalf(&amp;quot;发现UPnP设备失败: %v&amp;quot;, err)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;	&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;}&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;	&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;if len(devices) == 0 {&lt;/span&gt;&lt;/p&gt;&lt;p&gt;		&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;fmt.Println(&amp;quot;未找到支持UPnP的网关设备&amp;quot;)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;		&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;return&lt;/span&gt;&lt;/p&gt;&lt;p&gt;	&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;}&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;	&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;fmt.Printf(&amp;quot;找到 %d 个UPnP网关设备\n&amp;quot;, len(devices))&lt;/span&gt;&lt;/p&gt;&lt;p&gt;	&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;for _, dev := range devices {&lt;/span&gt;&lt;/p&gt;&lt;p&gt;		&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;// 获取WAN IP连接服务&lt;/span&gt;&lt;/p&gt;&lt;p&gt;		&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;clients, _, err := internetgateway1.NewWANIPConnection1ClientsByURL(dev.Location)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;		&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;if err != nil {&lt;/span&gt;&lt;/p&gt;&lt;p&gt;			&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;fmt.Printf(&amp;quot;无法获取WAN IP连接服务: %v\n&amp;quot;, err)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;			&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;continue&lt;/span&gt;&lt;/p&gt;&lt;p&gt;		&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;}&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;		&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;// 检查UPnP功能是否可用&lt;/span&gt;&lt;/p&gt;&lt;p&gt;		&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;for _, client := range clients {&lt;/span&gt;&lt;/p&gt;&lt;p&gt;			&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;externalIP, err := client.GetExternalIPAddress()&lt;/span&gt;&lt;/p&gt;&lt;p&gt;			&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;if err != nil {&lt;/span&gt;&lt;/p&gt;&lt;p&gt;				&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;fmt.Printf(&amp;quot;无法获取外部IP地址: %v\n&amp;quot;, err)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;			&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;} else {&lt;/span&gt;&lt;/p&gt;&lt;p&gt;				&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;fmt.Printf(&amp;quot;UPnP支持，外部IP地址: %s\n&amp;quot;, externalIP)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;			&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;}&lt;/span&gt;&lt;/p&gt;&lt;p&gt;		&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;}&lt;/span&gt;&lt;/p&gt;&lt;p&gt;	&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;}&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;}&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Tue, 22 Oct 2024 15:09:06 +0800</pubDate></item></channel></rss>