<?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.yjlink.cc/</link><description>虚拟化容器,大数据,DBA,中间件,监控。</description><item><title>DeepSeek生成的关于openeuler系统自动编译安装kernel内核脚本</title><link>https://www.yjlink.cc/?id=3556</link><description>&lt;h2 cid=&quot;n2&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;margin: 1rem 0px; padding: 0px; white-space: pre-wrap; background-color: rgb(255, 255, 255); box-sizing: border-box; break-after: avoid-page; break-inside: avoid; orphans: 4; font-size: 1.75em; position: relative; line-height: 1.225; cursor: text; border-bottom: 1px solid rgb(238, 238, 238); color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain md-expand&quot; style=&quot;box-sizing: border-box;&quot;&gt;DeepSeek生成的关于openeuler系统自动编译安装kernel内核脚本&lt;/span&gt;&lt;/h2&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;完整脚本请下载附件&lt;/p&gt;&lt;p class=&quot;ue-upload&quot; style=&quot;line-height: 16px;&quot;&gt;&lt;img style=&quot;vertical-align: middle; margin-right: 2px;&quot; src=&quot;https://www.yjlink.cc/zb_system/image/filetype/zip.png&quot;/&gt;&lt;a style=&quot;font-size:12px; color:#0066cc;&quot; href=&quot;https://www.yjlink.cc/zb_users/upload/2026/06/202606011780324873232099.zip&quot; title=&quot;deepseek_Install_Kernel_Full.sh.zip&quot;&gt;deepseek_Install_Kernel_Full.sh.zip&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;h3 cid=&quot;n194&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;margin: 1rem 0px; padding: 0px; white-space: pre-wrap; background-color: rgb(255, 255, 255); box-sizing: border-box; break-after: avoid-page; break-inside: avoid; orphans: 4; font-size: 1.5em; position: relative; line-height: 1.43; cursor: text; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;最终脚本&lt;/span&gt;&lt;/h3&gt;&lt;h4 cid=&quot;n401&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;white-space: pre-wrap; background-color: rgb(255, 255, 255); box-sizing: border-box; break-after: avoid-page; break-inside: avoid; orphans: 4; font-size: 1.25em; margin-top: 1rem; margin-bottom: 1rem; position: relative; line-height: 1.4; cursor: text; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;1，提问：&lt;/span&gt;&lt;/h4&gt;&lt;p cid=&quot;n403&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0.8em 0px; padding: 0px; white-space: pre-wrap; background-color: rgb(255, 255, 255); box-sizing: border-box; line-height: inherit; orphans: 4; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif; font-size: 16px;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;优化脚本&lt;/span&gt;&lt;/p&gt;&lt;h4 cid=&quot;n408&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;white-space: pre-wrap; background-color: rgb(255, 255, 255); box-sizing: border-box; break-after: avoid-page; break-inside: avoid; orphans: 4; font-size: 1.25em; margin-top: 1rem; margin-bottom: 1rem; position: relative; line-height: 1.4; cursor: text; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;2，AI回复&lt;/span&gt;&lt;/h4&gt;&lt;p cid=&quot;n195&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0.8em 0px; padding: 0px; white-space: pre-wrap; background-color: rgb(255, 255, 255); box-sizing: border-box; line-height: inherit; orphans: 4; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif; font-size: 16px;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;我们被要求“优化脚本”。用户之前已经有一个能够工作的脚本，但在运行中遇到了证书问题，我们已解决。现在需要基于解决后的脚本进行优化。&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n196&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0.8em 0px; padding: 0px; white-space: pre-wrap; background-color: rgb(255, 255, 255); box-sizing: border-box; line-height: inherit; orphans: 4; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif; font-size: 16px;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;需要分析可能优化哪些方面：&lt;/span&gt;&lt;/p&gt;&lt;ul class=&quot;ul-list list-paddingleft-2&quot; cid=&quot;n197&quot; mdtype=&quot;list&quot; data-mark=&quot;-&quot; style=&quot;margin: 0.8em 0px; padding: 0px 0px 0px 30px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif; font-size: 16px;&quot;&gt;&lt;li&gt;&lt;p cid=&quot;n199&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0px 0px 0.5rem; padding: 0px; box-sizing: border-box; line-height: inherit; orphans: 4; white-space: pre-wrap; position: relative;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;代码健壮性：添加错误处理、日志记录、路径检查。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p cid=&quot;n201&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0px 0px 0.5rem; padding: 0px; box-sizing: border-box; line-height: inherit; orphans: 4; white-space: pre-wrap; position: relative;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;性能：使用更多并行编译、增量编译？不能，因为是全量编译。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p cid=&quot;n203&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0px 0px 0.5rem; padding: 0px; box-sizing: border-box; line-height: inherit; orphans: 4; white-space: pre-wrap; position: relative;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;灵活性：可配置内核版本、URL、安装路径等参数。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p cid=&quot;n205&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0px 0px 0.5rem; padding: 0px; box-sizing: border-box; line-height: inherit; orphans: 4; white-space: pre-wrap; position: relative;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;交互性：减少交互，全自动。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p cid=&quot;n207&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0px 0px 0.5rem; padding: 0px; box-sizing: border-box; line-height: inherit; orphans: 4; white-space: pre-wrap; position: relative;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;清理：编译完成后清理源码包以节省磁盘空间？可能可选。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p cid=&quot;n209&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0px 0px 0.5rem; padding: 0px; box-sizing: border-box; line-height: inherit; orphans: 4; white-space: pre-wrap; position: relative;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;功能增强：检查磁盘空间，显示进度，备份旧内核配置，自动确认。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p cid=&quot;n211&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0px 0px 0.5rem; padding: 0px; box-sizing: border-box; line-height: inherit; orphans: 4; white-space: pre-wrap; position: relative;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;依赖安装：添加必要依赖，避免重复安装，使用检查。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p cid=&quot;n213&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0px 0px 0.5rem; padding: 0px; box-sizing: border-box; line-height: inherit; orphans: 4; white-space: pre-wrap; position: relative;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;错误处理：set -e 已存在，可以添加 trap 清理。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p cid=&quot;n215&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0px 0px 0.5rem; padding: 0px; box-sizing: border-box; line-height: inherit; orphans: 4; white-space: pre-wrap; position: relative;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;日志：将输出重定向到日志文件同时输出到终端。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p cid=&quot;n217&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0px 0px 0.5rem; padding: 0px; box-sizing: border-box; line-height: inherit; orphans: 4; white-space: pre-wrap; position: relative;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;检查系统是否为 openEuler 2509，给出警告。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p cid=&quot;n219&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0px 0px 0.5rem; padding: 0px; box-sizing: border-box; line-height: inherit; orphans: 4; white-space: pre-wrap; position: relative;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;检查内核版本是否与当前运行冲突。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p cid=&quot;n221&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0px 0px 0.5rem; padding: 0px; box-sizing: border-box; line-height: inherit; orphans: 4; white-space: pre-wrap; position: relative;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;支持恢复默认内核等。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p cid=&quot;n222&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0.8em 0px; padding: 0px; white-space: pre-wrap; background-color: rgb(255, 255, 255); box-sizing: border-box; line-height: inherit; orphans: 4; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif; font-size: 16px;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;要求是“优化脚本”，应生成一个改进的脚本版本，并解释优化点。&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n223&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0.8em 0px; padding: 0px; white-space: pre-wrap; background-color: rgb(255, 255, 255); box-sizing: border-box; line-height: inherit; orphans: 4; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif; font-size: 16px;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;因为上一次回答中已经包含了一个修复脚本，现在可以在此基础上优化。&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n224&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0.8em 0px; padding: 0px; white-space: pre-wrap; background-color: rgb(255, 255, 255); box-sizing: border-box; line-height: inherit; orphans: 4; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif; font-size: 16px;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;注意对话历史，最后用户说“优化脚本”。那么我们输出优化后的脚本并说明改进点。&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n225&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0.8em 0px; padding: 0px; white-space: pre-wrap; background-color: rgb(255, 255, 255); box-sizing: border-box; line-height: inherit; orphans: 4; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif; font-size: 16px;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;确保脚本在 openEuler 2509 上可用，兼容性。&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n226&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0.8em 0px; padding: 0px; white-space: pre-wrap; background-color: rgb(255, 255, 255); box-sizing: border-box; line-height: inherit; orphans: 4; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif; font-size: 16px;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;优化建议：&lt;/span&gt;&lt;/p&gt;&lt;ul class=&quot;ul-list list-paddingleft-2&quot; cid=&quot;n227&quot; mdtype=&quot;list&quot; data-mark=&quot;-&quot; style=&quot;margin: 0.8em 0px; padding: 0px 0px 0px 30px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif; font-size: 16px;&quot;&gt;&lt;li&gt;&lt;p cid=&quot;n229&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0px 0px 0.5rem; padding: 0px; box-sizing: border-box; line-height: inherit; orphans: 4; white-space: pre-wrap; position: relative;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;添加颜色输出，更友好的日志。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p cid=&quot;n231&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0px 0px 0.5rem; padding: 0px; box-sizing: border-box; line-height: inherit; orphans: 4; white-space: pre-wrap; position: relative;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;将内核下载地址设为变量，便于修改。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p cid=&quot;n233&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0px 0px 0.5rem; padding: 0px; box-sizing: border-box; line-height: inherit; orphans: 4; white-space: pre-wrap; position: relative;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;添加依赖包检查，仅安装缺失的。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p cid=&quot;n235&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0px 0px 0.5rem; padding: 0px; box-sizing: border-box; line-height: inherit; orphans: 4; white-space: pre-wrap; position: relative;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;检查是否有足够磁盘空间（比如至少10GB）。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p cid=&quot;n237&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0px 0px 0.5rem; padding: 0px; box-sizing: border-box; line-height: inherit; orphans: 4; white-space: pre-wrap; position: relative;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;编译时使用 &lt;/span&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; class=&quot;md-pair-s&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif; vertical-align: initial; border: 1px solid rgb(231, 234, 237); background-color: rgb(243, 244, 244); border-radius: 3px; padding: 0px 2px; font-size: 0.9em;&quot;&gt;-j$(nproc)&lt;/code&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt; 但避免内存不足，可以加限制。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p cid=&quot;n239&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0px 0px 0.5rem; padding: 0px; box-sizing: border-box; line-height: inherit; orphans: 4; white-space: pre-wrap; position: relative;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;在 &lt;/span&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; class=&quot;md-pair-s&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif; vertical-align: initial; border: 1px solid rgb(231, 234, 237); background-color: rgb(243, 244, 244); border-radius: 3px; padding: 0px 2px; font-size: 0.9em;&quot;&gt;make&lt;/code&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt; 时添加 &lt;/span&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; class=&quot;md-pair-s&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif; vertical-align: initial; border: 1px solid rgb(231, 234, 237); background-color: rgb(243, 244, 244); border-radius: 3px; padding: 0px 2px; font-size: 0.9em;&quot;&gt;V=1&lt;/code&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt; 以便出错时看到详细信息？或者默认不开启，但提供选项。优化脚本可考虑在出错时自动开启详细模式，但较复杂。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p cid=&quot;n241&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0px 0px 0.5rem; padding: 0px; box-sizing: border-box; line-height: inherit; orphans: 4; white-space: pre-wrap; position: relative;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;增加 &lt;/span&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; class=&quot;md-pair-s&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif; vertical-align: initial; border: 1px solid rgb(231, 234, 237); background-color: rgb(243, 244, 244); border-radius: 3px; padding: 0px 2px; font-size: 0.9em;&quot;&gt;time&lt;/code&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt; 命令统计耗时。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p cid=&quot;n243&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0px 0px 0.5rem; padding: 0px; box-sizing: border-box; line-height: inherit; orphans: 4; white-space: pre-wrap; position: relative;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;完成后可选删除源码包和解压目录，或保留。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p cid=&quot;n245&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0px 0px 0.5rem; padding: 0px; box-sizing: border-box; line-height: inherit; orphans: 4; white-space: pre-wrap; position: relative;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;添加 &lt;/span&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; class=&quot;md-pair-s&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif; vertical-align: initial; border: 1px solid rgb(231, 234, 237); background-color: rgb(243, 244, 244); border-radius: 3px; padding: 0px 2px; font-size: 0.9em;&quot;&gt;set -o pipefail&lt;/code&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt; 使管道错误也能被捕获。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p cid=&quot;n247&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0px 0px 0.5rem; padding: 0px; box-sizing: border-box; line-height: inherit; orphans: 4; white-space: pre-wrap; position: relative;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;检测内核是否已经安装，避免重复安装。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p cid=&quot;n249&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0px 0px 0.5rem; padding: 0px; box-sizing: border-box; line-height: inherit; orphans: 4; white-space: pre-wrap; position: relative;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;将编译日志保存到文件，方便排查。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p cid=&quot;n251&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0px 0px 0.5rem; padding: 0px; box-sizing: border-box; line-height: inherit; orphans: 4; white-space: pre-wrap; position: relative;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;在 grubby 设置默认前，验证新内核文件存在。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p cid=&quot;n253&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0px 0px 0.5rem; padding: 0px; box-sizing: border-box; line-height: inherit; orphans: 4; white-space: pre-wrap; position: relative;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;增加回滚功能：备份旧内核的 grub 配置？可选。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p cid=&quot;n255&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0px 0px 0.5rem; padding: 0px; box-sizing: border-box; line-height: inherit; orphans: 4; white-space: pre-wrap; position: relative;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;使用 &lt;/span&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; class=&quot;md-pair-s&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif; vertical-align: initial; border: 1px solid rgb(231, 234, 237); background-color: rgb(243, 244, 244); border-radius: 3px; padding: 0px 2px; font-size: 0.9em;&quot;&gt;exec &amp;gt; &amp;gt;(tee ...)&lt;/code&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt; 记录日志。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p cid=&quot;n256&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0.8em 0px; padding: 0px; white-space: pre-wrap; background-color: rgb(255, 255, 255); box-sizing: border-box; line-height: inherit; orphans: 4; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif; font-size: 16px;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;综上，我会提供一个优化版脚本，并注释说明优化点。&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n257&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0.8em 0px; padding: 0px; white-space: pre-wrap; background-color: rgb(255, 255, 255); box-sizing: border-box; line-height: inherit; orphans: 4; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif; font-size: 16px;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;已对脚本进行了多方面的优化，增强了可靠性、灵活性和用户友好性。以下是优化后的脚本：&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;pre class=&quot;brush:bash;toolbar:false&quot;&gt;#!/bin/bash
#&amp;nbsp;============================================================
#&amp;nbsp;优化版：在&amp;nbsp;openEuler&amp;nbsp;2509&amp;nbsp;上编译安装&amp;nbsp;Linux&amp;nbsp;Kernel&amp;nbsp;7.0.9
#&amp;nbsp;功能：自动下载、配置、编译、安装、设为默认启动
#&amp;nbsp;============================================================
set&amp;nbsp;-euo&amp;nbsp;pipefail

#&amp;nbsp;--------------------------&amp;nbsp;可配置变量&amp;nbsp;--------------------------
KERNEL_VERSION=&amp;quot;${1:-7.0.9}&amp;quot;&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;可通过命令行参数指定内核版本
KERNEL_SOURCE=&amp;quot;linux-${KERNEL_VERSION}&amp;quot;
KERNEL_ARCHIVE=&amp;quot;${KERNEL_SOURCE}.tar.gz&amp;quot;
KERNEL_URL=&amp;quot;https://mirrors.nju.edu.cn/kernel.org/linux/kernel/v7.x/${KERNEL_ARCHIVE}&amp;quot;
WORK_DIR=&amp;quot;/usr/src&amp;quot;
BOOT_DIR=&amp;quot;/boot&amp;quot;
BUILD_LOG=&amp;quot;${WORK_DIR}/kernel_build_${KERNEL_VERSION}.log&amp;quot;&amp;nbsp;&amp;nbsp;&amp;nbsp;#&amp;nbsp;编译日志
DISK_SPACE_MIN_MB=10240&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;10GB&amp;nbsp;剩余空间

#&amp;nbsp;--------------------------&amp;nbsp;颜色定义&amp;nbsp;--------------------------
RED=&amp;#39;\033[0;31m&amp;#39;
GREEN=&amp;#39;\033[0;32m&amp;#39;
YELLOW=&amp;#39;\033[1;33m&amp;#39;
NC=&amp;#39;\033[0m&amp;#39;&amp;nbsp;#&amp;nbsp;No&amp;nbsp;Color

#&amp;nbsp;--------------------------&amp;nbsp;辅助函数&amp;nbsp;--------------------------
print_info()&amp;nbsp;&amp;nbsp;{&amp;nbsp;echo&amp;nbsp;-e&amp;nbsp;&amp;quot;${GREEN}[INFO]${NC}&amp;nbsp;&amp;nbsp;$*&amp;quot;;&amp;nbsp;}
print_warn()&amp;nbsp;&amp;nbsp;{&amp;nbsp;echo&amp;nbsp;-e&amp;nbsp;&amp;quot;${YELLOW}[WARN]${NC}&amp;nbsp;&amp;nbsp;$*&amp;quot;;&amp;nbsp;}
print_error()&amp;nbsp;{&amp;nbsp;echo&amp;nbsp;-e&amp;nbsp;&amp;quot;${RED}[ERROR]${NC}&amp;nbsp;$*&amp;quot;;&amp;nbsp;exit&amp;nbsp;1;&amp;nbsp;}

check_root()&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;[&amp;nbsp;&amp;quot;$EUID&amp;quot;&amp;nbsp;-ne&amp;nbsp;0&amp;nbsp;];&amp;nbsp;then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;print_error&amp;nbsp;&amp;quot;请使用&amp;nbsp;root&amp;nbsp;权限运行此脚本。&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fi
}

check_os()&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;[&amp;nbsp;!&amp;nbsp;-f&amp;nbsp;/etc/openEuler-release&amp;nbsp;];&amp;nbsp;then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;print_warn&amp;nbsp;&amp;quot;未检测到&amp;nbsp;openEuler&amp;nbsp;系统，脚本可能运行异常。&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;else
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;print_info&amp;nbsp;&amp;quot;系统版本:&amp;nbsp;$(cat&amp;nbsp;/etc/openEuler-release)&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fi
}

check_space()&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;local&amp;nbsp;available_mb
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;available_mb=$(df&amp;nbsp;--output=avail&amp;nbsp;-m&amp;nbsp;&amp;quot;$WORK_DIR&amp;quot;&amp;nbsp;|&amp;nbsp;tail&amp;nbsp;-1)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;[&amp;nbsp;&amp;quot;$available_mb&amp;quot;&amp;nbsp;-lt&amp;nbsp;&amp;quot;$DISK_SPACE_MIN_MB&amp;quot;&amp;nbsp;];&amp;nbsp;then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;print_error&amp;nbsp;&amp;quot;${WORK_DIR}&amp;nbsp;剩余空间不足&amp;nbsp;${DISK_SPACE_MIN_MB}MB，当前仅&amp;nbsp;${available_mb}MB。&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fi
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;print_info&amp;nbsp;&amp;quot;磁盘空间检查通过&amp;nbsp;(可用&amp;nbsp;${available_mb}MB)&amp;quot;
}

install_dependencies()&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;print_info&amp;nbsp;&amp;quot;安装编译依赖...&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;dnf&amp;nbsp;makecache&amp;nbsp;-q
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;local&amp;nbsp;pkgs=(
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;gcc&amp;nbsp;make&amp;nbsp;flex&amp;nbsp;bison&amp;nbsp;openssl-devel&amp;nbsp;elfutils-libelf-devel
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ncurses-devel&amp;nbsp;bc&amp;nbsp;perl&amp;nbsp;perl-devel&amp;nbsp;tar&amp;nbsp;wget&amp;nbsp;bzip2&amp;nbsp;dwarves&amp;nbsp;grubby
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;kernel-devel-$(uname&amp;nbsp;-r)&amp;nbsp;dnf-plugins-core
&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;dnf&amp;nbsp;install&amp;nbsp;-y&amp;nbsp;&amp;quot;${pkgs[@]}&amp;quot;&amp;nbsp;2&amp;gt;/dev/null&amp;nbsp;||&amp;nbsp;true
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;print_info&amp;nbsp;&amp;quot;依赖安装完成&amp;quot;
}

download_source()&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cd&amp;nbsp;&amp;quot;$WORK_DIR&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;[&amp;nbsp;-f&amp;nbsp;&amp;quot;$KERNEL_ARCHIVE&amp;quot;&amp;nbsp;];&amp;nbsp;then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;print_warn&amp;nbsp;&amp;quot;源码包&amp;nbsp;${KERNEL_ARCHIVE}&amp;nbsp;已存在，将被覆盖。&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;rm&amp;nbsp;-f&amp;nbsp;&amp;quot;$KERNEL_ARCHIVE&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fi
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;print_info&amp;nbsp;&amp;quot;下载内核源码：${KERNEL_URL}&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;wget&amp;nbsp;-q&amp;nbsp;--show-progress&amp;nbsp;&amp;quot;$KERNEL_URL&amp;quot;&amp;nbsp;||&amp;nbsp;print_error&amp;nbsp;&amp;quot;下载失败，请检查网络或&amp;nbsp;URL。&amp;quot;
}

extract_source()&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;print_info&amp;nbsp;&amp;quot;解压源码...&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;tar&amp;nbsp;-xzf&amp;nbsp;&amp;quot;$KERNEL_ARCHIVE&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;[&amp;nbsp;!&amp;nbsp;-d&amp;nbsp;&amp;quot;$KERNEL_SOURCE&amp;quot;&amp;nbsp;];&amp;nbsp;then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;print_error&amp;nbsp;&amp;quot;解压失败，未找到目录&amp;nbsp;${KERNEL_SOURCE}&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fi
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cd&amp;nbsp;&amp;quot;$KERNEL_SOURCE&amp;quot;
}

configure_kernel()&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;print_info&amp;nbsp;&amp;quot;配置内核...&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;#&amp;nbsp;1.&amp;nbsp;优先使用当前运行内核的配置
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;local&amp;nbsp;current_config=&amp;quot;/boot/config-$(uname&amp;nbsp;-r)&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;[&amp;nbsp;-f&amp;nbsp;&amp;quot;$current_config&amp;quot;&amp;nbsp;];&amp;nbsp;then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cp&amp;nbsp;&amp;quot;$current_config&amp;quot;&amp;nbsp;.config
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;print_info&amp;nbsp;&amp;quot;已复制当前内核配置（${current_config}）&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;else
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;make&amp;nbsp;defconfig
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;print_info&amp;nbsp;&amp;quot;使用默认&amp;nbsp;defconfig&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fi

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;make&amp;nbsp;olddefconfig

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;#&amp;nbsp;2.&amp;nbsp;清除&amp;nbsp;openEuler&amp;nbsp;特有的证书路径，避免编译报错
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;scripts/config&amp;nbsp;--set-str&amp;nbsp;CONFIG_SYSTEM_TRUSTED_KEYS&amp;nbsp;&amp;quot;&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;scripts/config&amp;nbsp;--set-str&amp;nbsp;CONFIG_SYSTEM_REVOCATION_KEYS&amp;nbsp;&amp;quot;&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;scripts/config&amp;nbsp;--set-str&amp;nbsp;CONFIG_SYSTEM_EXTRA_CERTIFICATE&amp;nbsp;&amp;quot;&amp;quot;

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;#&amp;nbsp;3.&amp;nbsp;禁用&amp;nbsp;Rust&amp;nbsp;支持（openEuler&amp;nbsp;最小化安装通常没有&amp;nbsp;Rust&amp;nbsp;工具链）
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;scripts/config&amp;nbsp;--disable&amp;nbsp;CONFIG_RUST
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;scripts/config&amp;nbsp;--disable&amp;nbsp;CONFIG_RUST_IS_AVAILABLE

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;#&amp;nbsp;使修改生效
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;make&amp;nbsp;olddefconfig
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;print_info&amp;nbsp;&amp;quot;内核配置完成&amp;quot;
}

build_kernel()&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;local&amp;nbsp;cpu_cores
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cpu_cores=$(nproc)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;print_info&amp;nbsp;&amp;quot;开始编译内核（使用&amp;nbsp;${cpu_cores}&amp;nbsp;线程），日志同时写入&amp;nbsp;${BUILD_LOG}&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;#&amp;nbsp;编译并记录详细日志，方便排错
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;make&amp;nbsp;-j&amp;quot;$cpu_cores&amp;quot;&amp;nbsp;V=1&amp;nbsp;2&amp;gt;&amp;amp;1&amp;nbsp;|&amp;nbsp;tee&amp;nbsp;&amp;quot;$BUILD_LOG&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;[&amp;nbsp;${PIPESTATUS[0]}&amp;nbsp;-ne&amp;nbsp;0&amp;nbsp;];&amp;nbsp;then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;print_error&amp;nbsp;&amp;quot;内核编译失败，请查看日志：${BUILD_LOG}&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fi
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;print_info&amp;nbsp;&amp;quot;编译完成&amp;quot;
}

install_kernel()&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;print_info&amp;nbsp;&amp;quot;安装内核模块及内核...&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;make&amp;nbsp;modules_install
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;make&amp;nbsp;install
}

set_default_boot()&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;print_info&amp;nbsp;&amp;quot;设置新内核为默认启动项...&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;#&amp;nbsp;查找新内核镜像（可能带架构后缀）
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;local&amp;nbsp;new_kernel
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;new_kernel=$(ls&amp;nbsp;&amp;quot;${BOOT_DIR}/vmlinuz-${KERNEL_VERSION}&amp;quot;*&amp;nbsp;2&amp;gt;/dev/null&amp;nbsp;|&amp;nbsp;head&amp;nbsp;-1)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;[&amp;nbsp;-z&amp;nbsp;&amp;quot;$new_kernel&amp;quot;&amp;nbsp;];&amp;nbsp;then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;print_error&amp;nbsp;&amp;quot;未找到新内核文件&amp;nbsp;${BOOT_DIR}/vmlinuz-${KERNEL_VERSION}*&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fi
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;grubby&amp;nbsp;--set-default=&amp;quot;$new_kernel&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;command&amp;nbsp;-v&amp;nbsp;grub2-mkconfig&amp;nbsp;&amp;amp;&amp;gt;/dev/null;&amp;nbsp;then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;grub2-mkconfig&amp;nbsp;-o&amp;nbsp;/boot/grub2/grub.cfg
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fi
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;print_info&amp;nbsp;&amp;quot;默认内核已设置为：${new_kernel}&amp;quot;
}

cleanup_optional()&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;print_info&amp;nbsp;&amp;quot;清理：可选择删除源码包与编译目录以节省空间。&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;read&amp;nbsp;-p&amp;nbsp;&amp;quot;是否删除源码包&amp;nbsp;${KERNEL_ARCHIVE}？[y/N]&amp;nbsp;&amp;quot;&amp;nbsp;-r&amp;nbsp;ans
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;[[&amp;nbsp;&amp;quot;$ans&amp;quot;&amp;nbsp;=~&amp;nbsp;^[Yy]$&amp;nbsp;]];&amp;nbsp;then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;rm&amp;nbsp;-f&amp;nbsp;&amp;quot;${WORK_DIR}/${KERNEL_ARCHIVE}&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;print_info&amp;nbsp;&amp;quot;已删除源码包&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fi
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;read&amp;nbsp;-p&amp;nbsp;&amp;quot;是否删除编译目录&amp;nbsp;${WORK_DIR}/${KERNEL_SOURCE}？[y/N]&amp;nbsp;&amp;quot;&amp;nbsp;-r&amp;nbsp;ans
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;[[&amp;nbsp;&amp;quot;$ans&amp;quot;&amp;nbsp;=~&amp;nbsp;^[Yy]$&amp;nbsp;]];&amp;nbsp;then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;rm&amp;nbsp;-rf&amp;nbsp;&amp;quot;${WORK_DIR}/${KERNEL_SOURCE}&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;print_info&amp;nbsp;&amp;quot;已删除编译目录&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fi
}

#&amp;nbsp;--------------------------&amp;nbsp;主流程&amp;nbsp;--------------------------
main()&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;print_info&amp;nbsp;&amp;quot;开始安装&amp;nbsp;Linux&amp;nbsp;Kernel&amp;nbsp;${KERNEL_VERSION}&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;check_root
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;check_os
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;check_space
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;install_dependencies
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;download_source
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;extract_source
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;configure_kernel
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;build_kernel
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;install_kernel
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;set_default_boot

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;print_info&amp;nbsp;&amp;quot;内核&amp;nbsp;${KERNEL_VERSION}&amp;nbsp;安装完成！&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;print_info&amp;nbsp;&amp;quot;请执行&amp;nbsp;reboot&amp;nbsp;重启以进入新内核。&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cleanup_optional
}

main&amp;nbsp;&amp;quot;$@&amp;quot;&lt;/pre&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;h4 cid=&quot;n261&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;white-space: pre-wrap; background-color: rgb(255, 255, 255); box-sizing: border-box; break-after: avoid-page; break-inside: avoid; orphans: 4; font-size: 1.25em; margin-top: 1rem; margin-bottom: 1rem; position: relative; line-height: 1.4; cursor: text; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;3，优化点说明&lt;/span&gt;&lt;/h4&gt;&lt;ol class=&quot;ol-list list-paddingleft-2&quot; cid=&quot;n262&quot; mdtype=&quot;list&quot; style=&quot;margin: 0.8em 0px; padding: 0px 0px 0px 30px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif; font-size: 16px;&quot;&gt;&lt;li&gt;&lt;p cid=&quot;n264&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0px 0px 0.5rem; padding: 0px; box-sizing: border-box; line-height: inherit; orphans: 4; white-space: pre-wrap; position: relative;&quot;&gt;&lt;span md-inline=&quot;strong&quot; class=&quot;md-pair-s &quot; style=&quot;box-sizing: border-box;&quot;&gt;错误处理增强&lt;/span&gt;&lt;span md-inline=&quot;softbreak&quot; class=&quot;md-softbreak&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;/span&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; class=&quot;md-pair-s&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif; vertical-align: initial; border: 1px solid rgb(231, 234, 237); background-color: rgb(243, 244, 244); border-radius: 3px; padding: 0px 2px; font-size: 0.9em;&quot;&gt;set -euo pipefail&lt;/code&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt; 确保任何命令失败、未定义变量、管道错误都能立即退出，避免带伤运行。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p cid=&quot;n266&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0px 0px 0.5rem; padding: 0px; box-sizing: border-box; line-height: inherit; orphans: 4; white-space: pre-wrap; position: relative;&quot;&gt;&lt;span md-inline=&quot;strong&quot; class=&quot;md-pair-s &quot; style=&quot;box-sizing: border-box;&quot;&gt;参数化&lt;/span&gt;&lt;span md-inline=&quot;softbreak&quot; class=&quot;md-softbreak&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;内核版本可通过命令行参数指定（默认 7.0.9），例如：&lt;/span&gt;&lt;span md-inline=&quot;softbreak&quot; class=&quot;md-softbreak&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;/span&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; class=&quot;md-pair-s&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif; vertical-align: initial; border: 1px solid rgb(231, 234, 237); background-color: rgb(243, 244, 244); border-radius: 3px; padding: 0px 2px; font-size: 0.9em;&quot;&gt;./script.sh 7.0.10&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p cid=&quot;n268&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0px 0px 0.5rem; padding: 0px; box-sizing: border-box; line-height: inherit; orphans: 4; white-space: pre-wrap; position: relative;&quot;&gt;&lt;span md-inline=&quot;strong&quot; class=&quot;md-pair-s &quot; style=&quot;box-sizing: border-box;&quot;&gt;日志记录&lt;/span&gt;&lt;span md-inline=&quot;softbreak&quot; class=&quot;md-softbreak&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;编译输出完整保存至 &lt;/span&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; class=&quot;md-pair-s&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif; vertical-align: initial; border: 1px solid rgb(231, 234, 237); background-color: rgb(243, 244, 244); border-radius: 3px; padding: 0px 2px; font-size: 0.9em;&quot;&gt;/usr/src/kernel_build_*.log&lt;/code&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;，便于失败后排查。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p cid=&quot;n270&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0px 0px 0.5rem; padding: 0px; box-sizing: border-box; line-height: inherit; orphans: 4; white-space: pre-wrap; position: relative;&quot;&gt;&lt;span md-inline=&quot;strong&quot; class=&quot;md-pair-s &quot; style=&quot;box-sizing: border-box;&quot;&gt;前置检查&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;ul class=&quot;ul-list list-paddingleft-2&quot; cid=&quot;n271&quot; mdtype=&quot;list&quot; data-mark=&quot;-&quot; style=&quot;padding: 0px 0px 0px 30px; box-sizing: border-box; position: relative;&quot;&gt;&lt;li&gt;&lt;p cid=&quot;n273&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0px 0px 0.5rem; padding: 0px; box-sizing: border-box; line-height: inherit; orphans: 4; white-space: pre-wrap; position: relative;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;系统是否为 openEuler（给出警告而非强制退出）&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p cid=&quot;n275&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0px 0px 0.5rem; padding: 0px; box-sizing: border-box; line-height: inherit; orphans: 4; white-space: pre-wrap; position: relative;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;工作目录至少 10GB 剩余空间（避免编译中断）&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;p cid=&quot;n277&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0px 0px 0.5rem; padding: 0px; box-sizing: border-box; line-height: inherit; orphans: 4; white-space: pre-wrap; position: relative;&quot;&gt;&lt;span md-inline=&quot;strong&quot; class=&quot;md-pair-s &quot; style=&quot;box-sizing: border-box;&quot;&gt;交互与清理&lt;/span&gt;&lt;span md-inline=&quot;softbreak&quot; class=&quot;md-softbreak&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;编译完成后可选择删除源码包和编译目录，释放磁盘空间。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p cid=&quot;n279&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0px 0px 0.5rem; padding: 0px; box-sizing: border-box; line-height: inherit; orphans: 4; white-space: pre-wrap; position: relative;&quot;&gt;&lt;span md-inline=&quot;strong&quot; class=&quot;md-pair-s &quot; style=&quot;box-sizing: border-box;&quot;&gt;色彩与友好输出&lt;/span&gt;&lt;span md-inline=&quot;softbreak&quot; class=&quot;md-softbreak&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;使用颜色标记信息、警告、错误，阅读更直观。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p cid=&quot;n281&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0px 0px 0.5rem; padding: 0px; box-sizing: border-box; line-height: inherit; orphans: 4; white-space: pre-wrap; position: relative;&quot;&gt;&lt;span md-inline=&quot;strong&quot; class=&quot;md-pair-s &quot; style=&quot;box-sizing: border-box;&quot;&gt;安全改进&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;ul class=&quot;ul-list list-paddingleft-2&quot; cid=&quot;n282&quot; mdtype=&quot;list&quot; data-mark=&quot;-&quot; style=&quot;padding: 0px 0px 0px 30px; box-sizing: border-box; position: relative;&quot;&gt;&lt;li&gt;&lt;p cid=&quot;n284&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0px 0px 0.5rem; padding: 0px; box-sizing: border-box; line-height: inherit; orphans: 4; white-space: pre-wrap; position: relative;&quot;&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; class=&quot;md-pair-s&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif; vertical-align: initial; border: 1px solid rgb(231, 234, 237); background-color: rgb(243, 244, 244); border-radius: 3px; padding: 0px 2px; font-size: 0.9em;&quot;&gt;wget -q --show-progress&lt;/code&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt; 隐藏多余信息&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p cid=&quot;n286&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0px 0px 0.5rem; padding: 0px; box-sizing: border-box; line-height: inherit; orphans: 4; white-space: pre-wrap; position: relative;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;依赖安装时使用数组，避免遗漏&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p cid=&quot;n288&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0px 0px 0.5rem; padding: 0px; box-sizing: border-box; line-height: inherit; orphans: 4; white-space: pre-wrap; position: relative;&quot;&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; class=&quot;md-pair-s&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif; vertical-align: initial; border: 1px solid rgb(231, 234, 237); background-color: rgb(243, 244, 244); border-radius: 3px; padding: 0px 2px; font-size: 0.9em;&quot;&gt;make olddefconfig&lt;/code&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt; 多次调用确保配置一致性&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;p cid=&quot;n290&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0px 0px 0.5rem; padding: 0px; box-sizing: border-box; line-height: inherit; orphans: 4; white-space: pre-wrap; position: relative;&quot;&gt;&lt;span md-inline=&quot;strong&quot; class=&quot;md-pair-s &quot; style=&quot;box-sizing: border-box;&quot;&gt;健壮性&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;ul class=&quot;ul-list list-paddingleft-2&quot; cid=&quot;n291&quot; mdtype=&quot;list&quot; data-mark=&quot;-&quot; style=&quot;padding: 0px 0px 0px 30px; box-sizing: border-box; position: relative;&quot;&gt;&lt;li&gt;&lt;p cid=&quot;n293&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0px 0px 0.5rem; padding: 0px; box-sizing: border-box; line-height: inherit; orphans: 4; white-space: pre-wrap; position: relative;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;检查解压后目录是否存在&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p cid=&quot;n295&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0px 0px 0.5rem; padding: 0px; box-sizing: border-box; line-height: inherit; orphans: 4; white-space: pre-wrap; position: relative;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;编译失败时直接定位日志文件&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p cid=&quot;n297&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0px 0px 0.5rem; padding: 0px; box-sizing: border-box; line-height: inherit; orphans: 4; white-space: pre-wrap; position: relative;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;设置默认启动前严格校验内核文件&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ol&gt;&lt;p cid=&quot;n298&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;margin: 0.8em 0px; padding: 0px; white-space: pre-wrap; background-color: rgb(255, 255, 255); box-sizing: border-box; line-height: inherit; orphans: 4; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif; font-size: 16px;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain md-expand&quot; style=&quot;box-sizing: border-box;&quot;&gt;此脚本可直接用于 openEuler 2509 最小化安装环境，运行过程中所有关键步骤均有反馈，遇到问题可快速定位。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Mon, 01 Jun 2026 22:18:09 +0800</pubDate></item><item><title>Linux安装google chrome或是 edge浏览器后不 支持 root打 开 解决 方法 </title><link>https://www.yjlink.cc/?id=3555</link><description>&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;Linux安装google chrome或是 edge浏览器后不 支持 root打 开 解决 方法&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;平时喜欢用google浏览器，就在centos上装了个google浏览器，&lt;/p&gt;&lt;p&gt;但在root用户下无法启动，切换为其他帐号可正常打开浏览器，&lt;/p&gt;&lt;p&gt;原因是google浏览器不允许root用户启动，但我平时都是用root帐号，以下是root用户下解决办法：&lt;/p&gt;&lt;div class=&quot;rno-markdown-code&quot; qct-area=&quot;代码块-0-javascript&quot; qct-exposure=&quot;&quot;&gt;&lt;div class=&quot;rno-markdown-code-toolbar&quot;&gt;&lt;div class=&quot;rno-markdown-code-toolbar-info&quot;&gt;&lt;div class=&quot;rno-markdown-code-toolbar-item&quot;&gt;&lt;span class=&quot;is-m-hidden&quot;&gt;代码语言：&lt;/span&gt;javascript&lt;/div&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;svg width=&quot;16&quot; height=&quot;16&quot; viewbox=&quot;0 0 16 16&quot; fill=&quot;none&quot; xmlns=&quot;http://www.w3.org/2000/svg&quot;&gt;&lt;/svg&gt;&lt;/div&gt;&lt;pre class=&quot;prism-token token line-numbers language-javascript&quot; tabindex=&quot;0&quot;&gt;vim&amp;nbsp;/opt/google/chrome/google-chrome

或&amp;nbsp;是&amp;nbsp;/opt/microsoft/msedge/microsoft-edge&lt;/pre&gt;&lt;p&gt; 	找到最后一行修改为：&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;pre class=&quot;prism-token token line-numbers language-javascript&quot; tabindex=&quot;0&quot;&gt;
exec&amp;nbsp;-a&amp;nbsp;&amp;quot;$0&amp;quot;&amp;nbsp;&amp;quot;$HERE/chrome&amp;quot;&amp;nbsp;&amp;quot;$@&amp;quot;&amp;nbsp;--no-sandbox&lt;/pre&gt;&lt;p&gt; 	然后:w保存，就能正常启动google浏览器了&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Sat, 30 May 2026 07:03:43 +0800</pubDate></item><item><title>openEuler2403 安装UKUI桌面并配置 Intel AX210 无线驱动</title><link>https://www.yjlink.cc/?id=3554</link><description>&lt;p style=&quot;margin-top: 0px; font-family: Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;已为您整理为一份结构化文档，请复制以下内容保存为 &lt;code style=&quot;font-family: &amp;quot;JetBrains Mono&amp;quot;, Consolas, Monaco, monospace; font-size: 0.875rem; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(240, 240, 240); border-radius: 4px; line-height: 1.30769; padding: 2px 4px; white-space: pre-wrap;&quot;&gt;.md&lt;/code&gt; 或 &lt;code style=&quot;font-family: &amp;quot;JetBrains Mono&amp;quot;, Consolas, Monaco, monospace; font-size: 0.875rem; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(240, 240, 240); border-radius: 4px; line-height: 1.30769; padding: 2px 4px; white-space: pre-wrap;&quot;&gt;.txt&lt;/code&gt; 文件。&lt;/p&gt;&lt;p style=&quot;font-family: Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;pre class=&quot;codeblock-buttons&quot; style=&quot;font-family: &amp;quot;JetBrains Mono&amp;quot;, Consolas, Monaco, monospace; font-size: 16px; max-height: 2000px; position: relative; overflow: visible; font-variant-ligatures: none; background-color: rgb(255, 255, 255);&quot;&gt;&amp;nbsp;


&amp;nbsp;1.&amp;nbsp;安装桌面环境和&amp;nbsp;VNC&amp;nbsp;服务
#&amp;nbsp;安装&amp;nbsp;UKUI&amp;nbsp;桌面
sudo&amp;nbsp;dnf&amp;nbsp;install&amp;nbsp;ukui&amp;nbsp;-y

#&amp;nbsp;安装&amp;nbsp;TigerVNC&amp;nbsp;服务端
sudo&amp;nbsp;dnf&amp;nbsp;install&amp;nbsp;tigervnc-server&amp;nbsp;-y&lt;/pre&gt;&lt;h3 style=&quot;font-variation-settings: normal; font-feature-settings: normal; font-family: Arial, sans-serif; margin: 2rem 0px 0.67rem; line-height: 1.2; font-size: 18.3792px; font-variant-ligatures: none; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;a name=&quot;p-25757-h-2-vnc-1&quot; class=&quot;anchor&quot; href=&quot;https://forum.openeuler.org/t/topic/19237#p-25757-h-2-vnc-1&quot; aria-label=&quot;标题链接&quot; style=&quot;background-color: rgba(0, 0, 0, 0); color: rgb(0, 47, 167); cursor: pointer; overflow-wrap: break-word; opacity: 0; transition: opacity 0.25s;&quot;&gt;&lt;/a&gt;&lt;span style=&quot;font-weight: bolder;&quot;&gt;2. 配置 VNC 启动脚本（解决黑屏问题）&lt;/span&gt;&lt;/h3&gt;&lt;p style=&quot;font-family: Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;用普通用户登录后执行以下操作：&lt;/p&gt;&lt;p style=&quot;font-family: Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;bash&lt;/p&gt;&lt;pre class=&quot;codeblock-buttons&quot; style=&quot;font-family: &amp;quot;JetBrains Mono&amp;quot;, Consolas, Monaco, monospace; font-size: 16px; max-height: 2000px; position: relative; overflow: visible; font-variant-ligatures: none; background-color: rgb(255, 255, 255);&quot;&gt;#&amp;nbsp;备份原文件
mv&amp;nbsp;~/.vnc/xstartup&amp;nbsp;~/.vnc/xstartup.bak

#&amp;nbsp;创建新的&amp;nbsp;xstartup&amp;nbsp;文件v
i&amp;nbsp;~/.vnc/xstartup&lt;/pre&gt;&lt;p style=&quot;font-family: Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;写入以下内容：&lt;/p&gt;&lt;pre class=&quot;brush:bash;toolbar:false&quot;&gt;#!/bin/sh

#unset&amp;nbsp;SESSION_MANAGER
#unset&amp;nbsp;DBUS_SESSION_BUS_ADDRESS

#&amp;nbsp;Assume&amp;nbsp;either&amp;nbsp;Gnome&amp;nbsp;will&amp;nbsp;be&amp;nbsp;started&amp;nbsp;by&amp;nbsp;default&amp;nbsp;when&amp;nbsp;installed
#&amp;nbsp;We&amp;nbsp;want&amp;nbsp;to&amp;nbsp;kill&amp;nbsp;the&amp;nbsp;session&amp;nbsp;automatically&amp;nbsp;in&amp;nbsp;this&amp;nbsp;case&amp;nbsp;when&amp;nbsp;user&amp;nbsp;logs&amp;nbsp;out.&amp;nbsp;In&amp;nbsp;case&amp;nbsp;you&amp;nbsp;modify
#&amp;nbsp;/etc/X11/xinit/Xclients&amp;nbsp;or&amp;nbsp;~/.Xclients&amp;nbsp;yourself&amp;nbsp;to&amp;nbsp;achieve&amp;nbsp;a&amp;nbsp;different&amp;nbsp;result,&amp;nbsp;then&amp;nbsp;you&amp;nbsp;should
#&amp;nbsp;be&amp;nbsp;responsible&amp;nbsp;to&amp;nbsp;modify&amp;nbsp;below&amp;nbsp;code&amp;nbsp;to&amp;nbsp;avoid&amp;nbsp;that&amp;nbsp;your&amp;nbsp;session&amp;nbsp;will&amp;nbsp;be&amp;nbsp;automatically&amp;nbsp;killed
#if&amp;nbsp;[&amp;nbsp;-e&amp;nbsp;/usr/bin/gnome-session&amp;nbsp;];&amp;nbsp;then
#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;vncserver&amp;nbsp;-kill&amp;nbsp;$DISPLAY
#fi

#&amp;nbsp;1.&amp;nbsp;清除冲突的环境变量
unset&amp;nbsp;SESSION_MANAGER
unset&amp;nbsp;DBUS_SESSION_BUS_ADDRESS

/etc/X11/xinit/xinitrc

#&amp;nbsp;2.&amp;nbsp;设置&amp;nbsp;UKUI&amp;nbsp;所必需的环境变量
export&amp;nbsp;XDG_RUNTIME_DIR=/tmp/runtime-$USER
export&amp;nbsp;XDG_CURRENT_DESKTOP=UKUI

#&amp;nbsp;3.&amp;nbsp;启动&amp;nbsp;D-Bus&amp;nbsp;会话
if&amp;nbsp;[&amp;nbsp;-z&amp;nbsp;&amp;quot;$DBUS_SESSION_BUS_ADDRESS&amp;quot;&amp;nbsp;];&amp;nbsp;then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;eval&amp;nbsp;$(dbus-launch&amp;nbsp;--sh-syntax)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;export&amp;nbsp;DBUS_SESSION_BUS_ADDRESS
fi

#&amp;nbsp;4.&amp;nbsp;设置美观的灰蓝色背景
#xsetroot&amp;nbsp;-solid&amp;nbsp;&amp;quot;#5A6E7A&amp;quot;

#&amp;nbsp;5.&amp;nbsp;启动&amp;nbsp;UKUI&amp;nbsp;桌面环境
exec&amp;nbsp;ukui-session&lt;/pre&gt;&lt;p style=&quot;font-family: Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;赋予执行权限：&lt;/p&gt;&lt;pre class=&quot;brush:bash;toolbar:false&quot;&gt;chmod&amp;nbsp;+x&amp;nbsp;~/.vnc/xstartup&lt;/pre&gt;&lt;pre class=&quot;brush:bash;toolbar:false;&quot; style=&quot;font-family: &amp;quot;JetBrains Mono&amp;quot;, Consolas, Monaco, monospace; font-size: 16px; max-height: 2000px; position: relative; overflow: visible; font-variant-ligatures: none; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-weight: bolder; font-family: Arial, sans-serif; font-size: 18.3792px;&quot;&gt;&lt;br/&gt;3. 启动 VNC 服务&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;brush:bash;toolbar:false&quot;&gt;#&amp;nbsp;先停止可能运行的会话
vncserver&amp;nbsp;-kill&amp;nbsp;:1

#&amp;nbsp;启动新会话（分辨率&amp;nbsp;1920x1080，24位色深）
vncserver&amp;nbsp;:1&amp;nbsp;-geometry&amp;nbsp;1920x1080&amp;nbsp;-depth&amp;nbsp;24&lt;/pre&gt;&lt;pre class=&quot;codeblock-buttons&quot; style=&quot;font-family: &amp;quot;JetBrains Mono&amp;quot;, Consolas, Monaco, monospace; font-size: 16px; max-height: 2000px; position: relative; overflow: visible; font-variant-ligatures: none; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/pre&gt;&lt;h3 style=&quot;font-variation-settings: normal; font-feature-settings: normal; font-family: Arial, sans-serif; margin: 2rem 0px 0.67rem; line-height: 1.2; font-size: 18.3792px; font-variant-ligatures: none; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;a name=&quot;p-25757-h-4-3&quot; class=&quot;anchor&quot; href=&quot;https://forum.openeuler.org/t/topic/19237#p-25757-h-4-3&quot; aria-label=&quot;标题链接&quot; style=&quot;background-color: rgba(0, 0, 0, 0); color: rgb(0, 47, 167); cursor: pointer; overflow-wrap: break-word; opacity: 0; transition: opacity 0.25s;&quot;&gt;&lt;/a&gt;&lt;span style=&quot;font-weight: bolder;&quot;&gt;4. 防火墙放行端口&lt;/span&gt;&lt;/h3&gt;&lt;pre class=&quot;brush:bash;toolbar:false&quot;&gt;sudo&amp;nbsp;firewall-cmd&amp;nbsp;--add-port=5901/tcp&amp;nbsp;--permanentsudo&amp;nbsp;firewall-cmd&amp;nbsp;--reload

使用&amp;nbsp;VNC&amp;nbsp;客户端连接&amp;nbsp;服务器IP:1&amp;nbsp;即可看到&amp;nbsp;UKUI&amp;nbsp;桌面。&lt;/pre&gt;&lt;pre class=&quot;codeblock-buttons&quot; style=&quot;font-family: &amp;quot;JetBrains Mono&amp;quot;, Consolas, Monaco, monospace; font-size: 16px; max-height: 2000px; position: relative; overflow: visible; font-variant-ligatures: none; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/pre&gt;&lt;hr style=&quot;box-sizing: content-box; height: 1px; overflow: visible; margin: 1em 0px; border-width: 1px 0px 0px; border-style: solid none none; border-color: rgb(230, 230, 230) currentcolor currentcolor; border-image: initial; padding: 0px; font-family: Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; white-space: normal; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;h2 style=&quot;font-variation-settings: normal; font-feature-settings: normal; font-family: Arial, sans-serif; margin: 2rem 0px 0.67rem; line-height: 1.2; font-size: 21.112px; font-variant-ligatures: none; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;a name=&quot;p-25757-intel-ax210-4&quot; class=&quot;anchor&quot; href=&quot;https://forum.openeuler.org/t/topic/19237#p-25757-intel-ax210-4&quot; aria-label=&quot;标题链接&quot; style=&quot;background-color: rgba(0, 0, 0, 0); color: rgb(0, 47, 167); cursor: pointer; overflow-wrap: break-word; opacity: 0; transition: opacity 0.25s;&quot;&gt;&lt;/a&gt;&lt;span style=&quot;font-weight: bolder;&quot;&gt;二、Intel AX210 无线网卡驱动安装&lt;/span&gt;&lt;/h2&gt;&lt;h3 style=&quot;font-variation-settings: normal; font-feature-settings: normal; font-family: Arial, sans-serif; margin: 2rem 0px 0.67rem; line-height: 1.2; font-size: 18.3792px; font-variant-ligatures: none; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;a name=&quot;p-25757-h-1-5&quot; class=&quot;anchor&quot; href=&quot;https://forum.openeuler.org/t/topic/19237#p-25757-h-1-5&quot; aria-label=&quot;标题链接&quot; style=&quot;background-color: rgba(0, 0, 0, 0); color: rgb(0, 47, 167); cursor: pointer; overflow-wrap: break-word; opacity: 0; transition: opacity 0.25s;&quot;&gt;&lt;/a&gt;&lt;span style=&quot;font-weight: bolder;&quot;&gt;1. 确认硬件和内核&lt;/span&gt;&lt;/h3&gt;&lt;p style=&quot;font-family: Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;bash&lt;/p&gt;&lt;pre class=&quot;codeblock-buttons&quot; style=&quot;font-family: &amp;quot;JetBrains Mono&amp;quot;, Consolas, Monaco, monospace; font-size: 16px; max-height: 2000px; position: relative; overflow: visible; font-variant-ligatures: none; background-color: rgb(255, 255, 255);&quot;&gt;#&amp;nbsp;检查网卡是否被识别
lspci&amp;nbsp;|&amp;nbsp;grep&amp;nbsp;-i&amp;nbsp;network&amp;nbsp;|&amp;nbsp;grep&amp;nbsp;AX210

#&amp;nbsp;确认内核版本（应为&amp;nbsp;6.x）

uname&amp;nbsp;-r&lt;/pre&gt;&lt;h3 style=&quot;font-variation-settings: normal; font-feature-settings: normal; font-family: Arial, sans-serif; margin: 2rem 0px 0.67rem; line-height: 1.2; font-size: 18.3792px; font-variant-ligatures: none; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;a name=&quot;p-25757-h-2-6&quot; class=&quot;anchor&quot; href=&quot;https://forum.openeuler.org/t/topic/19237#p-25757-h-2-6&quot; aria-label=&quot;标题链接&quot; style=&quot;background-color: rgba(0, 0, 0, 0); color: rgb(0, 47, 167); cursor: pointer; overflow-wrap: break-word; opacity: 0; transition: opacity 0.25s;&quot;&gt;&lt;/a&gt;&lt;span style=&quot;font-weight: bolder;&quot;&gt;2. 安装基础固件包&lt;/span&gt;&lt;/h3&gt;&lt;p style=&quot;font-family: Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;bash&lt;/p&gt;&lt;pre class=&quot;codeblock-buttons&quot; style=&quot;font-family: &amp;quot;JetBrains Mono&amp;quot;, Consolas, Monaco, monospace; font-size: 16px; max-height: 2000px; position: relative; overflow: visible; font-variant-ligatures: none; background-color: rgb(255, 255, 255);&quot;&gt;sudo&amp;nbsp;dnf&amp;nbsp;updates
sudo&amp;nbsp;dnf&amp;nbsp;install&amp;nbsp;linux-iwlwifi-firmware&lt;/pre&gt;&lt;blockquote style=&quot;border-left: 5px solid rgb(204, 204, 204); background-color: rgb(249, 249, 249); padding: 0.75em; overflow-wrap: break-word; font-family: Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; white-space: normal;&quot;&gt;&lt;p style=&quot;margin-top: 0px !important; margin-bottom: 0px !important;&quot;&gt;注意：安装后可能仍缺少最新版本的 &lt;code style=&quot;font-family: &amp;quot;JetBrains Mono&amp;quot;, Consolas, Monaco, monospace; font-size: 0.875rem; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(240, 240, 240); border-radius: 4px; line-height: 1.30769; padding: 2px 4px; white-space: pre-wrap;&quot;&gt;.ucode&lt;/code&gt; 文件，需手动下载补充。 openEuler系统中的软件包是： linux-firmware-iwlwifi&lt;/p&gt;&lt;/blockquote&gt;&lt;h3 style=&quot;font-variation-settings: normal; font-feature-settings: normal; font-family: Arial, sans-serif; margin: 2rem 0px 0.67rem; line-height: 1.2; font-size: 18.3792px; font-variant-ligatures: none; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;a name=&quot;p-25757-h-3-7&quot; class=&quot;anchor&quot; href=&quot;https://forum.openeuler.org/t/topic/19237#p-25757-h-3-7&quot; aria-label=&quot;标题链接&quot; style=&quot;background-color: rgba(0, 0, 0, 0); color: rgb(0, 47, 167); cursor: pointer; overflow-wrap: break-word; opacity: 0; transition: opacity 0.25s;&quot;&gt;&lt;/a&gt;&lt;span style=&quot;font-weight: bolder;&quot;&gt;3. 检查错误并手动下载固件&lt;/span&gt;&lt;/h3&gt;&lt;p style=&quot;font-family: Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;查看内核日志：&lt;/p&gt;&lt;pre class=&quot;codeblock-buttons&quot; style=&quot;font-family: &amp;quot;JetBrains Mono&amp;quot;, Consolas, Monaco, monospace; font-size: 16px; max-height: 2000px; position: relative; overflow: visible; font-variant-ligatures: none; background-color: rgb(255, 255, 255);&quot;&gt;dmesg&amp;nbsp;|&amp;nbsp;grep&amp;nbsp;iwlwifi&lt;/pre&gt;&lt;p style=&quot;font-family: Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;常见错误示例：&lt;/p&gt;&lt;ul style=&quot;margin: 1em 0px 1em 1.25em; padding: 0px; clear: both; padding-inline-start: 1.25em; font-family: Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; white-space: normal; background-color: rgb(255, 255, 255);&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;&lt;code style=&quot;font-family: &amp;quot;JetBrains Mono&amp;quot;, Consolas, Monaco, monospace; font-size: 0.875rem; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(240, 240, 240); border-radius: 4px; line-height: 1.30769; padding: 2px 4px; white-space: pre-wrap;&quot;&gt;Direct firmware load for iwlwifi-ty-a0-gf-a0-XX.ucode failed&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;code style=&quot;font-family: &amp;quot;JetBrains Mono&amp;quot;, Consolas, Monaco, monospace; font-size: 0.875rem; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(240, 240, 240); border-radius: 4px; line-height: 1.30769; padding: 2px 4px; white-space: pre-wrap;&quot;&gt;PNVM data is missing, please install iwlwifi-ty-a0-gf-a0.pnvm&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p style=&quot;font-family: Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;根据日志提示的版本范围（最小59，最大83），下载所需固件：&lt;/p&gt;&lt;p style=&quot;font-family: Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;pre class=&quot;codeblock-buttons&quot; style=&quot;font-family: &amp;quot;JetBrains Mono&amp;quot;, Consolas, Monaco, monospace; font-size: 16px; max-height: 2000px; position: relative; overflow: visible; font-variant-ligatures: none; background-color: rgb(255, 255, 255);&quot;&gt;#&amp;nbsp;下载&amp;nbsp;PNVM&amp;nbsp;文件
wget&amp;nbsp;&amp;nbsp;

#&amp;nbsp;下载缺失的&amp;nbsp;.ucode&amp;nbsp;文件（以&amp;nbsp;59&amp;nbsp;和&amp;nbsp;83&amp;nbsp;为例）
wget&amp;nbsp;https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/intel/iwlwifi/iwlwifi-ty-a0-gf-a0-59.ucode
wget&amp;nbsp;https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/intel/iwlwifi/iwlwifi-ty-a0-gf-a0-83.ucode

#&amp;nbsp;复制到固件目录
sudo&amp;nbsp;cp&amp;nbsp;-a&amp;nbsp;&amp;nbsp;iwlwifi-ty-a0-gf-a0*&amp;nbsp;/usr/lib/firmware/intel/iwlwifi/&lt;/pre&gt;&lt;h3 style=&quot;font-variation-settings: normal; font-feature-settings: normal; font-family: Arial, sans-serif; margin: 2rem 0px 0.67rem; line-height: 1.2; font-size: 18.3792px; font-variant-ligatures: none; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;a name=&quot;p-25757-h-4-8&quot; class=&quot;anchor&quot; href=&quot;https://forum.openeuler.org/t/topic/19237#p-25757-h-4-8&quot; aria-label=&quot;标题链接&quot; style=&quot;background-color: rgba(0, 0, 0, 0); color: rgb(0, 47, 167); cursor: pointer; overflow-wrap: break-word; opacity: 0; transition: opacity 0.25s;&quot;&gt;&lt;/a&gt;&lt;span style=&quot;font-weight: bolder;&quot;&gt;4. 彻底卸载并重新加载驱动模块&lt;/span&gt;&lt;/h3&gt;&lt;p style=&quot;font-family: Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;pre class=&quot;codeblock-buttons&quot; style=&quot;font-family: &amp;quot;JetBrains Mono&amp;quot;, Consolas, Monaco, monospace; font-size: 16px; max-height: 2000px; position: relative; overflow: visible; font-variant-ligatures: none; background-color: rgb(255, 255, 255);&quot;&gt;#&amp;nbsp;按依赖顺序卸载模块
sudo&amp;nbsp;modprobe&amp;nbsp;-r&amp;nbsp;iwlmvm
sudo&amp;nbsp;modprobe&amp;nbsp;-r&amp;nbsp;iwlmei
sudo&amp;nbsp;modprobe&amp;nbsp;-r&amp;nbsp;iwlwifi

#&amp;nbsp;确认卸载干净（无输出则正常）
lsmod&amp;nbsp;|&amp;nbsp;grep&amp;nbsp;iwl

#&amp;nbsp;重新加载驱动
sudo&amp;nbsp;modprobe&amp;nbsp;iwlwifi&lt;/pre&gt;&lt;h3 style=&quot;font-variation-settings: normal; font-feature-settings: normal; font-family: Arial, sans-serif; margin: 2rem 0px 0.67rem; line-height: 1.2; font-size: 18.3792px; font-variant-ligatures: none; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;a name=&quot;p-25757-h-5-wifi-9&quot; class=&quot;anchor&quot; href=&quot;https://forum.openeuler.org/t/topic/19237#p-25757-h-5-wifi-9&quot; aria-label=&quot;标题链接&quot; style=&quot;background-color: rgba(0, 0, 0, 0); color: rgb(0, 47, 167); cursor: pointer; overflow-wrap: break-word; opacity: 0; transition: opacity 0.25s;&quot;&gt;&lt;/a&gt;&lt;span style=&quot;font-weight: bolder;&quot;&gt;5. 验证 WiFi 是否正常&lt;/span&gt;&lt;/h3&gt;&lt;p style=&quot;font-family: Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;bash&lt;/p&gt;&lt;pre class=&quot;codeblock-buttons&quot; style=&quot;font-family: &amp;quot;JetBrains Mono&amp;quot;, Consolas, Monaco, monospace; font-size: 16px; max-height: 2000px; position: relative; overflow: visible; font-variant-ligatures: none; background-color: rgb(255, 255, 255);&quot;&gt;#&amp;nbsp;查看日志确认固件加载成功
dmesg&amp;nbsp;|&amp;nbsp;grep&amp;nbsp;iwlwifi&amp;nbsp;|&amp;nbsp;tail&amp;nbsp;-20

#&amp;nbsp;检查无线网卡接口（如&amp;nbsp;wlp5s0）

ip&amp;nbsp;a&amp;nbsp;show&lt;/pre&gt;&lt;p style=&quot;font-family: Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;成功日志应包含类似：&lt;/p&gt;&lt;p style=&quot;font-family: Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;pre class=&quot;codeblock-buttons&quot; style=&quot;font-family: &amp;quot;JetBrains Mono&amp;quot;, Consolas, Monaco, monospace; font-size: 16px; max-height: 2000px; position: relative; overflow: visible; font-variant-ligatures: none; background-color: rgb(255, 255, 255);&quot;&gt;iwlwifi&amp;nbsp;0000:05:00.0:&amp;nbsp;loaded&amp;nbsp;firmware&amp;nbsp;version&amp;nbsp;83...iwlwifi&amp;nbsp;0000:05:00.0:&amp;nbsp;Detected&amp;nbsp;Intel(R)&amp;nbsp;Wi-Fi&amp;nbsp;6&amp;nbsp;AX210...&lt;/pre&gt;&lt;hr style=&quot;box-sizing: content-box; height: 1px; overflow: visible; margin: 1em 0px; border-width: 1px 0px 0px; border-style: solid none none; border-color: rgb(230, 230, 230) currentcolor currentcolor; border-image: initial; padding: 0px; font-family: Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; white-space: normal; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;h2 style=&quot;font-variation-settings: normal; font-feature-settings: normal; font-family: Arial, sans-serif; margin: 2rem 0px 0.67rem; line-height: 1.2; font-size: 21.112px; font-variant-ligatures: none; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;a name=&quot;p-25757-h-10&quot; class=&quot;anchor&quot; href=&quot;https://forum.openeuler.org/t/topic/19237#p-25757-h-10&quot; aria-label=&quot;标题链接&quot; style=&quot;background-color: rgba(0, 0, 0, 0); color: rgb(0, 47, 167); cursor: pointer; overflow-wrap: break-word; opacity: 0; transition: opacity 0.25s;&quot;&gt;&lt;/a&gt;&lt;span style=&quot;font-weight: bolder;&quot;&gt;三、附录：蓝牙驱动&lt;/span&gt;&lt;/h2&gt;&lt;p style=&quot;font-family: Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;Intel AX210 的蓝牙部分通常使用内核自带的 &lt;code style=&quot;font-family: &amp;quot;JetBrains Mono&amp;quot;, Consolas, Monaco, monospace; font-size: 0.875rem; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(240, 240, 240); border-radius: 4px; line-height: 1.30769; padding: 2px 4px; white-space: pre-wrap;&quot;&gt;btintel&lt;/code&gt; 驱动，若无法工作，可尝试：&lt;/p&gt;&lt;p style=&quot;font-family: Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;pre class=&quot;codeblock-buttons&quot; style=&quot;font-family: &amp;quot;JetBrains Mono&amp;quot;, Consolas, Monaco, monospace; font-size: 16px; max-height: 2000px; position: relative; overflow: visible; font-variant-ligatures: none; background-color: rgb(255, 255, 255);&quot;&gt;sudo&amp;nbsp;dnf&amp;nbsp;install&amp;nbsp;bluez&amp;nbsp;bluez-obexd
sudo&amp;nbsp;systemctl&amp;nbsp;enable&amp;nbsp;--now&amp;nbsp;bluetooth&lt;/pre&gt;&lt;p style=&quot;font-family: Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;并检查是否需要下载对应的蓝牙固件文件（可参考 WiFi 固件手动下载流程）。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Tue, 26 May 2026 19:41:54 +0800</pubDate></item><item><title>openeuler安装ukui进入账号登陆后图形界面消失,不支持HDMI转VGA接口</title><link>https://www.yjlink.cc/?id=3553</link><description>&lt;div class=&quot;ds-markdown ds-assistant-message-main-content&quot; style=&quot;--ds-md-zoom: 1.143; font-style: normal; font-variant: normal; font-size-adjust: none; font-language-override: normal; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-stretch: normal; font-size: 16px; line-height: 28px; font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; color: rgb(15, 17, 21);&quot;&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 16px; margin-top: 0px !important;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 18px;&quot;&gt;openeuler安装ukui进入账号登陆后图形界面消失,不支持HDMI转VGA接口&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 16px; margin-top: 0px !important;&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 16px; margin-top: 0px !important;&quot;&gt;系统是openeuler2403与openeuler2509，安装ukui界面后，登陆账号的界面正常显示，输入账号与密码点登陆后，显示器没信号了。&lt;/p&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 16px; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;color: #0F1115; font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px;&quot;&gt;DeepSeek的回复，有些内容不对，作了修改：&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 16px; margin-top: 0px !important;&quot;&gt;&lt;span class=&quot;&quot;&gt;别太担心，在 openEuler 上安装 UKUI 后，使用 HDMI 转 VGA 接口黑屏，是一个比较常见的兼容性问题。按照下面的步骤逐步排查，有很大希望能解决：&lt;/span&gt;&lt;/p&gt;&lt;h3 style=&quot;font-style: normal; font-variant: normal; font-size-adjust: none; font-language-override: normal; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-stretch: normal; font-size: 20px; line-height: 30px; font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; margin: 32px 0px 16px;&quot;&gt;&lt;span class=&quot;&quot;&gt;&amp;nbsp;故障原因简析&lt;/span&gt;&lt;/h3&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin: 16px 0px;&quot;&gt;&lt;span class=&quot;&quot;&gt;HDMI 转 VGA 涉及数字到模拟的信号转换，任何环节出问题都可能导致无显示：&lt;/span&gt;&lt;/p&gt;&lt;ul style=&quot;margin: 16px 0px; padding-left: 18px;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 0px; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;硬件问题&lt;/span&gt;&lt;span class=&quot;&quot;&gt;：转换器质量或兼容性不佳&lt;/span&gt;&lt;a href=&quot;https://www.160.com/article/12197.html&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot; style=&quot;color: rgb(57, 100, 254); transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1); border-width: 2px 3px; border-style: solid; border-color: rgba(255, 255, 255, 0); margin-left: -3px; margin-right: -3px; position: relative; cursor: default;&quot;&gt;&lt;/a&gt;&lt;span class=&quot;&quot;&gt;。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 0px; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;系统配置&lt;/span&gt;&lt;span class=&quot;&quot;&gt;：可能未正确发送“信号源已连接”的“热插拔”信号，导致系统未激活接口&lt;/span&gt;&lt;span class=&quot;&quot;&gt;。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 0px; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;驱动问题&lt;/span&gt;&lt;span class=&quot;&quot;&gt;：显卡驱动未能正确配置，不支持信号转换&lt;/span&gt;&lt;span class=&quot;&quot;&gt;。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 0px; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;分辨率问题&lt;/span&gt;&lt;span class=&quot;&quot;&gt;：系统输出分辨率超出 VGA 显示器支持范围&lt;/span&gt;&lt;span class=&quot;&quot;&gt;。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 0px; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;接口问题&lt;/span&gt;&lt;span class=&quot;&quot;&gt;：VGA 接口针脚损坏或连接松动&lt;/span&gt;&lt;span class=&quot;&quot;&gt;。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h3 style=&quot;font-style: normal; font-variant: normal; font-size-adjust: none; font-language-override: normal; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-stretch: normal; font-size: 20px; line-height: 30px; font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; margin: 32px 0px 16px;&quot;&gt;&lt;span class=&quot;&quot;&gt;&amp;nbsp;解决方案&lt;/span&gt;&lt;/h3&gt;&lt;h4 style=&quot;font-style: normal; font-variant: normal; font-size-adjust: none; font-language-override: normal; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-stretch: normal; font-size: 16px; line-height: 28px; font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; margin: 16px 0px 8px;&quot;&gt;&lt;span class=&quot;&quot;&gt;1. 检查和更换硬件&lt;/span&gt;&lt;/h4&gt;&lt;ul style=&quot;margin: 8px 0px 16px; padding-left: 18px;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 0px; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;确保使用“主动式”转换器&lt;/span&gt;&lt;span class=&quot;&quot;&gt;：这是最常见的原因，优先购买带独立芯片、稍大的 &lt;/span&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;“主动式”&lt;/span&gt;&lt;span class=&quot;&quot;&gt; HDMI 转 VGA 转换器&lt;/span&gt;&lt;a href=&quot;https://www.160.com/article/12197.html&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot; style=&quot;color: rgb(57, 100, 254); transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1); border-width: 2px 3px; border-style: solid; border-color: rgba(255, 255, 255, 0); margin-left: -3px; margin-right: -3px; position: relative; cursor: default;&quot;&gt;&lt;/a&gt;&lt;span class=&quot;&quot;&gt;。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 0px; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;检查线路连接&lt;/span&gt;&lt;span class=&quot;&quot;&gt;：重新插拔并确保转换器、HDMI 线和 VGA 线连接牢固&lt;/span&gt;&lt;a href=&quot;https://www.160.com/article/12197.html&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot; style=&quot;color: rgb(57, 100, 254); transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1); border-width: 2px 3px; border-style: solid; border-color: rgba(255, 255, 255, 0); margin-left: -3px; margin-right: -3px; position: relative; cursor: default;&quot;&gt;&lt;/a&gt;&lt;span class=&quot;&quot;&gt;。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 0px; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;检查显示器输入源&lt;/span&gt;&lt;span class=&quot;&quot;&gt;：确保显示器输入源已正确切换到 VGA 或 D-SUB 通道&lt;/span&gt;&lt;span class=&quot;&quot;&gt;。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h4 style=&quot;font-style: normal; font-variant: normal; font-size-adjust: none; font-language-override: normal; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-stretch: normal; font-size: 16px; line-height: 28px; font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; margin: 16px 0px;&quot;&gt;&lt;span class=&quot;&quot;&gt;2. 更新显卡驱动&lt;/span&gt;&lt;/h4&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin: 16px 0px;&quot;&gt;&lt;span class=&quot;&quot;&gt;可从社区仓库或显卡官网下载对应的 Linux 驱动进行安装&lt;/span&gt;&lt;span class=&quot;&quot;&gt;。&lt;/span&gt;&lt;/p&gt;&lt;h4 style=&quot;font-style: normal; font-variant: normal; font-size-adjust: none; font-language-override: normal; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-stretch: normal; font-size: 16px; line-height: 28px; font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; margin: 16px 0px 8px;&quot;&gt;&lt;span class=&quot;&quot;&gt;3. 检查并调整显示设置&lt;/span&gt;&lt;/h4&gt;&lt;ul style=&quot;margin: 8px 0px 16px; padding-left: 18px;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 0px; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;通过 xrandr 命令调试&lt;/span&gt;&lt;span class=&quot;&quot;&gt;：在终端输入 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;xrandr&lt;/code&gt;&lt;span class=&quot;&quot;&gt; 查看输出列表；尝试强制开启，如识别为 HDMI-1，输入 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;xrandr --output HDMI-1 --auto&lt;/code&gt;&lt;span class=&quot;&quot;&gt; 启用&lt;/span&gt;&lt;a href=&quot;https://slimbook.com/forum/preguntas-y-respuestas-de-la-comunidad-de-usuarios-de-slimbook-1/question/external-monitor-has-no-signal-1331&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot; style=&quot;color: rgb(57, 100, 254); transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1); border-width: 2px 3px; border-style: solid; border-color: rgba(255, 255, 255, 0); margin-left: -3px; margin-right: -3px; position: relative; cursor: default;&quot;&gt;&lt;/a&gt;&lt;span class=&quot;&quot;&gt;。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 0px; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;通过 UKUI 图形界面调试&lt;/span&gt;&lt;span class=&quot;&quot;&gt;：进入 &lt;/span&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;【设置】→【系统】→【显示器】&lt;/span&gt;&lt;span class=&quot;&quot;&gt; 手动点击 &lt;/span&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;“检测显示器”&lt;/span&gt;&lt;a href=&quot;https://www.php.cn/faq/2066485.html&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot; style=&quot;color: rgb(57, 100, 254); transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1); border-width: 2px 3px; border-style: solid; border-color: rgba(255, 255, 255, 0); margin-left: -3px; margin-right: -3px; position: relative; cursor: default;&quot;&gt;&lt;/a&gt;&lt;span class=&quot;&quot;&gt;；分别测试 &lt;/span&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;“复制”&lt;/span&gt;&lt;span class=&quot;&quot;&gt; 或 &lt;/span&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;“扩展”&lt;/span&gt;&lt;span class=&quot;&quot;&gt; 模式&lt;/span&gt;&lt;a href=&quot;https://slimbook.com/forum/preguntas-y-respuestas-de-la-comunidad-de-usuarios-de-slimbook-1/question/external-monitor-has-no-signal-1331&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot; style=&quot;color: rgb(57, 100, 254); transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1); border-width: 2px 3px; border-style: solid; border-color: rgba(255, 255, 255, 0); margin-left: -3px; margin-right: -3px; position: relative; cursor: default;&quot;&gt;&lt;/a&gt;&lt;span class=&quot;&quot;&gt;；尝试将分辨率调低（如 1024x768），并将刷新率设为 60Hz&lt;/span&gt;&lt;a href=&quot;https://www.160.com/article/12197.html&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot; style=&quot;color: rgb(57, 100, 254); transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1); border-width: 2px 3px; border-style: solid; border-color: rgba(255, 255, 255, 0); margin-left: -3px; margin-right: -3px; position: relative; cursor: default;&quot;&gt;&lt;/a&gt;&lt;span class=&quot;&quot;&gt;。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h4 style=&quot;font-style: normal; font-variant: normal; font-size-adjust: none; font-language-override: normal; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-stretch: normal; font-size: 16px; line-height: 28px; font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; margin: 16px 0px 8px;&quot;&gt;&lt;span class=&quot;&quot;&gt;4. 排查其他原因&lt;/span&gt;&lt;/h4&gt;&lt;ul style=&quot;margin: 8px 0px 16px; padding-left: 18px;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 0px; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;借助内核启动参数&lt;/span&gt;&lt;span class=&quot;&quot;&gt;：&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 0px; margin-top: 0px !important;&quot;&gt;&lt;span class=&quot;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 0px; margin-top: 0px !important;&quot;&gt;&lt;span class=&quot;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 0px; margin-top: 0px !important;&quot;&gt;&lt;span class=&quot;&quot;&gt;我这里是使用以下方法恢复的显示信号，但是分辨率与刷新率没有了。相当于win系统的安全模式。&lt;br/&gt;编辑 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;/etc/default/grub&lt;/code&gt;&lt;span class=&quot;&quot;&gt;，在 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;GRUB_CMDLINE_LINUX&lt;/code&gt;&lt;span class=&quot;&quot;&gt; 中添加 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;video=HDMI-A-1:D&lt;/code&gt;&lt;span class=&quot;&quot;&gt; 强制开启 HDMI 输出，然后执行 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;sudo update-grub&lt;/code&gt;&lt;span class=&quot;&quot;&gt;&amp;nbsp;(使用dracut&amp;nbsp; --force&amp;nbsp;命令)更新引导。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 0px; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;双显卡机型特殊处理&lt;/span&gt;&lt;span class=&quot;&quot;&gt;：&lt;br/&gt;若为双显卡机型且尝试以上方法无效，可进入 BIOS 设置，尝试暂时禁用独立显卡，强制使用核显输出看是否改善&lt;/span&gt;&lt;a href=&quot;https://slimbook.com/forum/preguntas-y-respuestas-de-la-comunidad-de-usuarios-de-slimbook-1/question/external-monitor-has-no-signal-1331&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot; style=&quot;color: rgb(57, 100, 254); transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1); border-width: 2px 3px; border-style: solid; border-color: rgba(255, 255, 255, 0); margin-left: -3px; margin-right: -3px; position: relative; cursor: default;&quot;&gt;&lt;/a&gt;&lt;span class=&quot;&quot;&gt;。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-top: 16px; margin-bottom: 0px !important;&quot;&gt;&lt;span class=&quot;&quot;&gt;请按照这个由简到繁的顺序尝试，如果所有方法都无效，可联系 openEuler 社区求助（如在 Issue #I5MK0X 下留言）&lt;/span&gt;&lt;a href=&quot;https://gitee.com/openeuler/ukui/issues/I5MK0X&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot; style=&quot;color: rgb(57, 100, 254); transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1); border-width: 2px 3px; border-style: solid; border-color: rgba(255, 255, 255, 0); margin-left: -3px; margin-right: -3px; position: relative; cursor: default;&quot;&gt;&lt;/a&gt;&lt;span class=&quot;&quot;&gt;。&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-top: 16px; margin-bottom: 0px !important;&quot;&gt;&lt;span class=&quot;&quot;&gt;如果需要诊断具体是哪个环节的问题，也可以随时告诉我，我来帮你进一步排查。&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-top: 16px; margin-bottom: 0px !important;&quot;&gt;&lt;span class=&quot;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-top: 16px; margin-bottom: 0px !important;&quot;&gt;&lt;span class=&quot;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-top: 16px; margin-bottom: 0px !important;&quot;&gt;&lt;span class=&quot;&quot;&gt;以上方法只解决了显示，但是没有显卡驱动了。这里下载nv官网显卡驱动，安装后驱动后就正常，而且hdmi的声卡也能识别了。&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-top: 16px; margin-bottom: 0px !important;&quot;&gt;&lt;/p&gt;&lt;div class=&quot;ds-message _63c77b1&quot; style=&quot;color: rgb(128, 0, 128); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-variant-ligatures: no-contextual; white-space: normal; background-color: rgb(255, 255, 255); --panel-width: 0px;&quot;&gt;&lt;div class=&quot;ds-markdown ds-assistant-message-main-content&quot; style=&quot;--ds-md-zoom: 1.143; font-style: normal; font-variant: normal; font-size-adjust: none; font-language-override: normal; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-stretch: normal; font-size: 16px; line-height: 28px; font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; color: rgb(15, 17, 21);&quot;&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 16px; margin-top: 0px !important;&quot;&gt;&lt;span class=&quot;&quot;&gt;GTX 750这个“登录界面显示正常，登录后就黑屏”的情况很典型，能进登录界面，说明你的硬件和HDMI转VGA连接在初步阶段是没问题的。&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 16px; margin-top: 0px !important;&quot;&gt;&lt;span class=&quot;&quot;&gt;问题大概率出在 &lt;/span&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;NVIDIA 显卡驱动与 openEuler 24.03 系统、UKUI 桌面环境之间的兼容性&lt;/span&gt;&lt;span class=&quot;&quot;&gt;上。&lt;/span&gt;&lt;/p&gt;&lt;h3 style=&quot;font-style: normal; font-variant: normal; font-size-adjust: none; font-language-override: normal; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-stretch: normal; font-size: 20px; line-height: 30px; font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; margin: 32px 0px 16px;&quot;&gt;&lt;span class=&quot;&quot;&gt;&amp;nbsp;问题排查与原因分析&lt;/span&gt;&lt;/h3&gt;&lt;ul style=&quot;margin: 16px 0px; padding-left: 18px;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 0px; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;显卡驱动缺失/冲突&lt;/span&gt;&lt;span class=&quot;&quot;&gt;：系统现在很可能在使用开源驱动&lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;nouveau&lt;/code&gt;&lt;span class=&quot;&quot;&gt;，它登录后加载失败导致黑屏&lt;/span&gt;&lt;a href=&quot;https://ask.csdn.net/questions/8558164&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot; style=&quot;color: rgb(57, 100, 254); transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1); border-width: 2px 3px; border-style: solid; border-color: rgba(255, 255, 255, 0); margin-left: -3px; margin-right: -3px; position: relative; cursor: default;&quot;&gt;&lt;/a&gt;&lt;span class=&quot;&quot;&gt;。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 0px; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;桌面环境兼容性&lt;/span&gt;&lt;span class=&quot;&quot;&gt;：UKUI 与 NVIDIA 闭源驱动可能存在兼容性问题，登录后桌面特效（如窗口管理器KWin）与驱动冲突&lt;/span&gt;&lt;a href=&quot;https://forum.openeuler.org/t/topic/18446/3&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot; style=&quot;color: rgb(57, 100, 254); transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1); border-width: 2px 3px; border-style: solid; border-color: rgba(255, 255, 255, 0); margin-left: -3px; margin-right: -3px; position: relative; cursor: default;&quot;&gt;&lt;/a&gt;&lt;span class=&quot;&quot;&gt;。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 0px; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;HDMI 转 VGA 信号问题&lt;/span&gt;&lt;span class=&quot;&quot;&gt;：此接口涉及数字到模拟信号转换，某些驱动版本在输出时序上与该设备兼容性不佳。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h3 style=&quot;font-style: normal; font-variant: normal; font-size-adjust: none; font-language-override: normal; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-stretch: normal; font-size: 20px; line-height: 30px; font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; margin: 32px 0px 16px;&quot;&gt;&lt;span class=&quot;&quot;&gt;详细解决步骤&lt;/span&gt;&lt;/h3&gt;&lt;h4 style=&quot;font-style: normal; font-variant: normal; font-size-adjust: none; font-language-override: normal; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-stretch: normal; font-size: 16px; line-height: 28px; font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; margin: 16px 0px;&quot;&gt;&lt;span class=&quot;&quot;&gt;1. 进入命令行环境&lt;/span&gt;&lt;/h4&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin: 16px 0px;&quot;&gt;&lt;span class=&quot;&quot;&gt;重启进入 GRUB 菜单，在 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;linux&lt;/code&gt;&lt;span class=&quot;&quot;&gt; 行末尾添加 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;3&lt;/code&gt;&lt;span class=&quot;&quot;&gt; 或 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;systemd.unit=multi-user.target&lt;/code&gt;&lt;span class=&quot;&quot;&gt; 按 Ctrl+X 启动进入纯字符界面。&lt;/span&gt;&lt;/p&gt;&lt;h4 style=&quot;font-style: normal; font-variant: normal; font-size-adjust: none; font-language-override: normal; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-stretch: normal; font-size: 16px; line-height: 28px; font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; margin: 16px 0px;&quot;&gt;&lt;span class=&quot;&quot;&gt;2. 重装/安装 NVIDIA 闭源驱动&lt;/span&gt;&lt;/h4&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin: 16px 0px;&quot;&gt;&lt;span class=&quot;&quot;&gt;GTX 750 属于旧架构（Maxwell），推荐安装 NVIDIA 官方 &lt;/span&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;470xx&lt;/span&gt;&lt;span class=&quot;&quot;&gt; 系列驱动。步骤如下：&lt;/span&gt;&lt;/p&gt;&lt;ul style=&quot;margin: 16px 0px; padding-left: 18px;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 0px; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;安装依赖&lt;/span&gt;&lt;span class=&quot;&quot;&gt;：确保系统已安装 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;gcc&lt;/code&gt;&lt;span class=&quot;&quot;&gt;、&lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;make&lt;/code&gt;&lt;span class=&quot;&quot;&gt; 和 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;kernel-devel&lt;/code&gt;&lt;span class=&quot;&quot;&gt; 等依赖&lt;/span&gt;&lt;a href=&quot;https://ask.csdn.net/questions/8558164&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot; style=&quot;color: rgb(57, 100, 254); transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1); border-width: 2px 3px; border-style: solid; border-color: rgba(255, 255, 255, 0); margin-left: -3px; margin-right: -3px; position: relative; cursor: default;&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://forum.openeuler.org/t/topic/6960/10&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot; style=&quot;color: rgb(57, 100, 254); transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1); border-width: 2px 3px; border-style: solid; border-color: rgba(255, 255, 255, 0); margin-left: -3px; margin-right: -3px; position: relative; cursor: default;&quot;&gt;&lt;/a&gt;&lt;span class=&quot;&quot;&gt;。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 8px; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;禁用 nouveau 驱动&lt;/span&gt;&lt;span class=&quot;&quot;&gt;：创建 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;/etc/modprobe.d/blacklist-nouveau.conf&lt;/code&gt;&lt;span class=&quot;&quot;&gt;，写入：&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;md-code-block md-code-block-light&quot; style=&quot;--ds-md-code-banner-background-color: #f9fafb; --ds-md-code-block-border-radius: 12px; --ds-md-code-block-font-size: calc(1.143*11px); background: none 0% 0% / auto repeat scroll padding-box border-box rgb(249, 250, 251); border-radius: 12px; margin: 16px 0px 11.43px; position: relative;&quot;&gt;&lt;div class=&quot;md-code-block-banner-wrap&quot; style=&quot;top: 0px; z-index: 6; background-color: rgb(255, 255, 255); border-top-left-radius: 12px; border-top-right-radius: 12px; position: sticky;&quot;&gt;&lt;div class=&quot;md-code-block-banner md-code-block-banner-lite&quot; style=&quot;background: none 0% 0% / auto repeat scroll padding-box border-box rgb(249, 250, 251); padding: 0px; font-size: 12.573px; line-height: 12.573px; justify-content: space-between; display: flex; border-top-left-radius: 12px; border-top-right-radius: 12px;&quot;&gt;&lt;div class=&quot;_121d384&quot; style=&quot;justify-content: space-between; align-items: center; width: 722px; padding: 6px; display: flex;&quot;&gt;&lt;div class=&quot;d2a24f03&quot; style=&quot;flex-shrink: 0;&quot;&gt;&lt;span class=&quot;d813de27&quot; style=&quot;font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; margin-left: 8px; font-size: 12px; line-height: 18px;&quot;&gt;text&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;pre style=&quot;font-style: normal; font-variant: normal; font-size-adjust: none; font-language-override: normal; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-stretch: normal; font-size: 13px; line-height: 22px; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; overflow: auto; white-space: pre-wrap; word-break: break-all; padding: 16px; margin: 0px !important;&quot;&gt;blacklist&amp;nbsp;nouveau
options&amp;nbsp;nouveau&amp;nbsp;modeset=0&lt;/pre&gt;&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; width=&quot;12&quot; height=&quot;12&quot; viewbox=&quot;0 0 12 12&quot; fill=&quot;none&quot; class=&quot;_9bc997d _33882ae&quot;&gt;&lt;path d=&quot;M-5.24537e-07 0C-2.34843e-07 6.62742 5.37258 12 12 12L0 12L-5.24537e-07 0Z&quot; fill=&quot;currentColor&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; width=&quot;12&quot; height=&quot;12&quot; viewbox=&quot;0 0 12 12&quot; fill=&quot;none&quot; class=&quot;_9bc997d _28d7e84&quot;&gt;&lt;path d=&quot;M-5.24537e-07 0C-2.34843e-07 6.62742 5.37258 12 12 12L0 12L-5.24537e-07 0Z&quot; fill=&quot;currentColor&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/div&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin: 8px 0px 0px;&quot;&gt;&lt;span class=&quot;&quot;&gt;执行 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;sudo dracut --force&lt;/code&gt;&lt;span class=&quot;&quot;&gt; 重建 initramfs&lt;/span&gt;&lt;a href=&quot;https://ask.csdn.net/questions/8558164&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot; style=&quot;color: rgb(57, 100, 254); transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1); border-width: 2px 3px; border-style: solid; border-color: rgba(255, 255, 255, 0); margin-left: -3px; margin-right: -3px; position: relative; cursor: default;&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://forum.openeuler.org/t/topic/18786#post_4&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot; style=&quot;color: rgb(57, 100, 254); transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1); border-width: 2px 3px; border-style: solid; border-color: rgba(255, 255, 255, 0); margin-left: -3px; margin-right: -3px; position: relative; cursor: default;&quot;&gt;&lt;/a&gt;&lt;span class=&quot;&quot;&gt;，重启后运行 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;lsmod | grep nouveau&lt;/code&gt;&lt;span class=&quot;&quot;&gt; 确认无输出。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 0px; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;安装闭源驱动&lt;/span&gt;&lt;span class=&quot;&quot;&gt;：从 &lt;/span&gt;&lt;a href=&quot;https://www.nvidia.com/Download/index.aspx&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot; style=&quot;color: rgb(57, 100, 254); transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1); border-width: 2px 3px; border-style: solid; border-color: rgba(255, 255, 255, 0); margin-left: -3px; margin-right: -3px; position: relative;&quot;&gt;&lt;span class=&quot;&quot;&gt;NVIDIA 官网&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;&quot;&gt; 搜索 &amp;quot;GeForce GTX 750&amp;quot; 和 &amp;quot;Linux 64-bit&amp;quot; 下载对应驱动（如 470.xx 系列）&lt;/span&gt;&lt;a href=&quot;https://ask.csdn.net/questions/8558164&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot; style=&quot;color: rgb(57, 100, 254); transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1); border-width: 2px 3px; border-style: solid; border-color: rgba(255, 255, 255, 0); margin-left: -3px; margin-right: -3px; position: relative; cursor: default;&quot;&gt;&lt;/a&gt;&lt;span class=&quot;&quot;&gt;，赋予可执行权限后运行，按提示安装（期间可能提示已禁用 nouveau，确认即可）&lt;/span&gt;&lt;a href=&quot;https://forum.openeuler.org/t/topic/18446/3&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot; style=&quot;color: rgb(57, 100, 254); transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1); border-width: 2px 3px; border-style: solid; border-color: rgba(255, 255, 255, 0); margin-left: -3px; margin-right: -3px; position: relative; cursor: default;&quot;&gt;&lt;/a&gt;&lt;span class=&quot;&quot;&gt;。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h4 style=&quot;font-style: normal; font-variant: normal; font-size-adjust: none; font-language-override: normal; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-stretch: normal; font-size: 16px; line-height: 28px; font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; margin: 16px 0px;&quot;&gt;&lt;span class=&quot;&quot;&gt;3. 配置 Xorg&lt;/span&gt;&lt;/h4&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin: 16px 0px;&quot;&gt;&lt;span class=&quot;&quot;&gt;安装完驱动，执行 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;sudo nvidia-xconfig&lt;/code&gt;&lt;span class=&quot;&quot;&gt; 自动生成 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;/etc/X11/xorg.conf&lt;/code&gt;&lt;span class=&quot;&quot;&gt; 配置文件。&lt;/span&gt;&lt;/p&gt;&lt;h4 style=&quot;font-style: normal; font-variant: normal; font-size-adjust: none; font-language-override: normal; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-stretch: normal; font-size: 16px; line-height: 28px; font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; margin: 16px 0px;&quot;&gt;&lt;span class=&quot;&quot;&gt;4. 调整内核启动参数&lt;/span&gt;&lt;/h4&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin: 16px 0px;&quot;&gt;&lt;span class=&quot;&quot;&gt;若完成以上步骤仍黑屏，编辑 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;/etc/default/grub&lt;/code&gt;&lt;span class=&quot;&quot;&gt;，在 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;GRUB_CMDLINE_LINUX&lt;/code&gt;&lt;span class=&quot;&quot;&gt; 中添加 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;nvidia-drm.modeset=1&lt;/code&gt;&lt;span class=&quot;&quot;&gt; 以启用内核模式设置（KMS）。&lt;/span&gt;&lt;/p&gt;&lt;h4 style=&quot;font-style: normal; font-variant: normal; font-size-adjust: none; font-language-override: normal; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-stretch: normal; font-size: 16px; line-height: 28px; font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; margin: 16px 0px;&quot;&gt;&lt;span class=&quot;&quot;&gt;5. UKUI 特定优化&lt;/span&gt;&lt;/h4&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin: 16px 0px;&quot;&gt;&lt;span class=&quot;&quot;&gt;若问题依旧且能找到 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;/var/log/Xorg.0.log&lt;/code&gt;&lt;span class=&quot;&quot;&gt;，可检查并尝试在 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;/etc/X11/xorg.conf.d/&lt;/code&gt;&lt;span class=&quot;&quot;&gt; 中创建配置文件，或临时将窗口管理器换成 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;metacity&lt;/code&gt;&lt;span class=&quot;&quot;&gt; 来排查。&lt;/span&gt;&lt;/p&gt;&lt;h4 style=&quot;font-style: normal; font-variant: normal; font-size-adjust: none; font-language-override: normal; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-stretch: normal; font-size: 16px; line-height: 28px; font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; margin: 16px 0px;&quot;&gt;&lt;span class=&quot;&quot;&gt;6. 终极方案：更换转接头&lt;/span&gt;&lt;/h4&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin: 16px 0px;&quot;&gt;&lt;span class=&quot;&quot;&gt;如果所有软件层面都试过仍未解决，可能是硬件信号转换问题。可更换为 &lt;/span&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;“主动式”HDMI 转 VGA 转换器&lt;/span&gt;&lt;span class=&quot;&quot;&gt;（通常带 Micro-USB 供电），它能提供更稳定的信号转换&lt;/span&gt;&lt;a href=&quot;https://forum.openeuler.org/t/topic/18786#post_4&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot; style=&quot;color: rgb(57, 100, 254); transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1); border-width: 2px 3px; border-style: solid; border-color: rgba(255, 255, 255, 0); margin-left: -3px; margin-right: -3px; position: relative; cursor: default;&quot;&gt;&lt;/a&gt;&lt;span class=&quot;&quot;&gt;。&lt;/span&gt;&lt;/p&gt;&lt;h3 style=&quot;font-style: normal; font-variant: normal; font-size-adjust: none; font-language-override: normal; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-stretch: normal; font-size: 20px; line-height: 30px; font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; margin: 32px 0px 16px;&quot;&gt;&lt;span class=&quot;&quot;&gt;&amp;nbsp;总结&lt;/span&gt;&lt;/h3&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-top: 16px; margin-bottom: 0px !important;&quot;&gt;&lt;span class=&quot;&quot;&gt;核心解决思路是&lt;/span&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;&lt;span class=&quot;&quot;&gt;安装官方闭源驱动并明确禁用 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-weight: 400; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;nouveau&lt;/code&gt;&lt;/span&gt;&lt;span class=&quot;&quot;&gt;。请按照 &lt;/span&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;“进入命令行 → 安装依赖 → 禁用 nouveau → 安装闭源驱动”&lt;/span&gt;&lt;span class=&quot;&quot;&gt; 的顺序操作，通常能解决大多数类似问题。&lt;br/&gt;若问题依旧，建议带着 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;/var/log/Xorg.0.log&lt;/code&gt;&lt;span class=&quot;&quot;&gt; 日志去 openEuler 论坛发帖求助。&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-top: 16px; margin-bottom: 0px !important;&quot;&gt;&lt;span class=&quot;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 16px; color: rgb(15, 17, 21); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); margin-top: 0px !important;&quot;&gt;&lt;span class=&quot;&quot;&gt;好，我们一步步来完成GTX 750显卡驱动的安装。&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin: 16px 0px; color: rgb(15, 17, 21); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span class=&quot;&quot;&gt;整个过程的核心就是&lt;/span&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;&lt;span class=&quot;&quot;&gt;彻底禁用系统自带的&lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-weight: 400; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;nouveau&lt;/code&gt;&lt;span class=&quot;&quot;&gt;开源驱动，然后为你的GTX 750安装合适的NVIDIA闭源驱动&lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;https://blog.csdn.net/fansnn/article/details/145727037&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot; style=&quot;color: rgb(57, 100, 254); transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1); border-width: 2px 3px; border-style: solid; border-color: rgba(255, 255, 255, 0); margin-left: -3px; margin-right: -3px; position: relative; cursor: default;&quot;&gt;&lt;/a&gt;&lt;span class=&quot;&quot;&gt;。&lt;br/&gt;在开始之前，请确保已经通过&lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;Ctrl+Alt+F2&lt;/code&gt;&lt;span class=&quot;&quot;&gt;（或&lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;F3/F4&lt;/code&gt;&lt;span class=&quot;&quot;&gt;）切换到纯命令行（tty）界面，并登录了你的账号。&lt;/span&gt;&lt;/p&gt;&lt;ul style=&quot;margin-top: 16px; padding-left: 18px; color: rgb(15, 17, 21); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255);&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 0px; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;1. 准备工作&lt;/span&gt;&lt;span class=&quot;&quot;&gt;：&lt;br/&gt;首先验证显卡型号 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;lspci | grep -i nvidia&lt;/code&gt;&lt;a href=&quot;https://blog.csdn.net/weixin_48229720/article/details/156427178&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot; style=&quot;color: rgb(57, 100, 254); transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1); border-width: 2px 3px; border-style: solid; border-color: rgba(255, 255, 255, 0); margin-left: -3px; margin-right: -3px; position: relative; cursor: default;&quot;&gt;&lt;/a&gt;&lt;span class=&quot;&quot;&gt;，确认GTX 750在列且无&lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;(rev ff)&lt;/code&gt;&lt;span class=&quot;&quot;&gt;标记&lt;/span&gt;&lt;a href=&quot;https://cloud.tencent.cn/developer/article/2516239?policyId=1004&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot; style=&quot;color: rgb(57, 100, 254); transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1); border-width: 2px 3px; border-style: solid; border-color: rgba(255, 255, 255, 0); margin-left: -3px; margin-right: -3px; position: relative; cursor: default;&quot;&gt;&lt;/a&gt;&lt;span class=&quot;&quot;&gt;。&lt;br/&gt;接着更新系统、安装依赖和编译工具：&lt;br/&gt;&lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;sudo dnf update -y&lt;/code&gt;&lt;a href=&quot;https://blog.csdn.net/fansnn/article/details/145727037&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot; style=&quot;color: rgb(57, 100, 254); transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1); border-width: 2px 3px; border-style: solid; border-color: rgba(255, 255, 255, 0); margin-left: -3px; margin-right: -3px; position: relative; cursor: default;&quot;&gt;&lt;/a&gt;&lt;span class=&quot;&quot;&gt; 和 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;sudo dnf install -y kernel-devel-$(uname -r) kernel-headers-$(uname -r) gcc make dkms&lt;/code&gt;&lt;a href=&quot;https://blog.csdn.net/mizhiakk/article/details/147443092&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot; style=&quot;color: rgb(57, 100, 254); transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1); border-width: 2px 3px; border-style: solid; border-color: rgba(255, 255, 255, 0); margin-left: -3px; margin-right: -3px; position: relative; cursor: default;&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://cloud.tencent.cn/developer/article/2516239?policyId=1004&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot; style=&quot;color: rgb(57, 100, 254); transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1); border-width: 2px 3px; border-style: solid; border-color: rgba(255, 255, 255, 0); margin-left: -3px; margin-right: -3px; position: relative; cursor: default;&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://blog.csdn.net/weixin_42670590/article/details/154604447&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot; style=&quot;color: rgb(57, 100, 254); transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1); border-width: 2px 3px; border-style: solid; border-color: rgba(255, 255, 255, 0); margin-left: -3px; margin-right: -3px; position: relative; cursor: default;&quot;&gt;&lt;/a&gt;&lt;span class=&quot;&quot;&gt;。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 0px; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;2. 禁用nouveau驱动&lt;/span&gt;&lt;span class=&quot;&quot;&gt;：&lt;br/&gt;新建黑名单配置文件 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;sudo vim /usr/lib/modprobe.d/dist-blacklist.conf&lt;/code&gt;&lt;span class=&quot;&quot;&gt;，在文件末尾添加&lt;/span&gt;&lt;a href=&quot;https://blog.csdn.net/weixin_42670590/article/details/154604447&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot; style=&quot;color: rgb(57, 100, 254); transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1); border-width: 2px 3px; border-style: solid; border-color: rgba(255, 255, 255, 0); margin-left: -3px; margin-right: -3px; position: relative; cursor: default;&quot;&gt;&lt;/a&gt;&lt;span class=&quot;&quot;&gt; &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;blacklist nouveau&lt;/code&gt;&lt;span class=&quot;&quot;&gt; 和 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;options nouveau modeset=0&lt;/code&gt;&lt;a href=&quot;https://blog.csdn.net/fansnn/article/details/145727037&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot; style=&quot;color: rgb(57, 100, 254); transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1); border-width: 2px 3px; border-style: solid; border-color: rgba(255, 255, 255, 0); margin-left: -3px; margin-right: -3px; position: relative; cursor: default;&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://cloud.tencent.cn/developer/article/2516239?policyId=1004&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot; style=&quot;color: rgb(57, 100, 254); transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1); border-width: 2px 3px; border-style: solid; border-color: rgba(255, 255, 255, 0); margin-left: -3px; margin-right: -3px; position: relative; cursor: default;&quot;&gt;&lt;/a&gt;&lt;span class=&quot;&quot;&gt;。&lt;br/&gt;然后重建内核镜像：&lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;sudo mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nouveau.img&lt;/code&gt;&lt;a href=&quot;https://blog.csdn.net/fansnn/article/details/145727037&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot; style=&quot;color: rgb(57, 100, 254); transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1); border-width: 2px 3px; border-style: solid; border-color: rgba(255, 255, 255, 0); margin-left: -3px; margin-right: -3px; position: relative; cursor: default;&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://blog.csdn.net/mizhiakk/article/details/147443092&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot; style=&quot;color: rgb(57, 100, 254); transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1); border-width: 2px 3px; border-style: solid; border-color: rgba(255, 255, 255, 0); margin-left: -3px; margin-right: -3px; position: relative; cursor: default;&quot;&gt;&lt;/a&gt;&lt;span class=&quot;&quot;&gt; 和 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;sudo dracut /boot/initramfs-$(uname -r).img $(uname -r)&lt;/code&gt;&lt;a href=&quot;https://blog.csdn.net/mizhiakk/article/details/147443092&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot; style=&quot;color: rgb(57, 100, 254); transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1); border-width: 2px 3px; border-style: solid; border-color: rgba(255, 255, 255, 0); margin-left: -3px; margin-right: -3px; position: relative; cursor: default;&quot;&gt;&lt;/a&gt;&lt;span class=&quot;&quot;&gt;。&lt;br/&gt;重启后 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;lsmod | grep nouveau&lt;/code&gt;&lt;span class=&quot;&quot;&gt; 若无输出即禁用成功&lt;/span&gt;&lt;a href=&quot;https://blog.csdn.net/fansnn/article/details/145727037&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot; style=&quot;color: rgb(57, 100, 254); transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1); border-width: 2px 3px; border-style: solid; border-color: rgba(255, 255, 255, 0); margin-left: -3px; margin-right: -3px; position: relative; cursor: default;&quot;&gt;&lt;/a&gt;&lt;span class=&quot;&quot;&gt;。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 0px; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;3. 下载驱动&lt;/span&gt;&lt;span class=&quot;&quot;&gt;：&lt;br/&gt;访问&lt;/span&gt;&lt;a href=&quot;https://www.nvidia.cn/drivers/lookup&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot; style=&quot;color: rgb(57, 100, 254); transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1); border-width: 2px 3px; border-style: solid; border-color: rgba(255, 255, 255, 0); margin-left: -3px; margin-right: -3px; position: relative;&quot;&gt;&lt;span class=&quot;&quot;&gt;NVIDIA官网下载页&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;&quot;&gt;，根据GTX 750选择Linux 64-bit系统&lt;/span&gt;&lt;a href=&quot;https://blog.csdn.net/fansnn/article/details/145727037&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot; style=&quot;color: rgb(57, 100, 254); transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1); border-width: 2px 3px; border-style: solid; border-color: rgba(255, 255, 255, 0); margin-left: -3px; margin-right: -3px; position: relative; cursor: default;&quot;&gt;&lt;/a&gt;&lt;span class=&quot;&quot;&gt;，获取推荐稳定版（如470.xx系列）&lt;/span&gt;&lt;span class=&quot;&quot;&gt;。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 0px; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;4. 安装驱动&lt;/span&gt;&lt;span class=&quot;&quot;&gt;：&lt;br/&gt;添加执行权限 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;chmod +x ~/Downloads/NVIDIA-Linux-*.run&lt;/code&gt;&lt;a href=&quot;https://blog.csdn.net/mizhiakk/article/details/147443092&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot; style=&quot;color: rgb(57, 100, 254); transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1); border-width: 2px 3px; border-style: solid; border-color: rgba(255, 255, 255, 0); margin-left: -3px; margin-right: -3px; position: relative; cursor: default;&quot;&gt;&lt;/a&gt;&lt;span class=&quot;&quot;&gt;。&lt;br/&gt;之后关闭图形界面 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;sudo systemctl isolate multi-user.target&lt;/code&gt;&lt;a href=&quot;https://blog.csdn.net/mizhiakk/article/details/147443092&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot; style=&quot;color: rgb(57, 100, 254); transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1); border-width: 2px 3px; border-style: solid; border-color: rgba(255, 255, 255, 0); margin-left: -3px; margin-right: -3px; position: relative; cursor: default;&quot;&gt;&lt;/a&gt;&lt;span class=&quot;&quot;&gt;。&lt;br/&gt;开始安装 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;sudo ./NVIDIA-Linux-*.run&lt;/code&gt;&lt;a href=&quot;https://blog.csdn.net/fansnn/article/details/145727037&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot; style=&quot;color: rgb(57, 100, 254); transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1); border-width: 2px 3px; border-style: solid; border-color: rgba(255, 255, 255, 0); margin-left: -3px; margin-right: -3px; position: relative; cursor: default;&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://blog.csdn.net/weixin_42670590/article/details/154604447&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot; style=&quot;color: rgb(57, 100, 254); transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1); border-width: 2px 3px; border-style: solid; border-color: rgba(255, 255, 255, 0); margin-left: -3px; margin-right: -3px; position: relative; cursor: default;&quot;&gt;&lt;/a&gt;&lt;span class=&quot;&quot;&gt;，过程中注意选择“Yes”注册DKMS&lt;/span&gt;&lt;a href=&quot;https://blog.csdn.net/weixin_42670590/article/details/154604447&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot; style=&quot;color: rgb(57, 100, 254); transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1); border-width: 2px 3px; border-style: solid; border-color: rgba(255, 255, 255, 0); margin-left: -3px; margin-right: -3px; position: relative; cursor: default;&quot;&gt;&lt;/a&gt;&lt;span class=&quot;&quot;&gt;、选择“Yes”安装32位兼容库&lt;/span&gt;&lt;a href=&quot;https://blog.csdn.net/weixin_42670590/article/details/154604447&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot; style=&quot;color: rgb(57, 100, 254); transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1); border-width: 2px 3px; border-style: solid; border-color: rgba(255, 255, 255, 0); margin-left: -3px; margin-right: -3px; position: relative; cursor: default;&quot;&gt;&lt;/a&gt;&lt;span class=&quot;&quot;&gt;并确保不勾选&lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;--no-opengl-files&lt;/code&gt;&lt;span class=&quot;&quot;&gt;以防冲突&lt;/span&gt;&lt;a href=&quot;https://blog.csdn.net/mizhiakk/article/details/147443092&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot; style=&quot;color: rgb(57, 100, 254); transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1); border-width: 2px 3px; border-style: solid; border-color: rgba(255, 255, 255, 0); margin-left: -3px; margin-right: -3px; position: relative; cursor: default;&quot;&gt;&lt;/a&gt;&lt;span class=&quot;&quot;&gt;。&lt;br/&gt;完成后重启图形界面 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;sudo systemctl isolate graphical.target&lt;/code&gt;&lt;span class=&quot;&quot;&gt;。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 0px; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;5. 验证与恢复&lt;/span&gt;&lt;span class=&quot;&quot;&gt;：&lt;br/&gt;重启后用 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;nvidia-smi&lt;/code&gt;&lt;span class=&quot;&quot;&gt; 检查驱动状态&lt;/span&gt;&lt;a href=&quot;https://blog.csdn.net/mizhiakk/article/details/147443092&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot; style=&quot;color: rgb(57, 100, 254); transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1); border-width: 2px 3px; border-style: solid; border-color: rgba(255, 255, 255, 0); margin-left: -3px; margin-right: -3px; position: relative; cursor: default;&quot;&gt;&lt;/a&gt;&lt;span class=&quot;&quot;&gt;。如果安装成功，通常无需额外操作Xorg配置；&lt;br/&gt;若重启后无法进入登录界面，可在命令行执行 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;sudo nvidia-xconfig&lt;/code&gt;&lt;span class=&quot;&quot;&gt; 恢复。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 0px; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;6. 可选：进行一些基本优化&lt;/span&gt;&lt;span class=&quot;&quot;&gt;：&lt;br/&gt;若成功装好驱动但登录画面仍有间歇性黑屏，可在&lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;/etc/default/grub&lt;/code&gt;&lt;span class=&quot;&quot;&gt;的&lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;GRUB_CMDLINE_LINUX&lt;/code&gt;&lt;span class=&quot;&quot;&gt;行中添加 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;nvidia-drm.modeset=1&lt;/code&gt;&lt;span class=&quot;&quot;&gt; 后执行 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;sudo update-grub&lt;/code&gt;&lt;span class=&quot;&quot;&gt; 并重启；&lt;br/&gt;若要彻底卸载驱动，可运行 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;sudo nvidia-uninstall&lt;/code&gt;&lt;span class=&quot;&quot;&gt; 清除所有残留。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-top: 16px; margin-bottom: 0px !important;&quot;&gt;&lt;span class=&quot;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;br/&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Tue, 26 May 2026 19:22:43 +0800</pubDate></item><item><title>openEuler 24.03 安装 UKUI + Node.js v26.2.0 + OpenClaw 完整过程文档</title><link>https://www.yjlink.cc/?id=3552</link><description>&lt;h1 cid=&quot;n2&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading md-focus&quot; style=&quot;box-sizing: border-box;break-after: avoid-page;break-inside: avoid;orphans: 4;font-size: 2.25em;margin-top: 1rem;margin-bottom: 1rem;position: relative;line-height: 1.2;cursor: text;border-bottom: 1px solid rgb(238, 238, 238);white-space: pre-wrap;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain md-expand&quot; style=&quot;box-sizing: border-box&quot;&gt;openEuler 24.03 安装 UKUI + Node.js v26.2.0 + OpenClaw 完整过程文档&lt;/span&gt;&lt;/h1&gt;&lt;h2 cid=&quot;n3&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box;break-after: avoid-page;break-inside: avoid;orphans: 4;font-size: 1.75em;margin-top: 1rem;margin-bottom: 1rem;position: relative;line-height: 1.225;cursor: text;border-bottom: 1px solid rgb(238, 238, 238);white-space: pre-wrap;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;一、环境概述&lt;/span&gt;&lt;/h2&gt;&lt;p&gt;&lt;figure cid=&quot;n4&quot; mdtype=&quot;table&quot; style=&quot;box-sizing: border-box;margin: 1.2em 0px;overflow-x: auto;max-width: calc(100% + 16px);padding: 0px;cursor: default;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px;white-space: normal&quot;&gt;&lt;table width=&quot;1140&quot;&gt;&lt;thead style=&quot;box-sizing: border-box;background-color: rgb(248, 248, 248)&quot;&gt;&lt;tr cid=&quot;n5&quot; mdtype=&quot;table_row&quot; style=&quot;box-sizing: border-box;break-inside: avoid;break-after: auto;border: 1px solid rgb(223, 226, 229);padding: 0px&quot; class=&quot;firstRow&quot;&gt;&lt;th style=&quot;box-sizing: border-box;padding: 6px 13px;border-width: 1px 1px 0px;border-top-color: rgb(223, 226, 229);border-right-color: rgb(223, 226, 229);border-left-color: rgb(223, 226, 229);border-bottom-style: initial;border-bottom-color: initial;text-align: left&quot;&gt;&lt;span cid=&quot;n6&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 261px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;项目&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th style=&quot;box-sizing: border-box;padding: 6px 13px;border-width: 1px 1px 0px;border-top-color: rgb(223, 226, 229);border-right-color: rgb(223, 226, 229);border-left-color: rgb(223, 226, 229);border-bottom-style: initial;border-bottom-color: initial;text-align: left&quot;&gt;&lt;span cid=&quot;n7&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 824px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;说明&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody style=&quot;box-sizing: border-box&quot;&gt;&lt;tr cid=&quot;n8&quot; mdtype=&quot;table_row&quot; style=&quot;box-sizing: border-box;break-inside: avoid;break-after: auto;border: 1px solid rgb(223, 226, 229);padding: 0px&quot;&gt;&lt;td style=&quot;box-sizing: border-box;padding: 6px 13px;border-color: rgb(223, 226, 229);min-width: 32px&quot;&gt;&lt;span cid=&quot;n9&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 261px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;操作系统&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;box-sizing: border-box;padding: 6px 13px;border-color: rgb(223, 226, 229);min-width: 32px&quot;&gt;&lt;span cid=&quot;n10&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 824px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;openEuler 24.03 LTS（内核 Linux 6.6）&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr cid=&quot;n11&quot; mdtype=&quot;table_row&quot; style=&quot;box-sizing: border-box;break-inside: avoid;break-after: auto;border: 1px solid rgb(223, 226, 229);padding: 0px;background-color: rgb(248, 248, 248)&quot;&gt;&lt;td style=&quot;box-sizing: border-box;padding: 6px 13px;border-color: rgb(223, 226, 229);min-width: 32px&quot;&gt;&lt;span cid=&quot;n12&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 261px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;桌面环境&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;box-sizing: border-box;padding: 6px 13px;border-color: rgb(223, 226, 229);min-width: 32px&quot;&gt;&lt;span cid=&quot;n13&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 824px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;UKUI（麒麟软件团队开发，基于 GTK 和 QT）&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr cid=&quot;n14&quot; mdtype=&quot;table_row&quot; style=&quot;box-sizing: border-box;break-inside: avoid;break-after: auto;border: 1px solid rgb(223, 226, 229);padding: 0px&quot;&gt;&lt;td style=&quot;box-sizing: border-box;padding: 6px 13px;border-color: rgb(223, 226, 229);min-width: 32px&quot;&gt;&lt;span cid=&quot;n15&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 261px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;Node.js 版本&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;box-sizing: border-box;padding: 6px 13px;border-color: rgb(223, 226, 229);min-width: 32px&quot;&gt;&lt;span cid=&quot;n16&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 824px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;v26.2.0&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr cid=&quot;n17&quot; mdtype=&quot;table_row&quot; style=&quot;box-sizing: border-box;break-inside: avoid;break-after: auto;border: 1px solid rgb(223, 226, 229);padding: 0px;background-color: rgb(248, 248, 248)&quot;&gt;&lt;td style=&quot;box-sizing: border-box;padding: 6px 13px;border-color: rgb(223, 226, 229);min-width: 32px&quot;&gt;&lt;span cid=&quot;n18&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 261px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;AI 助手框架&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;box-sizing: border-box;padding: 6px 13px;border-color: rgb(223, 226, 229);min-width: 32px&quot;&gt;&lt;span cid=&quot;n19&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 824px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;OpenClaw（个人 AI 助手网关）&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/figure&gt;&lt;/p&gt;&lt;p cid=&quot;n20&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;openEuler 24.03 LTS 基于 Linux 6.6 内核，支持 x86_64 和 aarch64 两种架构。UKUI 是麒麟软件团队打造的 Linux 桌面环境，与 openEuler 集成良好，界面类似 Windows，适合国内用户。&lt;/span&gt;&lt;/p&gt;&lt;h2 cid=&quot;n21&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box;break-after: avoid-page;break-inside: avoid;orphans: 4;font-size: 1.75em;margin-top: 1rem;margin-bottom: 1rem;position: relative;line-height: 1.225;cursor: text;border-bottom: 1px solid rgb(238, 238, 238);white-space: pre-wrap;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;二、安装 UKUI 桌面环境&lt;/span&gt;&lt;/h2&gt;&lt;h3 cid=&quot;n22&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box;break-after: avoid-page;break-inside: avoid;orphans: 4;font-size: 1.5em;margin-top: 1rem;margin-bottom: 1rem;position: relative;line-height: 1.43;cursor: text;white-space: pre-wrap;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;2.1 前提条件&lt;/span&gt;&lt;/h3&gt;&lt;ul cid=&quot;n23&quot; mdtype=&quot;list&quot; data-mark=&quot;-&quot; style=&quot;box-sizing: border-box;margin: 0.8em 0px;padding-left: 30px;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px;white-space: normal&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p cid=&quot;n25&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0px 0px 0.5rem;white-space: pre-wrap;position: relative&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;已安装 openEuler 24.03 系统（最小化安装或 Server 版本均可）&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p cid=&quot;n27&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0px 0px 0.5rem;white-space: pre-wrap;position: relative&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;系统网络连接正常&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p cid=&quot;n29&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0px 0px 0.5rem;white-space: pre-wrap;position: relative&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;具有 root 权限或 sudo 权限&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p cid=&quot;n31&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0px 0px 0.5rem;white-space: pre-wrap;position: relative&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;建议在安装 UKUI 前创建一个普通管理员用户（root 用户默认不可直接登录桌面）&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h3 cid=&quot;n32&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box;break-after: avoid-page;break-inside: avoid;orphans: 4;font-size: 1.5em;margin-top: 1rem;margin-bottom: 1rem;position: relative;line-height: 1.43;cursor: text;white-space: pre-wrap;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;2.2 更新系统软件包&lt;/span&gt;&lt;/h3&gt;&lt;p cid=&quot;n33&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;首先更新系统中所有已安装的软件包到最新版本：&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n34&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;bash&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block ty-contain-cm modeLoaded&quot; spellcheck=&quot;false&quot; lang=&quot;&quot; cid=&quot;n35&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box;overflow: visible;font-family: var(--monospace);font-size: 0.9em;break-inside: avoid;white-space: normal;background-image: inherit;background-position: inherit;background-size: inherit;background-repeat: inherit;background-attachment: inherit;background-origin: inherit;background-clip: inherit;border: 1px solid rgb(231, 234, 237);border-radius: 3px;padding: 8px 4px 6px;margin-bottom: 15px;margin-top: 15px;width: inherit;color: rgb(51, 51, 51);position: relative !important&quot;&gt;sudo&amp;nbsp;dnf&amp;nbsp;update&amp;nbsp;-y&lt;/pre&gt;&lt;p cid=&quot;n36&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p cid=&quot;n37&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;code style=&quot;box-sizing: border-box;font-family: var(--monospace);vertical-align: initial;border: 1px solid rgb(231, 234, 237);background-color: rgb(243, 244, 244);border-radius: 3px;padding: 0px 2px;font-size: 0.9em&quot;&gt;-y&lt;/code&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt; 参数表示自动确认，无需手动确认每个步骤。&lt;/span&gt;&lt;/p&gt;&lt;h3 cid=&quot;n38&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box;break-after: avoid-page;break-inside: avoid;orphans: 4;font-size: 1.5em;margin-top: 1rem;margin-bottom: 1rem;position: relative;line-height: 1.43;cursor: text;white-space: pre-wrap;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;2.3 安装 UKUI&lt;/span&gt;&lt;/h3&gt;&lt;p cid=&quot;n39&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;执行以下命令安装 UKUI 桌面环境：&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n40&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;bash&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block ty-contain-cm modeLoaded&quot; spellcheck=&quot;false&quot; lang=&quot;&quot; cid=&quot;n41&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box;overflow: visible;font-family: var(--monospace);font-size: 0.9em;break-inside: avoid;white-space: normal;background-image: inherit;background-position: inherit;background-size: inherit;background-repeat: inherit;background-attachment: inherit;background-origin: inherit;background-clip: inherit;border: 1px solid rgb(231, 234, 237);border-radius: 3px;padding: 8px 4px 6px;margin-bottom: 15px;margin-top: 15px;width: inherit;color: rgb(51, 51, 51);position: relative !important&quot;&gt;sudo&amp;nbsp;dnf&amp;nbsp;-y&amp;nbsp;install&amp;nbsp;ukui&lt;/pre&gt;&lt;p cid=&quot;n42&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p cid=&quot;n43&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;该命令会自动解析并安装所有依赖项。UKUI 支持 x86_64 和 aarch64 两种架构，安装过程约需 10 分钟左右。&lt;/span&gt;&lt;/p&gt;&lt;blockquote cid=&quot;n44&quot; mdtype=&quot;blockquote&quot; style=&quot;box-sizing: border-box;margin: 0.8em 0px;border-left: 4px solid rgb(223, 226, 229);padding: 0px 15px;color: rgb(119, 119, 119);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px;white-space: normal&quot;&gt;&lt;p cid=&quot;n45&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;white-space: pre-wrap;position: relative&quot;&gt;&lt;span md-inline=&quot;strong&quot; class=&quot;md-pair-s &quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;strong style=&quot;box-sizing: border-box&quot;&gt;说明&lt;/strong&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;：也可使用 &lt;/span&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;code style=&quot;box-sizing: border-box;font-family: var(--monospace);vertical-align: initial;border: 1px solid rgb(231, 234, 237);background-color: rgb(243, 244, 244);border-radius: 3px;padding: 0px 2px;font-size: 0.9em&quot;&gt;sudo dnf -y install ukui-desktop-environment&lt;/code&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt; 进行标准安装，两者效果基本一致。&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;h3 cid=&quot;n46&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box;break-after: avoid-page;break-inside: avoid;orphans: 4;font-size: 1.5em;margin-top: 1rem;margin-bottom: 1rem;position: relative;line-height: 1.43;cursor: text;white-space: pre-wrap;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;2.4 设置图形界面为默认启动&lt;/span&gt;&lt;/h3&gt;&lt;p cid=&quot;n47&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;安装完成后，设置系统默认以图形界面方式启动：&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n48&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;bash&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block ty-contain-cm modeLoaded&quot; spellcheck=&quot;false&quot; lang=&quot;&quot; cid=&quot;n49&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box;overflow: visible;font-family: var(--monospace);font-size: 0.9em;break-inside: avoid;white-space: normal;background-image: inherit;background-position: inherit;background-size: inherit;background-repeat: inherit;background-attachment: inherit;background-origin: inherit;background-clip: inherit;border: 1px solid rgb(231, 234, 237);border-radius: 3px;padding: 8px 4px 6px;margin-bottom: 15px;margin-top: 15px;width: inherit;color: rgb(51, 51, 51);position: relative !important&quot;&gt;sudo&amp;nbsp;systemctl&amp;nbsp;set-default&amp;nbsp;graphical.target&lt;/pre&gt;&lt;p cid=&quot;n50&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p cid=&quot;n51&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;然后重启系统：&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n52&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;bash&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block ty-contain-cm modeLoaded&quot; spellcheck=&quot;false&quot; lang=&quot;&quot; cid=&quot;n53&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box;overflow: visible;font-family: var(--monospace);font-size: 0.9em;break-inside: avoid;white-space: normal;background-image: inherit;background-position: inherit;background-size: inherit;background-repeat: inherit;background-attachment: inherit;background-origin: inherit;background-clip: inherit;border: 1px solid rgb(231, 234, 237);border-radius: 3px;padding: 8px 4px 6px;margin-bottom: 15px;margin-top: 15px;width: inherit;color: rgb(51, 51, 51);position: relative !important&quot;&gt;sudo&amp;nbsp;reboot&lt;/pre&gt;&lt;p cid=&quot;n54&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p cid=&quot;n55&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;重启后系统将自动进入 UKUI 图形登录界面。&lt;/span&gt;&lt;/p&gt;&lt;h3 cid=&quot;n56&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box;break-after: avoid-page;break-inside: avoid;orphans: 4;font-size: 1.5em;margin-top: 1rem;margin-bottom: 1rem;position: relative;line-height: 1.43;cursor: text;white-space: pre-wrap;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;2.5 手动切换界面模式&lt;/span&gt;&lt;/h3&gt;&lt;p cid=&quot;n57&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;如需手动切换图形界面和命令行界面，可使用以下命令：&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n58&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;bash&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block ty-contain-cm modeLoaded&quot; spellcheck=&quot;false&quot; lang=&quot;&quot; cid=&quot;n59&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box;overflow: visible;font-family: var(--monospace);font-size: 0.9em;break-inside: avoid;white-space: normal;background-image: inherit;background-position: inherit;background-size: inherit;background-repeat: inherit;background-attachment: inherit;background-origin: inherit;background-clip: inherit;border: 1px solid rgb(231, 234, 237);border-radius: 3px;padding: 8px 4px 6px;margin-bottom: 15px;margin-top: 15px;width: inherit;color: rgb(51, 51, 51);position: relative !important&quot;&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;# 切换到图形界面（runlevel 5）&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;sudo init 5&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;&lt;span cm-text=&quot;&quot; cm-zwsp=&quot;&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;# 切换到命令行界面（runlevel 3）&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;sudo init 3&lt;/span&gt;&lt;/pre&gt;&lt;p cid=&quot;n60&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;h3 cid=&quot;n61&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box;break-after: avoid-page;break-inside: avoid;orphans: 4;font-size: 1.5em;margin-top: 1rem;margin-bottom: 1rem;position: relative;line-height: 1.43;cursor: text;white-space: pre-wrap;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;2.6 允许 root 用户登录桌面（可选）&lt;/span&gt;&lt;/h3&gt;&lt;p cid=&quot;n62&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;默认情况下，root 用户无法登录 UKUI 桌面环境。如需启用 root 桌面登录，编辑 LightDM 配置文件：&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n63&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;bash&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block ty-contain-cm modeLoaded&quot; spellcheck=&quot;false&quot; lang=&quot;&quot; cid=&quot;n64&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box;overflow: visible;font-family: var(--monospace);font-size: 0.9em;break-inside: avoid;white-space: normal;background-image: inherit;background-position: inherit;background-size: inherit;background-repeat: inherit;background-attachment: inherit;background-origin: inherit;background-clip: inherit;border: 1px solid rgb(231, 234, 237);border-radius: 3px;padding: 8px 4px 6px;margin-bottom: 15px;margin-top: 15px;width: inherit;color: rgb(51, 51, 51);position: relative !important&quot;&gt;sudo&amp;nbsp;vim&amp;nbsp;/etc/lightdm/lightdm.conf&lt;/pre&gt;&lt;p cid=&quot;n65&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p cid=&quot;n66&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;找到并修改以下配置项：&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n67&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;ini&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block ty-contain-cm modeLoaded&quot; spellcheck=&quot;false&quot; lang=&quot;&quot; cid=&quot;n68&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box;overflow: visible;font-family: var(--monospace);font-size: 0.9em;break-inside: avoid;white-space: normal;background-image: inherit;background-position: inherit;background-size: inherit;background-repeat: inherit;background-attachment: inherit;background-origin: inherit;background-clip: inherit;border: 1px solid rgb(231, 234, 237);border-radius: 3px;padding: 8px 4px 6px;margin-bottom: 15px;margin-top: 15px;width: inherit;color: rgb(51, 51, 51);position: relative !important&quot;&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;greeter-show-manual-login=true&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;allow-user-switching=true&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;allow-guest=true&lt;/span&gt;&lt;/pre&gt;&lt;p cid=&quot;n69&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p cid=&quot;n70&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;保存退出后重启系统，即可在登录界面手动输入 root 用户名和密码登录。&lt;/span&gt;&lt;/p&gt;&lt;blockquote cid=&quot;n71&quot; mdtype=&quot;blockquote&quot; style=&quot;box-sizing: border-box;margin: 0.8em 0px;border-left: 4px solid rgb(223, 226, 229);padding: 0px 15px;color: rgb(119, 119, 119);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px;white-space: normal&quot;&gt;&lt;p cid=&quot;n72&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;white-space: pre-wrap;position: relative&quot;&gt;&lt;span md-inline=&quot;strong&quot; class=&quot;md-pair-s &quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;strong style=&quot;box-sizing: border-box&quot;&gt;安全提示&lt;/strong&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;：出于安全考虑，不建议在生产环境中允许 root 用户直接登录图形桌面，建议始终使用普通用户登录。&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;h3 cid=&quot;n73&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box;break-after: avoid-page;break-inside: avoid;orphans: 4;font-size: 1.5em;margin-top: 1rem;margin-bottom: 1rem;position: relative;line-height: 1.43;cursor: text;white-space: pre-wrap;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;2.7 验证安装&lt;/span&gt;&lt;/h3&gt;&lt;p cid=&quot;n74&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;系统重启后，应看到 UKUI 图形登录界面。登录后，在终端中执行以下命令确认桌面环境：&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n75&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;bash&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block ty-contain-cm modeLoaded&quot; spellcheck=&quot;false&quot; lang=&quot;&quot; cid=&quot;n76&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box;overflow: visible;font-family: var(--monospace);font-size: 0.9em;break-inside: avoid;white-space: normal;background-image: inherit;background-position: inherit;background-size: inherit;background-repeat: inherit;background-attachment: inherit;background-origin: inherit;background-clip: inherit;border: 1px solid rgb(231, 234, 237);border-radius: 3px;padding: 8px 4px 6px;margin-bottom: 15px;margin-top: 15px;width: inherit;color: rgb(51, 51, 51);position: relative !important&quot;&gt;echo&amp;nbsp;$XDG_CURRENT_DESKTOP&lt;/pre&gt;&lt;p cid=&quot;n77&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p cid=&quot;n78&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;输出应为 &lt;/span&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;code style=&quot;box-sizing: border-box;font-family: var(--monospace);vertical-align: initial;border: 1px solid rgb(231, 234, 237);background-color: rgb(243, 244, 244);border-radius: 3px;padding: 0px 2px;font-size: 0.9em&quot;&gt;UKUI&lt;/code&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;。&lt;/span&gt;&lt;/p&gt;&lt;h3 cid=&quot;n79&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box;break-after: avoid-page;break-inside: avoid;orphans: 4;font-size: 1.5em;margin-top: 1rem;margin-bottom: 1rem;position: relative;line-height: 1.43;cursor: text;white-space: pre-wrap;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;2.8 卸载 UKUI（如需）&lt;/span&gt;&lt;/h3&gt;&lt;p cid=&quot;n80&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;bash&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block ty-contain-cm modeLoaded&quot; spellcheck=&quot;false&quot; lang=&quot;&quot; cid=&quot;n81&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box;overflow: visible;font-family: var(--monospace);font-size: 0.9em;break-inside: avoid;white-space: normal;background-image: inherit;background-position: inherit;background-size: inherit;background-repeat: inherit;background-attachment: inherit;background-origin: inherit;background-clip: inherit;border: 1px solid rgb(231, 234, 237);border-radius: 3px;padding: 8px 4px 6px;margin-bottom: 15px;margin-top: 15px;width: inherit;color: rgb(51, 51, 51);position: relative !important&quot;&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;sudo dnf -y remove ukui&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;# 或&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;sudo dnf -y remove ukui-desktop-environment&lt;/span&gt;&lt;/pre&gt;&lt;p cid=&quot;n82&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;h2 cid=&quot;n83&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box;break-after: avoid-page;break-inside: avoid;orphans: 4;font-size: 1.75em;margin-top: 1rem;margin-bottom: 1rem;position: relative;line-height: 1.225;cursor: text;border-bottom: 1px solid rgb(238, 238, 238);white-space: pre-wrap;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;三、安装 Node.js v26.2.0&lt;/span&gt;&lt;/h2&gt;&lt;h3 cid=&quot;n84&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box;break-after: avoid-page;break-inside: avoid;orphans: 4;font-size: 1.5em;margin-top: 1rem;margin-bottom: 1rem;position: relative;line-height: 1.43;cursor: text;white-space: pre-wrap;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;3.1 安装方式选择&lt;/span&gt;&lt;/h3&gt;&lt;p cid=&quot;n85&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;openEuler 24.03 默认软件源中的 Node.js 版本通常较低（约 v20.x），无法满足 OpenClaw 对 Node.js ≥ v22 的要求。因此需要手动安装指定版本。&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n86&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;本教程采用&lt;/span&gt;&lt;span md-inline=&quot;strong&quot; class=&quot;md-pair-s &quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;strong style=&quot;box-sizing: border-box&quot;&gt;官方二进制包手动安装&lt;/strong&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;方式（推荐），步骤如下：&lt;/span&gt;&lt;/p&gt;&lt;h3 cid=&quot;n87&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box;break-after: avoid-page;break-inside: avoid;orphans: 4;font-size: 1.5em;margin-top: 1rem;margin-bottom: 1rem;position: relative;line-height: 1.43;cursor: text;white-space: pre-wrap;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;3.2 下载 Node.js v26.2.0 二进制包&lt;/span&gt;&lt;/h3&gt;&lt;p cid=&quot;n88&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;访问 Node.js 官方分发站点下载对应架构的预编译二进制包。以 x86_64 架构为例：&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n89&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;bash&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block ty-contain-cm modeLoaded&quot; spellcheck=&quot;false&quot; lang=&quot;&quot; cid=&quot;n90&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box;overflow: visible;font-family: var(--monospace);font-size: 0.9em;break-inside: avoid;white-space: normal;background-image: inherit;background-position: inherit;background-size: inherit;background-repeat: inherit;background-attachment: inherit;background-origin: inherit;background-clip: inherit;border: 1px solid rgb(231, 234, 237);border-radius: 3px;padding: 8px 4px 6px;margin-bottom: 15px;margin-top: 15px;width: inherit;color: rgb(51, 51, 51);position: relative !important&quot;&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;cd /tmp&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;wget https://nodejs.org/dist/v26.2.0/node-v26.2.0-linux-x64.tar.xz&lt;/span&gt;&lt;/pre&gt;&lt;p cid=&quot;n91&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;blockquote cid=&quot;n92&quot; mdtype=&quot;blockquote&quot; style=&quot;box-sizing: border-box;margin: 0.8em 0px;border-left: 4px solid rgb(223, 226, 229);padding: 0px 15px;color: rgb(119, 119, 119);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px;white-space: normal&quot;&gt;&lt;p cid=&quot;n93&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0px 0px 0.8em;white-space: pre-wrap;position: relative&quot;&gt;&lt;span md-inline=&quot;strong&quot; class=&quot;md-pair-s &quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;strong style=&quot;box-sizing: border-box&quot;&gt;AArch64 架构&lt;/strong&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;（如鲲鹏处理器）请将下载链接中的 &lt;/span&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;code style=&quot;box-sizing: border-box;font-family: var(--monospace);vertical-align: initial;border: 1px solid rgb(231, 234, 237);background-color: rgb(243, 244, 244);border-radius: 3px;padding: 0px 2px;font-size: 0.9em&quot;&gt;linux-x64&lt;/code&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt; 替换为 &lt;/span&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;code style=&quot;box-sizing: border-box;font-family: var(--monospace);vertical-align: initial;border: 1px solid rgb(231, 234, 237);background-color: rgb(243, 244, 244);border-radius: 3px;padding: 0px 2px;font-size: 0.9em&quot;&gt;linux-arm64&lt;/code&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;。&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n94&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px 0px;white-space: pre-wrap;position: relative&quot;&gt;&lt;span md-inline=&quot;strong&quot; class=&quot;md-pair-s &quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;strong style=&quot;box-sizing: border-box&quot;&gt;加速下载&lt;/strong&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;：国内用户可使用镜像站（如 &lt;/span&gt;&lt;span md-inline=&quot;url&quot; class=&quot;md-link md-pair-s&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;a href=&quot;https://npmmirror.com/mirrors/node/v26.2.0/&quot; style=&quot;box-sizing: border-box;cursor: pointer;color: rgb(65, 131, 196);-webkit-user-drag: none&quot;&gt;https://npmmirror.com/mirrors/node/v26.2.0/&lt;/a&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt; ）加速下载。&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;h3 cid=&quot;n95&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box;break-after: avoid-page;break-inside: avoid;orphans: 4;font-size: 1.5em;margin-top: 1rem;margin-bottom: 1rem;position: relative;line-height: 1.43;cursor: text;white-space: pre-wrap;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;3.3 解压并安装&lt;/span&gt;&lt;/h3&gt;&lt;p cid=&quot;n96&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;将二进制包解压到 &lt;/span&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;code style=&quot;box-sizing: border-box;font-family: var(--monospace);vertical-align: initial;border: 1px solid rgb(231, 234, 237);background-color: rgb(243, 244, 244);border-radius: 3px;padding: 0px 2px;font-size: 0.9em&quot;&gt;/usr/local/&lt;/code&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt; 目录下：&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n97&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;bash&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block ty-contain-cm modeLoaded&quot; spellcheck=&quot;false&quot; lang=&quot;&quot; cid=&quot;n98&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box;overflow: visible;font-family: var(--monospace);font-size: 0.9em;break-inside: avoid;white-space: normal;background-image: inherit;background-position: inherit;background-size: inherit;background-repeat: inherit;background-attachment: inherit;background-origin: inherit;background-clip: inherit;border: 1px solid rgb(231, 234, 237);border-radius: 3px;padding: 8px 4px 6px;margin-bottom: 15px;margin-top: 15px;width: inherit;color: rgb(51, 51, 51);position: relative !important&quot;&gt;sudo&amp;nbsp;tar&amp;nbsp;-xJf&amp;nbsp;node-v26.2.0-linux-x64.tar.xz&amp;nbsp;-C&amp;nbsp;/usr/local/&lt;/pre&gt;&lt;p cid=&quot;n99&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p cid=&quot;n100&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;解压后的目录结构为 &lt;/span&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;code style=&quot;box-sizing: border-box;font-family: var(--monospace);vertical-align: initial;border: 1px solid rgb(231, 234, 237);background-color: rgb(243, 244, 244);border-radius: 3px;padding: 0px 2px;font-size: 0.9em&quot;&gt;/usr/local/node-v26.2.0-linux-x64/&lt;/code&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;，内含 &lt;/span&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;code style=&quot;box-sizing: border-box;font-family: var(--monospace);vertical-align: initial;border: 1px solid rgb(231, 234, 237);background-color: rgb(243, 244, 244);border-radius: 3px;padding: 0px 2px;font-size: 0.9em&quot;&gt;bin/&lt;/code&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;、&lt;/span&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;code style=&quot;box-sizing: border-box;font-family: var(--monospace);vertical-align: initial;border: 1px solid rgb(231, 234, 237);background-color: rgb(243, 244, 244);border-radius: 3px;padding: 0px 2px;font-size: 0.9em&quot;&gt;lib/&lt;/code&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;、&lt;/span&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;code style=&quot;box-sizing: border-box;font-family: var(--monospace);vertical-align: initial;border: 1px solid rgb(231, 234, 237);background-color: rgb(243, 244, 244);border-radius: 3px;padding: 0px 2px;font-size: 0.9em&quot;&gt;include/&lt;/code&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt; 等子目录。&lt;/span&gt;&lt;/p&gt;&lt;h3 cid=&quot;n101&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box;break-after: avoid-page;break-inside: avoid;orphans: 4;font-size: 1.5em;margin-top: 1rem;margin-bottom: 1rem;position: relative;line-height: 1.43;cursor: text;white-space: pre-wrap;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;3.4 配置环境变量&lt;/span&gt;&lt;/h3&gt;&lt;p cid=&quot;n102&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;方法一：创建软链接（推荐）&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n103&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;bash&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block ty-contain-cm modeLoaded&quot; spellcheck=&quot;false&quot; lang=&quot;&quot; cid=&quot;n104&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box;overflow: visible;font-family: var(--monospace);font-size: 0.9em;break-inside: avoid;white-space: normal;background-image: inherit;background-position: inherit;background-size: inherit;background-repeat: inherit;background-attachment: inherit;background-origin: inherit;background-clip: inherit;border: 1px solid rgb(231, 234, 237);border-radius: 3px;padding: 8px 4px 6px;margin-bottom: 15px;margin-top: 15px;width: inherit;color: rgb(51, 51, 51);position: relative !important&quot;&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;sudo ln -s /usr/local/node-v26.2.0-linux-x64/bin/node /usr/local/bin/node&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;sudo ln -s /usr/local/node-v26.2.0-linux-x64/bin/npm /usr/local/bin/npm&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;sudo ln -s /usr/local/node-v26.2.0-linux-x64/bin/npx /usr/local/bin/npx&lt;/span&gt;&lt;/pre&gt;&lt;p cid=&quot;n105&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p cid=&quot;n106&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;创建软链接后，由于 &lt;/span&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;code style=&quot;box-sizing: border-box;font-family: var(--monospace);vertical-align: initial;border: 1px solid rgb(231, 234, 237);background-color: rgb(243, 244, 244);border-radius: 3px;padding: 0px 2px;font-size: 0.9em&quot;&gt;/usr/local/bin&lt;/code&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt; 通常已在系统 &lt;/span&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;code style=&quot;box-sizing: border-box;font-family: var(--monospace);vertical-align: initial;border: 1px solid rgb(231, 234, 237);background-color: rgb(243, 244, 244);border-radius: 3px;padding: 0px 2px;font-size: 0.9em&quot;&gt;PATH&lt;/code&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt; 中，任意目录下均可直接使用 &lt;/span&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;code style=&quot;box-sizing: border-box;font-family: var(--monospace);vertical-align: initial;border: 1px solid rgb(231, 234, 237);background-color: rgb(243, 244, 244);border-radius: 3px;padding: 0px 2px;font-size: 0.9em&quot;&gt;node&lt;/code&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;、&lt;/span&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;code style=&quot;box-sizing: border-box;font-family: var(--monospace);vertical-align: initial;border: 1px solid rgb(231, 234, 237);background-color: rgb(243, 244, 244);border-radius: 3px;padding: 0px 2px;font-size: 0.9em&quot;&gt;npm&lt;/code&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;、&lt;/span&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;code style=&quot;box-sizing: border-box;font-family: var(--monospace);vertical-align: initial;border: 1px solid rgb(231, 234, 237);background-color: rgb(243, 244, 244);border-radius: 3px;padding: 0px 2px;font-size: 0.9em&quot;&gt;npx&lt;/code&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt; 命令。&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n107&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;方法二：配置系统环境变量（全局生效）&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n108&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;编辑 &lt;/span&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;code style=&quot;box-sizing: border-box;font-family: var(--monospace);vertical-align: initial;border: 1px solid rgb(231, 234, 237);background-color: rgb(243, 244, 244);border-radius: 3px;padding: 0px 2px;font-size: 0.9em&quot;&gt;/etc/profile&lt;/code&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt; 文件：&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n109&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;bash&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block ty-contain-cm modeLoaded&quot; spellcheck=&quot;false&quot; lang=&quot;&quot; cid=&quot;n110&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box;overflow: visible;font-family: var(--monospace);font-size: 0.9em;break-inside: avoid;white-space: normal;background-image: inherit;background-position: inherit;background-size: inherit;background-repeat: inherit;background-attachment: inherit;background-origin: inherit;background-clip: inherit;border: 1px solid rgb(231, 234, 237);border-radius: 3px;padding: 8px 4px 6px;margin-bottom: 15px;margin-top: 15px;width: inherit;color: rgb(51, 51, 51);position: relative !important&quot;&gt;sudo&amp;nbsp;vim&amp;nbsp;/etc/profile&lt;/pre&gt;&lt;p cid=&quot;n111&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p cid=&quot;n112&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;在文件末尾添加：&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n113&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;bash&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block ty-contain-cm modeLoaded&quot; spellcheck=&quot;false&quot; lang=&quot;&quot; cid=&quot;n114&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box;overflow: visible;font-family: var(--monospace);font-size: 0.9em;break-inside: avoid;white-space: normal;background-image: inherit;background-position: inherit;background-size: inherit;background-repeat: inherit;background-attachment: inherit;background-origin: inherit;background-clip: inherit;border: 1px solid rgb(231, 234, 237);border-radius: 3px;padding: 8px 4px 6px;margin-bottom: 15px;margin-top: 15px;width: inherit;color: rgb(51, 51, 51);position: relative !important&quot;&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;export NODE_HOME=/usr/local/node-v26.2.0-linux-x64&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;export PATH=$PATH:$NODE_HOME/bin&lt;/span&gt;&lt;/pre&gt;&lt;p cid=&quot;n115&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p cid=&quot;n116&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;保存后刷新配置：&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n117&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;bash&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block ty-contain-cm modeLoaded&quot; spellcheck=&quot;false&quot; lang=&quot;&quot; cid=&quot;n118&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box;overflow: visible;font-family: var(--monospace);font-size: 0.9em;break-inside: avoid;white-space: normal;background-image: inherit;background-position: inherit;background-size: inherit;background-repeat: inherit;background-attachment: inherit;background-origin: inherit;background-clip: inherit;border: 1px solid rgb(231, 234, 237);border-radius: 3px;padding: 8px 4px 6px;margin-bottom: 15px;margin-top: 15px;width: inherit;color: rgb(51, 51, 51);position: relative !important&quot;&gt;source&amp;nbsp;/etc/profile&lt;/pre&gt;&lt;p cid=&quot;n119&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;h3 cid=&quot;n120&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box;break-after: avoid-page;break-inside: avoid;orphans: 4;font-size: 1.5em;margin-top: 1rem;margin-bottom: 1rem;position: relative;line-height: 1.43;cursor: text;white-space: pre-wrap;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;3.5 验证安装&lt;/span&gt;&lt;/h3&gt;&lt;p cid=&quot;n121&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;bash&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block ty-contain-cm modeLoaded&quot; spellcheck=&quot;false&quot; lang=&quot;&quot; cid=&quot;n122&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box;overflow: visible;font-family: var(--monospace);font-size: 0.9em;break-inside: avoid;white-space: normal;background-image: inherit;background-position: inherit;background-size: inherit;background-repeat: inherit;background-attachment: inherit;background-origin: inherit;background-clip: inherit;border: 1px solid rgb(231, 234, 237);border-radius: 3px;padding: 8px 4px 6px;margin-bottom: 15px;margin-top: 15px;width: inherit;color: rgb(51, 51, 51);position: relative !important&quot;&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;node -v &amp;nbsp; &amp;nbsp;# 应输出 v26.2.0&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;npm -v &amp;nbsp; &amp;nbsp; # 应输出对应的 npm 版本号&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;npx -v &amp;nbsp; &amp;nbsp; # 应输出对应的 npx 版本号&lt;/span&gt;&lt;/pre&gt;&lt;p cid=&quot;n123&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;h3 cid=&quot;n124&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box;break-after: avoid-page;break-inside: avoid;orphans: 4;font-size: 1.5em;margin-top: 1rem;margin-bottom: 1rem;position: relative;line-height: 1.43;cursor: text;white-space: pre-wrap;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;3.6 配置 npm 国内镜像源（推荐）&lt;/span&gt;&lt;/h3&gt;&lt;p cid=&quot;n125&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;为加速后续包的下载，建议配置 npm 国内镜像源：&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n126&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;bash&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block ty-contain-cm modeLoaded&quot; spellcheck=&quot;false&quot; lang=&quot;&quot; cid=&quot;n127&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box;overflow: visible;font-family: var(--monospace);font-size: 0.9em;break-inside: avoid;white-space: normal;background-image: inherit;background-position: inherit;background-size: inherit;background-repeat: inherit;background-attachment: inherit;background-origin: inherit;background-clip: inherit;border: 1px solid rgb(231, 234, 237);border-radius: 3px;padding: 8px 4px 6px;margin-bottom: 15px;margin-top: 15px;width: inherit;color: rgb(51, 51, 51);position: relative !important&quot;&gt;npm&amp;nbsp;config&amp;nbsp;set&amp;nbsp;registry&amp;nbsp;https://registry.npmmirror.com&lt;/pre&gt;&lt;p cid=&quot;n128&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p cid=&quot;n129&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;或使用华为云镜像：&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n130&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;bash&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block ty-contain-cm modeLoaded&quot; spellcheck=&quot;false&quot; lang=&quot;&quot; cid=&quot;n131&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box;overflow: visible;font-family: var(--monospace);font-size: 0.9em;break-inside: avoid;white-space: normal;background-image: inherit;background-position: inherit;background-size: inherit;background-repeat: inherit;background-attachment: inherit;background-origin: inherit;background-clip: inherit;border: 1px solid rgb(231, 234, 237);border-radius: 3px;padding: 8px 4px 6px;margin-bottom: 15px;margin-top: 15px;width: inherit;color: rgb(51, 51, 51);position: relative !important&quot;&gt;npm&amp;nbsp;config&amp;nbsp;set&amp;nbsp;registry&amp;nbsp;https://mirrors.huaweicloud.com/repository/npm/&lt;/pre&gt;&lt;p cid=&quot;n132&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p cid=&quot;n133&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;验证配置：&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n134&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;bash&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block ty-contain-cm modeLoaded&quot; spellcheck=&quot;false&quot; lang=&quot;&quot; cid=&quot;n135&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box;overflow: visible;font-family: var(--monospace);font-size: 0.9em;break-inside: avoid;white-space: normal;background-image: inherit;background-position: inherit;background-size: inherit;background-repeat: inherit;background-attachment: inherit;background-origin: inherit;background-clip: inherit;border: 1px solid rgb(231, 234, 237);border-radius: 3px;padding: 8px 4px 6px;margin-bottom: 15px;margin-top: 15px;width: inherit;color: rgb(51, 51, 51);position: relative !important&quot;&gt;npm&amp;nbsp;config&amp;nbsp;get&amp;nbsp;registry&lt;/pre&gt;&lt;p cid=&quot;n136&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;h2 cid=&quot;n137&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box;break-after: avoid-page;break-inside: avoid;orphans: 4;font-size: 1.75em;margin-top: 1rem;margin-bottom: 1rem;position: relative;line-height: 1.225;cursor: text;border-bottom: 1px solid rgb(238, 238, 238);white-space: pre-wrap;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;四、安装 OpenClaw&lt;/span&gt;&lt;/h2&gt;&lt;h3 cid=&quot;n138&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box;break-after: avoid-page;break-inside: avoid;orphans: 4;font-size: 1.5em;margin-top: 1rem;margin-bottom: 1rem;position: relative;line-height: 1.43;cursor: text;white-space: pre-wrap;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;4.1 OpenClaw 简介&lt;/span&gt;&lt;/h3&gt;&lt;p cid=&quot;n139&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;OpenClaw 是一个自托管的个人 AI 助手网关框架，核心理念是本地优先、多通道接入、执行而不只是聊天。它能够将多个聊天平台（Telegram、WhatsApp、Discord、飞书、钉钉等）连接到同一个 AI 助手，并通过技能系统实现代码运行、文件管理、网页搜索等自动化操作。&lt;/span&gt;&lt;/p&gt;&lt;h3 cid=&quot;n140&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box;break-after: avoid-page;break-inside: avoid;orphans: 4;font-size: 1.5em;margin-top: 1rem;margin-bottom: 1rem;position: relative;line-height: 1.43;cursor: text;white-space: pre-wrap;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;4.2 系统要求&lt;/span&gt;&lt;/h3&gt;&lt;p&gt;&lt;figure cid=&quot;n141&quot; mdtype=&quot;table&quot; style=&quot;box-sizing: border-box;margin: 1.2em 0px;overflow-x: auto;max-width: calc(100% + 16px);padding: 0px;cursor: default;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px;white-space: normal&quot;&gt;&lt;table width=&quot;1140&quot;&gt;&lt;thead style=&quot;box-sizing: border-box;background-color: rgb(248, 248, 248)&quot;&gt;&lt;tr cid=&quot;n142&quot; mdtype=&quot;table_row&quot; style=&quot;box-sizing: border-box;break-inside: avoid;break-after: auto;border: 1px solid rgb(223, 226, 229);padding: 0px&quot; class=&quot;firstRow&quot;&gt;&lt;th style=&quot;box-sizing: border-box;padding: 6px 13px;border-width: 1px 1px 0px;border-top-color: rgb(223, 226, 229);border-right-color: rgb(223, 226, 229);border-left-color: rgb(223, 226, 229);border-bottom-style: initial;border-bottom-color: initial;text-align: left&quot;&gt;&lt;span cid=&quot;n143&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 172px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;项目&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th style=&quot;box-sizing: border-box;padding: 6px 13px;border-width: 1px 1px 0px;border-top-color: rgb(223, 226, 229);border-right-color: rgb(223, 226, 229);border-left-color: rgb(223, 226, 229);border-bottom-style: initial;border-bottom-color: initial;text-align: left&quot;&gt;&lt;span cid=&quot;n144&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 544px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;最低要求&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th style=&quot;box-sizing: border-box;padding: 6px 13px;border-width: 1px 1px 0px;border-top-color: rgb(223, 226, 229);border-right-color: rgb(223, 226, 229);border-left-color: rgb(223, 226, 229);border-bottom-style: initial;border-bottom-color: initial;text-align: left&quot;&gt;&lt;span cid=&quot;n145&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 342px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;推荐配置&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody style=&quot;box-sizing: border-box&quot;&gt;&lt;tr cid=&quot;n146&quot; mdtype=&quot;table_row&quot; style=&quot;box-sizing: border-box;break-inside: avoid;break-after: auto;border: 1px solid rgb(223, 226, 229);padding: 0px&quot;&gt;&lt;td style=&quot;box-sizing: border-box;padding: 6px 13px;border-color: rgb(223, 226, 229);min-width: 32px&quot;&gt;&lt;span cid=&quot;n147&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 172px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;Node.js&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;box-sizing: border-box;padding: 6px 13px;border-color: rgb(223, 226, 229);min-width: 32px&quot;&gt;&lt;span cid=&quot;n148&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 544px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;≥ v22（已安装 v26.2.0 满足）&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;box-sizing: border-box;padding: 6px 13px;border-color: rgb(223, 226, 229);min-width: 32px&quot;&gt;&lt;span cid=&quot;n149&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 342px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;≥ v22&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr cid=&quot;n150&quot; mdtype=&quot;table_row&quot; style=&quot;box-sizing: border-box;break-inside: avoid;break-after: auto;border: 1px solid rgb(223, 226, 229);padding: 0px;background-color: rgb(248, 248, 248)&quot;&gt;&lt;td style=&quot;box-sizing: border-box;padding: 6px 13px;border-color: rgb(223, 226, 229);min-width: 32px&quot;&gt;&lt;span cid=&quot;n151&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 172px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;内存&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;box-sizing: border-box;padding: 6px 13px;border-color: rgb(223, 226, 229);min-width: 32px&quot;&gt;&lt;span cid=&quot;n152&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 544px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;2 GB&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;box-sizing: border-box;padding: 6px 13px;border-color: rgb(223, 226, 229);min-width: 32px&quot;&gt;&lt;span cid=&quot;n153&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 342px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;4 GB+&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr cid=&quot;n154&quot; mdtype=&quot;table_row&quot; style=&quot;box-sizing: border-box;break-inside: avoid;break-after: auto;border: 1px solid rgb(223, 226, 229);padding: 0px&quot;&gt;&lt;td style=&quot;box-sizing: border-box;padding: 6px 13px;border-color: rgb(223, 226, 229);min-width: 32px&quot;&gt;&lt;span cid=&quot;n155&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 172px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;网络&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;box-sizing: border-box;padding: 6px 13px;border-color: rgb(223, 226, 229);min-width: 32px&quot;&gt;&lt;span cid=&quot;n156&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 544px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;需联网下载依赖&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;box-sizing: border-box;padding: 6px 13px;border-color: rgb(223, 226, 229);min-width: 32px&quot;&gt;&lt;span cid=&quot;n157&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 342px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;稳定的互联网连接&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/figure&gt;&lt;/p&gt;&lt;p cid=&quot;n158&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;OpenClaw 对硬件配置要求较为宽松，2核4G即可流畅运行。&lt;/span&gt;&lt;/p&gt;&lt;h3 cid=&quot;n159&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box;break-after: avoid-page;break-inside: avoid;orphans: 4;font-size: 1.5em;margin-top: 1rem;margin-bottom: 1rem;position: relative;line-height: 1.43;cursor: text;white-space: pre-wrap;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;4.3 安装方式&lt;/span&gt;&lt;/h3&gt;&lt;p cid=&quot;n160&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;OpenClaw 提供两种主流安装方式：官方一键脚本安装和 npm 全局安装。&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n161&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;方式一：官方一键脚本安装（最推荐，适合新手）&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n162&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;适用于 Linux / macOS 系统，脚本会自动检测并安装 Node.js 及所有依赖：&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n163&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;bash&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block ty-contain-cm modeLoaded&quot; spellcheck=&quot;false&quot; lang=&quot;&quot; cid=&quot;n164&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box;overflow: visible;font-family: var(--monospace);font-size: 0.9em;break-inside: avoid;white-space: normal;background-image: inherit;background-position: inherit;background-size: inherit;background-repeat: inherit;background-attachment: inherit;background-origin: inherit;background-clip: inherit;border: 1px solid rgb(231, 234, 237);border-radius: 3px;padding: 8px 4px 6px;margin-bottom: 15px;margin-top: 15px;width: inherit;color: rgb(51, 51, 51);position: relative !important&quot;&gt;curl&amp;nbsp;-fsSL&amp;nbsp;https://openclaw.ai/install.sh&amp;nbsp;|&amp;nbsp;bash&lt;/pre&gt;&lt;p cid=&quot;n165&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p cid=&quot;n166&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;安装完成后，按照终端提示完成初始配置向导。&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n167&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;方式二：npm 全局安装（本教程采用）&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n168&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;bash&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block ty-contain-cm modeLoaded&quot; spellcheck=&quot;false&quot; lang=&quot;&quot; cid=&quot;n169&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box;overflow: visible;font-family: var(--monospace);font-size: 0.9em;break-inside: avoid;white-space: normal;background-image: inherit;background-position: inherit;background-size: inherit;background-repeat: inherit;background-attachment: inherit;background-origin: inherit;background-clip: inherit;border: 1px solid rgb(231, 234, 237);border-radius: 3px;padding: 8px 4px 6px;margin-bottom: 15px;margin-top: 15px;width: inherit;color: rgb(51, 51, 51);position: relative !important&quot;&gt;npm&amp;nbsp;install&amp;nbsp;-g&amp;nbsp;openclaw@latest&lt;/pre&gt;&lt;p cid=&quot;n170&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p cid=&quot;n171&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;如果安装过程中遇到权限问题（&lt;/span&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;code style=&quot;box-sizing: border-box;font-family: var(--monospace);vertical-align: initial;border: 1px solid rgb(231, 234, 237);background-color: rgb(243, 244, 244);border-radius: 3px;padding: 0px 2px;font-size: 0.9em&quot;&gt;EACCES permission denied&lt;/code&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;），可通过以下方式解决：&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n172&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;bash&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block ty-contain-cm modeLoaded&quot; spellcheck=&quot;false&quot; lang=&quot;&quot; cid=&quot;n173&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box;overflow: visible;font-family: var(--monospace);font-size: 0.9em;break-inside: avoid;white-space: normal;background-image: inherit;background-position: inherit;background-size: inherit;background-repeat: inherit;background-attachment: inherit;background-origin: inherit;background-clip: inherit;border: 1px solid rgb(231, 234, 237);border-radius: 3px;padding: 8px 4px 6px;margin-bottom: 15px;margin-top: 15px;width: inherit;color: rgb(51, 51, 51);position: relative !important&quot;&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;npm config set prefix ~/.npm-global&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;echo &amp;#39;export PATH=~/.npm-global/bin:$PATH&amp;#39; &amp;gt;&amp;gt; ~/.bashrc&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;source ~/.bashrc&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;npm install -g openclaw@latest&lt;/span&gt;&lt;/pre&gt;&lt;p cid=&quot;n174&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p cid=&quot;n175&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;验证安装：&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n176&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;bash&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block ty-contain-cm modeLoaded&quot; spellcheck=&quot;false&quot; lang=&quot;&quot; cid=&quot;n177&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box;overflow: visible;font-family: var(--monospace);font-size: 0.9em;break-inside: avoid;white-space: normal;background-image: inherit;background-position: inherit;background-size: inherit;background-repeat: inherit;background-attachment: inherit;background-origin: inherit;background-clip: inherit;border: 1px solid rgb(231, 234, 237);border-radius: 3px;padding: 8px 4px 6px;margin-bottom: 15px;margin-top: 15px;width: inherit;color: rgb(51, 51, 51);position: relative !important&quot;&gt;openclaw&amp;nbsp;--version&lt;/pre&gt;&lt;p cid=&quot;n178&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;h3 cid=&quot;n179&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box;break-after: avoid-page;break-inside: avoid;orphans: 4;font-size: 1.5em;margin-top: 1rem;margin-bottom: 1rem;position: relative;line-height: 1.43;cursor: text;white-space: pre-wrap;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;4.4 运行 Onboard 初始化向导&lt;/span&gt;&lt;/h3&gt;&lt;p cid=&quot;n180&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;Onboard 向导是 OpenClaw 官方提供的交互式配置工具，可自动完成 Gateway 守护进程注册、初始配置文件创建和健康检查：&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n181&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;bash&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block ty-contain-cm modeLoaded&quot; spellcheck=&quot;false&quot; lang=&quot;&quot; cid=&quot;n182&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box;overflow: visible;font-family: var(--monospace);font-size: 0.9em;break-inside: avoid;white-space: normal;background-image: inherit;background-position: inherit;background-size: inherit;background-repeat: inherit;background-attachment: inherit;background-origin: inherit;background-clip: inherit;border: 1px solid rgb(231, 234, 237);border-radius: 3px;padding: 8px 4px 6px;margin-bottom: 15px;margin-top: 15px;width: inherit;color: rgb(51, 51, 51);position: relative !important&quot;&gt;openclaw&amp;nbsp;onboard&amp;nbsp;--install-daemon&lt;/pre&gt;&lt;p cid=&quot;n183&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p cid=&quot;n184&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;向导会依次引导完成以下配置：&lt;/span&gt;&lt;/p&gt;&lt;ol cid=&quot;n185&quot; mdtype=&quot;list&quot; style=&quot;box-sizing: border-box;margin: 0.8em 0px;padding-left: 30px;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px;white-space: normal&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p cid=&quot;n187&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0px 0px 0.5rem;white-space: pre-wrap;position: relative&quot;&gt;&lt;span md-inline=&quot;strong&quot; class=&quot;md-pair-s &quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;strong style=&quot;box-sizing: border-box&quot;&gt;选择安装位置&lt;/strong&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;：默认 &lt;/span&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;code style=&quot;box-sizing: border-box;font-family: var(--monospace);vertical-align: initial;border: 1px solid rgb(231, 234, 237);background-color: rgb(243, 244, 244);border-radius: 3px;padding: 0px 2px;font-size: 0.9em&quot;&gt;~/.openclaw/&lt;/code&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;，直接回车使用默认值&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p cid=&quot;n189&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0px 0px 0.5rem;white-space: pre-wrap;position: relative&quot;&gt;&lt;span md-inline=&quot;strong&quot; class=&quot;md-pair-s &quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;strong style=&quot;box-sizing: border-box&quot;&gt;注册守护进程&lt;/strong&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;：Linux 下将写入 &lt;/span&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;code style=&quot;box-sizing: border-box;font-family: var(--monospace);vertical-align: initial;border: 1px solid rgb(231, 234, 237);background-color: rgb(243, 244, 244);border-radius: 3px;padding: 0px 2px;font-size: 0.9em&quot;&gt;~/.config/systemd/user/openclaw-gateway.service&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p cid=&quot;n191&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0px 0px 0.5rem;white-space: pre-wrap;position: relative&quot;&gt;&lt;span md-inline=&quot;strong&quot; class=&quot;md-pair-s &quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;strong style=&quot;box-sizing: border-box&quot;&gt;API Key 初始配置&lt;/strong&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;：选择模型提供商并填入 API Key&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p cid=&quot;n193&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0px 0px 0.5rem;white-space: pre-wrap;position: relative&quot;&gt;&lt;span md-inline=&quot;strong&quot; class=&quot;md-pair-s &quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;strong style=&quot;box-sizing: border-box&quot;&gt;健康检查&lt;/strong&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;：自动运行 &lt;/span&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;code style=&quot;box-sizing: border-box;font-family: var(--monospace);vertical-align: initial;border: 1px solid rgb(231, 234, 237);background-color: rgb(243, 244, 244);border-radius: 3px;padding: 0px 2px;font-size: 0.9em&quot;&gt;openclaw doctor&lt;/code&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt; 验证配置&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p cid=&quot;n195&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0px 0px 0.5rem;white-space: pre-wrap;position: relative&quot;&gt;&lt;span md-inline=&quot;strong&quot; class=&quot;md-pair-s &quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;strong style=&quot;box-sizing: border-box&quot;&gt;Gateway 自动启动&lt;/strong&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;：向导完成后 Gateway 会自动启动&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p cid=&quot;n196&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;配置过程中，建议选择：&lt;/span&gt;&lt;/p&gt;&lt;ul cid=&quot;n197&quot; mdtype=&quot;list&quot; data-mark=&quot;-&quot; style=&quot;box-sizing: border-box;margin: 0.8em 0px;padding-left: 30px;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px;white-space: normal&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p cid=&quot;n199&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0px 0px 0.5rem;white-space: pre-wrap;position: relative&quot;&gt;&lt;span md-inline=&quot;strong&quot; class=&quot;md-pair-s &quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;strong style=&quot;box-sizing: border-box&quot;&gt;模型&lt;/strong&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;：根据需求选择 Moonshot AI（Kimi）、OpenAI、Anthropic 等。国内用户推荐选择 Moonshot AI .cn 接入点&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p cid=&quot;n201&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0px 0px 0.5rem;white-space: pre-wrap;position: relative&quot;&gt;&lt;span md-inline=&quot;strong&quot; class=&quot;md-pair-s &quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;strong style=&quot;box-sizing: border-box&quot;&gt;技能（Skills）&lt;/strong&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;：按需选择，推荐勾选网络搜索等常用技能&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p cid=&quot;n203&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0px 0px 0.5rem;white-space: pre-wrap;position: relative&quot;&gt;&lt;span md-inline=&quot;strong&quot; class=&quot;md-pair-s &quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;strong style=&quot;box-sizing: border-box&quot;&gt;聊天载体&lt;/strong&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;：可先选择 TUI（终端界面）进行体验&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h3 cid=&quot;n204&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box;break-after: avoid-page;break-inside: avoid;orphans: 4;font-size: 1.5em;margin-top: 1rem;margin-bottom: 1rem;position: relative;line-height: 1.43;cursor: text;white-space: pre-wrap;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;4.5 手动配置 API Key&lt;/span&gt;&lt;/h3&gt;&lt;p cid=&quot;n205&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;若跳过向导，也可手动编辑配置文件：&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n206&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;配置文件位置：&lt;/span&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;code style=&quot;box-sizing: border-box;font-family: var(--monospace);vertical-align: initial;border: 1px solid rgb(231, 234, 237);background-color: rgb(243, 244, 244);border-radius: 3px;padding: 0px 2px;font-size: 0.9em&quot;&gt;~/.openclaw/config.yaml&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n207&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;auth-profiles.json 配置文件路径：&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n208&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;text&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block ty-contain-cm modeLoaded&quot; spellcheck=&quot;false&quot; lang=&quot;&quot; cid=&quot;n209&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box;overflow: visible;font-family: var(--monospace);font-size: 0.9em;break-inside: avoid;white-space: normal;background-image: inherit;background-position: inherit;background-size: inherit;background-repeat: inherit;background-attachment: inherit;background-origin: inherit;background-clip: inherit;border: 1px solid rgb(231, 234, 237);border-radius: 3px;padding: 8px 4px 6px;margin-bottom: 15px;margin-top: 15px;width: inherit;color: rgb(51, 51, 51);position: relative !important&quot;&gt;~/.openclaw/agents/main/agent/auth-profiles.json&lt;/pre&gt;&lt;p cid=&quot;n210&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p cid=&quot;n211&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;示例配置（以 Moonshot AI / Kimi 为例）：&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n212&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;json&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block ty-contain-cm modeLoaded&quot; spellcheck=&quot;false&quot; lang=&quot;&quot; cid=&quot;n213&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box;overflow: visible;font-family: var(--monospace);font-size: 0.9em;break-inside: avoid;white-space: normal;background-image: inherit;background-position: inherit;background-size: inherit;background-repeat: inherit;background-attachment: inherit;background-origin: inherit;background-clip: inherit;border: 1px solid rgb(231, 234, 237);border-radius: 3px;padding: 8px 4px 6px;margin-bottom: 15px;margin-top: 15px;width: inherit;color: rgb(51, 51, 51);position: relative !important&quot;&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;{&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt; &amp;nbsp;&amp;quot;profiles&amp;quot;: [&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt; &amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;id&amp;quot;: &amp;quot;kimi-main&amp;quot;,&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;type&amp;quot;: &amp;quot;api-key&amp;quot;,&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;provider&amp;quot;: &amp;quot;moonshot&amp;quot;,&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;apiKey&amp;quot;: &amp;quot;你的Kimi-API-Key&amp;quot;,&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;model&amp;quot;: &amp;quot;moonshot-v1-128k&amp;quot;&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt; &amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt; &amp;nbsp;],&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt; &amp;nbsp;&amp;quot;default&amp;quot;: &amp;quot;kimi-main&amp;quot;&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;}&lt;/span&gt;&lt;/pre&gt;&lt;p cid=&quot;n214&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;h3 cid=&quot;n215&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box;break-after: avoid-page;break-inside: avoid;orphans: 4;font-size: 1.5em;margin-top: 1rem;margin-bottom: 1rem;position: relative;line-height: 1.43;cursor: text;white-space: pre-wrap;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;4.6 启动 Gateway 服务&lt;/span&gt;&lt;/h3&gt;&lt;p cid=&quot;n216&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;bash&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block ty-contain-cm modeLoaded&quot; spellcheck=&quot;false&quot; lang=&quot;&quot; cid=&quot;n217&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box;overflow: visible;font-family: var(--monospace);font-size: 0.9em;break-inside: avoid;white-space: normal;background-image: inherit;background-position: inherit;background-size: inherit;background-repeat: inherit;background-attachment: inherit;background-origin: inherit;background-clip: inherit;border: 1px solid rgb(231, 234, 237);border-radius: 3px;padding: 8px 4px 6px;margin-bottom: 15px;margin-top: 15px;width: inherit;color: rgb(51, 51, 51);position: relative !important&quot;&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;openclaw gateway start&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;# 或指定端口（默认 18789）&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;openclaw gateway --port 18789 --verbose&lt;/span&gt;&lt;/pre&gt;&lt;p cid=&quot;n218&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;h3 cid=&quot;n219&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box;break-after: avoid-page;break-inside: avoid;orphans: 4;font-size: 1.5em;margin-top: 1rem;margin-bottom: 1rem;position: relative;line-height: 1.43;cursor: text;white-space: pre-wrap;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;4.7 验证 Gateway 运行状态&lt;/span&gt;&lt;/h3&gt;&lt;p cid=&quot;n220&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;bash&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block ty-contain-cm modeLoaded&quot; spellcheck=&quot;false&quot; lang=&quot;&quot; cid=&quot;n221&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box;overflow: visible;font-family: var(--monospace);font-size: 0.9em;break-inside: avoid;white-space: normal;background-image: inherit;background-position: inherit;background-size: inherit;background-repeat: inherit;background-attachment: inherit;background-origin: inherit;background-clip: inherit;border: 1px solid rgb(231, 234, 237);border-radius: 3px;padding: 8px 4px 6px;margin-bottom: 15px;margin-top: 15px;width: inherit;color: rgb(51, 51, 51);position: relative !important&quot;&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;# 查看 Gateway 状态&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;openclaw gateway status&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;&lt;span cm-text=&quot;&quot; cm-zwsp=&quot;&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;# 测试健康端点&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;curl -s http://127.0.0.1:18789/health | python3 -m json.tool&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;&lt;span cm-text=&quot;&quot; cm-zwsp=&quot;&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;# 查看实时日志&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;openclaw logs --follow --level info&lt;/span&gt;&lt;/pre&gt;&lt;p cid=&quot;n222&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p cid=&quot;n223&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;正常输出应包含 &lt;/span&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;code style=&quot;box-sizing: border-box;font-family: var(--monospace);vertical-align: initial;border: 1px solid rgb(231, 234, 237);background-color: rgb(243, 244, 244);border-radius: 3px;padding: 0px 2px;font-size: 0.9em&quot;&gt;&amp;quot;status&amp;quot;: &amp;quot;ok&amp;quot;&lt;/code&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;。&lt;/span&gt;&lt;/p&gt;&lt;h3 cid=&quot;n224&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box;break-after: avoid-page;break-inside: avoid;orphans: 4;font-size: 1.5em;margin-top: 1rem;margin-bottom: 1rem;position: relative;line-height: 1.43;cursor: text;white-space: pre-wrap;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;4.8 使用 TUI 体验&lt;/span&gt;&lt;/h3&gt;&lt;p cid=&quot;n225&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;bash&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block ty-contain-cm modeLoaded&quot; spellcheck=&quot;false&quot; lang=&quot;&quot; cid=&quot;n226&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box;overflow: visible;font-family: var(--monospace);font-size: 0.9em;break-inside: avoid;white-space: normal;background-image: inherit;background-position: inherit;background-size: inherit;background-repeat: inherit;background-attachment: inherit;background-origin: inherit;background-clip: inherit;border: 1px solid rgb(231, 234, 237);border-radius: 3px;padding: 8px 4px 6px;margin-bottom: 15px;margin-top: 15px;width: inherit;color: rgb(51, 51, 51);position: relative !important&quot;&gt;openclaw&amp;nbsp;tui&lt;/pre&gt;&lt;p cid=&quot;n227&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p cid=&quot;n228&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;进入终端交互界面后即可与 AI 助手进行对话。按两次 &lt;/span&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;code style=&quot;box-sizing: border-box;font-family: var(--monospace);vertical-align: initial;border: 1px solid rgb(231, 234, 237);background-color: rgb(243, 244, 244);border-radius: 3px;padding: 0px 2px;font-size: 0.9em&quot;&gt;Ctrl+C&lt;/code&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt; 可退出 TUI。&lt;/span&gt;&lt;/p&gt;&lt;h3 cid=&quot;n229&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box;break-after: avoid-page;break-inside: avoid;orphans: 4;font-size: 1.5em;margin-top: 1rem;margin-bottom: 1rem;position: relative;line-height: 1.43;cursor: text;white-space: pre-wrap;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;4.9 Gateway 常用控制命令&lt;/span&gt;&lt;/h3&gt;&lt;p cid=&quot;n230&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;bash&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block ty-contain-cm modeLoaded&quot; spellcheck=&quot;false&quot; lang=&quot;&quot; cid=&quot;n231&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box;overflow: visible;font-family: var(--monospace);font-size: 0.9em;break-inside: avoid;white-space: normal;background-image: inherit;background-position: inherit;background-size: inherit;background-repeat: inherit;background-attachment: inherit;background-origin: inherit;background-clip: inherit;border: 1px solid rgb(231, 234, 237);border-radius: 3px;padding: 8px 4px 6px;margin-bottom: 15px;margin-top: 15px;width: inherit;color: rgb(51, 51, 51);position: relative !important&quot;&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;openclaw gateway start &amp;nbsp; &amp;nbsp; &amp;nbsp;# 启动&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;openclaw gateway stop &amp;nbsp; &amp;nbsp; &amp;nbsp; # 停止&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;openclaw gateway restart &amp;nbsp; &amp;nbsp;# 重启（配置修改后使用）&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;openclaw gateway status &amp;nbsp; &amp;nbsp; # 查看状态&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;openclaw doctor &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # 诊断工具&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;openclaw status &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # 查看运行状态&lt;/span&gt;&lt;/pre&gt;&lt;p cid=&quot;n232&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;h3 cid=&quot;n233&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box;break-after: avoid-page;break-inside: avoid;orphans: 4;font-size: 1.5em;margin-top: 1rem;margin-bottom: 1rem;position: relative;line-height: 1.43;cursor: text;white-space: pre-wrap;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;4.10 配置防火墙（如需远程访问）&lt;/span&gt;&lt;/h3&gt;&lt;p cid=&quot;n234&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;如果需要在其他设备上访问 OpenClaw Gateway，需开放相应端口：&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n235&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;bash&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block ty-contain-cm modeLoaded&quot; spellcheck=&quot;false&quot; lang=&quot;&quot; cid=&quot;n236&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box;overflow: visible;font-family: var(--monospace);font-size: 0.9em;break-inside: avoid;white-space: normal;background-image: inherit;background-position: inherit;background-size: inherit;background-repeat: inherit;background-attachment: inherit;background-origin: inherit;background-clip: inherit;border: 1px solid rgb(231, 234, 237);border-radius: 3px;padding: 8px 4px 6px;margin-bottom: 15px;margin-top: 15px;width: inherit;color: rgb(51, 51, 51);position: relative !important&quot;&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;sudo firewall-cmd --add-port=18789/tcp --permanent&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;sudo firewall-cmd --reload&lt;/span&gt;&lt;/pre&gt;&lt;p cid=&quot;n237&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;blockquote cid=&quot;n238&quot; mdtype=&quot;blockquote&quot; style=&quot;box-sizing: border-box;margin: 0.8em 0px;border-left: 4px solid rgb(223, 226, 229);padding: 0px 15px;color: rgb(119, 119, 119);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px;white-space: normal&quot;&gt;&lt;p cid=&quot;n239&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;white-space: pre-wrap;position: relative&quot;&gt;&lt;span md-inline=&quot;strong&quot; class=&quot;md-pair-s &quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;strong style=&quot;box-sizing: border-box&quot;&gt;安全提示&lt;/strong&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;：生产环境中建议采用白名单策略，仅放行必要 IP 段的访问权限。&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p cid=&quot;n279&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;h3 cid=&quot;n377&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box;break-after: avoid-page;break-inside: avoid;orphans: 4;font-size: 1.5em;margin-top: 1rem;margin-bottom: 1rem;position: relative;line-height: 1.43;cursor: text;white-space: pre-wrap;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;4.11 OpenClaw 中开启“思考”功能&lt;/span&gt;&lt;/h3&gt;&lt;p cid=&quot;n284&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;在 OpenClaw 中开启“思考”功能，主要有两种方式：一种是控制“想得多深”的 &lt;/span&gt;&lt;span md-inline=&quot;strong&quot; class=&quot;md-pair-s &quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;strong style=&quot;box-sizing: border-box&quot;&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;code style=&quot;box-sizing: border-box;font-family: var(--monospace);vertical-align: initial;border: 1px solid rgb(231, 234, 237);background-color: rgb(243, 244, 244);border-radius: 3px;padding: 0px 2px;font-size: 0.9em&quot;&gt;/think&lt;/code&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt; 功能，另一种是控制“看得到过程”的 &lt;/span&gt;&lt;span md-inline=&quot;strong&quot; class=&quot;md-pair-s &quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;strong style=&quot;box-sizing: border-box&quot;&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;code style=&quot;box-sizing: border-box;font-family: var(--monospace);vertical-align: initial;border: 1px solid rgb(231, 234, 237);background-color: rgb(243, 244, 244);border-radius: 3px;padding: 0px 2px;font-size: 0.9em&quot;&gt;/reasoning&lt;/code&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt; 功能。&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n285&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;code style=&quot;box-sizing: border-box;font-family: var(--monospace);vertical-align: initial;border: 1px solid rgb(231, 234, 237);background-color: rgb(243, 244, 244);border-radius: 3px;padding: 0px 2px;font-size: 0.9em&quot;&gt;/think&lt;/code&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;：控制思考深度 (Think Harder)&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n286&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;这个功能控制模型的“思考预算”，它会直接影响模型在处理问题前投入多少计算资源进行内部推理。请根据你的任务选择合适的级别：&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;figure cid=&quot;n287&quot; mdtype=&quot;table&quot; style=&quot;box-sizing: border-box;margin: 1.2em 0px;overflow-x: auto;max-width: calc(100% + 16px);padding: 0px;cursor: default;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px;white-space: normal&quot;&gt;&lt;table width=&quot;1140&quot;&gt;&lt;thead style=&quot;box-sizing: border-box;background-color: rgb(248, 248, 248)&quot;&gt;&lt;tr cid=&quot;n288&quot; mdtype=&quot;table_row&quot; style=&quot;box-sizing: border-box;break-inside: avoid;break-after: auto;border: 1px solid rgb(223, 226, 229);padding: 0px&quot; class=&quot;firstRow&quot;&gt;&lt;th style=&quot;box-sizing: border-box;padding: 6px 13px;border-width: 1px 1px 0px;border-top-color: rgb(223, 226, 229);border-right-color: rgb(223, 226, 229);border-left-color: rgb(223, 226, 229);border-bottom-style: initial;border-bottom-color: initial;text-align: left&quot;&gt;&lt;span cid=&quot;n289&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 129px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;思考级别&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th style=&quot;box-sizing: border-box;padding: 6px 13px;border-width: 1px 1px 0px;border-top-color: rgb(223, 226, 229);border-right-color: rgb(223, 226, 229);border-left-color: rgb(223, 226, 229);border-bottom-style: initial;border-bottom-color: initial;text-align: left&quot;&gt;&lt;span cid=&quot;n290&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 497px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;适用场景&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th style=&quot;box-sizing: border-box;padding: 6px 13px;border-width: 1px 1px 0px;border-top-color: rgb(223, 226, 229);border-right-color: rgb(223, 226, 229);border-left-color: rgb(223, 226, 229);border-bottom-style: initial;border-bottom-color: initial;text-align: left&quot;&gt;&lt;span cid=&quot;n291&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 203px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;速度&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th style=&quot;box-sizing: border-box;padding: 6px 13px;border-width: 1px 1px 0px;border-top-color: rgb(223, 226, 229);border-right-color: rgb(223, 226, 229);border-left-color: rgb(223, 226, 229);border-bottom-style: initial;border-bottom-color: initial;text-align: left&quot;&gt;&lt;span cid=&quot;n292&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 202px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;Token 消耗&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody style=&quot;box-sizing: border-box&quot;&gt;&lt;tr cid=&quot;n293&quot; mdtype=&quot;table_row&quot; style=&quot;box-sizing: border-box;break-inside: avoid;break-after: auto;border: 1px solid rgb(223, 226, 229);padding: 0px&quot;&gt;&lt;td style=&quot;box-sizing: border-box;padding: 6px 13px;border-color: rgb(223, 226, 229);min-width: 32px&quot;&gt;&lt;span cid=&quot;n294&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 129px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;code style=&quot;box-sizing: border-box;font-family: var(--monospace);vertical-align: initial;border: 1px solid rgb(231, 234, 237);background-color: rgb(243, 244, 244);border-radius: 3px;padding: 0px 2px;font-size: 0.9em&quot;&gt;off&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;box-sizing: border-box;padding: 6px 13px;border-color: rgb(223, 226, 229);min-width: 32px&quot;&gt;&lt;span cid=&quot;n295&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 497px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;无需思考的极简单任务，如“现在是几点”&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;box-sizing: border-box;padding: 6px 13px;border-color: rgb(223, 226, 229);min-width: 32px&quot;&gt;&lt;span cid=&quot;n296&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 203px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;极快&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;box-sizing: border-box;padding: 6px 13px;border-color: rgb(223, 226, 229);min-width: 32px&quot;&gt;&lt;span cid=&quot;n297&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 202px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;无额外消耗&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr cid=&quot;n298&quot; mdtype=&quot;table_row&quot; style=&quot;box-sizing: border-box;break-inside: avoid;break-after: auto;border: 1px solid rgb(223, 226, 229);padding: 0px;background-color: rgb(248, 248, 248)&quot;&gt;&lt;td style=&quot;box-sizing: border-box;padding: 6px 13px;border-color: rgb(223, 226, 229);min-width: 32px&quot;&gt;&lt;span cid=&quot;n299&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 129px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;code style=&quot;box-sizing: border-box;font-family: var(--monospace);vertical-align: initial;border: 1px solid rgb(231, 234, 237);background-color: rgb(243, 244, 244);border-radius: 3px;padding: 0px 2px;font-size: 0.9em&quot;&gt;minimal&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;box-sizing: border-box;padding: 6px 13px;border-color: rgb(223, 226, 229);min-width: 32px&quot;&gt;&lt;span cid=&quot;n300&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 497px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;非常简单的任务，如“今天天气如何”&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;box-sizing: border-box;padding: 6px 13px;border-color: rgb(223, 226, 229);min-width: 32px&quot;&gt;&lt;span cid=&quot;n301&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 203px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;快&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;box-sizing: border-box;padding: 6px 13px;border-color: rgb(223, 226, 229);min-width: 32px&quot;&gt;&lt;span cid=&quot;n302&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 202px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;+10-20%&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr cid=&quot;n303&quot; mdtype=&quot;table_row&quot; style=&quot;box-sizing: border-box;break-inside: avoid;break-after: auto;border: 1px solid rgb(223, 226, 229);padding: 0px&quot;&gt;&lt;td style=&quot;box-sizing: border-box;padding: 6px 13px;border-color: rgb(223, 226, 229);min-width: 32px&quot;&gt;&lt;span cid=&quot;n304&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 129px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;code style=&quot;box-sizing: border-box;font-family: var(--monospace);vertical-align: initial;border: 1px solid rgb(231, 234, 237);background-color: rgb(243, 244, 244);border-radius: 3px;padding: 0px 2px;font-size: 0.9em&quot;&gt;low&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;box-sizing: border-box;padding: 6px 13px;border-color: rgb(223, 226, 229);min-width: 32px&quot;&gt;&lt;span cid=&quot;n305&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 497px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;日常简单对话或普通任务&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;box-sizing: border-box;padding: 6px 13px;border-color: rgb(223, 226, 229);min-width: 32px&quot;&gt;&lt;span cid=&quot;n306&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 203px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;快 (1-3秒)&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;box-sizing: border-box;padding: 6px 13px;border-color: rgb(223, 226, 229);min-width: 32px&quot;&gt;&lt;span cid=&quot;n307&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 202px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;+10-20%&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr cid=&quot;n308&quot; mdtype=&quot;table_row&quot; style=&quot;box-sizing: border-box;break-inside: avoid;break-after: auto;border: 1px solid rgb(223, 226, 229);padding: 0px;background-color: rgb(248, 248, 248)&quot;&gt;&lt;td style=&quot;box-sizing: border-box;padding: 6px 13px;border-color: rgb(223, 226, 229);min-width: 32px&quot;&gt;&lt;span cid=&quot;n309&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 129px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;code style=&quot;box-sizing: border-box;font-family: var(--monospace);vertical-align: initial;border: 1px solid rgb(231, 234, 237);background-color: rgb(243, 244, 244);border-radius: 3px;padding: 0px 2px;font-size: 0.9em&quot;&gt;medium&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;box-sizing: border-box;padding: 6px 13px;border-color: rgb(223, 226, 229);min-width: 32px&quot;&gt;&lt;span cid=&quot;n310&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 497px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;需要多步推理的专业任务，推荐日常使用&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;box-sizing: border-box;padding: 6px 13px;border-color: rgb(223, 226, 229);min-width: 32px&quot;&gt;&lt;span cid=&quot;n311&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 203px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;中等 (3-8秒)&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;box-sizing: border-box;padding: 6px 13px;border-color: rgb(223, 226, 229);min-width: 32px&quot;&gt;&lt;span cid=&quot;n312&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 202px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;+30-60%&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr cid=&quot;n313&quot; mdtype=&quot;table_row&quot; style=&quot;box-sizing: border-box;break-inside: avoid;break-after: auto;border: 1px solid rgb(223, 226, 229);padding: 0px&quot;&gt;&lt;td style=&quot;box-sizing: border-box;padding: 6px 13px;border-color: rgb(223, 226, 229);min-width: 32px&quot;&gt;&lt;span cid=&quot;n314&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 129px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;code style=&quot;box-sizing: border-box;font-family: var(--monospace);vertical-align: initial;border: 1px solid rgb(231, 234, 237);background-color: rgb(243, 244, 244);border-radius: 3px;padding: 0px 2px;font-size: 0.9em&quot;&gt;high&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;box-sizing: border-box;padding: 6px 13px;border-color: rgb(223, 226, 229);min-width: 32px&quot;&gt;&lt;span cid=&quot;n315&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 497px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;复杂分析、深度逻辑推理或方案设计&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;box-sizing: border-box;padding: 6px 13px;border-color: rgb(223, 226, 229);min-width: 32px&quot;&gt;&lt;span cid=&quot;n316&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 203px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;慢 (8-30秒以上)&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;box-sizing: border-box;padding: 6px 13px;border-color: rgb(223, 226, 229);min-width: 32px&quot;&gt;&lt;span cid=&quot;n317&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 202px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;+80-200%以上&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr cid=&quot;n318&quot; mdtype=&quot;table_row&quot; style=&quot;box-sizing: border-box;break-inside: avoid;break-after: auto;border: 1px solid rgb(223, 226, 229);padding: 0px;background-color: rgb(248, 248, 248)&quot;&gt;&lt;td style=&quot;box-sizing: border-box;padding: 6px 13px;border-color: rgb(223, 226, 229);min-width: 32px&quot;&gt;&lt;span cid=&quot;n319&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 129px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;code style=&quot;box-sizing: border-box;font-family: var(--monospace);vertical-align: initial;border: 1px solid rgb(231, 234, 237);background-color: rgb(243, 244, 244);border-radius: 3px;padding: 0px 2px;font-size: 0.9em&quot;&gt;xhigh&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;box-sizing: border-box;padding: 6px 13px;border-color: rgb(223, 226, 229);min-width: 32px&quot;&gt;&lt;span cid=&quot;n320&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 497px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;极限复杂任务，需要最高级别思考预算&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;box-sizing: border-box;padding: 6px 13px;border-color: rgb(223, 226, 229);min-width: 32px&quot;&gt;&lt;span cid=&quot;n321&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 203px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;很慢&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;box-sizing: border-box;padding: 6px 13px;border-color: rgb(223, 226, 229);min-width: 32px&quot;&gt;&lt;span cid=&quot;n322&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 202px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;Token消耗巨大&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/figure&gt;&lt;/p&gt;&lt;blockquote cid=&quot;n323&quot; mdtype=&quot;blockquote&quot; style=&quot;box-sizing: border-box;margin: 0.8em 0px;border-left: 4px solid rgb(223, 226, 229);padding: 0px 15px;color: rgb(119, 119, 119);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px;white-space: normal&quot;&gt;&lt;p cid=&quot;n324&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;white-space: pre-wrap;position: relative&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;注意：思考过程本身也消耗Token，高级别会显著增加。但&lt;/span&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;code style=&quot;box-sizing: border-box;font-family: var(--monospace);vertical-align: initial;border: 1px solid rgb(231, 234, 237);background-color: rgb(243, 244, 244);border-radius: 3px;padding: 0px 2px;font-size: 0.9em&quot;&gt;/think&lt;/code&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;控制的内部推理过程默认是隐藏的，不直接显示在界面上。&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p cid=&quot;n325&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt; 如何开启 &lt;/span&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;code style=&quot;box-sizing: border-box;font-family: var(--monospace);vertical-align: initial;border: 1px solid rgb(231, 234, 237);background-color: rgb(243, 244, 244);border-radius: 3px;padding: 0px 2px;font-size: 0.9em&quot;&gt;/think&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n326&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;你可以在三种场景下使用该命令：&lt;/span&gt;&lt;/p&gt;&lt;ul cid=&quot;n327&quot; mdtype=&quot;list&quot; data-mark=&quot;-&quot; style=&quot;box-sizing: border-box;margin: 0.8em 0px;padding-left: 30px;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px;white-space: normal&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p cid=&quot;n329&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0px 0px 0.5rem;white-space: pre-wrap;position: relative&quot;&gt;&lt;span md-inline=&quot;strong&quot; class=&quot;md-pair-s &quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;strong style=&quot;box-sizing: border-box&quot;&gt;临时开启（单次）&lt;/strong&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;：在问题前加上 &lt;/span&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;code style=&quot;box-sizing: border-box;font-family: var(--monospace);vertical-align: initial;border: 1px solid rgb(231, 234, 237);background-color: rgb(243, 244, 244);border-radius: 3px;padding: 0px 2px;font-size: 0.9em&quot;&gt;/think:high&lt;/code&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;，效果只影响当前这条消息。&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n330&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.5rem 0px;white-space: pre-wrap;position: relative&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;text&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block ty-contain-cm modeLoaded&quot; spellcheck=&quot;false&quot; lang=&quot;&quot; cid=&quot;n331&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box;overflow: visible;font-family: var(--monospace);font-size: 0.9em;break-inside: avoid;white-space: normal;background-image: inherit;background-position: inherit;background-size: inherit;background-repeat: inherit;background-attachment: inherit;background-origin: inherit;background-clip: inherit;border: 1px solid rgb(231, 234, 237);border-radius: 3px;padding: 8px 4px 6px;margin-bottom: 15px;margin-top: 15px;width: inherit;position: relative !important&quot;&gt;/think:high&amp;nbsp;请帮我分析这份合同中的潜在法律风险。&lt;/pre&gt;&lt;p cid=&quot;n332&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.5rem 0px;white-space: pre-wrap;position: relative&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p cid=&quot;n334&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0px 0px 0.5rem;white-space: pre-wrap;position: relative&quot;&gt;&lt;span md-inline=&quot;strong&quot; class=&quot;md-pair-s &quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;strong style=&quot;box-sizing: border-box&quot;&gt;会话开启（持续）&lt;/strong&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;：单独发送一条 &lt;/span&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;code style=&quot;box-sizing: border-box;font-family: var(--monospace);vertical-align: initial;border: 1px solid rgb(231, 234, 237);background-color: rgb(243, 244, 244);border-radius: 3px;padding: 0px 2px;font-size: 0.9em&quot;&gt;/think:medium&lt;/code&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt; 消息，后续在当前会话中都生效。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p cid=&quot;n336&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0px 0px 0.5rem;white-space: pre-wrap;position: relative&quot;&gt;&lt;span md-inline=&quot;strong&quot; class=&quot;md-pair-s &quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;strong style=&quot;box-sizing: border-box&quot;&gt;全局开启（永久）&lt;/strong&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;：通过修改配置文件设置全局默认的思考级别。&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n337&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.5rem 0px;white-space: pre-wrap;position: relative&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;bash&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block ty-contain-cm modeLoaded&quot; spellcheck=&quot;false&quot; lang=&quot;&quot; cid=&quot;n338&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box;overflow: visible;font-family: var(--monospace);font-size: 0.9em;break-inside: avoid;white-space: normal;background-image: inherit;background-position: inherit;background-size: inherit;background-repeat: inherit;background-attachment: inherit;background-origin: inherit;background-clip: inherit;border: 1px solid rgb(231, 234, 237);border-radius: 3px;padding: 8px 4px 6px;margin-bottom: 15px;margin-top: 15px;width: inherit;position: relative !important&quot;&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;openclaw config set agents.defaults.thinkingDefault high&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;openclaw gateway restart&lt;/span&gt;&lt;/pre&gt;&lt;p cid=&quot;n339&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.5rem 0px;white-space: pre-wrap;position: relative&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p cid=&quot;n340&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;code style=&quot;box-sizing: border-box;font-family: var(--monospace);vertical-align: initial;border: 1px solid rgb(231, 234, 237);background-color: rgb(243, 244, 244);border-radius: 3px;padding: 0px 2px;font-size: 0.9em&quot;&gt;/reasoning&lt;/code&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;：显示思维链 (Show Your Work)&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n341&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;这个功能用于&lt;/span&gt;&lt;span md-inline=&quot;strong&quot; class=&quot;md-pair-s &quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;strong style=&quot;box-sizing: border-box&quot;&gt;控制模型的思考过程是否直接显示&lt;/strong&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;，不影响模型本身的思考质量，只影响透明度。支持以下级别：&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;figure cid=&quot;n342&quot; mdtype=&quot;table&quot; style=&quot;box-sizing: border-box;margin: 1.2em 0px;overflow-x: auto;max-width: calc(100% + 16px);padding: 0px;cursor: default;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px;white-space: normal&quot;&gt;&lt;table width=&quot;1140&quot;&gt;&lt;thead style=&quot;box-sizing: border-box;background-color: rgb(248, 248, 248)&quot;&gt;&lt;tr cid=&quot;n343&quot; mdtype=&quot;table_row&quot; style=&quot;box-sizing: border-box;break-inside: avoid;break-after: auto;border: 1px solid rgb(223, 226, 229);padding: 0px&quot; class=&quot;firstRow&quot;&gt;&lt;th style=&quot;box-sizing: border-box;padding: 6px 13px;border-width: 1px 1px 0px;border-top-color: rgb(223, 226, 229);border-right-color: rgb(223, 226, 229);border-left-color: rgb(223, 226, 229);border-bottom-style: initial;border-bottom-color: initial;text-align: left&quot;&gt;&lt;span cid=&quot;n344&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 152px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;推理级别&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th style=&quot;box-sizing: border-box;padding: 6px 13px;border-width: 1px 1px 0px;border-top-color: rgb(223, 226, 229);border-right-color: rgb(223, 226, 229);border-left-color: rgb(223, 226, 229);border-bottom-style: initial;border-bottom-color: initial;text-align: left&quot;&gt;&lt;span cid=&quot;n345&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 933px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;功能描述&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody style=&quot;box-sizing: border-box&quot;&gt;&lt;tr cid=&quot;n346&quot; mdtype=&quot;table_row&quot; style=&quot;box-sizing: border-box;break-inside: avoid;break-after: auto;border: 1px solid rgb(223, 226, 229);padding: 0px&quot;&gt;&lt;td style=&quot;box-sizing: border-box;padding: 6px 13px;border-color: rgb(223, 226, 229);min-width: 32px&quot;&gt;&lt;span cid=&quot;n347&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 152px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;code style=&quot;box-sizing: border-box;font-family: var(--monospace);vertical-align: initial;border: 1px solid rgb(231, 234, 237);background-color: rgb(243, 244, 244);border-radius: 3px;padding: 0px 2px;font-size: 0.9em&quot;&gt;on&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;box-sizing: border-box;padding: 6px 13px;border-color: rgb(223, 226, 229);min-width: 32px&quot;&gt;&lt;span cid=&quot;n348&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 933px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;将模型的推理过程单独作为消息发送，让你看到AI的“思考路径”。&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr cid=&quot;n349&quot; mdtype=&quot;table_row&quot; style=&quot;box-sizing: border-box;break-inside: avoid;break-after: auto;border: 1px solid rgb(223, 226, 229);padding: 0px;background-color: rgb(248, 248, 248)&quot;&gt;&lt;td style=&quot;box-sizing: border-box;padding: 6px 13px;border-color: rgb(223, 226, 229);min-width: 32px&quot;&gt;&lt;span cid=&quot;n350&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 152px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;code style=&quot;box-sizing: border-box;font-family: var(--monospace);vertical-align: initial;border: 1px solid rgb(231, 234, 237);background-color: rgb(243, 244, 244);border-radius: 3px;padding: 0px 2px;font-size: 0.9em&quot;&gt;stream&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;box-sizing: border-box;padding: 6px 13px;border-color: rgb(223, 226, 229);min-width: 32px&quot;&gt;&lt;span cid=&quot;n351&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 933px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;在回复生成期间，将推理内容实时流式输出，提升交互感。&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr cid=&quot;n352&quot; mdtype=&quot;table_row&quot; style=&quot;box-sizing: border-box;break-inside: avoid;break-after: auto;border: 1px solid rgb(223, 226, 229);padding: 0px&quot;&gt;&lt;td style=&quot;box-sizing: border-box;padding: 6px 13px;border-color: rgb(223, 226, 229);min-width: 32px&quot;&gt;&lt;span cid=&quot;n353&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 152px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;code style=&quot;box-sizing: border-box;font-family: var(--monospace);vertical-align: initial;border: 1px solid rgb(231, 234, 237);background-color: rgb(243, 244, 244);border-radius: 3px;padding: 0px 2px;font-size: 0.9em&quot;&gt;off&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;box-sizing: border-box;padding: 6px 13px;border-color: rgb(223, 226, 229);min-width: 32px&quot;&gt;&lt;span cid=&quot;n354&quot; mdtype=&quot;table_cell&quot; style=&quot;box-sizing: border-box;display: inline-block;min-width: 1ch;width: 933px;min-height: 10px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;关闭推理过程的显示（默认状态）。&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/figure&gt;&lt;/p&gt;&lt;p cid=&quot;n355&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt; 如何开启 &lt;/span&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;code style=&quot;box-sizing: border-box;font-family: var(--monospace);vertical-align: initial;border: 1px solid rgb(231, 234, 237);background-color: rgb(243, 244, 244);border-radius: 3px;padding: 0px 2px;font-size: 0.9em&quot;&gt;/reasoning&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n356&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;使用方法与 &lt;/span&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;code style=&quot;box-sizing: border-box;font-family: var(--monospace);vertical-align: initial;border: 1px solid rgb(231, 234, 237);background-color: rgb(243, 244, 244);border-radius: 3px;padding: 0px 2px;font-size: 0.9em&quot;&gt;/think&lt;/code&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt; 类似：&lt;/span&gt;&lt;/p&gt;&lt;ul cid=&quot;n357&quot; mdtype=&quot;list&quot; data-mark=&quot;-&quot; style=&quot;box-sizing: border-box;margin: 0.8em 0px;padding-left: 30px;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px;white-space: normal&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p cid=&quot;n359&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0px 0px 0.5rem;white-space: pre-wrap;position: relative&quot;&gt;&lt;span md-inline=&quot;strong&quot; class=&quot;md-pair-s &quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;strong style=&quot;box-sizing: border-box&quot;&gt;临时开启&lt;/strong&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;：在消息前加上 &lt;/span&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;code style=&quot;box-sizing: border-box;font-family: var(--monospace);vertical-align: initial;border: 1px solid rgb(231, 234, 237);background-color: rgb(243, 244, 244);border-radius: 3px;padding: 0px 2px;font-size: 0.9em&quot;&gt;/reasoning:on&lt;/code&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt; 即可。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p cid=&quot;n361&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0px 0px 0.5rem;white-space: pre-wrap;position: relative&quot;&gt;&lt;span md-inline=&quot;strong&quot; class=&quot;md-pair-s &quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;strong style=&quot;box-sizing: border-box&quot;&gt;会话开启&lt;/strong&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;：单独发送一条 &lt;/span&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;code style=&quot;box-sizing: border-box;font-family: var(--monospace);vertical-align: initial;border: 1px solid rgb(231, 234, 237);background-color: rgb(243, 244, 244);border-radius: 3px;padding: 0px 2px;font-size: 0.9em&quot;&gt;/reasoning:on&lt;/code&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt; 的命令。&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n362&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.5rem 0px;white-space: pre-wrap;position: relative&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;text&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block ty-contain-cm modeLoaded&quot; spellcheck=&quot;false&quot; lang=&quot;&quot; cid=&quot;n363&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box;overflow: visible;font-family: var(--monospace);font-size: 0.9em;break-inside: avoid;white-space: normal;background-image: inherit;background-position: inherit;background-size: inherit;background-repeat: inherit;background-attachment: inherit;background-origin: inherit;background-clip: inherit;border: 1px solid rgb(231, 234, 237);border-radius: 3px;padding: 8px 4px 6px;margin-bottom: 15px;margin-top: 15px;width: inherit;position: relative !important&quot;&gt;/reasoning:on&lt;/pre&gt;&lt;p cid=&quot;n364&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.5rem 0px;white-space: pre-wrap;position: relative&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;blockquote cid=&quot;n365&quot; mdtype=&quot;blockquote&quot; style=&quot;box-sizing: border-box;margin: 0.8em 0px;border-left: 4px solid rgb(223, 226, 229);padding: 0px 15px;color: rgb(119, 119, 119);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px;white-space: normal&quot;&gt;&lt;p cid=&quot;n366&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;white-space: pre-wrap;position: relative&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;注意：部分模型（如DeepSeek-R1）本身就支持展示内部思考过程，通过这个命令可以更方便地控制其显示。&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p cid=&quot;n367&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt; 组合使用&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n368&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;你可以将 &lt;/span&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;code style=&quot;box-sizing: border-box;font-family: var(--monospace);vertical-align: initial;border: 1px solid rgb(231, 234, 237);background-color: rgb(243, 244, 244);border-radius: 3px;padding: 0px 2px;font-size: 0.9em&quot;&gt;/think high&lt;/code&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;（深度思考）和 &lt;/span&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;code style=&quot;box-sizing: border-box;font-family: var(--monospace);vertical-align: initial;border: 1px solid rgb(231, 234, 237);background-color: rgb(243, 244, 244);border-radius: 3px;padding: 0px 2px;font-size: 0.9em&quot;&gt;/reasoning:on&lt;/code&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;（显示过程）组合使用。这样既能获得高质量的答案，又能清晰地看到AI是如何一步步得出结论的。&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n369&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt; 补充细节&lt;/span&gt;&lt;/p&gt;&lt;ul cid=&quot;n370&quot; mdtype=&quot;list&quot; data-mark=&quot;-&quot; style=&quot;box-sizing: border-box;margin: 0.8em 0px;padding-left: 30px;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px;white-space: normal&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p cid=&quot;n372&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0px 0px 0.5rem;white-space: pre-wrap;position: relative&quot;&gt;&lt;span md-inline=&quot;strong&quot; class=&quot;md-pair-s &quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;strong style=&quot;box-sizing: border-box&quot;&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;code style=&quot;box-sizing: border-box;font-family: var(--monospace);vertical-align: initial;border: 1px solid rgb(231, 234, 237);background-color: rgb(243, 244, 244);border-radius: 3px;padding: 0px 2px;font-size: 0.9em&quot;&gt;/verbose&lt;/code&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt; (详细模式)&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;：这个命令主要用于调试工具调用（如浏览器、代码执行等）。开启它（&lt;/span&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;code style=&quot;box-sizing: border-box;font-family: var(--monospace);vertical-align: initial;border: 1px solid rgb(231, 234, 237);background-color: rgb(243, 244, 244);border-radius: 3px;padding: 0px 2px;font-size: 0.9em&quot;&gt;/verbose on&lt;/code&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;）可以看到工具名、传入参数和返回结果等详细信息，非常适合排查功能性问题。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p cid=&quot;n374&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0px 0px 0.5rem;white-space: pre-wrap;position: relative&quot;&gt;&lt;span md-inline=&quot;strong&quot; class=&quot;md-pair-s &quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;strong style=&quot;box-sizing: border-box&quot;&gt;命令优先级&lt;/strong&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;：规则的生效优先级是：&lt;/span&gt;&lt;span md-inline=&quot;strong&quot; class=&quot;md-pair-s &quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;strong style=&quot;box-sizing: border-box&quot;&gt;临时命令 &amp;gt; 会话命令 &amp;gt; 全局配置&lt;/strong&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;，临时命令的优先级是最高的。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p cid=&quot;n240&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p cid=&quot;n277&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;h2 cid=&quot;n278&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box;break-after: avoid-page;break-inside: avoid;orphans: 4;font-size: 1.75em;margin-top: 1rem;margin-bottom: 1rem;position: relative;line-height: 1.225;cursor: text;border-bottom: 1px solid rgb(238, 238, 238);white-space: pre-wrap;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;五、常见问题排查&lt;/span&gt;&lt;/h2&gt;&lt;h3 cid=&quot;n241&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box;break-after: avoid-page;break-inside: avoid;orphans: 4;font-size: 1.5em;margin-top: 1rem;margin-bottom: 1rem;position: relative;line-height: 1.43;cursor: text;white-space: pre-wrap;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;5.1 UKUI 安装失败&lt;/span&gt;&lt;/h3&gt;&lt;p cid=&quot;n242&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;bash&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block ty-contain-cm modeLoaded&quot; spellcheck=&quot;false&quot; lang=&quot;&quot; cid=&quot;n243&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box;overflow: visible;font-family: var(--monospace);font-size: 0.9em;break-inside: avoid;white-space: normal;background-image: inherit;background-position: inherit;background-size: inherit;background-repeat: inherit;background-attachment: inherit;background-origin: inherit;background-clip: inherit;border: 1px solid rgb(231, 234, 237);border-radius: 3px;padding: 8px 4px 6px;margin-bottom: 15px;margin-top: 15px;width: inherit;color: rgb(51, 51, 51);position: relative !important&quot;&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;# 检查网络连通性&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;ping -c 4 www.baidu.com&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;&lt;span cm-text=&quot;&quot; cm-zwsp=&quot;&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;# 清理 dnf 缓存后重试&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;sudo dnf clean all&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;sudo dnf makecache&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;sudo dnf -y install ukui&lt;/span&gt;&lt;/pre&gt;&lt;p cid=&quot;n244&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;h3 cid=&quot;n245&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box;break-after: avoid-page;break-inside: avoid;orphans: 4;font-size: 1.5em;margin-top: 1rem;margin-bottom: 1rem;position: relative;line-height: 1.43;cursor: text;white-space: pre-wrap;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;5.2 UKUI 桌面黑屏或无法启动&lt;/span&gt;&lt;/h3&gt;&lt;p cid=&quot;n246&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;bash&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block ty-contain-cm modeLoaded&quot; spellcheck=&quot;false&quot; lang=&quot;&quot; cid=&quot;n247&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box;overflow: visible;font-family: var(--monospace);font-size: 0.9em;break-inside: avoid;white-space: normal;background-image: inherit;background-position: inherit;background-size: inherit;background-repeat: inherit;background-attachment: inherit;background-origin: inherit;background-clip: inherit;border: 1px solid rgb(231, 234, 237);border-radius: 3px;padding: 8px 4px 6px;margin-bottom: 15px;margin-top: 15px;width: inherit;color: rgb(51, 51, 51);position: relative !important&quot;&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;# 检查显示管理器状态&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;sudo systemctl status lightdm&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;&lt;span cm-text=&quot;&quot; cm-zwsp=&quot;&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;# 若未启动，手动启动&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;sudo systemctl start lightdm&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;sudo systemctl enable lightdm&lt;/span&gt;&lt;/pre&gt;&lt;p cid=&quot;n248&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;h3 cid=&quot;n249&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box;break-after: avoid-page;break-inside: avoid;orphans: 4;font-size: 1.5em;margin-top: 1rem;margin-bottom: 1rem;position: relative;line-height: 1.43;cursor: text;white-space: pre-wrap;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;5.3 Node.js 命令未找到&lt;/span&gt;&lt;/h3&gt;&lt;p cid=&quot;n250&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;bash&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block ty-contain-cm modeLoaded&quot; spellcheck=&quot;false&quot; lang=&quot;&quot; cid=&quot;n251&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box;overflow: visible;font-family: var(--monospace);font-size: 0.9em;break-inside: avoid;white-space: normal;background-image: inherit;background-position: inherit;background-size: inherit;background-repeat: inherit;background-attachment: inherit;background-origin: inherit;background-clip: inherit;border: 1px solid rgb(231, 234, 237);border-radius: 3px;padding: 8px 4px 6px;margin-bottom: 15px;margin-top: 15px;width: inherit;color: rgb(51, 51, 51);position: relative !important&quot;&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;# 确认软链接是否正确&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;ls -la /usr/local/bin/node /usr/local/bin/npm&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;&lt;span cm-text=&quot;&quot; cm-zwsp=&quot;&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;# 确认 PATH 环境变量&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;echo $PATH&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;&lt;span cm-text=&quot;&quot; cm-zwsp=&quot;&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;# 手动添加（临时生效）&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;export PATH=/usr/local/node-v26.2.0-linux-x64/bin:$PATH&lt;/span&gt;&lt;/pre&gt;&lt;p cid=&quot;n252&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;h3 cid=&quot;n253&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box;break-after: avoid-page;break-inside: avoid;orphans: 4;font-size: 1.5em;margin-top: 1rem;margin-bottom: 1rem;position: relative;line-height: 1.43;cursor: text;white-space: pre-wrap;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;5.4 OpenClaw 命令未找到&lt;/span&gt;&lt;/h3&gt;&lt;p cid=&quot;n254&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;bash&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block ty-contain-cm modeLoaded&quot; spellcheck=&quot;false&quot; lang=&quot;&quot; cid=&quot;n255&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box;overflow: visible;font-family: var(--monospace);font-size: 0.9em;break-inside: avoid;white-space: normal;background-image: inherit;background-position: inherit;background-size: inherit;background-repeat: inherit;background-attachment: inherit;background-origin: inherit;background-clip: inherit;border: 1px solid rgb(231, 234, 237);border-radius: 3px;padding: 8px 4px 6px;margin-bottom: 15px;margin-top: 15px;width: inherit;color: rgb(51, 51, 51);position: relative !important&quot;&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;# 检查 Node.js 版本&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;node -v&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;&lt;span cm-text=&quot;&quot; cm-zwsp=&quot;&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;# 检查全局包路径&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;npm prefix -g&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;&lt;span cm-text=&quot;&quot; cm-zwsp=&quot;&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;# 确认全局 bin 目录是否在 PATH 中&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;echo $PATH&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;&lt;span cm-text=&quot;&quot; cm-zwsp=&quot;&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;# 若不在，手动添加&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;echo &amp;#39;export PATH=$(npm prefix -g)/bin:$PATH&amp;#39; &amp;gt;&amp;gt; ~/.bashrc&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;source ~/.bashrc&lt;/span&gt;&lt;/pre&gt;&lt;p cid=&quot;n256&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;h3 cid=&quot;n257&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box;break-after: avoid-page;break-inside: avoid;orphans: 4;font-size: 1.5em;margin-top: 1rem;margin-bottom: 1rem;position: relative;line-height: 1.43;cursor: text;white-space: pre-wrap;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;5.5 Gateway 启动失败&lt;/span&gt;&lt;/h3&gt;&lt;p cid=&quot;n258&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;bash&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block ty-contain-cm modeLoaded&quot; spellcheck=&quot;false&quot; lang=&quot;&quot; cid=&quot;n259&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box;overflow: visible;font-family: var(--monospace);font-size: 0.9em;break-inside: avoid;white-space: normal;background-image: inherit;background-position: inherit;background-size: inherit;background-repeat: inherit;background-attachment: inherit;background-origin: inherit;background-clip: inherit;border: 1px solid rgb(231, 234, 237);border-radius: 3px;padding: 8px 4px 6px;margin-bottom: 15px;margin-top: 15px;width: inherit;color: rgb(51, 51, 51);position: relative !important&quot;&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;# 运行诊断工具&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;openclaw doctor&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;&lt;span cm-text=&quot;&quot; cm-zwsp=&quot;&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;# 查看详细日志&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;openclaw logs --follow --level debug&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;&lt;span cm-text=&quot;&quot; cm-zwsp=&quot;&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;# 确认端口未被占用&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;sudo ss -tlnp | grep 18789&lt;/span&gt;&lt;/pre&gt;&lt;p cid=&quot;n260&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;h2 cid=&quot;n261&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box;break-after: avoid-page;break-inside: avoid;orphans: 4;font-size: 1.75em;margin-top: 1rem;margin-bottom: 1rem;position: relative;line-height: 1.225;cursor: text;border-bottom: 1px solid rgb(238, 238, 238);white-space: pre-wrap;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;六、完整安装流程速查表&lt;/span&gt;&lt;/h2&gt;&lt;p cid=&quot;n262&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;bash&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block ty-contain-cm modeLoaded&quot; spellcheck=&quot;false&quot; lang=&quot;&quot; cid=&quot;n263&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box;overflow: visible;font-family: var(--monospace);font-size: 0.9em;break-inside: avoid;white-space: normal;background-image: inherit;background-position: inherit;background-size: inherit;background-repeat: inherit;background-attachment: inherit;background-origin: inherit;background-clip: inherit;border: 1px solid rgb(231, 234, 237);border-radius: 3px;padding: 8px 4px 6px;margin-bottom: 15px;margin-top: 15px;width: inherit;color: rgb(51, 51, 51);position: relative !important&quot;&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;# ===== 第一步：更新系统 =====&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;sudo dnf update -y&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;&lt;span cm-text=&quot;&quot; cm-zwsp=&quot;&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;# ===== 第二步：安装 UKUI 桌面 =====&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;sudo dnf -y install ukui&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;sudo systemctl set-default graphical.target&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;sudo reboot&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;&lt;span cm-text=&quot;&quot; cm-zwsp=&quot;&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;# ===== 第三步：安装 Node.js v26.2.0 =====&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;wget https://nodejs.org/dist/v26.2.0/node-v26.2.0-linux-x64.tar.xz&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;sudo tar -xJf node-v26.2.0-linux-x64.tar.xz -C /usr/local/&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;sudo ln -s /usr/local/node-v26.2.0-linux-x64/bin/node /usr/local/bin/node&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;sudo ln -s /usr/local/node-v26.2.0-linux-x64/bin/npm /usr/local/bin/npm&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;npm config set registry https://registry.npmmirror.com&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;&lt;span cm-text=&quot;&quot; cm-zwsp=&quot;&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;# ===== 第四步：安装 OpenClaw =====&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;npm install -g openclaw@latest&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;openclaw onboard --install-daemon&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;openclaw gateway start&lt;/span&gt;&lt;br/&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box;padding-right: 0.1px&quot;&gt;openclaw tui&lt;/span&gt;&lt;/pre&gt;&lt;p cid=&quot;n264&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p cid=&quot;n265&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0.8em 0px;white-space: pre-wrap;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px&quot;&gt;&lt;span md-inline=&quot;strong&quot; class=&quot;md-pair-s &quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;strong style=&quot;box-sizing: border-box&quot;&gt;参考资源&lt;/strong&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;：&lt;/span&gt;&lt;/p&gt;&lt;ul cid=&quot;n266&quot; mdtype=&quot;list&quot; data-mark=&quot;-&quot; style=&quot;box-sizing: border-box;margin: 0.8em 0px 0px;padding-left: 30px;position: relative;color: rgb(51, 51, 51);font-family: &amp;#39;Open Sans&amp;#39;, &amp;#39;Clear Sans&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size: 16px;white-space: normal&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p cid=&quot;n268&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0px 0px 0.5rem;white-space: pre-wrap;position: relative&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;openEuler 官方文档：&lt;/span&gt;&lt;span md-inline=&quot;url&quot; class=&quot;md-link md-pair-s&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;a href=&quot;https://docs.openeuler.org&quot; style=&quot;box-sizing: border-box;cursor: pointer;color: rgb(65, 131, 196);-webkit-user-drag: none&quot;&gt;https://docs.openeuler.org&lt;/a&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;[reference:24]&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p cid=&quot;n270&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0px 0px 0.5rem;white-space: pre-wrap;position: relative&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;UKUI 用户指南：&lt;/span&gt;&lt;span md-inline=&quot;url&quot; class=&quot;md-link md-pair-s&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;a href=&quot;https://gitee.com/openeuler/ukui&quot; style=&quot;box-sizing: border-box;cursor: pointer;color: rgb(65, 131, 196);-webkit-user-drag: none&quot;&gt;https://gitee.com/openeuler/ukui&lt;/a&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;[reference:25]&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p cid=&quot;n272&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0px 0px 0.5rem;white-space: pre-wrap;position: relative&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;Node.js 官方下载：&lt;/span&gt;&lt;span md-inline=&quot;url&quot; class=&quot;md-link md-pair-s&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;a href=&quot;https://nodejs.org/dist/&quot; style=&quot;box-sizing: border-box;cursor: pointer;color: rgb(65, 131, 196);-webkit-user-drag: none&quot;&gt;https://nodejs.org/dist/&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p cid=&quot;n274&quot; mdtype=&quot;paragraph&quot; class=&quot;md-end-block md-p&quot; style=&quot;box-sizing: border-box;line-height: inherit;orphans: 4;margin: 0px 0px 0.5rem;white-space: pre-wrap;position: relative&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box&quot;&gt;OpenClaw 官方文档：&lt;/span&gt;&lt;span md-inline=&quot;url&quot; class=&quot;md-link md-pair-s&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box&quot;&gt;&lt;a href=&quot;https://docs.openclaw.ai/start/getting-started&quot; style=&quot;box-sizing: border-box;cursor: pointer;color: rgb(65, 131, 196);-webkit-user-drag: none&quot;&gt;https://docs.openclaw.ai/start/getting-started&lt;/a&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-plain md-expand&quot; style=&quot;box-sizing: border-box&quot;&gt;[reference:26]&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Sun, 24 May 2026 03:16:05 +0800</pubDate></item><item><title>openeuler 25.09 如何修改配置文件实现能开机启动 新编译的内核？</title><link>https://www.yjlink.cc/?id=3551</link><description>
&lt;p&gt;
    &lt;span style=&quot;font-size: 18px;&quot;&gt;&lt;strong&gt;openeuler 25.09 如何修改配置文件实现能开机启动 新编译的内核？&lt;/strong&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
    &lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;strong&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;div class=&quot;_4f9bf79 _43c05b5&quot; data-virtual-list-item-key=&quot;20&quot; style=&quot;box-sizing: border-box; padding: 0px; position: relative; color: rgb(128, 0, 128); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-variant-ligatures: no-contextual; white-space: normal; background-color: rgb(255, 255, 255); --assistant-last-padding-bottom: 24px;&quot;&gt;
    &lt;div class=&quot;ds-message _63c77b1&quot; style=&quot;--panel-width: 0px;&quot;&gt;
        &lt;div class=&quot;ds-markdown ds-assistant-message-main-content&quot; style=&quot;--ds-md-zoom: 1.143; font-style: normal; font-variant: normal; font-size-adjust: none; font-language-override: normal; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-stretch: normal; font-size: 16px; line-height: 28px; font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; color: rgb(15, 17, 21);&quot;&gt;
            &lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 16px; margin-top: 0px !important;&quot;&gt;
                &lt;span style=&quot;font-size: 16px;&quot;&gt;在 openEuler 25.09 中，要将系统默认启动项改为新编译的内核，核心思路就是让 GRUB2 引导器知道新内核的存在，并将其设为默认项。&lt;/span&gt;
            &lt;/p&gt;
            &lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin: 16px 0px;&quot;&gt;
                &lt;span style=&quot;font-size: 16px;&quot;&gt;这里有三种不同复杂度的方法，你可以根据自己的情况选择。&lt;/span&gt;
            &lt;/p&gt;
            &lt;h3 style=&quot;font-style: normal; font-variant: normal; font-size-adjust: none; font-language-override: normal; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-stretch: normal; font-size: 20px; line-height: 30px; font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; margin: 32px 0px 16px;&quot;&gt;
                &lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp;方法一：使用 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; font-language-override: inherit; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: inherit;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;grubby&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt; 命令（最简单高效）&lt;/span&gt;
            &lt;/h3&gt;
            &lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin: 16px 0px;&quot;&gt;
                &lt;span style=&quot;font-size: 16px;&quot;&gt;这个方法直接、安全，推荐的默认方式。它会直接修改 GRUB 配置，无需你关心内核的具体文件名。&lt;/span&gt;
            &lt;/p&gt;
            &lt;ol start=&quot;1&quot; style=&quot;margin: 16px 0px; padding-left: 18px;&quot; class=&quot; list-paddingleft-2&quot;&gt;
                &lt;li&gt;
                    &lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 8px; margin-top: 0px !important;&quot;&gt;
                        &lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;span style=&quot;font-weight: 600; font-size: 16px;&quot;&gt;确认新内核已在列表中&lt;/span&gt;：&lt;br/&gt;新内核安装后，首先查看它在 GRUB 菜单中的索引号。这个索引号从 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;0&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt; 开始计数。&lt;/span&gt;
                    &lt;/p&gt;
                    &lt;div class=&quot;md-code-block md-code-block-light&quot; style=&quot;--ds-md-code-banner-background-color: #f9fafb; --ds-md-code-block-border-radius: 12px; --ds-md-code-block-font-size: calc(1.143*11px); background: none 0% 0% / auto repeat scroll padding-box border-box rgb(249, 250, 251); border-radius: 12px; margin: 16px 0px 11.43px; position: relative;&quot;&gt;
                        &lt;div class=&quot;md-code-block-banner-wrap&quot; style=&quot;top: 0px; z-index: 6; background-color: rgb(255, 255, 255); border-top-left-radius: 12px; border-top-right-radius: 12px; position: sticky;&quot;&gt;
                            &lt;div class=&quot;md-code-block-banner md-code-block-banner-lite&quot; style=&quot;background: none 0% 0% / auto repeat scroll padding-box border-box rgb(249, 250, 251); padding: 0px; font-size: 12.573px; line-height: 12.573px; justify-content: space-between; display: flex; border-top-left-radius: 12px; border-top-right-radius: 12px;&quot;&gt;
                                &lt;div class=&quot;_121d384&quot; style=&quot;justify-content: space-between; align-items: center; width: 722px; padding: 6px; display: flex;&quot;&gt;
                                    &lt;div class=&quot;d2a24f03&quot; style=&quot;flex-shrink: 0;&quot;&gt;
                                        &lt;span style=&quot;font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; margin-left: 8px; line-height: 18px; font-size: 16px;&quot;&gt;bash&lt;/span&gt;
                                    &lt;/div&gt;
                                &lt;/div&gt;
                            &lt;/div&gt;
                        &lt;/div&gt;
                        &lt;pre style=&quot;font-style: normal; font-variant: normal; font-size-adjust: none; font-language-override: normal; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-stretch: normal; font-size: 13px; line-height: 22px; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; overflow: auto; white-space: pre-wrap; word-break: break-all; padding: 16px; margin: 0px !important;&quot;&gt;grubby --info=ALL | grep -E &amp;quot;^index|^title&amp;quot;&lt;/pre&gt;
                        &lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; width=&quot;12&quot; height=&quot;12&quot; viewbox=&quot;0 0 12 12&quot; fill=&quot;none&quot; class=&quot;_9bc997d _33882ae&quot;&gt;
                            &lt;path d=&quot;M-5.24537e-07 0C-2.34843e-07 6.62742 5.37258 12 12 12L0 12L-5.24537e-07 0Z&quot; fill=&quot;currentColor&quot;&gt;&lt;/path&gt;
                        &lt;/svg&gt;
                        &lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; width=&quot;12&quot; height=&quot;12&quot; viewbox=&quot;0 0 12 12&quot; fill=&quot;none&quot; class=&quot;_9bc997d _28d7e84&quot;&gt;
                            &lt;path d=&quot;M-5.24537e-07 0C-2.34843e-07 6.62742 5.37258 12 12 12L0 12L-5.24537e-07 0Z&quot; fill=&quot;currentColor&quot;&gt;&lt;/path&gt;
                        &lt;/svg&gt;
                    &lt;/div&gt;
                    &lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin: 8px 0px 0px;&quot;&gt;
                        &lt;span style=&quot;font-size: 16px;&quot;&gt;输出会清晰列出每个启动项的索引和对应的内核版本。&lt;/span&gt;
                    &lt;/p&gt;
                &lt;/li&gt;
                &lt;li&gt;
                    &lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 8px; margin-top: 0px !important;&quot;&gt;
                        &lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;span style=&quot;font-weight: 600; font-size: 16px;&quot;&gt;设置新内核为默认项&lt;/span&gt;：&lt;br/&gt;找到新内核的索引（比如是 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;0&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;），运行以下命令将其设为默认启动项：&lt;/span&gt;
                    &lt;/p&gt;
                    &lt;div class=&quot;md-code-block md-code-block-light&quot; style=&quot;--ds-md-code-banner-background-color: #f9fafb; --ds-md-code-block-border-radius: 12px; --ds-md-code-block-font-size: calc(1.143*11px); background: none 0% 0% / auto repeat scroll padding-box border-box rgb(249, 250, 251); border-radius: 12px; margin: 16px 0px; position: relative;&quot;&gt;
                        &lt;div class=&quot;md-code-block-banner-wrap&quot; style=&quot;top: 0px; z-index: 6; background-color: rgb(255, 255, 255); border-top-left-radius: 12px; border-top-right-radius: 12px; position: sticky;&quot;&gt;
                            &lt;div class=&quot;md-code-block-banner md-code-block-banner-lite&quot; style=&quot;background: none 0% 0% / auto repeat scroll padding-box border-box rgb(249, 250, 251); padding: 0px; font-size: 12.573px; line-height: 12.573px; justify-content: space-between; display: flex; border-top-left-radius: 12px; border-top-right-radius: 12px;&quot;&gt;
                                &lt;div class=&quot;_121d384&quot; style=&quot;justify-content: space-between; align-items: center; width: 722px; padding: 6px; display: flex;&quot;&gt;
                                    &lt;div class=&quot;d2a24f03&quot; style=&quot;flex-shrink: 0;&quot;&gt;
                                        &lt;span style=&quot;font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; margin-left: 8px; line-height: 18px; font-size: 16px;&quot;&gt;bash&lt;/span&gt;
                                    &lt;/div&gt;
                                &lt;/div&gt;
                            &lt;/div&gt;
                        &lt;/div&gt;
                        &lt;pre style=&quot;font-style: normal; font-variant: normal; font-size-adjust: none; font-language-override: normal; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-stretch: normal; font-size: 13px; line-height: 22px; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; overflow: auto; white-space: pre-wrap; word-break: break-all; padding: 16px; margin: 0px !important;&quot;&gt;sudo grubby --set-default-index=0&lt;/pre&gt;
                        &lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; width=&quot;12&quot; height=&quot;12&quot; viewbox=&quot;0 0 12 12&quot; fill=&quot;none&quot; class=&quot;_9bc997d _33882ae&quot;&gt;
                            &lt;path d=&quot;M-5.24537e-07 0C-2.34843e-07 6.62742 5.37258 12 12 12L0 12L-5.24537e-07 0Z&quot; fill=&quot;currentColor&quot;&gt;&lt;/path&gt;
                        &lt;/svg&gt;
                        &lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; width=&quot;12&quot; height=&quot;12&quot; viewbox=&quot;0 0 12 12&quot; fill=&quot;none&quot; class=&quot;_9bc997d _28d7e84&quot;&gt;
                            &lt;path d=&quot;M-5.24537e-07 0C-2.34843e-07 6.62742 5.37258 12 12 12L0 12L-5.24537e-07 0Z&quot; fill=&quot;currentColor&quot;&gt;&lt;/path&gt;
                        &lt;/svg&gt;
                    &lt;/div&gt;
                &lt;/li&gt;
                &lt;li&gt;
                    &lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 8px; margin-top: 0px !important;&quot;&gt;
                        &lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;span style=&quot;font-weight: 600; font-size: 16px;&quot;&gt;验证并重启&lt;/span&gt;：&lt;br/&gt;检查默认项是否设置成功，然后重启系统即可。&lt;/span&gt;
                    &lt;/p&gt;
                    &lt;div class=&quot;md-code-block md-code-block-light&quot; style=&quot;--ds-md-code-banner-background-color: #f9fafb; --ds-md-code-block-border-radius: 12px; --ds-md-code-block-font-size: calc(1.143*11px); background: none 0% 0% / auto repeat scroll padding-box border-box rgb(249, 250, 251); border-radius: 12px; margin: 16px 0px; position: relative;&quot;&gt;
                        &lt;div class=&quot;md-code-block-banner-wrap&quot; style=&quot;top: 0px; z-index: 6; background-color: rgb(255, 255, 255); border-top-left-radius: 12px; border-top-right-radius: 12px; position: sticky;&quot;&gt;
                            &lt;div class=&quot;md-code-block-banner md-code-block-banner-lite&quot; style=&quot;background: none 0% 0% / auto repeat scroll padding-box border-box rgb(249, 250, 251); padding: 0px; font-size: 12.573px; line-height: 12.573px; justify-content: space-between; display: flex; border-top-left-radius: 12px; border-top-right-radius: 12px;&quot;&gt;
                                &lt;div class=&quot;_121d384&quot; style=&quot;justify-content: space-between; align-items: center; width: 722px; padding: 6px; display: flex;&quot;&gt;
                                    &lt;div class=&quot;d2a24f03&quot; style=&quot;flex-shrink: 0;&quot;&gt;
                                        &lt;span style=&quot;font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; margin-left: 8px; line-height: 18px; font-size: 16px;&quot;&gt;bash&lt;/span&gt;
                                    &lt;/div&gt;
                                &lt;/div&gt;
                            &lt;/div&gt;
                        &lt;/div&gt;
                        &lt;pre style=&quot;font-style: normal; font-variant: normal; font-size-adjust: none; font-language-override: normal; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-stretch: normal; font-size: 13px; line-height: 22px; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; overflow: auto; white-space: pre-wrap; word-break: break-all; padding: 16px; margin: 0px !important;&quot;&gt;grubby --default-indexsudo reboot&lt;/pre&gt;
                        &lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; width=&quot;12&quot; height=&quot;12&quot; viewbox=&quot;0 0 12 12&quot; fill=&quot;none&quot; class=&quot;_9bc997d _33882ae&quot;&gt;
                            &lt;path d=&quot;M-5.24537e-07 0C-2.34843e-07 6.62742 5.37258 12 12 12L0 12L-5.24537e-07 0Z&quot; fill=&quot;currentColor&quot;&gt;&lt;/path&gt;
                        &lt;/svg&gt;
                        &lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; width=&quot;12&quot; height=&quot;12&quot; viewbox=&quot;0 0 12 12&quot; fill=&quot;none&quot; class=&quot;_9bc997d _28d7e84&quot;&gt;
                            &lt;path d=&quot;M-5.24537e-07 0C-2.34843e-07 6.62742 5.37258 12 12 12L0 12L-5.24537e-07 0Z&quot; fill=&quot;currentColor&quot;&gt;&lt;/path&gt;
                        &lt;/svg&gt;
                    &lt;/div&gt;
                &lt;/li&gt;
            &lt;/ol&gt;
            &lt;h3 style=&quot;font-style: normal; font-variant: normal; font-size-adjust: none; font-language-override: normal; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-stretch: normal; font-size: 20px; line-height: 30px; font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; margin: 32px 0px 16px;&quot;&gt;
                &lt;span style=&quot;font-size: 16px;&quot;&gt;方法二：修改 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; font-language-override: inherit; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: inherit;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;/etc/default/grub&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt; 配置文件（最通用）&lt;/span&gt;
            &lt;/h3&gt;
            &lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin: 16px 0px;&quot;&gt;
                &lt;span style=&quot;font-size: 16px;&quot;&gt;这个方法比较通用，适合熟悉配置文件、希望进行更全面定制的用户。&lt;/span&gt;
            &lt;/p&gt;
            &lt;ol start=&quot;1&quot; style=&quot;margin: 16px 0px; padding-left: 18px;&quot; class=&quot; list-paddingleft-2&quot;&gt;
                &lt;li&gt;
                    &lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 8px; margin-top: 0px !important;&quot;&gt;
                        &lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;span style=&quot;font-weight: 600; font-size: 16px;&quot;&gt;编辑主配置文件&lt;/span&gt;：&lt;br/&gt;使用 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;vim&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt; 或 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;nano&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt; 编辑 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;/etc/default/grub&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;：&lt;/span&gt;
                    &lt;/p&gt;
                    &lt;div class=&quot;md-code-block md-code-block-light&quot; style=&quot;--ds-md-code-banner-background-color: #f9fafb; --ds-md-code-block-border-radius: 12px; --ds-md-code-block-font-size: calc(1.143*11px); background: none 0% 0% / auto repeat scroll padding-box border-box rgb(249, 250, 251); border-radius: 12px; margin: 16px 0px; position: relative;&quot;&gt;
                        &lt;div class=&quot;md-code-block-banner-wrap&quot; style=&quot;top: 0px; z-index: 6; background-color: rgb(255, 255, 255); border-top-left-radius: 12px; border-top-right-radius: 12px; position: sticky;&quot;&gt;
                            &lt;div class=&quot;md-code-block-banner md-code-block-banner-lite&quot; style=&quot;background: none 0% 0% / auto repeat scroll padding-box border-box rgb(249, 250, 251); padding: 0px; font-size: 12.573px; line-height: 12.573px; justify-content: space-between; display: flex; border-top-left-radius: 12px; border-top-right-radius: 12px;&quot;&gt;
                                &lt;div class=&quot;_121d384&quot; style=&quot;justify-content: space-between; align-items: center; width: 722px; padding: 6px; display: flex;&quot;&gt;
                                    &lt;div class=&quot;d2a24f03&quot; style=&quot;flex-shrink: 0;&quot;&gt;
                                        &lt;span style=&quot;font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; margin-left: 8px; line-height: 18px; font-size: 16px;&quot;&gt;bash&lt;/span&gt;
                                    &lt;/div&gt;
                                &lt;/div&gt;
                            &lt;/div&gt;
                        &lt;/div&gt;
                        &lt;pre style=&quot;font-style: normal; font-variant: normal; font-size-adjust: none; font-language-override: normal; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-stretch: normal; font-size: 13px; line-height: 22px; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; overflow: auto; white-space: pre-wrap; word-break: break-all; padding: 16px; margin: 0px !important;&quot;&gt;sudo vim /etc/default/grub&lt;/pre&gt;
                        &lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; width=&quot;12&quot; height=&quot;12&quot; viewbox=&quot;0 0 12 12&quot; fill=&quot;none&quot; class=&quot;_9bc997d _33882ae&quot;&gt;
                            &lt;path d=&quot;M-5.24537e-07 0C-2.34843e-07 6.62742 5.37258 12 12 12L0 12L-5.24537e-07 0Z&quot; fill=&quot;currentColor&quot;&gt;&lt;/path&gt;
                        &lt;/svg&gt;
                        &lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; width=&quot;12&quot; height=&quot;12&quot; viewbox=&quot;0 0 12 12&quot; fill=&quot;none&quot; class=&quot;_9bc997d _28d7e84&quot;&gt;
                            &lt;path d=&quot;M-5.24537e-07 0C-2.34843e-07 6.62742 5.37258 12 12 12L0 12L-5.24537e-07 0Z&quot; fill=&quot;currentColor&quot;&gt;&lt;/path&gt;
                        &lt;/svg&gt;
                    &lt;/div&gt;
                &lt;/li&gt;
                &lt;li&gt;
                    &lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 8px; margin-top: 0px !important;&quot;&gt;
                        &lt;span style=&quot;font-weight: 600; font-size: 16px;&quot;&gt;修改 &lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-weight: 400; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;GRUB_DEFAULT&lt;/code&gt; 参数&lt;/span&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;：&lt;/span&gt;
                    &lt;/p&gt;
                &lt;/li&gt;
                &lt;ul style=&quot;margin: 4px 0px 0px; padding-left: 18px;&quot; class=&quot; list-paddingleft-2&quot;&gt;
                    &lt;li&gt;
                        &lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 8px; margin-top: 0px !important;&quot;&gt;
                            &lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;span style=&quot;font-weight: 600; font-size: 16px;&quot;&gt;方法 A（推荐）：使用精确的菜单标题&lt;/span&gt;。新编译的内核在 GRUB 菜单中会有一个明确的标题，你可以在 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;/boot/grub2/grub.cfg&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt; 文件中找到它。例如，新内核标题是 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;#39;openEuler (7.0.0) 25.09&amp;#39;&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;，那么设置为：&lt;/span&gt;
                        &lt;/p&gt;
                        &lt;div class=&quot;md-code-block md-code-block-light&quot; style=&quot;--ds-md-code-banner-background-color: #f9fafb; --ds-md-code-block-border-radius: 12px; --ds-md-code-block-font-size: calc(1.143*11px); background: none 0% 0% / auto repeat scroll padding-box border-box rgb(249, 250, 251); border-radius: 12px; margin: 16px 0px; position: relative;&quot;&gt;
                            &lt;div class=&quot;md-code-block-banner-wrap&quot; style=&quot;top: 0px; z-index: 6; background-color: rgb(255, 255, 255); border-top-left-radius: 12px; border-top-right-radius: 12px; position: sticky;&quot;&gt;
                                &lt;div class=&quot;md-code-block-banner md-code-block-banner-lite&quot; style=&quot;background: none 0% 0% / auto repeat scroll padding-box border-box rgb(249, 250, 251); padding: 0px; font-size: 12.573px; line-height: 12.573px; justify-content: space-between; display: flex; border-top-left-radius: 12px; border-top-right-radius: 12px;&quot;&gt;
                                    &lt;div class=&quot;_121d384&quot; style=&quot;justify-content: space-between; align-items: center; width: 704px; padding: 6px; display: flex;&quot;&gt;
                                        &lt;div class=&quot;d2a24f03&quot; style=&quot;flex-shrink: 0;&quot;&gt;
                                            &lt;span style=&quot;font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; margin-left: 8px; line-height: 18px; font-size: 16px;&quot;&gt;text&lt;/span&gt;
                                        &lt;/div&gt;
                                    &lt;/div&gt;
                                &lt;/div&gt;
                            &lt;/div&gt;
                            &lt;pre style=&quot;font-style: normal; font-variant: normal; font-size-adjust: none; font-language-override: normal; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-stretch: normal; font-size: 13px; line-height: 22px; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; overflow: auto; white-space: pre-wrap; word-break: break-all; padding: 16px; margin: 0px !important;&quot;&gt;GRUB_DEFAULT=&amp;#39;openEuler (7.0.0) 25.09&amp;#39;&lt;/pre&gt;
                            &lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; width=&quot;12&quot; height=&quot;12&quot; viewbox=&quot;0 0 12 12&quot; fill=&quot;none&quot; class=&quot;_9bc997d _33882ae&quot;&gt;
                                &lt;path d=&quot;M-5.24537e-07 0C-2.34843e-07 6.62742 5.37258 12 12 12L0 12L-5.24537e-07 0Z&quot; fill=&quot;currentColor&quot;&gt;&lt;/path&gt;
                            &lt;/svg&gt;
                            &lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; width=&quot;12&quot; height=&quot;12&quot; viewbox=&quot;0 0 12 12&quot; fill=&quot;none&quot; class=&quot;_9bc997d _28d7e84&quot;&gt;
                                &lt;path d=&quot;M-5.24537e-07 0C-2.34843e-07 6.62742 5.37258 12 12 12L0 12L-5.24537e-07 0Z&quot; fill=&quot;currentColor&quot;&gt;&lt;/path&gt;
                            &lt;/svg&gt;
                        &lt;/div&gt;
                    &lt;/li&gt;
                    &lt;li&gt;
                        &lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 0px; margin-top: 0px !important;&quot;&gt;
                            &lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;span style=&quot;font-weight: 600; font-size: 16px;&quot;&gt;方法 B：使用菜单项序号&lt;/span&gt;。如果知道新内核在菜单中的序号（从 0 开始数），也可以直接使用序号，但标题方式更可靠，不受菜单顺序变化影响。&lt;/span&gt;
                        &lt;/p&gt;
                    &lt;/li&gt;
                &lt;/ul&gt;
                &lt;li&gt;
                    &lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 8px; margin-top: 0px !important;&quot;&gt;
                        &lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;span style=&quot;font-weight: 600; font-size: 16px;&quot;&gt;保存并更新 GRUB 配置&lt;/span&gt;：&lt;br/&gt;保存文件后，务必运行以下命令使修改生效：&lt;/span&gt;
                    &lt;/p&gt;
                    &lt;div class=&quot;md-code-block md-code-block-light&quot; style=&quot;--ds-md-code-banner-background-color: #f9fafb; --ds-md-code-block-border-radius: 12px; --ds-md-code-block-font-size: calc(1.143*11px); background: none 0% 0% / auto repeat scroll padding-box border-box rgb(249, 250, 251); border-radius: 12px; margin: 16px 0px 11.43px; position: relative;&quot;&gt;
                        &lt;div class=&quot;md-code-block-banner-wrap&quot; style=&quot;top: 0px; z-index: 6; background-color: rgb(255, 255, 255); border-top-left-radius: 12px; border-top-right-radius: 12px; position: sticky;&quot;&gt;
                            &lt;div class=&quot;md-code-block-banner md-code-block-banner-lite&quot; style=&quot;background: none 0% 0% / auto repeat scroll padding-box border-box rgb(249, 250, 251); padding: 0px; font-size: 12.573px; line-height: 12.573px; justify-content: space-between; display: flex; border-top-left-radius: 12px; border-top-right-radius: 12px;&quot;&gt;
                                &lt;div class=&quot;_121d384&quot; style=&quot;justify-content: space-between; align-items: center; width: 722px; padding: 6px; display: flex;&quot;&gt;
                                    &lt;div class=&quot;d2a24f03&quot; style=&quot;flex-shrink: 0;&quot;&gt;
                                        &lt;span style=&quot;font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; margin-left: 8px; line-height: 18px; font-size: 16px;&quot;&gt;bash&lt;/span&gt;
                                    &lt;/div&gt;
                                &lt;/div&gt;
                            &lt;/div&gt;
                        &lt;/div&gt;
                        &lt;pre style=&quot;font-style: normal; font-variant: normal; font-size-adjust: none; font-language-override: normal; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-stretch: normal; font-size: 13px; line-height: 22px; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; overflow: auto; white-space: pre-wrap; word-break: break-all; padding: 16px; margin: 0px !important;&quot;&gt;sudo grub2-mkconfig -o /boot/grub2/grub.cfg&lt;/pre&gt;
                        &lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; width=&quot;12&quot; height=&quot;12&quot; viewbox=&quot;0 0 12 12&quot; fill=&quot;none&quot; class=&quot;_9bc997d _33882ae&quot;&gt;
                            &lt;path d=&quot;M-5.24537e-07 0C-2.34843e-07 6.62742 5.37258 12 12 12L0 12L-5.24537e-07 0Z&quot; fill=&quot;currentColor&quot;&gt;&lt;/path&gt;
                        &lt;/svg&gt;
                        &lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; width=&quot;12&quot; height=&quot;12&quot; viewbox=&quot;0 0 12 12&quot; fill=&quot;none&quot; class=&quot;_9bc997d _28d7e84&quot;&gt;
                            &lt;path d=&quot;M-5.24537e-07 0C-2.34843e-07 6.62742 5.37258 12 12 12L0 12L-5.24537e-07 0Z&quot; fill=&quot;currentColor&quot;&gt;&lt;/path&gt;
                        &lt;/svg&gt;
                    &lt;/div&gt;
                    &lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin: 8px 0px 0px;&quot;&gt;
                        &lt;span style=&quot;font-size: 16px;&quot;&gt;这条命令会根据你的修改，重新生成 GRUB 的配置文件。&lt;/span&gt;
                    &lt;/p&gt;
                &lt;/li&gt;
            &lt;/ol&gt;
            &lt;h3 style=&quot;font-style: normal; font-variant: normal; font-size-adjust: none; font-language-override: normal; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-stretch: normal; font-size: 20px; line-height: 30px; font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; margin: 32px 0px 16px;&quot;&gt;
                &lt;span style=&quot;font-size: 16px;&quot;&gt;方法三：自定义 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; font-language-override: inherit; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: inherit;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;40_custom&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt; 文件（最灵活）&lt;/span&gt;
            &lt;/h3&gt;
            &lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin: 16px 0px;&quot;&gt;
                &lt;span style=&quot;font-size: 16px;&quot;&gt;如果想完全手动控制启动菜单项，可以使用这个方法。&lt;/span&gt;
            &lt;/p&gt;
            &lt;ol start=&quot;1&quot; style=&quot;margin: 16px 0px; padding-left: 18px;&quot; class=&quot; list-paddingleft-2&quot;&gt;
                &lt;li&gt;
                    &lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 8px; margin-top: 0px !important;&quot;&gt;
                        &lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;span style=&quot;font-weight: 600; font-size: 16px;&quot;&gt;编辑自定义模板&lt;/span&gt;：&lt;br/&gt;以 root 权限编辑 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;/etc/grub.d/40_custom&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;：&lt;/span&gt;
                    &lt;/p&gt;
                    &lt;div class=&quot;md-code-block md-code-block-light&quot; style=&quot;--ds-md-code-banner-background-color: #f9fafb; --ds-md-code-block-border-radius: 12px; --ds-md-code-block-font-size: calc(1.143*11px); background: none 0% 0% / auto repeat scroll padding-box border-box rgb(249, 250, 251); border-radius: 12px; margin: 16px 0px; position: relative;&quot;&gt;
                        &lt;div class=&quot;md-code-block-banner-wrap&quot; style=&quot;top: 0px; z-index: 6; background-color: rgb(255, 255, 255); border-top-left-radius: 12px; border-top-right-radius: 12px; position: sticky;&quot;&gt;
                            &lt;div class=&quot;md-code-block-banner md-code-block-banner-lite&quot; style=&quot;background: none 0% 0% / auto repeat scroll padding-box border-box rgb(249, 250, 251); padding: 0px; font-size: 12.573px; line-height: 12.573px; justify-content: space-between; display: flex; border-top-left-radius: 12px; border-top-right-radius: 12px;&quot;&gt;
                                &lt;div class=&quot;_121d384&quot; style=&quot;justify-content: space-between; align-items: center; width: 722px; padding: 6px; display: flex;&quot;&gt;
                                    &lt;div class=&quot;d2a24f03&quot; style=&quot;flex-shrink: 0;&quot;&gt;
                                        &lt;span style=&quot;font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; margin-left: 8px; line-height: 18px; font-size: 16px;&quot;&gt;bash&lt;/span&gt;
                                    &lt;/div&gt;
                                &lt;/div&gt;
                            &lt;/div&gt;
                        &lt;/div&gt;
                        &lt;pre style=&quot;font-style: normal; font-variant: normal; font-size-adjust: none; font-language-override: normal; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-stretch: normal; font-size: 13px; line-height: 22px; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; overflow: auto; white-space: pre-wrap; word-break: break-all; padding: 16px; margin: 0px !important;&quot;&gt;sudo vim /etc/grub.d/40_custom&lt;/pre&gt;
                        &lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; width=&quot;12&quot; height=&quot;12&quot; viewbox=&quot;0 0 12 12&quot; fill=&quot;none&quot; class=&quot;_9bc997d _33882ae&quot;&gt;
                            &lt;path d=&quot;M-5.24537e-07 0C-2.34843e-07 6.62742 5.37258 12 12 12L0 12L-5.24537e-07 0Z&quot; fill=&quot;currentColor&quot;&gt;&lt;/path&gt;
                        &lt;/svg&gt;
                        &lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; width=&quot;12&quot; height=&quot;12&quot; viewbox=&quot;0 0 12 12&quot; fill=&quot;none&quot; class=&quot;_9bc997d _28d7e84&quot;&gt;
                            &lt;path d=&quot;M-5.24537e-07 0C-2.34843e-07 6.62742 5.37258 12 12 12L0 12L-5.24537e-07 0Z&quot; fill=&quot;currentColor&quot;&gt;&lt;/path&gt;
                        &lt;/svg&gt;
                    &lt;/div&gt;
                &lt;/li&gt;
                &lt;li&gt;
                    &lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 8px; margin-top: 0px !important;&quot;&gt;
                        &lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;span style=&quot;font-weight: 600; font-size: 16px;&quot;&gt;添加自定义菜单项&lt;/span&gt;：&lt;br/&gt;在文件末尾，参考已有的内核启动项格式，为你新编译的内核添加一个入口。&lt;/span&gt;
                    &lt;/p&gt;
                    &lt;div class=&quot;md-code-block md-code-block-light&quot; style=&quot;--ds-md-code-banner-background-color: #f9fafb; --ds-md-code-block-border-radius: 12px; --ds-md-code-block-font-size: calc(1.143*11px); background: none 0% 0% / auto repeat scroll padding-box border-box rgb(249, 250, 251); border-radius: 12px; margin: 16px 0px 11.43px; position: relative;&quot;&gt;
                        &lt;div class=&quot;md-code-block-banner-wrap&quot; style=&quot;top: 0px; z-index: 6; background-color: rgb(255, 255, 255); border-top-left-radius: 12px; border-top-right-radius: 12px; position: sticky;&quot;&gt;
                            &lt;div class=&quot;md-code-block-banner md-code-block-banner-lite&quot; style=&quot;background: none 0% 0% / auto repeat scroll padding-box border-box rgb(249, 250, 251); padding: 0px; font-size: 12.573px; line-height: 12.573px; justify-content: space-between; display: flex; border-top-left-radius: 12px; border-top-right-radius: 12px;&quot;&gt;
                                &lt;div class=&quot;_121d384&quot; style=&quot;justify-content: space-between; align-items: center; width: 722px; padding: 6px; display: flex;&quot;&gt;
                                    &lt;div class=&quot;d2a24f03&quot; style=&quot;flex-shrink: 0;&quot;&gt;
                                        &lt;span style=&quot;font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; margin-left: 8px; line-height: 18px; font-size: 16px;&quot;&gt;text&lt;/span&gt;
                                    &lt;/div&gt;
                                &lt;/div&gt;
                            &lt;/div&gt;
                        &lt;/div&gt;
                        &lt;pre style=&quot;font-style: normal; font-variant: normal; font-size-adjust: none; font-language-override: normal; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-stretch: normal; font-size: 13px; line-height: 22px; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; overflow: auto; white-space: pre-wrap; word-break: break-all; padding: 16px; margin: 0px !important;&quot;&gt;menuentry &amp;#39;My New Compiled Kernel&amp;#39; {    load_video    set gfxpayload=keep    insmod gzio    insmod part_gpt    insmod ext2    set root=&amp;#39;hd0,gpt2&amp;#39;  # 请根据你的实际分区情况修改    linux /boot/vmlinuz-7.0.0 root=/dev/mapper/openeuler-root ro quiet    initrd /boot/initramfs-7.0.0.img}&lt;/pre&gt;
                        &lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; width=&quot;12&quot; height=&quot;12&quot; viewbox=&quot;0 0 12 12&quot; fill=&quot;none&quot; class=&quot;_9bc997d _33882ae&quot;&gt;
                            &lt;path d=&quot;M-5.24537e-07 0C-2.34843e-07 6.62742 5.37258 12 12 12L0 12L-5.24537e-07 0Z&quot; fill=&quot;currentColor&quot;&gt;&lt;/path&gt;
                        &lt;/svg&gt;
                        &lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; width=&quot;12&quot; height=&quot;12&quot; viewbox=&quot;0 0 12 12&quot; fill=&quot;none&quot; class=&quot;_9bc997d _28d7e84&quot;&gt;
                            &lt;path d=&quot;M-5.24537e-07 0C-2.34843e-07 6.62742 5.37258 12 12 12L0 12L-5.24537e-07 0Z&quot; fill=&quot;currentColor&quot;&gt;&lt;/path&gt;
                        &lt;/svg&gt;
                    &lt;/div&gt;
                &lt;/li&gt;
                &lt;ul style=&quot;margin: 4px 0px 0px; padding-left: 18px;&quot; class=&quot; list-paddingleft-2&quot;&gt;
                    &lt;li&gt;
                        &lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 0px; margin-top: 0px !important;&quot;&gt;
                            &lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;menuentry&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt; 后面的引号内是你在 GRUB 菜单中看到的名称。&lt;/span&gt;
                        &lt;/p&gt;
                    &lt;/li&gt;
                    &lt;li&gt;
                        &lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 0px; margin-top: 0px !important;&quot;&gt;
                            &lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;span style=&quot;font-weight: 600; font-size: 16px;&quot;&gt;关键&lt;/span&gt;：&lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;vmlinuz-7.0.0&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt; 和 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;initramfs-7.0.0.img&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt; 需要替换为你实际编译生成的内核镜像和初始内存盘的文件名。&lt;/span&gt;
                        &lt;/p&gt;
                    &lt;/li&gt;
                    &lt;li&gt;
                        &lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 0px; margin-top: 0px !important;&quot;&gt;
                            &lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;set root&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt; 和 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;root=&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt; 参数需要根据你的分区情况（可用 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;lsblk&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt; 命令查看）进行修改。&lt;/span&gt;
                        &lt;/p&gt;
                    &lt;/li&gt;
                &lt;/ul&gt;
                &lt;li&gt;
                    &lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 8px; margin-top: 0px !important;&quot;&gt;
                        &lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;span style=&quot;font-weight: 600; font-size: 16px;&quot;&gt;赋予执行权限并更新 GRUB 配置&lt;/span&gt;：&lt;/span&gt;
                    &lt;/p&gt;
                    &lt;div class=&quot;md-code-block md-code-block-light&quot; style=&quot;--ds-md-code-banner-background-color: #f9fafb; --ds-md-code-block-border-radius: 12px; --ds-md-code-block-font-size: calc(1.143*11px); background: none 0% 0% / auto repeat scroll padding-box border-box rgb(249, 250, 251); border-radius: 12px; margin: 16px 0px; position: relative;&quot;&gt;
                        &lt;div class=&quot;md-code-block-banner-wrap&quot; style=&quot;top: 0px; z-index: 6; background-color: rgb(255, 255, 255); border-top-left-radius: 12px; border-top-right-radius: 12px; position: sticky;&quot;&gt;
                            &lt;div class=&quot;md-code-block-banner md-code-block-banner-lite&quot; style=&quot;background: none 0% 0% / auto repeat scroll padding-box border-box rgb(249, 250, 251); padding: 0px; font-size: 12.573px; line-height: 12.573px; justify-content: space-between; display: flex; border-top-left-radius: 12px; border-top-right-radius: 12px;&quot;&gt;
                                &lt;div class=&quot;_121d384&quot; style=&quot;justify-content: space-between; align-items: center; width: 722px; padding: 6px; display: flex;&quot;&gt;
                                    &lt;div class=&quot;d2a24f03&quot; style=&quot;flex-shrink: 0;&quot;&gt;
                                        &lt;span style=&quot;font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; margin-left: 8px; line-height: 18px; font-size: 16px;&quot;&gt;bash&lt;/span&gt;
                                    &lt;/div&gt;
                                &lt;/div&gt;
                            &lt;/div&gt;
                        &lt;/div&gt;
                        &lt;pre style=&quot;font-style: normal; font-variant: normal; font-size-adjust: none; font-language-override: normal; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-stretch: normal; font-size: 13px; line-height: 22px; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; overflow: auto; white-space: pre-wrap; word-break: break-all; padding: 16px; margin: 0px !important;&quot;&gt;sudo chmod +x /etc/grub.d/40_customsudo grub2-mkconfig -o /boot/grub2/grub.cfg&lt;/pre&gt;
                        &lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; width=&quot;12&quot; height=&quot;12&quot; viewbox=&quot;0 0 12 12&quot; fill=&quot;none&quot; class=&quot;_9bc997d _33882ae&quot;&gt;
                            &lt;path d=&quot;M-5.24537e-07 0C-2.34843e-07 6.62742 5.37258 12 12 12L0 12L-5.24537e-07 0Z&quot; fill=&quot;currentColor&quot;&gt;&lt;/path&gt;
                        &lt;/svg&gt;
                        &lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; width=&quot;12&quot; height=&quot;12&quot; viewbox=&quot;0 0 12 12&quot; fill=&quot;none&quot; class=&quot;_9bc997d _28d7e84&quot;&gt;
                            &lt;path d=&quot;M-5.24537e-07 0C-2.34843e-07 6.62742 5.37258 12 12 12L0 12L-5.24537e-07 0Z&quot; fill=&quot;currentColor&quot;&gt;&lt;/path&gt;
                        &lt;/svg&gt;
                    &lt;/div&gt;
                &lt;/li&gt;
            &lt;/ol&gt;
            &lt;h3 style=&quot;font-style: normal; font-variant: normal; font-size-adjust: none; font-language-override: normal; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-stretch: normal; font-size: 20px; line-height: 30px; font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; margin: 32px 0px 16px;&quot;&gt;
                &lt;span style=&quot;font-size: 16px;&quot;&gt;关于 GRUB 配置文件位置&lt;/span&gt;
            &lt;/h3&gt;
            &lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin: 16px 0px;&quot;&gt;
                &lt;span style=&quot;font-size: 16px;&quot;&gt;openEuler 的 GRUB 配置文件位置取决于你的系统启动模式：&lt;/span&gt;
            &lt;/p&gt;
            &lt;ul style=&quot;margin: 16px 0px; padding-left: 18px;&quot; class=&quot; list-paddingleft-2&quot;&gt;
                &lt;li&gt;
                    &lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 0px; margin-top: 0px !important;&quot;&gt;
                        &lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;span style=&quot;font-weight: 600; font-size: 16px;&quot;&gt;UEFI 模式&lt;/span&gt;：配置文件通常在 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;/boot/efi/EFI/openEuler/grub.cfg&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;。&lt;/span&gt;
                    &lt;/p&gt;
                &lt;/li&gt;
                &lt;li&gt;
                    &lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 0px; margin-top: 0px !important;&quot;&gt;
                        &lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;span style=&quot;font-weight: 600; font-size: 16px;&quot;&gt;传统 BIOS 模式&lt;/span&gt;：配置文件通常在 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;/boot/grub2/grub.cfg&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;。&lt;br/&gt;无论哪种模式，使用 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;grub2-mkconfig -o&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt; 命令时，都&lt;span style=&quot;font-weight: 600; font-size: 16px;&quot;&gt;要指定正确的输出路径&lt;/span&gt;。如果是在 UEFI 模式下安装的系统，命令应为 &lt;/span&gt;
                    &lt;/p&gt;
                    &lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 0px; margin-top: 0px !important;&quot;&gt;
                        &lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;sudo grub2-mkconfig -o /boot/efi/EFI/openEuler/grub.cfg&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;。&lt;/span&gt;
                    &lt;/p&gt;
                &lt;/li&gt;
            &lt;/ul&gt;
            &lt;h3 style=&quot;font-style: normal; font-variant: normal; font-size-adjust: none; font-language-override: normal; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-stretch: normal; font-size: 20px; line-height: 30px; font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; margin: 32px 0px 16px;&quot;&gt;
                &lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp;总结与建议&lt;/span&gt;
            &lt;/h3&gt;
            &lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin: 16px 0px;&quot;&gt;
                &lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;grubby&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt; 是最直接高效的方法。如果只是想让新内核默认启动，强烈推荐使用它。&lt;/span&gt;
            &lt;/p&gt;
            &lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-top: 16px; margin-bottom: 0px !important;&quot;&gt;
                &lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;grub2-mkconfig&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt; 方法虽然相对传统，但在很多场景下依然是最稳妥的选择。请记得，只要是通过修改 &lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;/etc/default/grub&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt; 来设置，就&lt;span style=&quot;font-weight: 600; font-size: 16px;&quot;&gt;务必运行 &lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-weight: 400; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;sudo grub2-mkconfig -o &amp;lt;grub.cfg路径&amp;gt;&lt;/code&gt;&lt;/span&gt;，否则你的修改不会生效。&lt;/span&gt;
            &lt;/p&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;
    &lt;br/&gt;
&lt;/p&gt;</description><pubDate>Fri, 22 May 2026 19:36:31 +0800</pubDate></item><item><title>openeuler2403 安装ukui 后，如何 配置vncserver 才不黑屏？</title><link>https://www.yjlink.cc/?id=3550</link><description>&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;openeuler2403 安装ukui 后，如何 配置vncserver 才不黑屏？&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;在 openEuler 2403 中给 UKUI 桌面环境配置 VNC 时，最常见的黑屏问题，几乎都是因为 `~/.vnc/xstartup` 这个配置文件没有正确启动 UKUI 会话。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;###&amp;nbsp; &amp;nbsp;核心步骤：正确配置 `xstartup` 文件&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;这个问题的根源在于，VNC 服务启动时默认运行的是一个极其精简的 `xstartup` 脚本，它并没有告诉系统要启动完整的 UKUI 桌面环境。我们需要手动修改这个文件，让它来唤醒 UKUI。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;请按以下步骤操作：&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;1.&amp;nbsp; **登录并进入个人目录**：请用你准备用来运行 VNC 服务的那个“普通用户”账号登录系统。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;2.&amp;nbsp; **备份并编辑 `xstartup`**：&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; ```bash&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; mv ~/.vnc/xstartup ~/.vnc/xstartup.bak&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; ```&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; 备份好原文件后，我们用编辑器创建一个全新的 `xstartup` 文件，并写入正确的配置。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; ```bash&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; vi ~/.vnc/xstartup&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; ```&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; 请将下面的内容完整地复制进去：&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; ```bash&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; #!/bin/sh&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; # 1. 清除冲突的环境变量&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; unset SESSION_MANAGER&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; unset DBUS_SESSION_BUS_ADDRESS&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; # 2. 设置 UKUI 所必需的环境变量&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; export XDG_RUNTIME_DIR=/tmp/runtime-$USER&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; export XDG_CURRENT_DESKTOP=UKUI&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; # 3. 启动 D-Bus 会话&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; if [ -z &amp;quot;$DBUS_SESSION_BUS_ADDRESS&amp;quot; ]; then&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; eval $(dbus-launch --sh-syntax)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; export DBUS_SESSION_BUS_ADDRESS&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; fi&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; # 4. 设置美观的灰蓝色背景&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; xsetroot -solid &amp;quot;#5A6E7A&amp;quot;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; # 5. 启动 UKUI 桌面环境&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; exec ukui-session&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; ```&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;gt; 对复制粘贴的内容稍作解释：&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;gt; - **第 1 部分**：清除可能导致问题的变量，让 UKUI 在干净的环境里启动。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;gt; - **第 2 部分**：明确告诉系统，我们要启动的是 `UKUI` 桌面。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;gt; - **第 3 部分**：启动 UKUI 依赖的 D-Bus 通信服务。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;gt; - **第 4 部分**：设置桌面的背景色，方便判断 UKUI 是否已加载。等一切正常后，你就可以随意更换背景了。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;gt; - **第 5 部分**：这是最核心的一步，`exec ukui-session` 命令会正式启动整个 UKUI 桌面环境。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;3.&amp;nbsp; **赋予文件可执行权限**：配置文件创建好了，系统还必须知道它可以运行。这一步至关重要，没有权限文件就无法执行。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; ```bash&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; chmod +x ~/.vnc/xstartup&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; ```&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;###&amp;nbsp; &amp;nbsp;启动与连接&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;修改好配置后，就可以启动或重启 VNC 服务了。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;1.&amp;nbsp; **停止当前会话**：如果 VNC 服务正在运行，需要先把它停下来。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; ```bash&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; vncserver -kill :1&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; ```&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;2.&amp;nbsp; **启动新会话**：&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; ```bash&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; vncserver :1 -geometry 1920x1080 -depth 24&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; ```&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;gt; **参数说明**：&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;gt; - `:1`：表示这是 VNC 服务的第一个桌面，它对应的端口号是 5901。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;gt; - `-geometry 1920x1080`：设置远程桌面的分辨率，你可以按自己的需求修改。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;gt; - `-depth 24`：设置颜色的深度为 24 位，以获得更好的显示效果。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;3.&amp;nbsp; **防火墙放行端口**：&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; ```bash&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; sudo firewall-cmd --add-port=5901/tcp --permanent&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; sudo firewall-cmd --reload&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; ```&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;4.&amp;nbsp; **使用客户端连接**：现在，你可以用 VNC 客户端（比如 RealVNC 或 TigerVNC），连接到 `你的服务器IP地址:1`（比如 `192.168.1.100:1`）并输入密码，应该就能成功看到 UKUI 的桌面了。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;###&amp;nbsp; &amp;nbsp;可选：让 VNC 服务自动启动&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;如果你希望系统在开机后能自动启动 VNC 服务，可以用下面的方法。这里我们采用的是更现代也更安全的方式，通过 systemd 的 `--user` 模式来管理 VNC 会话。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;1.&amp;nbsp; **创建服务目录并建立服务文件**：&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; ```bash&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; mkdir -p ~/.config/systemd/user&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; cat &amp;gt; ~/.config/systemd/user/vncserver.service &amp;lt;&amp;lt; &amp;#39;EOF&amp;#39;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; [Unit]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; Description=TigerVNC server (user session)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; [Service]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; Type=forking&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; ExecStartPre=/bin/sh -c &amp;#39;/usr/bin/vncserver -kill :1 &amp;gt; /dev/null 2&amp;gt;&amp;amp;1 || :&amp;#39;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; ExecStart=/usr/bin/vncserver :1 -geometry 1920x1080 -depth 24&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; ExecStop=/usr/bin/vncserver -kill :1&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; Restart=on-failure&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; User=%i&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; [Install]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; WantedBy=default.target&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; EOF&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; ```&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;2.&amp;nbsp; **启用并启动服务**：&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; ```bash&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; systemctl --user daemon-reload&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; systemctl --user enable vncserver.service&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; systemctl --user start vncserver.service&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; ```&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;3.&amp;nbsp; **设置用户服务开机自启**：&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; ```bash&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; sudo loginctl enable-linger $USER&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; ```&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; 完成上述步骤后，VNC 服务就会在用户登录后自动启动了。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;###&amp;nbsp; &amp;nbsp;常见问题排查&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;-&amp;nbsp; &amp;nbsp;**黑屏/灰屏**：几乎都是 `~/.vnc/xstartup` 文件配置不正确或者没有执行权限导致的。请务必确保文件路径、内容、`exec ukui-session` 命令和文件权限都正确无误。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;-&amp;nbsp; &amp;nbsp;**连接被拒绝**：通常是防火墙没有放行端口或 VNC 服务本身没启动。请检查 `5901` 端口是否开放和 VNC 服务的状态。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;-&amp;nbsp; &amp;nbsp;**鼠标光标不显示或显示异常**：这可能是 UKUI 与 VNC 的兼容性问题，可以尝试在 `~/.vnc/xstartup` 中 `exec ukui-session` 这一行的上方添加 `export XCURSOR_THEME=DMZ-White`，强制指定一个鼠标主题。如果这个方法无效，可以多尝试几种不同的鼠标主题看看。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;-&amp;nbsp; &amp;nbsp;**使用 `systemd` 用户服务启动 VNC 失败**：可以切换到 root 用户，或者用带有 `sudo` 的命令手动停止普通用户的 VNC 会话，然后重新以服务方式启动。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;###&amp;nbsp; &amp;nbsp;总结一下&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;解决在 openEuler 2403 上配置 UKUI + VNC 黑屏问题的关键在于两点：&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;1.&amp;nbsp; 核心是正确配置 `~/.vnc/xstartup` 文件来启动完整的 UKUI 会话。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;2.&amp;nbsp; 为了长期稳定使用，设置一个 `systemd` 的用户服务来管理 VNC 是非常推荐的。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;按照以上步骤操作，应该就能帮你解决 VNC 的黑屏问题了。如果配置中碰到任何具体报错，随时可以带上错误信息再来找我～&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br style=&quot;white-space: normal;&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Fri, 22 May 2026 14:28:28 +0800</pubDate></item><item><title>openeuler2403系统安装ukui使用intel AX210驱动蓝牙与WiFI</title><link>https://www.yjlink.cc/?id=3549</link><description>&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;openeuler2403系统安装ukui使用intel AX210驱动蓝牙与WiFI&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;一,安装UKUI图形界面与VNC&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;在 openEuler 2403 上配置 VNC 服务，主要分为安装依赖和配置服务两大步骤。核心是安装 tigervnc-server，并以你想要登录的普通用户身份来配置运行它。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;安装准备&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;在配置 VNC 之前，请确保系统已具备图形界面并安装好了 VNC 服务器软件包。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;安装桌面环境（如 GNOME 或 UKUI）&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;如果你的 openEuler 是最小化安装，需要先安装一个图形界面。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;# sudo dnf install ukui -y&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;安装 TigerVNC 服务端&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;sudo dnf install tigervnc-server -y&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;安装 tigervnc-server 包即可，它已经包含了所需的核心组件。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;在 openEuler 2403 中给 UKUI 桌面环境配置 VNC 时，最常见的黑屏问题，几乎都是因为 ~/.vnc/xstartup 这个配置文件没有正确启动 UKUI 会话。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;核心步骤：正确配置 xstartup 文件&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;这个问题的根源在于，VNC 服务启动时默认运行的是一个极其精简的 xstartup 脚本，它并没有告诉系统要启动完整的 UKUI 桌面环境。我们需要手动修改这个文件，让它来唤醒 UKUI。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;请按以下步骤操作：&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;登录并进入个人目录：请用你准备用来运行 VNC 服务的那个“普通用户”账号登录系统。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;备份并编辑 xstartup：&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;mv ~/.vnc/xstartup ~/.vnc/xstartup.bak&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;备份好原文件后，我们用编辑器创建一个全新的 xstartup 文件，并写入正确的配置。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;vi ~/.vnc/xstartup&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;请将下面的内容完整地复制进去：&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;#!/bin/sh&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;# 1. 清除冲突的环境变量&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;unset SESSION_MANAGER&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;unset DBUS_SESSION_BUS_ADDRESS&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;# 2. 设置 UKUI 所必需的环境变量&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;export XDG_RUNTIME_DIR=/tmp/runtime-$USER&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;export XDG_CURRENT_DESKTOP=UKUI&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;# 3. 启动 D-Bus 会话&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;if [ -z &amp;quot;$DBUS_SESSION_BUS_ADDRESS&amp;quot; ]; then&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&amp;nbsp; &amp;nbsp; eval $(dbus-launch --sh-syntax)&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&amp;nbsp; &amp;nbsp; export DBUS_SESSION_BUS_ADDRESS&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;fi&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;# 4. 设置美观的灰蓝色背景&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;xsetroot -solid &amp;quot;#5A6E7A&amp;quot;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;# 5. 启动 UKUI 桌面环境&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;exec ukui-session&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;对复制粘贴的内容稍作解释：&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;第 1 部分：清除可能导致问题的变量，让 UKUI 在干净的环境里启动。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;第 2 部分：明确告诉系统，我们要启动的是 UKUI 桌面。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;第 3 部分：启动 UKUI 依赖的 D-Bus 通信服务。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;第 4 部分：设置桌面的背景色，方便判断 UKUI 是否已加载。等一切正常后，你就可以随意更换背景了。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;第 5 部分：这是最核心的一步，exec ukui-session 命令会正式启动整个 UKUI 桌面环境。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;赋予文件可执行权限：配置文件创建好了，系统还必须知道它可以运行。这一步至关重要，没有权限文件就无法执行。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;chmod +x ~/.vnc/xstartup&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;启动与连接&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;修改好配置后，就可以启动或重启 VNC 服务了。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;停止当前会话：如果 VNC 服务正在运行，需要先把它停下来。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;vncserver -kill :1&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;启动新会话：&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;vncserver :1 -geometry 1920x1080 -depth 24&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;参数说明：&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;:1：表示这是 VNC 服务的第一个桌面，它对应的端口号是 5901。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;-geometry 1920x1080：设置远程桌面的分辨率，你可以按自己的需求修改。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;-depth 24：设置颜色的深度为 24 位，以获得更好的显示效果。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;防火墙放行端口：&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;sudo firewall-cmd --add-port=5901/tcp --permanent&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;sudo firewall-cmd --reload&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;使用客户端连接：现在，你可以用 VNC 客户端（比如 RealVNC 或 TigerVNC），连接到 你的服务器IP地址:1（比如 192.168.1.100:1）并输入密码，应该就能成功看到 UKUI 的桌面了。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;二，Intel AX210 WiFI驱动安装&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;1，查看是否认出设备，明显已找到AX210&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;# lspci | grep -i network |grep AX210&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;05:00.0 Network controller: Intel Corporation Wi-Fi 6 AX210/AX211/AX411 160MHz (rev 1a)&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;在 openEuler 2403 上安装 UKUI 后，Intel AX210 网卡无法驱动，很可能只是缺少了对应的固件包。别担心，我们按下面的步骤来排查，很可能就解决了。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;第一步：确认内核基础&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;openEuler 2403 基于 Linux 6.6 内核，此版本内置的 iwlwifi 驱动完全支持 AX210。我们先用 uname -r 命令确认一下内核版本，只要看到 6.x.x 就满足要求了。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;第二步：检查固件与驱动&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;这很可能就是问题所在。依次执行以下命令来确认：&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;查看网卡是否被识别：执行 lspci | grep -i network。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;正常输出：会看到类似 Intel Corporation Wi-Fi 6 AX210... 的信息，说明硬件已被系统检测到。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;如果没有输出：请检查网卡是否正确安装，或在 BIOS/UEFI 中是否被禁用。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;检查内核模块是否加载：执行 lsmod | grep iwlwifi。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;正常输出：如果返回了包含 iwlwifi 的条目，说明核心驱动已加载。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;如果没有输出：尝试手动加载驱动 sudo modprobe iwlwifi 并再次检查。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;定位根本原因：执行 dmesg | grep -i iwlwifi 查看内核日志，这是最关键的一步。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;...no suitable firmware found!：缺少固件，这是最常见的问题。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;...Failed to start RT ucode...：固件加载失败，同样需要更新固件包。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;...Timeout waiting for PNVM load...：PNVM 文件加载超时，这是一个已知的兼容性问题，我们会在后文提供解决方法。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;...required key not available：安全启动阻止。如果系统启用了 Secure Boot（安全启动），它可能会拒绝加载未签名的驱动模块，导致网卡无法工作。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;查找错误信息：会看到具体的失败原因，例如：&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;第三步：对症下药，解决问题&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;根据第二步发现的错误类型，选择对应的修复方法。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;错误：“No suitable firmware found!” 或 “Failed to start RT ucode...”&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;这表明缺少正确的固件包，也是最常见的问题。你需要为系统安装正确的驱动和固件。openEuler 使用 dnf 作为软件包管理器：&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;安装固件包：&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;sudo dnf updates&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;sudo dnf install linux-firmware-iwlwifi&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;注意：请先确认 linux-firmware-iwlwifi 是否为 openEuler 仓库中确切的软件包名，你可以用 dnf search iwlwifi 来搜索。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;如果包名不符，请手动更新：&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;如果包管理器无法安装，可以尝试从 Linux 固件仓库手动下载最新的固件文件：&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;# 克隆整个固件仓库（文件较大，可选择下载）&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;git clone&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;# 或只下载AX210所需的特定固件# 你需要根据 dmesg 错误中提示的具体 .ucode 版本号来下载&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;sudo wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/iwlwifi-ty-a0-gf-a0-&amp;lt;版本号&amp;gt;.ucode -P /lib/firmware/&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;请将 &amp;lt;版本号&amp;gt; 替换为 dmesg 日志中提示缺失的文件名（例如 66, 77, 89 等）。。完成后重启系统。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;我这里安装 linux-iwlwifi-firemwar后，加载模块发现报错：&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&amp;nbsp; &amp;nbsp; sudo modprobe -r iwlwifi&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&amp;nbsp; &amp;nbsp; sudo modprobe iwlwifi&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;查看日志有报错：&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;[root@euler88 opt]#&amp;nbsp; dmesg | grep -i iwlwifi&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;[&amp;nbsp; &amp;nbsp;12.364052] iwlwifi 0000:05:00.0: Direct firmware load for iwlwifi-ty-a0-gf-a0-60.ucode failed with error -2&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;[&amp;nbsp; &amp;nbsp;12.364122] iwlwifi 0000:05:00.0: Direct firmware load for iwlwifi-ty-a0-gf-a0-59.ucode failed with error -2&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;[&amp;nbsp; &amp;nbsp;12.364126] iwlwifi 0000:05:00.0: no suitable firmware found!&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;[&amp;nbsp; &amp;nbsp;12.364128] iwlwifi 0000:05:00.0: minimum version required: iwlwifi-ty-a0-gf-a0-59&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;[&amp;nbsp; &amp;nbsp;12.364131] iwlwifi 0000:05:00.0: maximum version supported: iwlwifi-ty-a0-gf-a0-83&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;[&amp;nbsp; &amp;nbsp;12.364133] iwlwifi 0000:05:00.0: check git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;查看都是空连接，实际 文件不存在。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;[root@euler88 opt]# ls /lib/firmware/iwlwifi-ty-a0-gf-a0-* -al&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;lrwxrwxrwx. 1 root root 42&amp;nbsp; 3月11日 12:27 /lib/firmware/iwlwifi-ty-a0-gf-a0-59.ucode -&amp;gt; intel/iwlwifi/iwlwifi-ty-a0-gf-a0-59.ucode&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;lrwxrwxrwx. 1 root root 42&amp;nbsp; 3月11日 12:27 /lib/firmware/iwlwifi-ty-a0-gf-a0-66.ucode -&amp;gt; intel/iwlwifi/iwlwifi-ty-a0-gf-a0-66.ucode&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;lrwxrwxrwx. 1 root root 42&amp;nbsp; 3月11日 12:27 /lib/firmware/iwlwifi-ty-a0-gf-a0-72.ucode -&amp;gt; intel/iwlwifi/iwlwifi-ty-a0-gf-a0-72.ucode&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;lrwxrwxrwx. 1 root root 42&amp;nbsp; 3月11日 12:27 /lib/firmware/iwlwifi-ty-a0-gf-a0-73.ucode -&amp;gt; intel/iwlwifi/iwlwifi-ty-a0-gf-a0-73.ucode&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;lrwxrwxrwx. 1 root root 42&amp;nbsp; 3月11日 12:27 /lib/firmware/iwlwifi-ty-a0-gf-a0-74.ucode -&amp;gt; intel/iwlwifi/iwlwifi-ty-a0-gf-a0-74.ucode&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;根据日志提示 最大是83，最小是59 ，按要求下载。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&amp;nbsp;wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/intel/iwlwifi/iwlwifi-ty-a0-gf-a0.pnvm&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&amp;nbsp;wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/intel/iwlwifi/iwlwifi-ty-a0-gf-a0-89.ucode&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&amp;nbsp; wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/intel/iwlwifi/iwlwifi-ty-a0-gf-a0-59.ucode&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&amp;nbsp; wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/intel/iwlwifi/iwlwifi-ty-a0-gf-a0-83.ucode&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&amp;nbsp; cp iwlwifi-ty-a0-gf-a0* //usr/lib/firmware/intel/iwlwifi/ -a&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;我这里也下载了 pnvm文件，是因为日志有发现 PNVM 丢失，所以也要下载。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&amp;nbsp; 573.587994] iwlwifi 0000:05:00.0: Start IWL Error Log Dump:&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;[&amp;nbsp; 573.587996] iwlwifi 0000:05:00.0: Transport status: 0x0000004A, valid: 7&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;[&amp;nbsp; 573.588000] iwlwifi 0000:05:00.0: PNVM data is missing, please install iwlwifi-ty-a0-gf-a0.pnvm&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;三，最后验证WIFI&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;彻底卸载所有 iwlwifi 相关模块&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;因为 iwlwifi 被其他模块（如 iwlmvm）占用，我们需要按依赖顺序移除：&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;# 先检查有哪些 iwl 模块在用&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;lsmod | grep iwl&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;通常你会看到 iwlmvm、iwlwifi 和 iwlmei 等。按以下顺序卸载（如果某个模块不存在会报错，忽略即可）：&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;modprobe -r iwlmvm&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;modprobe -r iwlmei&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;modprobe -r iwlwifi&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;最后确认模块已完全卸载：&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;lsmod | grep iwl&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;# 应该没有任何输出&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;重新加载驱动&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;modprobe iwlwifi&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;验证网卡是否正常工作&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;dmesg | grep iwlwifi | tail -20&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;ip a show&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;如果成功，你会看到类似这样的日志：&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;iwlwifi 0000:05:00.0: loaded firmware version 83...&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;iwlwifi 0000:05:00.0: Detected Intel(R) Wi-Fi 6 AX210...&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;并且 ip a 中会出现一个无线网卡接口（如 wlp5s0）。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;为什么刚才 “Module in use”&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;iwlwifi 是底层硬件驱动，上层的 iwlmvm（MAC 层管理模块）会依赖它。如果 iwlmvm 已经加载，直接卸载 iwlwifi 就会报 “in use”。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 16px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;所以要先卸载 iwlmvm，再卸载 iwlwifi。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Arial, Verdana; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, &amp;quot;STHeiti STXihei&amp;quot;, &amp;quot;Microsoft JhengHei&amp;quot;, Tohoma, Arial; font-size: 14px;&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Thu, 21 May 2026 02:26:16 +0800</pubDate></item><item><title>MySQL8表中有大量重复数据去重后保存到新表方案</title><link>https://www.yjlink.cc/?id=3548</link><description>&lt;p&gt;&lt;span style=&quot;font-size: 18px;&quot;&gt;&lt;strong&gt;MySQL8表中有大量重复数据去重后保存到新表方案&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;strong&gt;一，找deepseek来解决&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;MySQL8 数据库中有两张表：&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;表 mat_transport_license，创建表SQL如下：&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;CREATE TABLE `mat_transport_license` (&lt;br/&gt;`ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT &amp;#39;主键&amp;#39;,&lt;br/&gt;`PERM_ID` int DEFAULT NULL COMMENT &amp;#39;微机编号&amp;#39;,&lt;br/&gt;`PRINT_ID` varchar(8) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT &amp;#39;纸张号&amp;#39;,&lt;br/&gt;`ORDER_ID` varchar(35) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT &amp;#39;凭证编号&amp;#39;,&lt;br/&gt;UNIQUE KEY `PERM_ID` (`PERM_ID`)&lt;br/&gt;) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT=&amp;#39;准运证&amp;#39;;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;表 &amp;nbsp;mat_transport_license_detail ，创建表SQL如下：&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;CREATE TABLE `mat_transport_license_detail` (&lt;br/&gt;`ZYB_ID` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT &amp;#39;主键&amp;#39;,&lt;br/&gt;`PERM_ID` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,&lt;br/&gt;`ORDER_ID` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,&lt;br/&gt;`SPEC` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL&lt;br/&gt;) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC ;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;现需要根据表 mat_transport_license 中的 PERM_ID字段中的数据匹配 mat_transport_license_detail中 PERM_ID字段中的数据，&lt;br/&gt;但 mat_transport_license_detail中有大量重复数据，需要根据 两表 PERM_ID字段关联数据，提取 &amp;nbsp;mat_transport_license_detail中 MAX(ZYB_ID)行的数据，插入到新表 mat_transport_license_detail_new 。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;因为表有大量数据约5千万条， 需要使用存储过程，分批执行，请给出优化方案:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;strong&gt;二，DeeSeek 多次回复后提到的最终结果&lt;/strong&gt;：&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;错误原因很明确：字符集排序规则（collation）冲突。&lt;/span&gt;&lt;/p&gt;&lt;ul class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;明细表 &lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;mat_transport_license_detail&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt; 的字段使用 &lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;utf8mb4_general_ci&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;CAST(lic.PERM_ID AS CHAR)&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt; 没有指定排序规则，会继承数据库或会话的默认排序规则（MySQL 8.0 默认是 &lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;utf8mb4_0900_ai_ci&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;）&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;两者在 &lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;=&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt; 比较时混用，导致 &lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;1267&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt; 错误。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;解决方法：在转换时显式指定与明细表相同的排序规则，使用 &lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;COLLATE utf8mb4_general_ci&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;。&lt;/span&gt;&lt;/p&gt;&lt;hr/&gt;&lt;h3&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;版本一（窗口函数版，已修正排序规则）&lt;/span&gt;&lt;/h3&gt;&lt;p&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;sql&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;DELIMITER $$&lt;br/&gt;&lt;br/&gt;DROP PROCEDURE IF EXISTS proc_batch_max_zyb$$&lt;br/&gt;&lt;br/&gt;CREATE PROCEDURE proc_batch_max_zyb(IN p_batch_count INT)&lt;br/&gt;BEGIN&lt;br/&gt; &amp;nbsp; &amp;nbsp;DECLARE v_min_id INT;&lt;br/&gt; &amp;nbsp; &amp;nbsp;DECLARE v_max_id INT;&lt;br/&gt; &amp;nbsp; &amp;nbsp;DECLARE v_start INT DEFAULT 0;&lt;br/&gt; &amp;nbsp; &amp;nbsp;DECLARE v_end INT;&lt;br/&gt; &amp;nbsp; &amp;nbsp;DECLARE v_batch_rows INT;&lt;br/&gt; &amp;nbsp; &amp;nbsp;DECLARE v_total_rows INT DEFAULT 0;&lt;br/&gt; &amp;nbsp; &amp;nbsp;DECLARE v_done INT DEFAULT 0;&lt;br/&gt;&lt;br/&gt; &amp;nbsp; &amp;nbsp;SELECT MIN(PERM_ID), MAX(PERM_ID) INTO v_min_id, v_max_id&lt;br/&gt; &amp;nbsp; &amp;nbsp;FROM mat_transport_license WHERE PERM_ID IS NOT NULL;&lt;br/&gt;&lt;br/&gt; &amp;nbsp; &amp;nbsp;IF v_min_id IS NOT NULL THEN&lt;br/&gt;&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;IF p_batch_count IS NULL OR p_batch_count &amp;lt;= 0 THEN&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SET p_batch_count = 5000;&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;END IF;&lt;br/&gt;&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WHILE v_done = 0 DO&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SET v_end = v_start + p_batch_count;&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;IF v_end &amp;gt; v_max_id THEN&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SET v_end = v_max_id;&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SET v_done = 1;&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;END IF;&lt;br/&gt;&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;START TRANSACTION;&lt;br/&gt;&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;INSERT INTO mat_transport_license_detail_new&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SELECT&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ZYB_ID, PERM_ID, ORDER_ID, SERIAL, PRODUCT_ID,&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;PRODUCT_NAME, MADE_IN, SPEC, UNIT, PRICE, QUANTITY, ZYB_TID&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;FROM (&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SELECT&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;det.*,&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ROW_NUMBER() OVER (&lt;br/&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;PARTITION BY det.PERM_ID ORDER BY det.ZYB_ID DESC&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;) AS rn&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;FROM mat_transport_license_detail det&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WHERE det.PERM_ID IN (&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SELECT CAST(lic.PERM_ID AS CHAR CHARACTER SET utf8mb4) &lt;br/&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; COLLATE utf8mb4_general_ci&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;FROM mat_transport_license lic&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WHERE lic.PERM_ID &amp;gt; v_start AND lic.PERM_ID &amp;lt;= v_end&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;)&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;) t&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WHERE t.rn = 1;&lt;br/&gt;&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SET v_batch_rows = ROW_COUNT();&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SET v_total_rows = v_total_rows + v_batch_rows;&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;COMMIT;&lt;br/&gt;&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SELECT CONCAT(&amp;#39;Batch [&amp;#39;, v_start+1, &amp;#39; ~ &amp;#39;, v_end, &amp;#39;] inserted &amp;#39;, &lt;br/&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; v_batch_rows, &amp;#39; rows, total: &amp;#39;, v_total_rows) AS progress;&lt;br/&gt;&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SET v_start = v_end;&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;END WHILE;&lt;br/&gt;&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SELECT CONCAT(&amp;#39;All done. Total rows: &amp;#39;, v_total_rows) AS final_message;&lt;br/&gt;&lt;br/&gt; &amp;nbsp; &amp;nbsp;ELSE&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SELECT &amp;#39;No data in mat_transport_license&amp;#39; AS msg;&lt;br/&gt; &amp;nbsp; &amp;nbsp;END IF;&lt;br/&gt;END$$&lt;br/&gt;&lt;br/&gt;DELIMITER ;&lt;br/&gt;&lt;/span&gt;&lt;/pre&gt;&lt;hr/&gt;&lt;h3&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;版本二（无窗口函数版，同样修正）&lt;/span&gt;&lt;/h3&gt;&lt;p&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;sql&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;DELIMITER $$&lt;br/&gt;&lt;br/&gt;DROP PROCEDURE IF EXISTS proc_batch_max_zyb_no_window$$&lt;br/&gt;&lt;br/&gt;CREATE PROCEDURE proc_batch_max_zyb_no_window(IN p_batch_count INT)&lt;br/&gt;BEGIN&lt;br/&gt; &amp;nbsp; &amp;nbsp;DECLARE v_min_id INT;&lt;br/&gt; &amp;nbsp; &amp;nbsp;DECLARE v_max_id INT;&lt;br/&gt; &amp;nbsp; &amp;nbsp;DECLARE v_start INT DEFAULT 0;&lt;br/&gt; &amp;nbsp; &amp;nbsp;DECLARE v_end INT;&lt;br/&gt; &amp;nbsp; &amp;nbsp;DECLARE v_batch_rows INT;&lt;br/&gt; &amp;nbsp; &amp;nbsp;DECLARE v_total_rows INT DEFAULT 0;&lt;br/&gt; &amp;nbsp; &amp;nbsp;DECLARE v_done INT DEFAULT 0;&lt;br/&gt;&lt;br/&gt; &amp;nbsp; &amp;nbsp;SELECT MIN(PERM_ID), MAX(PERM_ID) INTO v_min_id, v_max_id&lt;br/&gt; &amp;nbsp; &amp;nbsp;FROM mat_transport_license WHERE PERM_ID IS NOT NULL;&lt;br/&gt;&lt;br/&gt; &amp;nbsp; &amp;nbsp;IF v_min_id IS NOT NULL THEN&lt;br/&gt;&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;IF p_batch_count IS NULL OR p_batch_count &amp;lt;= 0 THEN&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SET p_batch_count = 5000;&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;END IF;&lt;br/&gt;&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WHILE v_done = 0 DO&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SET v_end = v_start + p_batch_count;&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;IF v_end &amp;gt; v_max_id THEN&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SET v_end = v_max_id;&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SET v_done = 1;&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;END IF;&lt;br/&gt;&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;START TRANSACTION;&lt;br/&gt;&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;INSERT INTO mat_transport_license_detail_new&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SELECT d.*&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;FROM mat_transport_license_detail d&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;INNER JOIN (&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SELECT PERM_ID, MAX(ZYB_ID) AS max_zyb&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;FROM mat_transport_license_detail&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WHERE PERM_ID IN (&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SELECT CAST(lic.PERM_ID AS CHAR CHARACTER SET utf8mb4) &lt;br/&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; COLLATE utf8mb4_general_ci&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;FROM mat_transport_license lic&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WHERE lic.PERM_ID &amp;gt; v_start AND lic.PERM_ID &amp;lt;= v_end&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;)&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;GROUP BY PERM_ID&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;) t ON d.PERM_ID = t.PERM_ID AND d.ZYB_ID = t.max_zyb;&lt;br/&gt;&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SET v_batch_rows = ROW_COUNT();&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SET v_total_rows = v_total_rows + v_batch_rows;&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;COMMIT;&lt;br/&gt;&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SELECT CONCAT(&amp;#39;Batch [&amp;#39;, v_start+1, &amp;#39; ~ &amp;#39;, v_end, &amp;#39;] inserted &amp;#39;, &lt;br/&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; v_batch_rows, &amp;#39; rows, total: &amp;#39;, v_total_rows) AS progress;&lt;br/&gt;&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SET v_start = v_end;&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;END WHILE;&lt;br/&gt;&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SELECT CONCAT(&amp;#39;All done. Total rows: &amp;#39;, v_total_rows) AS final_message;&lt;br/&gt;&lt;br/&gt; &amp;nbsp; &amp;nbsp;ELSE&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SELECT &amp;#39;No data in mat_transport_license&amp;#39; AS msg;&lt;br/&gt; &amp;nbsp; &amp;nbsp;END IF;&lt;br/&gt;END$$&lt;br/&gt;&lt;br/&gt;DELIMITER ;&lt;br/&gt;&lt;/span&gt;&lt;/pre&gt;&lt;hr/&gt;&lt;h3&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;执行步骤&lt;/span&gt;&lt;/h3&gt;&lt;ol class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;确认索引和目标表已存在（如果还未执行）：&lt;br/&gt;sql&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;ALTER TABLE mat_transport_license_detail ADD INDEX idx_perm_zyb (PERM_ID, ZYB_ID);&lt;br/&gt;CREATE TABLE mat_transport_license_detail_new LIKE mat_transport_license_detail;&lt;br/&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;调用存储过程：&lt;br/&gt;sql&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;CALL proc_batch_max_zyb(5000);&lt;br/&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;校验、补索引（同前）。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;这两个版本已将子查询中的字符串转换强制设为 &lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;utf8mb4_general_ci&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;，与明细表字段完全一致，不会再报 &lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;1267&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt; 错误。&lt;/span&gt;&lt;/p&gt;</description><pubDate>Mon, 18 May 2026 10:08:45 +0800</pubDate></item><item><title>openeuler2509系统中编译kernel 6.19.14内核方法</title><link>https://www.yjlink.cc/?id=3547</link><description>&lt;p style=&quot;padding: 0px; color: rgb(102, 102, 102); font-family: Tahoma, Arial; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Microsoft YaHei&amp;quot;; font-size: 18px;&quot;&gt;&lt;strong&gt;autoclaw+Deepseek生成的openeuler2509系统中编译kernel 6.19.14内核方法&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;padding: 0px; color: rgb(102, 102, 102); font-family: Tahoma, Arial; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Microsoft YaHei&amp;quot;; font-size: 16px;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;padding: 0px; color: rgb(102, 102, 102); font-family: Tahoma, Arial; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Microsoft YaHei&amp;quot;; font-size: 16px;&quot;&gt;&lt;strong&gt;一，编译内核&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;padding: 0px; color: rgb(102, 102, 102); font-family: Tahoma, Arial; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Microsoft YaHei&amp;quot;; font-size: 16px;&quot;&gt;&amp;nbsp; 1. 准备编译环境&lt;br/&gt;首先，需要安装编译内核所必需的工具和依赖库。&lt;br/&gt;&lt;br/&gt;在终端中执行以下命令：&lt;br/&gt;&amp;nbsp;&lt;br/&gt;# 1. 安装“Development Tools”组包，包含gcc, make等基础编译工具&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;padding: 0px; color: rgb(102, 102, 102); font-family: Tahoma, Arial; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Microsoft YaHei&amp;quot;; font-size: 16px;&quot;&gt;&lt;br/&gt;sudo dnf groupinstall &amp;quot;Development Tools&amp;quot;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;# 2. 安装内核编译的特定依赖&lt;br/&gt;# ncurses-devel: make menuconfig 的图形界面支持&lt;br/&gt;# elfutils-libelf-devel: 处理ELF格式文件&lt;br/&gt;# bc: 编译过程中的计算工具&lt;br/&gt;# openssl-devel: 内核签名等安全功能所需&lt;br/&gt;# bison, flex: 语法解析器生成工具&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;padding: 0px; color: rgb(102, 102, 102); font-family: Tahoma, Arial; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Microsoft YaHei&amp;quot;; font-size: 16px;&quot;&gt;&lt;br/&gt;sudo dnf install ncurses-devel elfutils-libelf-devel bc openssl-devel bison flex&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;padding: 0px; color: rgb(102, 102, 102); font-family: Tahoma, Arial; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Microsoft YaHei&amp;quot;; font-size: 16px;&quot;&gt;&lt;br/&gt;如果编译失败并提示缺少某个头文件或工具，你可以尝试使用sudo dnf builddep kernel来自动安装kernel源码包的所有构建依赖。&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;nbsp; 2. 获取内核源码&lt;br/&gt;由于openEuler 25.09源内暂无预编译的 6.19.14 RPM源码包，我们选择从 kernel.org 手动下载官方源码。&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;# 1. 下载内核源码压缩包&lt;br/&gt;# 你可以在 https://www.kernel.org 上查找你想要的版本&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;padding: 0px; color: rgb(102, 102, 102); font-family: Tahoma, Arial; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Microsoft YaHei&amp;quot;; font-size: 16px;&quot;&gt;&lt;br/&gt;wget https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.19.14.tar.xz&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;# 2. 解压源码&lt;br/&gt;tar -xvf linux-6.19.14.tar.xz&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;# 3. 进入源码目录&lt;br/&gt;cd linux-6.19.14&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;padding: 0px; color: rgb(102, 102, 102); font-family: Tahoma, Arial; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Microsoft YaHei&amp;quot;; font-size: 16px;&quot;&gt;&lt;br/&gt;&amp;nbsp; 3. 配置内核选项&lt;br/&gt;通过复用现有配置并微调，可以确保新内核包含当前系统的驱动和功能，简化定制流程。&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;复用当前配置：将系统当前运行内核的配置文件复制到源码目录，作为基础配置。&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;cp /boot/config-$(uname -r) .config&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;padding: 0px; color: rgb(102, 102, 102); font-family: Tahoma, Arial; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;padding: 0px; color: rgb(102, 102, 102); font-family: Tahoma, Arial; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Microsoft YaHei&amp;quot;; font-size: 16px;&quot;&gt;&amp;nbsp;sed -i &amp;#39;s|CONFIG_SYSTEM_TRUSTED_KEYS=.*|CONFIG_SYSTEM_TRUSTED_KEYS=&amp;quot;&amp;quot;|&amp;#39; .config&lt;br/&gt;&amp;nbsp;sed -i &amp;#39;s|CONFIG_SYSTEM_EXTRA_CERTIFICATE=.*|CONFIG_SYSTEM_EXTRA_CERTIFICATE=&amp;quot;&amp;quot;|&amp;#39; .config&lt;br/&gt;&amp;nbsp;make olddefconfig&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;padding: 0px; color: rgb(102, 102, 102); font-family: Tahoma, Arial; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Microsoft YaHei&amp;quot;; font-size: 16px;&quot;&gt;以上命令修改内核配置，不然编译会有报错。&lt;br/&gt;更新配置项：由于新版本内核会引入新选项，需要先更新.config文件。运行此命令后，它会逐个提示你处理所有新增的配置项，直接按Enter键选择默认值即可。&lt;br/&gt;&lt;br/&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;padding: 0px; color: rgb(102, 102, 102); font-family: Tahoma, Arial; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Microsoft YaHei&amp;quot;; font-size: 16px;&quot;&gt;定制配置（可选）：如果需要进一步裁剪模块或开启特定功能，可使用图形化界面进行配置。&lt;br/&gt;&lt;br/&gt;make menuconfig&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;padding: 0px; color: rgb(102, 102, 102); font-family: Tahoma, Arial; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Microsoft YaHei&amp;quot;; font-size: 16px;&quot;&gt;&lt;br/&gt;界面操作提示：&lt;br/&gt;使用 方向键 移动。&lt;br/&gt;按 空格键 切换选择状态（* 表示编译进内核，M 表示编译为模块，[ ] 表示不编译）。&lt;br/&gt;选择 Save 保存配置，然后 Exit 退出。&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;nbsp; 4. 编译内核&lt;br/&gt;配置完成后，即可开始编译。-j$(nproc)参数会利用所有CPU核心并行编译，加速过程。&lt;br/&gt;&lt;br/&gt;make -j$(nproc)&lt;br/&gt;注意：编译过程耗时较长（半小时至数小时不等），如果在过程中遇到错误，可以尝试去掉-j参数，以便清晰地定位错误信息。&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;nbsp; 5. 安装内核与模块&lt;br/&gt;编译成功后，需要将内核镜像、模块等文件安装到系统指定位置。&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;# 安装内核模块到 /lib/modules/ 目录下&lt;br/&gt;sudo make modules_install&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;# 安装内核文件(vmlinuz, System.map等)到 /boot 目录，并自动更新GRUB配置&lt;br/&gt;sudo make install&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;padding: 0px; color: rgb(102, 102, 102); font-family: Tahoma, Arial; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Microsoft YaHei&amp;quot;; font-size: 16px;&quot;&gt;cp .config /boot/config-6.19.14&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;padding: 0px; color: rgb(102, 102, 102); font-family: Tahoma, Arial; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Microsoft YaHei&amp;quot;; font-size: 16px;&quot;&gt;&lt;br/&gt;执行sudo make install后，它会自动复制内核到/boot，生成对应的initramfs，并将新内核条目添加到GRUB的启动菜单中。&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;nbsp; 6. 更新引导与重启验证&lt;br/&gt;手动更新GRUB以确保配置生效，并重启系统以加载新内核。&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;更新GRUB配置：&lt;br/&gt;对于使用UEFI引导的系统，GRUB配置文件路径通常是/boot/efi/EFI/openEuler/grub.cfg。如果不确定，可检查/boot/efi/EFI/下的具体目录名。&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;# 请将路径替换为你的实际GRUB配置文件路径&lt;br/&gt;sudo grub2-mkconfig -o /boot/efi/EFI/openEuler/grub.cfg&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;padding: 0px; color: rgb(102, 102, 102); font-family: Tahoma, Arial; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Microsoft YaHei&amp;quot;; font-size: 16px;&quot;&gt;&lt;br/&gt;如果你使用的是传统的BIOS引导，命令通常是：&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;sudo grub2-mkconfig -o /boot/grub2/grub.cfg&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;padding: 0px; color: rgb(102, 102, 102); font-family: Tahoma, Arial; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Microsoft YaHei&amp;quot;; font-size: 16px;&quot;&gt;&lt;br/&gt;重启系统：&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;sudo reboot&lt;br/&gt;系统重启时，在GRUB启动菜单中选择你刚编译的 6.19.14 内核启动。&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;登录验证：&lt;br/&gt;成功登录后，执行以下命令，如果终端输出6.19.14，则代表新内核已成功运行。&lt;br/&gt;&lt;br/&gt;uname -r&lt;br/&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;padding: 0px; color: rgb(102, 102, 102); font-family: Tahoma, Arial; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Microsoft YaHei&amp;quot;; font-size: 16px;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;padding: 0px; color: rgb(102, 102, 102); font-family: Tahoma, Arial; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Microsoft YaHei&amp;quot;; font-size: 16px;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;padding: 0px; color: rgb(102, 102, 102); font-family: Tahoma, Arial; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Microsoft YaHei&amp;quot;; font-size: 18px;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;二：&lt;/span&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;编译报错解决方法：&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;padding: 0px; color: rgb(102, 102, 102); font-family: Tahoma, Arial; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Microsoft YaHei&amp;quot;; font-size: 18px;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;h3 style=&quot;margin: 32px 0px 16px; padding: 0px; font-variant: normal; white-space: normal; background-color: rgb(255, 255, 255); font-size-adjust: none; font-language-override: normal; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-stretch: normal; font-size: 20px; line-height: 30px; font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; color: rgb(15, 17, 21);&quot;&gt;1. 重新运行编译，捕获详细日志&lt;/h3&gt;&lt;p style=&quot;margin: 0px; padding: 0px; color: rgb(102, 102, 102); font-family: Tahoma, Arial; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin: 16px 0px; padding: 0px; white-space: normal; background-color: rgb(255, 255, 255); color: rgb(15, 17, 21); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px;&quot;&gt;在源码目录（&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;/opt/linux-6.19.14&lt;/code&gt;）执行：&lt;/p&gt;&lt;div class=&quot;md-code-block md-code-block-light&quot; style=&quot;white-space: normal; --ds-md-code-banner-background-color: #f9fafb; --ds-md-code-block-border-radius: 12px; --ds-md-code-block-font-size: calc(1.143*11px); color: rgb(15, 17, 21); background: none 0% 0% / auto repeat scroll padding-box border-box rgb(249, 250, 251); border-radius: 12px; margin: 16px 0px 11.43px; position: relative; font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px;&quot;&gt;&lt;div class=&quot;md-code-block-banner-wrap&quot; style=&quot;top: 0px; z-index: 6; background-color: rgb(255, 255, 255); border-top-left-radius: 12px; border-top-right-radius: 12px; position: sticky;&quot;&gt;&lt;div class=&quot;md-code-block-banner md-code-block-banner-lite&quot; style=&quot;background: none 0% 0% / auto repeat scroll padding-box border-box rgb(249, 250, 251); padding: 0px; font-size: 12.573px; line-height: 12.573px; justify-content: space-between; display: flex; border-top-left-radius: 12px; border-top-right-radius: 12px;&quot;&gt;&lt;div class=&quot;_121d384&quot; style=&quot;justify-content: space-between; align-items: center; width: 740px; padding: 6px; display: flex;&quot;&gt;&lt;div class=&quot;d2a24f03&quot; style=&quot;flex-shrink: 0;&quot;&gt;&lt;span class=&quot;d813de27&quot; style=&quot;font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; margin-left: 8px; font-size: 12px; line-height: 18px;&quot;&gt;bash&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;pre style=&quot;font-variant: normal; font-size-adjust: none; font-language-override: normal; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-stretch: normal; font-size: 13px; line-height: 22px; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; overflow: auto; white-space: pre-wrap; word-break: break-all; padding: 16px; margin: 0px !important;&quot;&gt;#&amp;nbsp;先清理一下（可选，但建议）make&amp;nbsp;clean#&amp;nbsp;使用单线程编译，并输出详细命令，同时保存到文件make&amp;nbsp;-j1&amp;nbsp;V=1&amp;nbsp;2&amp;gt;&amp;amp;1&amp;nbsp;|&amp;nbsp;tee&amp;nbsp;build.log&lt;/pre&gt;&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; width=&quot;12&quot; height=&quot;12&quot; viewbox=&quot;0 0 12 12&quot; fill=&quot;none&quot; class=&quot;_9bc997d _33882ae&quot;&gt;&lt;path d=&quot;M-5.24537e-07 0C-2.34843e-07 6.62742 5.37258 12 12 12L0 12L-5.24537e-07 0Z&quot; fill=&quot;currentColor&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; width=&quot;12&quot; height=&quot;12&quot; viewbox=&quot;0 0 12 12&quot; fill=&quot;none&quot; class=&quot;_9bc997d _28d7e84&quot;&gt;&lt;path d=&quot;M-5.24537e-07 0C-2.34843e-07 6.62742 5.37258 12 12 12L0 12L-5.24537e-07 0Z&quot; fill=&quot;currentColor&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/div&gt;&lt;ul style=&quot;margin: 16px 0px; padding: 0px 0px 0px 18px; white-space: normal; background-color: rgb(255, 255, 255); color: rgb(15, 17, 21); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 0px; padding: 0px; margin-top: 0px !important;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;-j1&lt;/code&gt;：只用1个核心，让错误信息按顺序输出，不被并行日志打乱。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 0px; padding: 0px; margin-top: 0px !important;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;V=1&lt;/code&gt;：显示完整编译命令，便于定位哪个环节出错。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 0px; padding: 0px; margin-top: 0px !important;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;tee build.log&lt;/code&gt;：将所有输出同时显示在屏幕并保存到 &lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;build.log&lt;/code&gt;，方便事后搜索。&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin: 16px 0px; padding: 0px; white-space: normal; background-color: rgb(255, 255, 255); color: rgb(15, 17, 21); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px;&quot;&gt;等待编译中断后，执行以下命令查看最后的错误：&lt;/p&gt;&lt;div class=&quot;md-code-block md-code-block-light&quot; style=&quot;white-space: normal; --ds-md-code-banner-background-color: #f9fafb; --ds-md-code-block-border-radius: 12px; --ds-md-code-block-font-size: calc(1.143*11px); color: rgb(15, 17, 21); background: none 0% 0% / auto repeat scroll padding-box border-box rgb(249, 250, 251); border-radius: 12px; margin: 16px 0px 11.43px; position: relative; font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px;&quot;&gt;&lt;div class=&quot;md-code-block-banner-wrap&quot; style=&quot;top: 0px; z-index: 6; background-color: rgb(255, 255, 255); border-top-left-radius: 12px; border-top-right-radius: 12px; position: sticky;&quot;&gt;&lt;div class=&quot;md-code-block-banner md-code-block-banner-lite&quot; style=&quot;background: none 0% 0% / auto repeat scroll padding-box border-box rgb(249, 250, 251); padding: 0px; font-size: 12.573px; line-height: 12.573px; justify-content: space-between; display: flex; border-top-left-radius: 12px; border-top-right-radius: 12px;&quot;&gt;&lt;div class=&quot;_121d384&quot; style=&quot;justify-content: space-between; align-items: center; width: 740px; padding: 6px; display: flex;&quot;&gt;&lt;div class=&quot;d2a24f03&quot; style=&quot;flex-shrink: 0;&quot;&gt;&lt;span class=&quot;d813de27&quot; style=&quot;font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; margin-left: 8px; font-size: 12px; line-height: 18px;&quot;&gt;bash&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;pre style=&quot;font-variant: normal; font-size-adjust: none; font-language-override: normal; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-stretch: normal; font-size: 13px; line-height: 22px; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; overflow: auto; white-space: pre-wrap; word-break: break-all; padding: 16px; margin: 0px !important;&quot;&gt;grep&amp;nbsp;-i&amp;nbsp;&amp;quot;error:&amp;quot;&amp;nbsp;build.log&amp;nbsp;|&amp;nbsp;tail&amp;nbsp;-20&lt;/pre&gt;&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; width=&quot;12&quot; height=&quot;12&quot; viewbox=&quot;0 0 12 12&quot; fill=&quot;none&quot; class=&quot;_9bc997d _33882ae&quot;&gt;&lt;path d=&quot;M-5.24537e-07 0C-2.34843e-07 6.62742 5.37258 12 12 12L0 12L-5.24537e-07 0Z&quot; fill=&quot;currentColor&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; width=&quot;12&quot; height=&quot;12&quot; viewbox=&quot;0 0 12 12&quot; fill=&quot;none&quot; class=&quot;_9bc997d _28d7e84&quot;&gt;&lt;path d=&quot;M-5.24537e-07 0C-2.34843e-07 6.62742 5.37258 12 12 12L0 12L-5.24537e-07 0Z&quot; fill=&quot;currentColor&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/div&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin: 16px 0px; padding: 0px; white-space: normal; background-color: rgb(255, 255, 255); color: rgb(15, 17, 21); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px;&quot;&gt;把这段输出贴出来，我就能直接判断了。&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #666666; font-family: Tahoma, Arial; background-color: #FFFFFF;&quot;&gt;我这里把日志直接给autoclaw ，以下是他给出的修复方法：&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;padding: 0px; color: rgb(102, 102, 102); font-family: Tahoma, Arial; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Microsoft YaHei&amp;quot;; font-size: 18px;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;padding: 0px; color: rgb(102, 102, 102); font-family: Tahoma, Arial; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin: 0px 0px 0.85em; padding: 0px; font-family: Tahoma, Arial; white-space: normal; border-color: rgb(41, 41, 41); box-sizing: border-box; color: rgb(41, 41, 41); line-height: 22px; background-color: rgb(245, 245, 245);&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Microsoft YaHei&amp;quot;; font-size: 16px;&quot;&gt;找到根因了！日志最后几行清楚地显示：&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;code-block-wrapper&quot; style=&quot;font-family: Tahoma, Arial; white-space: normal; border-width: medium; border-style: none; border-color: currentcolor; border-image: initial; margin: 0.85em 0px; padding: 0px; box-sizing: border-box; border-radius: 16px; overflow: hidden; box-shadow: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(255, 255, 255); color: rgb(41, 41, 41);&quot;&gt;&lt;div class=&quot;code-block-header&quot; style=&quot;border-bottom: 1px solid rgb(235, 235, 235); margin: 0px; padding: 12px 16px; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 10px; background-image: none; background-position: 0% 0%; background-size: auto; background-repeat: repeat; background-attachment: scroll; background-origin: padding-box; background-clip: border-box; min-height: 46px;&quot;&gt;&lt;span class=&quot;code-block-lang&quot; style=&quot;border: 0px; margin: 0px; padding: 0px; box-sizing: border-box; line-height: 22px; color: #525252; background: transparent; box-shadow: none; border-radius: 0px; letter-spacing: 0px;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Microsoft YaHei&amp;quot;; font-size: 16px;&quot;&gt;Text&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;code-block-actions&quot; style=&quot;border-color: rgb(41, 41, 41); margin: 0px; padding: 0px; box-sizing: border-box; display: flex; align-items: center; gap: 0px; flex-shrink: 0;&quot;&gt;&lt;button type=&quot;button&quot; class=&quot;code-block-copy &quot; title=&quot;Copy&quot; aria-label=&quot;Copy&quot; style=&quot;margin: 0px; padding: 0px; display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; color: rgb(122, 122, 122); line-height: 0; cursor: pointer; appearance: none; -webkit-tap-highlight-color: transparent; transition: all; border-width: medium !important; border-style: none !important; border-color: currentcolor !important; background-image: initial !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; border-radius: 0px !important; box-shadow: none !important; filter: none !important; backdrop-filter: none !important; outline: none !important;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;loadingclass&quot; src=&quot;https://www.micoder.cc/home/upload/2026-05/177887510353668.Array&quot; style=&quot;border-width: 3px; border-style: none; border-color: rgb(122, 122, 122); border-image: none 100% / 1 / 0 stretch; max-width: none; margin: 0.5em 0px; padding: 0px; box-sizing: border-box; width: 20px; height: 20px; display: block; flex-shrink: 0; border-radius: 10px; object-fit: contain; background: transparent !important; box-shadow: none !important; outline: none !important; filter: none !important; backdrop-filter: none !important;&quot;/&gt;&lt;/button&gt;&lt;/div&gt;&lt;/div&gt;&lt;pre class=&quot;code-block-pre&quot; style=&quot;border-color: rgb(41, 41, 41); margin: 0px; padding: 10px 16px; box-sizing: border-box; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(255, 255, 255); overflow-x: auto; line-height: 22px;&quot;&gt;make[3]:&amp;nbsp;***&amp;nbsp;没有规则可制作目标&amp;quot;certs/openeuler-cert.pem&amp;quot;，由&amp;quot;certs/x509_certificate_list&amp;quot;需求。停止。
make[2]:&amp;nbsp;***&amp;nbsp;[scripts/Makefile.build:546：certs]&amp;nbsp;错误&amp;nbsp;2
make[1]:&amp;nbsp;***&amp;nbsp;[/opt/linux-6.19.14/Makefile:2065：.]&amp;nbsp;错误&amp;nbsp;2
make:&amp;nbsp;***&amp;nbsp;[Makefile:248：__sub-make]&amp;nbsp;错误&amp;nbsp;2&lt;/pre&gt;&lt;/div&gt;&lt;hr style=&quot;font-family: Tahoma, Arial; white-space: normal; border-width: medium; border-style: none; border-color: currentcolor; border-image: initial; margin: 1.5em 0px; padding: 0px; box-sizing: border-box; height: 1px; background-color: rgb(245, 245, 245); color: rgb(41, 41, 41);&quot;/&gt;&lt;h2 style=&quot;margin: 1.4em 0px 0.6em; padding: 0px 0px 0.3em; font-family: Tahoma, Arial; white-space: normal; border-bottom: 3px rgb(41, 41, 41); box-sizing: border-box; line-height: 1.3; color: rgb(41, 41, 41); letter-spacing: -0.01em; background-color: rgb(245, 245, 245);&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Microsoft YaHei&amp;quot;; font-size: 16px;&quot;&gt;&amp;nbsp;根因分析&lt;/span&gt;&lt;/h2&gt;&lt;p style=&quot;margin: 0px 0px 0.85em; padding: 0px; font-family: Tahoma, Arial; white-space: normal; border-color: rgb(41, 41, 41); box-sizing: border-box; color: rgb(41, 41, 41); line-height: 22px; background-color: rgb(245, 245, 245);&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Microsoft YaHei&amp;quot;; font-size: 16px;&quot;&gt;你的 &lt;code node=&quot;[object Object]&quot; style=&quot;border: 1px solid rgb(41, 41, 41); margin: 0px; padding: 0.15em 0.45em; box-sizing: border-box; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0); border-radius: 5px; word-break: break-word;&quot;&gt;.config&lt;/code&gt; 里 &lt;code node=&quot;[object Object]&quot; style=&quot;border: 1px solid rgb(41, 41, 41); margin: 0px; padding: 0.15em 0.45em; box-sizing: border-box; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0); border-radius: 5px; word-break: break-word;&quot;&gt;CONFIG_SYSTEM_TRUSTED_KEYS&lt;/code&gt; 被设为了 &lt;code node=&quot;[object Object]&quot; style=&quot;border: 1px solid rgb(41, 41, 41); margin: 0px; padding: 0.15em 0.45em; box-sizing: border-box; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0); border-radius: 5px; word-break: break-word;&quot;&gt;certs/openeuler-cert.pem&lt;/code&gt;，但 &lt;span style=&quot;border-color: #292929; margin: 0px; padding: 0px; box-sizing: border-box; font-weight: 600;&quot;&gt;这个文件在主线内核源码中并不存在&lt;/span&gt;——它是 openEuler 发行版内核专用的签名证书。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin: 0px 0px 0.85em; padding: 0px; font-family: Tahoma, Arial; white-space: normal; border-color: rgb(41, 41, 41); box-sizing: border-box; color: rgb(41, 41, 41); line-height: 22px; background-color: rgb(245, 245, 245);&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Microsoft YaHei&amp;quot;; font-size: 16px;&quot;&gt;你的 &lt;code node=&quot;[object Object]&quot; style=&quot;border: 1px solid rgb(41, 41, 41); margin: 0px; padding: 0.15em 0.45em; box-sizing: border-box; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0); border-radius: 5px; word-break: break-word;&quot;&gt;.config&lt;/code&gt; 很可能是从 openEuler 发行版 &lt;code node=&quot;[object Object]&quot; style=&quot;border: 1px solid rgb(41, 41, 41); margin: 0px; padding: 0.15em 0.45em; box-sizing: border-box; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0); border-radius: 5px; word-break: break-word;&quot;&gt;/boot/config-*&lt;/code&gt; 复制过来的，所以带上了 openEuler 的证书引用。&lt;/span&gt;&lt;/p&gt;&lt;hr style=&quot;font-family: Tahoma, Arial; white-space: normal; border-width: medium; border-style: none; border-color: currentcolor; border-image: initial; margin: 1.5em 0px; padding: 0px; box-sizing: border-box; height: 1px; background-color: rgb(245, 245, 245); color: rgb(41, 41, 41);&quot;/&gt;&lt;h2 style=&quot;margin: 1.4em 0px 0.6em; padding: 0px 0px 0.3em; font-family: Tahoma, Arial; white-space: normal; border-bottom: 3px rgb(41, 41, 41); box-sizing: border-box; line-height: 1.3; color: rgb(41, 41, 41); letter-spacing: -0.01em; background-color: rgb(245, 245, 245);&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Microsoft YaHei&amp;quot;; font-size: 16px;&quot;&gt;解决方法&lt;/span&gt;&lt;/h2&gt;&lt;p style=&quot;margin: 0px 0px 0.85em; padding: 0px; font-family: Tahoma, Arial; white-space: normal; border-color: rgb(41, 41, 41); box-sizing: border-box; color: rgb(41, 41, 41); line-height: 22px; background-color: rgb(245, 245, 245);&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Microsoft YaHei&amp;quot;; font-size: 16px;&quot;&gt;&lt;span style=&quot;border-color: #292929; margin: 0px; padding: 0px; box-sizing: border-box; font-weight: 600;&quot;&gt;最简单的方法&lt;/span&gt; — 把证书路径清空：&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;code-block-wrapper&quot; style=&quot;font-family: Tahoma, Arial; white-space: normal; border-width: medium; border-style: none; border-color: currentcolor; border-image: initial; margin: 0.85em 0px; padding: 0px; box-sizing: border-box; border-radius: 16px; overflow: hidden; box-shadow: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(255, 255, 255); color: rgb(41, 41, 41);&quot;&gt;&lt;div class=&quot;code-block-header&quot; style=&quot;border-bottom: 1px solid rgb(235, 235, 235); margin: 0px; padding: 12px 16px; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 10px; background-image: none; background-position: 0% 0%; background-size: auto; background-repeat: repeat; background-attachment: scroll; background-origin: padding-box; background-clip: border-box; min-height: 46px;&quot;&gt;&lt;span class=&quot;code-block-lang code-block-lang--bash&quot; style=&quot;border: 0px; margin: 0px; padding: 0px; box-sizing: border-box; line-height: 22px; color: #525252; background: transparent; box-shadow: none; border-radius: 0px; letter-spacing: 0px;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Microsoft YaHei&amp;quot;; font-size: 16px;&quot;&gt;Bash&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;code-block-actions&quot; style=&quot;border-color: rgb(41, 41, 41); margin: 0px; padding: 0px; box-sizing: border-box; display: flex; align-items: center; gap: 0px; flex-shrink: 0;&quot;&gt;&lt;button type=&quot;button&quot; class=&quot;code-block-copy &quot; title=&quot;Copy&quot; aria-label=&quot;Copy&quot; style=&quot;margin: 0px; padding: 0px; display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; color: rgb(122, 122, 122); line-height: 0; cursor: pointer; appearance: none; -webkit-tap-highlight-color: transparent; transition: all; border-width: medium !important; border-style: none !important; border-color: currentcolor !important; background-image: initial !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; border-radius: 0px !important; box-shadow: none !important; filter: none !important; backdrop-filter: none !important; outline: none !important;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;loadingclass&quot; src=&quot;https://www.micoder.cc/home/upload/2026-05/177887510310994.Array&quot; style=&quot;border-width: 3px; border-style: none; border-color: rgb(122, 122, 122); border-image: none 100% / 1 / 0 stretch; max-width: none; margin: 0.5em 0px; padding: 0px; box-sizing: border-box; width: 20px; height: 20px; display: block; flex-shrink: 0; border-radius: 10px; object-fit: contain; background: transparent !important; box-shadow: none !important; outline: none !important; filter: none !important; backdrop-filter: none !important;&quot;/&gt;&lt;/button&gt;&lt;/div&gt;&lt;/div&gt;&lt;pre class=&quot;code-block-pre&quot; style=&quot;border-color: rgb(41, 41, 41); margin: 0px; padding: 10px 16px; box-sizing: border-box; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(255, 255, 255); overflow-x: auto; line-height: 22px;&quot;&gt;#&amp;nbsp;方法一：直接改&amp;nbsp;.config，把证书路径设为空
sed&amp;nbsp;-i&amp;nbsp;&amp;#39;s|CONFIG_SYSTEM_TRUSTED_KEYS=.*|CONFIG_SYSTEM_TRUSTED_KEYS=&amp;quot;&amp;quot;|&amp;#39;&amp;nbsp;.config

#&amp;nbsp;也检查一下这个：
sed&amp;nbsp;-i&amp;nbsp;&amp;#39;s|CONFIG_SYSTEM_EXTRA_CERTIFICATE=.*|CONFIG_SYSTEM_EXTRA_CERTIFICATE=&amp;quot;&amp;quot;|&amp;#39;&amp;nbsp;.config

#&amp;nbsp;然后重新生成完整配置并编译
make&amp;nbsp;olddefconfig
make&amp;nbsp;-j6&lt;/pre&gt;&lt;/div&gt;&lt;p style=&quot;margin: 0px 0px 0.85em; padding: 0px; font-family: Tahoma, Arial; white-space: normal; border-color: rgb(41, 41, 41); box-sizing: border-box; color: rgb(41, 41, 41); line-height: 22px; background-color: rgb(245, 245, 245);&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Microsoft YaHei&amp;quot;; font-size: 16px;&quot;&gt;&lt;span style=&quot;border-color: #292929; margin: 0px; padding: 0px; box-sizing: border-box; font-weight: 600;&quot;&gt;方法二&lt;/span&gt;：如果你是用 &lt;code node=&quot;[object Object]&quot; style=&quot;border: 1px solid rgb(41, 41, 41); margin: 0px; padding: 0.15em 0.45em; box-sizing: border-box; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0); border-radius: 5px; word-break: break-word;&quot;&gt;menuconfig&lt;/code&gt; / &lt;code node=&quot;[object Object]&quot; style=&quot;border: 1px solid rgb(41, 41, 41); margin: 0px; padding: 0.15em 0.45em; box-sizing: border-box; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0); border-radius: 5px; word-break: break-word;&quot;&gt;nconfig&lt;/code&gt; 交互式配置：&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;code-block-wrapper&quot; style=&quot;font-family: Tahoma, Arial; white-space: normal; border-width: medium; border-style: none; border-color: currentcolor; border-image: initial; margin: 0.85em 0px; padding: 0px; box-sizing: border-box; border-radius: 16px; overflow: hidden; box-shadow: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(255, 255, 255); color: rgb(41, 41, 41);&quot;&gt;&lt;div class=&quot;code-block-header&quot; style=&quot;border-bottom: 1px solid rgb(235, 235, 235); margin: 0px; padding: 12px 16px; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 10px; background-image: none; background-position: 0% 0%; background-size: auto; background-repeat: repeat; background-attachment: scroll; background-origin: padding-box; background-clip: border-box; min-height: 46px;&quot;&gt;&lt;span class=&quot;code-block-lang code-block-lang--bash&quot; style=&quot;border: 0px; margin: 0px; padding: 0px; box-sizing: border-box; line-height: 22px; color: #525252; background: transparent; box-shadow: none; border-radius: 0px; letter-spacing: 0px;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Microsoft YaHei&amp;quot;; font-size: 16px;&quot;&gt;Bash&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;code-block-actions&quot; style=&quot;border-color: rgb(41, 41, 41); margin: 0px; padding: 0px; box-sizing: border-box; display: flex; align-items: center; gap: 0px; flex-shrink: 0;&quot;&gt;&lt;button type=&quot;button&quot; class=&quot;code-block-copy &quot; title=&quot;Copy&quot; aria-label=&quot;Copy&quot; style=&quot;margin: 0px; padding: 0px; display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; color: rgb(122, 122, 122); line-height: 0; cursor: pointer; appearance: none; -webkit-tap-highlight-color: transparent; transition: all; border-width: medium !important; border-style: none !important; border-color: currentcolor !important; background-image: initial !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; border-radius: 0px !important; box-shadow: none !important; filter: none !important; backdrop-filter: none !important; outline: none !important;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;loadingclass&quot; src=&quot;https://www.micoder.cc/home/upload/2026-05/177887510315302.Array&quot; style=&quot;border-width: 3px; border-style: none; border-color: rgb(122, 122, 122); border-image: none 100% / 1 / 0 stretch; max-width: none; margin: 0.5em 0px; padding: 0px; box-sizing: border-box; width: 20px; height: 20px; display: block; flex-shrink: 0; border-radius: 10px; object-fit: contain; background: transparent !important; box-shadow: none !important; outline: none !important; filter: none !important; backdrop-filter: none !important;&quot;/&gt;&lt;/button&gt;&lt;/div&gt;&lt;/div&gt;&lt;pre class=&quot;code-block-pre&quot; style=&quot;border-color: rgb(41, 41, 41); margin: 0px; padding: 10px 16px; box-sizing: border-box; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(255, 255, 255); overflow-x: auto; line-height: 22px;&quot;&gt;make&amp;nbsp;menuconfig&lt;/pre&gt;&lt;/div&gt;&lt;p style=&quot;margin: 0px 0px 0.85em; padding: 0px; font-family: Tahoma, Arial; white-space: normal; border-color: rgb(41, 41, 41); box-sizing: border-box; color: rgb(41, 41, 41); line-height: 22px; background-color: rgb(245, 245, 245);&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Microsoft YaHei&amp;quot;; font-size: 16px;&quot;&gt;进去后找到：&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #666666; background-color: #FFFFFF; font-family: &amp;quot;Microsoft YaHei&amp;quot;; font-size: 16px;&quot;&gt;&lt;code node=&quot;[object Object]&quot; style=&quot;border: 1px solid rgb(41, 41, 41); margin: 0px; padding: 0.15em 0.45em; box-sizing: border-box; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0); border-radius: 5px; color: rgb(41, 41, 41); word-break: break-word;&quot;&gt;Cryptographic API → Certificates for signature checking&lt;/code&gt;&lt;span style=&quot;color: #292929; background-color: #F5F5F5;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin: 0px 0px 0.85em; padding: 0px; font-family: Tahoma, Arial; white-space: normal; border-color: rgb(41, 41, 41); box-sizing: border-box; color: rgb(41, 41, 41); line-height: 22px; background-color: rgb(245, 245, 245);&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Microsoft YaHei&amp;quot;; font-size: 16px;&quot;&gt;把以下两项清空（删掉路径，留空）：&lt;/span&gt;&lt;/p&gt;&lt;ul style=&quot;margin: 0px 0px 0.85em; padding: 0px 0px 0px 21px; font-family: Tahoma, Arial; white-space: normal; border-color: rgb(41, 41, 41); box-sizing: border-box; color: rgb(41, 41, 41); background-color: rgb(245, 245, 245);&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-family: &amp;quot;Microsoft YaHei&amp;quot;; font-size: 16px;&quot;&gt;&lt;code node=&quot;[object Object]&quot; style=&quot;border: 1px solid rgb(41, 41, 41); margin: 0px; padding: 0.15em 0.45em; box-sizing: border-box; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0); border-radius: 5px; word-break: break-word;&quot;&gt;Additional X.509 keys for default system keyring&lt;/code&gt; — 删掉 &lt;code node=&quot;[object Object]&quot; style=&quot;border: 1px solid rgb(41, 41, 41); margin: 0px; padding: 0.15em 0.45em; box-sizing: border-box; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0); border-radius: 5px; word-break: break-word;&quot;&gt;certs/openeuler-cert.pem&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-family: &amp;quot;Microsoft YaHei&amp;quot;; font-size: 16px;&quot;&gt;&lt;code node=&quot;[object Object]&quot; style=&quot;border: 1px solid rgb(41, 41, 41); margin: 0px; padding: 0.15em 0.45em; box-sizing: border-box; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0); border-radius: 5px; word-break: break-word;&quot;&gt;X.509 certificate to be preloaded into the system blacklist keyring&lt;/code&gt; — 如果有也清空&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p style=&quot;margin: 0px 0px 0.85em; padding: 0px; font-family: Tahoma, Arial; white-space: normal; border-color: rgb(41, 41, 41); box-sizing: border-box; color: rgb(41, 41, 41); line-height: 22px; background-color: rgb(245, 245, 245);&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Microsoft YaHei&amp;quot;; font-size: 16px;&quot;&gt;保存退出后 &lt;code node=&quot;[object Object]&quot; style=&quot;border: 1px solid rgb(41, 41, 41); margin: 0px; padding: 0.15em 0.45em; box-sizing: border-box; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0); border-radius: 5px; word-break: break-word;&quot;&gt;make -j6&lt;/code&gt; 即可继续编译。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin: 0px; padding: 0px; font-family: Tahoma, Arial; white-space: normal; border-color: rgb(41, 41, 41); box-sizing: border-box; color: rgb(41, 41, 41); line-height: 22px; background-color: rgb(245, 245, 245);&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Microsoft YaHei&amp;quot;; font-size: 16px;&quot;&gt;（基于之前的经验：openEuler 的发行版 config 带了自家签名证书路径，直接用于主线源码会报 missing target。）&lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;</description><pubDate>Sat, 16 May 2026 03:53:19 +0800</pubDate></item></channel></rss>