<?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.70ol.com/</link><description>互联网的搬运工</description><item><title>Linux中用tar命令对文件夹进行打包压缩</title><link>https://www.70ol.com/jishu/367.html</link><description>&lt;h3 id=&quot;8690q&quot; name=&quot;%E4%B8%80%E3%80%81%E6%89%93%E5%8C%85%E7%9A%84%E6%A6%82%E5%BF%B5&quot; style=&quot;overflow-wrap: break-word; margin: 16px 0px 8px; padding: 0px; font-size: 16px; box-sizing: border-box; list-style: inherit; line-height: 26px; font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;一、打包的概念&lt;/h3&gt;&lt;p style=&quot;overflow-wrap: break-word; margin-top: 0px; margin-bottom: 8px; padding: 0px; box-sizing: border-box; list-style: inherit; min-height: 24px; color: rgb(51, 51, 51); font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;打包：指将多个文件（或目录）合并成一个文件，方便在不同节点之间传递或在服务器集群上部署。&lt;/p&gt;&lt;p style=&quot;overflow-wrap: break-word; margin-top: 0px; margin-bottom: 8px; padding: 0px; box-sizing: border-box; list-style: inherit; min-height: 24px; color: rgb(51, 51, 51); font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;压缩或打包文件常见扩展名 &amp;nbsp; &amp;nbsp; &amp;nbsp; *.tar, *.tar.gz, *.gz, *.bz2, *.Z；&lt;/p&gt;&lt;p style=&quot;overflow-wrap: break-word; margin-top: 0px; margin-bottom: 8px; padding: 0px; box-sizing: border-box; list-style: inherit; min-height: 24px; color: rgb(51, 51, 51); font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;Linux系统一般文件的扩展名用途不大，但是压缩或打包文件的扩展名时必须的，因为linux支持的压缩命令较多，不同的压缩技术使用的压缩算法区别较大，根据扩展名能够使用对应的解压算法。&lt;/p&gt;&lt;h3 id=&quot;dhdvp&quot; name=&quot;%E4%BA%8C%E3%80%81tar%E5%91%BD%E4%BB%A4&quot; style=&quot;overflow-wrap: break-word; margin: 16px 0px 8px; padding: 0px; font-size: 16px; box-sizing: border-box; list-style: inherit; line-height: 26px; font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;二、tar命令&lt;/h3&gt;&lt;p style=&quot;overflow-wrap: break-word; margin-top: 0px; margin-bottom: 8px; padding: 0px; box-sizing: border-box; list-style: inherit; min-height: 24px; color: rgb(51, 51, 51); font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;1、命令作用&lt;/p&gt;&lt;p style=&quot;overflow-wrap: break-word; margin-top: 0px; margin-bottom: 8px; padding: 0px; box-sizing: border-box; list-style: inherit; min-height: 24px; color: rgb(51, 51, 51); font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;将文件夹打包，也能将包解开成文件夹。&lt;/p&gt;&lt;p style=&quot;overflow-wrap: break-word; margin-top: 0px; margin-bottom: 8px; padding: 0px; box-sizing: border-box; list-style: inherit; min-height: 24px; color: rgb(51, 51, 51); font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;2、选项参数&lt;/p&gt;&lt;p style=&quot;overflow-wrap: break-word; margin-top: 0px; margin-bottom: 8px; padding: 0px; box-sizing: border-box; list-style: inherit; min-height: 24px; color: rgb(51, 51, 51); font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;-c：（create）建立打包文件&lt;/p&gt;&lt;p style=&quot;overflow-wrap: break-word; margin-top: 0px; margin-bottom: 8px; padding: 0px; box-sizing: border-box; list-style: inherit; min-height: 24px; color: rgb(51, 51, 51); font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;-t ：查看打包文件的内容含有哪些文件&lt;/p&gt;&lt;p style=&quot;overflow-wrap: break-word; margin-top: 0px; margin-bottom: 8px; padding: 0px; box-sizing: border-box; list-style: inherit; min-height: 24px; color: rgb(51, 51, 51); font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;-x ：解打包或解压缩的功能，可以搭配-C(大写)在特定目录解开&lt;/p&gt;&lt;p style=&quot;overflow-wrap: break-word; margin-top: 0px; margin-bottom: 8px; padding: 0px; box-sizing: border-box; list-style: inherit; min-height: 24px; color: rgb(51, 51, 51); font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;-j ：通过bzip2的支持进行压缩/解压缩，此时文件最好为*.tar.bz2&lt;/p&gt;&lt;p style=&quot;overflow-wrap: break-word; margin-top: 0px; margin-bottom: 8px; padding: 0px; box-sizing: border-box; list-style: inherit; min-height: 24px; color: rgb(51, 51, 51); font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;-z ：通过gzip的支持进行压缩/解压缩，此时文件最好为*.tar.gz&lt;/p&gt;&lt;p style=&quot;overflow-wrap: break-word; margin-top: 0px; margin-bottom: 8px; padding: 0px; box-sizing: border-box; list-style: inherit; min-height: 24px; color: rgb(51, 51, 51); font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;-v ：在压缩/解压缩的过程中，将正在处理的文件名显示出来&lt;/p&gt;&lt;p style=&quot;overflow-wrap: break-word; margin-top: 0px; margin-bottom: 8px; padding: 0px; box-sizing: border-box; list-style: inherit; min-height: 24px; color: rgb(51, 51, 51); font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;-f filename：-f 后面跟处理后文件的全名称（路径+文件名+后缀名）&lt;/p&gt;&lt;p style=&quot;overflow-wrap: break-word; margin-top: 0px; margin-bottom: 8px; padding: 0px; box-sizing: border-box; list-style: inherit; min-height: 24px; color: rgb(51, 51, 51); font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;-C 目录：这个选项用在解压缩，若要在特定目录解压缩，可以使用这个选项&lt;/p&gt;&lt;p style=&quot;overflow-wrap: break-word; margin-top: 0px; margin-bottom: 8px; padding: 0px; box-sizing: border-box; list-style: inherit; min-height: 24px; color: rgb(51, 51, 51); font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;-p：保留备份数据的原本权限与属性，常用于备份(-c)重要的配置文件&lt;/p&gt;&lt;p style=&quot;overflow-wrap: break-word; margin-top: 0px; margin-bottom: 8px; padding: 0px; box-sizing: border-box; list-style: inherit; min-height: 24px; color: rgb(51, 51, 51); font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;–exclude=FILE:在压缩的过程中,不要将那些文件打包&lt;/p&gt;&lt;p style=&quot;overflow-wrap: break-word; margin-top: 0px; margin-bottom: 8px; padding: 0px; box-sizing: border-box; list-style: inherit; min-height: 24px; color: rgb(51, 51, 51); font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;注意-c, -t, -x 不可同时出现在一串指令列中。&lt;/p&gt;&lt;p style=&quot;overflow-wrap: break-word; margin-top: 0px; margin-bottom: 8px; padding: 0px; box-sizing: border-box; list-style: inherit; min-height: 24px; color: rgb(51, 51, 51); font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;3、案例&lt;/p&gt;&lt;p style=&quot;overflow-wrap: break-word; margin-top: 0px; margin-bottom: 8px; padding: 0px; box-sizing: border-box; list-style: inherit; min-height: 24px; color: rgb(51, 51, 51); font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;案例1：在/tmp文件夹下创建demo文件夹，将/etc目录拷贝到/tmp/demo目录里，然后打包压缩成gz格式，要求显示压缩详情。&lt;/p&gt;&lt;p style=&quot;overflow-wrap: break-word; margin-top: 0px; margin-bottom: 8px; padding: 0px; box-sizing: border-box; list-style: inherit; min-height: 24px; color: rgb(51, 51, 51); font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;1)在/tmp文件夹下创建demo文件夹，将/etc目录拷贝到/tmp/demo目录里。&lt;/p&gt;&lt;p&gt;&lt;figure class=&quot;&quot; style=&quot;overflow-wrap: break-word; box-sizing: border-box; list-style: inherit; margin: 16px 0px; color: rgb(51, 51, 51); font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div class=&quot;rno-markdown-img-url&quot; style=&quot;overflow-wrap: break-word; margin: 16px 0px; padding: 0px; box-sizing: border-box; text-align: center; list-style: inherit;&quot;&gt;&lt;div class=&quot;rno-markdown-img-url-inner&quot; style=&quot;overflow-wrap: break-word; margin: 0px auto; padding: 0px; box-sizing: border-box; position: relative; display: inline-block; list-style: inherit; width: 670.638px; white-space-collapse: collapse !important;&quot;&gt;&lt;div style=&quot;overflow-wrap: break-word; margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; width: 670.638px;&quot;&gt;&lt;img src=&quot;https://www.70ol.com/zb_users/upload/2026/07/20260715144207_21311.png&quot; style=&quot;overflow-wrap: break-word; border: 0px; box-sizing: border-box; list-style: inherit; cursor: zoom-in; width: 670.638px; height: auto; display: block; margin: 0px auto; max-width: 100%; max-height: 100%; border-radius: 3px;&quot;/&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/figure&gt;&lt;/p&gt;&lt;p style=&quot;overflow-wrap: break-word; margin-top: 0px; margin-bottom: 8px; padding: 0px; box-sizing: border-box; list-style: inherit; min-height: 24px; color: rgb(51, 51, 51); font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;注意：拷贝非空目录要加 -r&lt;/p&gt;&lt;p style=&quot;overflow-wrap: break-word; margin-top: 0px; margin-bottom: 8px; padding: 0px; box-sizing: border-box; list-style: inherit; min-height: 24px; color: rgb(51, 51, 51); font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;2）将etc文件夹打包压缩成gz格式，并显示压缩详情。&lt;/p&gt;&lt;p style=&quot;overflow-wrap: break-word; margin-top: 0px; margin-bottom: 8px; padding: 0px; box-sizing: border-box; list-style: inherit; min-height: 24px; color: rgb(51, 51, 51); font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;tar -czvf 打包压缩后文件 &amp;nbsp; 被打包压缩的文件夹&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;[root@ied01&amp;nbsp;demo]#&amp;nbsp;tar&amp;nbsp;-czvf&amp;nbsp;myetc.tar.gz&amp;nbsp;etc&lt;/pre&gt;&lt;p style=&quot;overflow-wrap: break-word; margin-top: 0px; margin-bottom: 8px; padding: 0px; box-sizing: border-box; list-style: inherit; min-height: 24px; color: rgb(51, 51, 51); font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;如果打包压缩成.bz2格式，那么tar命令的参数：-cjvf。&lt;/p&gt;&lt;p&gt;&lt;figure class=&quot;&quot; style=&quot;overflow-wrap: break-word; box-sizing: border-box; list-style: inherit; margin: 16px 0px; color: rgb(51, 51, 51); font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div class=&quot;rno-markdown-img-url&quot; style=&quot;overflow-wrap: break-word; margin: 16px 0px; padding: 0px; box-sizing: border-box; text-align: center; list-style: inherit;&quot;&gt;&lt;div class=&quot;rno-markdown-img-url-inner&quot; style=&quot;overflow-wrap: break-word; margin: 0px auto; padding: 0px; box-sizing: border-box; position: relative; display: inline-block; list-style: inherit; width: 996.8px; white-space-collapse: collapse !important;&quot;&gt;&lt;div style=&quot;overflow-wrap: break-word; margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; width: 996.8px;&quot;&gt;&lt;img src=&quot;https://www.70ol.com/zb_users/upload/2026/07/20260715144208_58840.png&quot; style=&quot;overflow-wrap: break-word; border: 0px; box-sizing: border-box; list-style: inherit; cursor: zoom-in; width: 996.8px; height: auto; display: block; margin: 0px auto; max-width: 100%; max-height: 100%; border-radius: 3px;&quot;/&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/figure&gt;&lt;/p&gt;&lt;p style=&quot;overflow-wrap: break-word; margin-top: 0px; margin-bottom: 8px; padding: 0px; box-sizing: border-box; list-style: inherit; min-height: 24px; color: rgb(51, 51, 51); font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;案例2：先删除etc目录，解压缩myetc.tar.gz到当前目录。&lt;/p&gt;&lt;p style=&quot;overflow-wrap: break-word; margin-top: 0px; margin-bottom: 8px; padding: 0px; box-sizing: border-box; list-style: inherit; min-height: 24px; color: rgb(51, 51, 51); font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;1）删除etc目录&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;[root@ied01&amp;nbsp;demo]#&amp;nbsp;rm&amp;nbsp;-rf&amp;nbsp;etc&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: #FFFFFF;&quot;&gt;2）解压缩myetc.tar.gz到当前目录&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;[root@ied01&amp;nbsp;demo]#&amp;nbsp;tar&amp;nbsp;-xzvf&amp;nbsp;myetc.tar.gz&lt;/pre&gt;&lt;figure class=&quot;&quot; style=&quot;overflow-wrap: break-word; box-sizing: border-box; list-style: inherit; margin: 16px 0px; color: rgb(51, 51, 51); font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div class=&quot;rno-markdown-img-url&quot; style=&quot;overflow-wrap: break-word; margin: 16px 0px; padding: 0px; box-sizing: border-box; text-align: center; list-style: inherit;&quot;&gt;&lt;div class=&quot;rno-markdown-img-url-inner&quot; style=&quot;overflow-wrap: break-word; margin: 0px auto; padding: 0px; box-sizing: border-box; position: relative; display: inline-block; list-style: inherit; width: 377.587px; white-space-collapse: collapse !important;&quot;&gt;&lt;div style=&quot;overflow-wrap: break-word; margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; width: 377.587px;&quot;&gt;&lt;img src=&quot;https://www.70ol.com/zb_users/upload/2026/07/20260715144210_65141.png&quot; style=&quot;overflow-wrap: break-word; border: 0px; box-sizing: border-box; list-style: inherit; cursor: zoom-in; width: 377.587px; height: auto; display: block; margin: 0px auto; max-width: 100%; max-height: 100%; border-radius: 3px;&quot;/&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/figure&gt;&lt;p style=&quot;overflow-wrap: break-word; margin-top: 0px; margin-bottom: 8px; padding: 0px; box-sizing: border-box; list-style: inherit; min-height: 24px; color: rgb(51, 51, 51); font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;案例3：将myetc.tar.gz解压缩到指定目录：/home。&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;[root@ied01&amp;nbsp;demo]#&amp;nbsp;tar&amp;nbsp;-xzvf&amp;nbsp;myetc.tar.gz&amp;nbsp;-C&amp;nbsp;/home&lt;/pre&gt;&lt;figure class=&quot;&quot; style=&quot;overflow-wrap: break-word; box-sizing: border-box; list-style: inherit; margin: 16px 0px; color: rgb(51, 51, 51); font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div class=&quot;rno-markdown-img-url&quot; style=&quot;overflow-wrap: break-word; margin: 16px 0px; padding: 0px; box-sizing: border-box; text-align: center; list-style: inherit;&quot;&gt;&lt;div class=&quot;rno-markdown-img-url-inner&quot; style=&quot;overflow-wrap: break-word; margin: 0px auto; padding: 0px; box-sizing: border-box; position: relative; display: inline-block; list-style: inherit; width: 996.8px; white-space-collapse: collapse !important;&quot;&gt;&lt;div style=&quot;overflow-wrap: break-word; margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; width: 996.8px;&quot;&gt;&lt;img src=&quot;https://www.70ol.com/zb_users/upload/2026/07/20260715144211_13211.png&quot; style=&quot;overflow-wrap: break-word; border: 0px; box-sizing: border-box; list-style: inherit; cursor: zoom-in; width: 996.8px; height: auto; display: block; margin: 0px auto; max-width: 100%; max-height: 100%; border-radius: 3px;&quot;/&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/figure&gt;&lt;p style=&quot;overflow-wrap: break-word; margin-top: 0px; margin-bottom: 8px; padding: 0px; box-sizing: border-box; list-style: inherit; min-height: 24px; color: rgb(51, 51, 51); font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;案例4：仅仅解压缩myetc.tar.gz里的某个目录，例如etc/udev。&lt;/p&gt;&lt;p style=&quot;overflow-wrap: break-word; margin-top: 0px; margin-bottom: 8px; padding: 0px; box-sizing: border-box; list-style: inherit; min-height: 24px; color: rgb(51, 51, 51); font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;1）先删除etc目录&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;[root@ied01&amp;nbsp;demo]#&amp;nbsp;rm&amp;nbsp;-rf&amp;nbsp;etc&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: #FFFFFF;&quot;&gt; 2）解压缩myetc.tar.gz里的etc/udev目录&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: #FFFFFF;&quot;&gt;&lt;/span&gt;&lt;br/&gt;&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;[root@ied01&amp;nbsp;demo]#&amp;nbsp;tar&amp;nbsp;-xzvf&amp;nbsp;myetc.tar.gz&amp;nbsp;etc/udev&lt;/pre&gt;&lt;p&gt;&lt;img src=&quot;https://www.70ol.com/zb_users/upload/2026/07/20260715144213_13364.png&quot; style=&quot;overflow-wrap: break-word; border: 0px; box-sizing: border-box; list-style: inherit; cursor: zoom-in; width: 851.862px; height: auto; display: block; margin: 0px auto; max-width: 100%; max-height: 100%; border-radius: 3px; color: rgb(51, 51, 51); font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; text-align: center; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: #FFFFFF;&quot;&gt;&lt;/span&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Wed, 15 Jul 2026 14:38:07 +0800</pubDate></item><item><title>为什么Word目录左边对不齐</title><link>https://www.70ol.com/office/366.html</link><description>&lt;p&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;为什么目录左边对不齐，该如何操作呢？下面来看看。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;1、打开Word，点击引用。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;img src=&quot;https://www.70ol.com/zb_users/upload/2026/07/202607141784039312101916.jpg&quot; alt=&quot;d549ad065dfa55f930559c2bc88191c0_2e66f9ef28066b01e06482f63df39187021cf313_x-bce-process=image%2Fformat%2Cf_auto%2Fquality%2Cq_80.jpg&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;2、&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;点击目录。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;img src=&quot;https://www.70ol.com/zb_users/upload/2026/07/202607141784039324589628.jpg&quot; alt=&quot;85968951fb99024f213d040569b9fdb0_e6ae36066b0192dd40f907451a87031c98c0f013_x-bce-process=image%2Fformat%2Cf_auto%2Fquality%2Cq_80.jpg&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;3、&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;点击自定义目录。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;img src=&quot;https://www.70ol.com/zb_users/upload/2026/07/202607141784039335553226.jpg&quot; alt=&quot;4c14144d4e2d88a0de179f7d9591cf70_b7b28f87031c99c0d7455030af2fa872951fed13_x-bce-process=image%2Fformat%2Cf_auto%2Fquality%2Cq_80.jpg&quot;/&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;4、&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;点击修改。&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;img src=&quot;https://www.70ol.com/zb_users/upload/2026/07/202607141784039346579892.jpg&quot; alt=&quot;17f449594de8bd738d59f064a43dfde1_90c61d1c99c0affc983f95992372941fbfe4ea13_x-bce-process=image%2Fformat%2Cf_auto%2Fquality%2Cq_80.jpg&quot;/&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;5、选择目录，点击修改。&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;img src=&quot;https://www.70ol.com/zb_users/upload/2026/07/202607141784039359521962.jpg&quot; alt=&quot;c800de9d31f92e2b36e30211c94a9abd_bfa52adaf05e4a23f8c84fab1dd818196020e213_x-bce-process=image%2Fformat%2Cf_auto%2Fquality%2Cq_80.jpg&quot;/&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;6、&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;点击格式。&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;img src=&quot;https://www.70ol.com/zb_users/upload/2026/07/202607141784039369457290.jpg&quot; alt=&quot;2e89cdd282faeeac6c1b79d321d88c49_359bee5e4a2379717ca4276e93196120a6cde313_x-bce-process=image%2Fformat%2Cf_auto%2Fquality%2Cq_80.jpg&quot;/&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;7、&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;点击段落。&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;img src=&quot;https://www.70ol.com/zb_users/upload/2026/07/202607141784039380846816.jpg&quot; alt=&quot;5065c707c3a3a35dd2f6ee8d3d28902c_f11f54237971fe1d1561a9afea20a7cd0d6ee013_x-bce-process=image%2Fformat%2Cf_auto%2Fquality%2Cq_80.jpg&quot;/&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;8、&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;选择左对齐，左侧缩进为0，殊格式处选择无。&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;img src=&quot;https://www.70ol.com/zb_users/upload/2026/07/202607141784039391358377.jpg&quot; alt=&quot;8275c8e3bb962ad3821e49b76630656e_4b626771fe1d96d89ca0d0962ccd0c6efaf2e113_x-bce-process=image%2Fformat%2Cf_auto%2Fquality%2Cq_80.jpg&quot;/&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;9、&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;点击确定。&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;img src=&quot;https://www.70ol.com/zb_users/upload/2026/07/202607141784039405197280.jpg&quot; alt=&quot;0973296593df38a07cf5f030d9bead35_7830e01d96d81819e499167b876efbf203b3de13_x-bce-process=image%2Fformat%2Cf_auto%2Fquality%2Cq_80.jpg&quot;/&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description><pubDate>Tue, 14 Jul 2026 22:25:16 +0800</pubDate></item><item><title>VPS 救援模式Rescue Mode怎么用：SSH 进不去时用 Rescue Mode、chroot、fsck、GRUB 自救</title><link>https://www.70ol.com/jishu/368.html</link><description>&lt;p style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin-top: 1.25em; margin-bottom: 1.25em; padding: 0px; color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;VPS 出问题时，最让人慌的不是网站 502，而是&amp;nbsp;&lt;span style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; font-weight: 600; color: var(--tw-prose-bold);&quot;&gt;SSH 完全进不去&lt;/span&gt;。比如你改错了&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; font-family: var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,&amp;quot;Liberation Mono&amp;quot;,&amp;quot;Courier New&amp;quot;,monospace); font-feature-settings: var(--default-mono-font-feature-settings,normal); font-variation-settings: var(--default-mono-font-variation-settings,normal); font-size: 0.875em; color: var(--tw-prose-code); font-weight: 600; background-color: transparent;&quot;&gt;/etc/fstab&lt;/code&gt;，重启后系统卡在启动界面；或者防火墙规则写错，SSH 端口被自己挡住；再或者 root 密码忘了、GRUB 损坏、文件系统需要&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; font-family: var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,&amp;quot;Liberation Mono&amp;quot;,&amp;quot;Courier New&amp;quot;,monospace); font-feature-settings: var(--default-mono-font-feature-settings,normal); font-variation-settings: var(--default-mono-font-variation-settings,normal); font-size: 0.875em; color: var(--tw-prose-code); font-weight: 600; background-color: transparent;&quot;&gt;fsck&lt;/code&gt;。这类问题用普通 SSH 排查不了，因为系统根本没正常起来。&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin-top: 1.25em; margin-bottom: 1.25em; padding: 0px; color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;这时候不要第一反应就重装。很多 VPS 控制台都有&amp;nbsp;&lt;span style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; font-weight: 600; color: var(--tw-prose-bold);&quot;&gt;Rescue Mode / 救援模式&lt;/span&gt;：它会从一个临时系统启动，把你原来的系统盘挂出来，让你站在“外部系统”的角度修复原系统。用得好，可以救回配置、重置密码、修复启动项，甚至把重要数据先拷出来。&lt;/p&gt;&lt;p&gt;&lt;section style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;&lt;div class=&quot;heading-wrapper&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; position: relative;&quot;&gt;&lt;a class=&quot;anchor&quot; href=&quot;https://vpscost.com/blog/post/vps-rescue-mode-chroot-fsck-grub-recovery-2026#rescue-mode-%E5%88%B0%E5%BA%95%E6%98%AF%E4%BB%80%E4%B9%88&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: auto; padding: 0px; text-underline-offset: 4px; opacity: 0; border-radius: 6px; justify-content: center; align-items: center; width: 28px; height: 28px; display: flex; position: absolute; top: 15.9875px; left: -28px; transform: translateY(-50%);&quot;&gt;&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; class=&quot;indicator fill-current&quot; viewbox=&quot;0 0 16 16&quot; version=&quot;1.1&quot; width=&quot;16&quot; height=&quot;16&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;&lt;h2 id=&quot;rescue-mode-到底是什么&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 2em 0px 1em; padding: 0px; font-size: var(--text-2xl); color: var(--tw-prose-headings); line-height: var(--tw-leading,var(--text-2xl--line-height));&quot;&gt;Rescue Mode 到底是什么？&lt;/h2&gt;&lt;/div&gt;&lt;p style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin-top: 1.25em; margin-bottom: 1.25em; padding: 0px;&quot;&gt;救援模式不是你的原系统，也不是简单的网页终端。它通常是服务商提供的一个临时 Linux 环境，启动后会把原来的 VPS 磁盘当作数据盘呈现出来。&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin-top: 1.25em; margin-bottom: 1.25em; padding: 0px;&quot;&gt;你可以把它理解成：&lt;/p&gt;&lt;ul style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin-top: 1.25em; margin-bottom: 1.25em; padding: 0px; list-style-position: initial; list-style-image: initial; padding-inline-start: 1.625em;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;原系统坏了，先不从原系统启动。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;服务商给你启动一个干净的小系统。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;你在这个小系统里挂载原来的磁盘。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;然后修改原系统里的文件、修复启动、拷贝数据。&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin-top: 1.25em; margin-bottom: 1.25em; padding: 0px;&quot;&gt;它和 VNC/控制台也不一样。VNC 是看原系统屏幕；Rescue Mode 是换一个临时系统来修原盘。很多时候这两者要配合用：先用 VNC 看启动卡在哪里，再进救援模式修。&lt;/p&gt;&lt;/section&gt;&lt;section style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;&lt;div class=&quot;heading-wrapper&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; position: relative;&quot;&gt;&lt;a class=&quot;anchor&quot; href=&quot;https://vpscost.com/blog/post/vps-rescue-mode-chroot-fsck-grub-recovery-2026#%E4%BB%80%E4%B9%88%E6%97%B6%E5%80%99%E8%AF%A5%E7%94%A8%E6%95%91%E6%8F%B4%E6%A8%A1%E5%BC%8F&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: auto; padding: 0px; text-underline-offset: 4px; opacity: 0; border-radius: 6px; justify-content: center; align-items: center; width: 28px; height: 28px; display: flex; position: absolute; top: 15.9875px; left: -28px; transform: translateY(-50%);&quot;&gt;&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; class=&quot;indicator fill-current&quot; viewbox=&quot;0 0 16 16&quot; version=&quot;1.1&quot; width=&quot;16&quot; height=&quot;16&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;&lt;h2 id=&quot;什么时候该用救援模式&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 2em 0px 1em; padding: 0px; font-size: var(--text-2xl); color: var(--tw-prose-headings); line-height: var(--tw-leading,var(--text-2xl--line-height));&quot;&gt;什么时候该用救援模式？&lt;/h2&gt;&lt;/div&gt;&lt;p style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin-top: 1.25em; margin-bottom: 1.25em; padding: 0px;&quot;&gt;下面这些场景适合用 Rescue Mode：&lt;/p&gt;&lt;table width=&quot;784&quot;&gt;&lt;thead style=&quot;box-sizing: border-box; border-width: 0px 0px 1px; border-style: solid; border-top-color: ; border-right-color: ; border-bottom-color: var(--tw-prose-th-borders); border-left-color: ; border-image: initial; margin: 0px; padding: 0px;&quot;&gt;&lt;tr style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px;&quot; class=&quot;firstRow&quot;&gt;&lt;th style=&quot;box-sizing: border-box; border-width: 0px; border-color: var(--border); margin: 0px; padding: 0px 0px 0.571429em; color: var(--tw-prose-headings); vertical-align: bottom; padding-inline: 0px 0.571429em; text-align: start;&quot;&gt;场景&lt;/th&gt;&lt;th style=&quot;box-sizing: border-box; border-width: 0px; border-color: var(--border); margin: 0px; padding: 0px 0px 0.571429em; color: var(--tw-prose-headings); vertical-align: bottom; padding-inline: 0.571429em 0px; text-align: start;&quot;&gt;是否适合&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px;&quot;&gt;&lt;tr style=&quot;box-sizing: border-box; border-width: 0px 0px 1px; border-style: solid; border-top-color: ; border-right-color: ; border-bottom-color: var(--tw-prose-td-borders); border-left-color: ; border-image: initial; margin: 0px; padding: 0px;&quot;&gt;&lt;td style=&quot;box-sizing: border-box; border-width: 0px; border-color: var(--border); margin: 0px; padding: 0.571429em 0px; vertical-align: baseline; padding-inline: 0px 0.571429em;&quot;&gt;SSH 密码忘了，需要重置 root 密码&lt;/td&gt;&lt;td style=&quot;box-sizing: border-box; border-width: 0px; border-color: var(--border); margin: 0px; padding: 0.571429em 0px; vertical-align: baseline; padding-inline: 0.571429em 0px;&quot;&gt;适合&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;box-sizing: border-box; border-width: 0px 0px 1px; border-style: solid; border-top-color: ; border-right-color: ; border-bottom-color: var(--tw-prose-td-borders); border-left-color: ; border-image: initial; margin: 0px; padding: 0px;&quot;&gt;&lt;td style=&quot;box-sizing: border-box; border-width: 0px; border-color: var(--border); margin: 0px; padding: 0.571429em 0px; vertical-align: baseline; padding-inline: 0px 0.571429em;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; font-family: var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,&amp;quot;Liberation Mono&amp;quot;,&amp;quot;Courier New&amp;quot;,monospace); font-feature-settings: var(--default-mono-font-feature-settings,normal); font-variation-settings: var(--default-mono-font-variation-settings,normal); font-size: 0.875em; color: var(--tw-prose-code); font-weight: 600; background-color: transparent;&quot;&gt;/etc/fstab&lt;/code&gt;&amp;nbsp;写错，系统启动失败&lt;/td&gt;&lt;td style=&quot;box-sizing: border-box; border-width: 0px; border-color: var(--border); margin: 0px; padding: 0.571429em 0px; vertical-align: baseline; padding-inline: 0.571429em 0px;&quot;&gt;适合&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;box-sizing: border-box; border-width: 0px 0px 1px; border-style: solid; border-top-color: ; border-right-color: ; border-bottom-color: var(--tw-prose-td-borders); border-left-color: ; border-image: initial; margin: 0px; padding: 0px;&quot;&gt;&lt;td style=&quot;box-sizing: border-box; border-width: 0px; border-color: var(--border); margin: 0px; padding: 0.571429em 0px; vertical-align: baseline; padding-inline: 0px 0.571429em;&quot;&gt;GRUB / initramfs 异常，VPS 进不了系统&lt;/td&gt;&lt;td style=&quot;box-sizing: border-box; border-width: 0px; border-color: var(--border); margin: 0px; padding: 0.571429em 0px; vertical-align: baseline; padding-inline: 0.571429em 0px;&quot;&gt;适合&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;box-sizing: border-box; border-width: 0px 0px 1px; border-style: solid; border-top-color: ; border-right-color: ; border-bottom-color: var(--tw-prose-td-borders); border-left-color: ; border-image: initial; margin: 0px; padding: 0px;&quot;&gt;&lt;td style=&quot;box-sizing: border-box; border-width: 0px; border-color: var(--border); margin: 0px; padding: 0.571429em 0px; vertical-align: baseline; padding-inline: 0px 0.571429em;&quot;&gt;文件系统损坏，需要离线 fsck&lt;/td&gt;&lt;td style=&quot;box-sizing: border-box; border-width: 0px; border-color: var(--border); margin: 0px; padding: 0.571429em 0px; vertical-align: baseline; padding-inline: 0.571429em 0px;&quot;&gt;适合&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;box-sizing: border-box; border-width: 0px 0px 1px; border-style: solid; border-top-color: ; border-right-color: ; border-bottom-color: var(--tw-prose-td-borders); border-left-color: ; border-image: initial; margin: 0px; padding: 0px;&quot;&gt;&lt;td style=&quot;box-sizing: border-box; border-width: 0px; border-color: var(--border); margin: 0px; padding: 0.571429em 0px; vertical-align: baseline; padding-inline: 0px 0.571429em;&quot;&gt;防火墙/SSH 配置写错，自己锁在外面&lt;/td&gt;&lt;td style=&quot;box-sizing: border-box; border-width: 0px; border-color: var(--border); margin: 0px; padding: 0.571429em 0px; vertical-align: baseline; padding-inline: 0.571429em 0px;&quot;&gt;适合&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;box-sizing: border-box; border-width: 0px 0px 1px; border-style: solid; border-top-color: ; border-right-color: ; border-bottom-color: var(--tw-prose-td-borders); border-left-color: ; border-image: initial; margin: 0px; padding: 0px;&quot;&gt;&lt;td style=&quot;box-sizing: border-box; border-width: 0px; border-color: var(--border); margin: 0px; padding: 0.571429em 0px; vertical-align: baseline; padding-inline: 0px 0.571429em;&quot;&gt;网站 502、Nginx 配置错误&lt;/td&gt;&lt;td style=&quot;box-sizing: border-box; border-width: 0px; border-color: var(--border); margin: 0px; padding: 0.571429em 0px; vertical-align: baseline; padding-inline: 0.571429em 0px;&quot;&gt;通常不需要，先普通 SSH 排查&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-top-color: ; border-right-color: ; border-bottom-color: var(--tw-prose-td-borders); border-left-color: ; border-image: initial; margin: 0px; padding: 0px;&quot;&gt;&lt;td style=&quot;box-sizing: border-box; border-width: 0px; border-color: var(--border); margin: 0px; padding: 0.571429em 0px; vertical-align: baseline; padding-inline: 0px 0.571429em;&quot;&gt;磁盘满了但还能 SSH&lt;/td&gt;&lt;td style=&quot;box-sizing: border-box; border-width: 0px; border-color: var(--border); margin: 0px; padding: 0.571429em 0px; vertical-align: baseline; padding-inline: 0.571429em 0px;&quot;&gt;不一定需要，先在线清理&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin-top: 1.25em; margin-bottom: 1.25em; padding: 0px;&quot;&gt;一个简单判断：&lt;span style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; font-weight: 600; color: var(--tw-prose-bold);&quot;&gt;如果原系统还能 SSH 进去，就优先在线排查；如果原系统进不去、启动不了、根分区不能安全修，就考虑救援模式。&lt;/span&gt;&lt;/p&gt;&lt;/section&gt;&lt;section style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;&lt;div class=&quot;heading-wrapper&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; position: relative;&quot;&gt;&lt;a class=&quot;anchor&quot; href=&quot;https://vpscost.com/blog/post/vps-rescue-mode-chroot-fsck-grub-recovery-2026#%E8%BF%9B%E5%85%A5-rescue-mode-%E5%89%8D%E5%85%88%E5%81%9A%E4%B8%A4%E4%BB%B6%E4%BA%8B&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: auto; padding: 0px; text-underline-offset: 4px; opacity: 0; border-radius: 6px; justify-content: center; align-items: center; width: 28px; height: 28px; display: flex; position: absolute; top: 15.9875px; left: -28px; transform: translateY(-50%);&quot;&gt;&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; class=&quot;indicator fill-current&quot; viewbox=&quot;0 0 16 16&quot; version=&quot;1.1&quot; width=&quot;16&quot; height=&quot;16&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;&lt;h2 id=&quot;进入-rescue-mode-前先做两件事&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 2em 0px 1em; padding: 0px; font-size: var(--text-2xl); color: var(--tw-prose-headings); line-height: var(--tw-leading,var(--text-2xl--line-height));&quot;&gt;进入 Rescue Mode 前先做两件事&lt;/h2&gt;&lt;/div&gt;&lt;p style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin-top: 1.25em; margin-bottom: 1.25em; padding: 0px;&quot;&gt;第一，能做快照就先做快照。救援模式里会改原系统文件，一旦你误删或&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; font-family: var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,&amp;quot;Liberation Mono&amp;quot;,&amp;quot;Courier New&amp;quot;,monospace); font-feature-settings: var(--default-mono-font-feature-settings,normal); font-variation-settings: var(--default-mono-font-variation-settings,normal); font-size: 0.875em; color: var(--tw-prose-code); font-weight: 600; background-color: transparent;&quot;&gt;fsck&lt;/code&gt;&amp;nbsp;操作不当，可能造成数据损失。&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin-top: 1.25em; margin-bottom: 1.25em; padding: 0px;&quot;&gt;第二，先看控制台/VNC。确认系统是卡在启动、密码问题、防火墙问题，还是文件系统问题。不要一上来就乱跑&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; font-family: var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,&amp;quot;Liberation Mono&amp;quot;,&amp;quot;Courier New&amp;quot;,monospace); font-feature-settings: var(--default-mono-font-feature-settings,normal); font-variation-settings: var(--default-mono-font-variation-settings,normal); font-size: 0.875em; color: var(--tw-prose-code); font-weight: 600; background-color: transparent;&quot;&gt;fsck&lt;/code&gt;。&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin-top: 1.25em; margin-bottom: 1.25em; padding: 0px;&quot;&gt;如果是疑似入侵事件，先保留证据：不要立刻重启，不要清日志，尽量先做快照或磁盘镜像。救援模式会改变挂载状态和部分时间戳，取证场景要更谨慎。&lt;/p&gt;&lt;/section&gt;&lt;section style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;&lt;div class=&quot;heading-wrapper&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; position: relative;&quot;&gt;&lt;a class=&quot;anchor&quot; href=&quot;https://vpscost.com/blog/post/vps-rescue-mode-chroot-fsck-grub-recovery-2026#%E7%AC%AC%E4%B8%80%E6%AD%A5%E4%BB%8E%E6%9C%8D%E5%8A%A1%E5%95%86%E9%9D%A2%E6%9D%BF%E5%90%AF%E5%8A%A8%E6%95%91%E6%8F%B4%E6%A8%A1%E5%BC%8F&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: auto; padding: 0px; text-underline-offset: 4px; opacity: 0; border-radius: 6px; justify-content: center; align-items: center; width: 28px; height: 28px; display: flex; position: absolute; top: 15.9875px; left: -28px; transform: translateY(-50%);&quot;&gt;&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; class=&quot;indicator fill-current&quot; viewbox=&quot;0 0 16 16&quot; version=&quot;1.1&quot; width=&quot;16&quot; height=&quot;16&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;&lt;h2 id=&quot;第一步从服务商面板启动救援模式&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 2em 0px 1em; padding: 0px; font-size: var(--text-2xl); color: var(--tw-prose-headings); line-height: var(--tw-leading,var(--text-2xl--line-height));&quot;&gt;第一步：从服务商面板启动救援模式&lt;/h2&gt;&lt;/div&gt;&lt;p style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin-top: 1.25em; margin-bottom: 1.25em; padding: 0px;&quot;&gt;不同服务商入口不一样，但名称通常类似：&lt;/p&gt;&lt;ul style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin-top: 1.25em; margin-bottom: 1.25em; padding: 0px; list-style-position: initial; list-style-image: initial; padding-inline-start: 1.625em;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;Rescue Mode&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Boot to rescue&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Recovery mode&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Rescue ISO&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;VNC + ISO&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin-top: 1.25em; margin-bottom: 1.25em; padding: 0px;&quot;&gt;启用后，VPS 会重启到临时系统。部分服务商会把临时 root 密码发到邮箱，部分会在控制台里显示登录信息。进入救援系统后，先看磁盘：&lt;/p&gt;&lt;/section&gt;&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;lsblk
fdisk&amp;nbsp;-l&lt;/pre&gt;&lt;section style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;&lt;p style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin-top: 1.25em; margin-bottom: 1.25em; padding: 0px;&quot;&gt;常见磁盘名包括：&lt;/p&gt;&lt;ul style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin-top: 1.25em; margin-bottom: 1.25em; padding: 0px; list-style-position: initial; list-style-image: initial; padding-inline-start: 1.625em;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;&lt;code style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; font-family: var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,&amp;quot;Liberation Mono&amp;quot;,&amp;quot;Courier New&amp;quot;,monospace); font-feature-settings: var(--default-mono-font-feature-settings,normal); font-variation-settings: var(--default-mono-font-variation-settings,normal); font-size: 0.875em; color: var(--tw-prose-code); font-weight: 600; background-color: transparent;&quot;&gt;/dev/vda&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;code style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; font-family: var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,&amp;quot;Liberation Mono&amp;quot;,&amp;quot;Courier New&amp;quot;,monospace); font-feature-settings: var(--default-mono-font-feature-settings,normal); font-variation-settings: var(--default-mono-font-variation-settings,normal); font-size: 0.875em; color: var(--tw-prose-code); font-weight: 600; background-color: transparent;&quot;&gt;/dev/sda&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;code style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; font-family: var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,&amp;quot;Liberation Mono&amp;quot;,&amp;quot;Courier New&amp;quot;,monospace); font-feature-settings: var(--default-mono-font-feature-settings,normal); font-variation-settings: var(--default-mono-font-variation-settings,normal); font-size: 0.875em; color: var(--tw-prose-code); font-weight: 600; background-color: transparent;&quot;&gt;/dev/nvme0n1&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin-top: 1.25em; margin-bottom: 1.25em; padding: 0px;&quot;&gt;分区可能是&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; font-family: var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,&amp;quot;Liberation Mono&amp;quot;,&amp;quot;Courier New&amp;quot;,monospace); font-feature-settings: var(--default-mono-font-feature-settings,normal); font-variation-settings: var(--default-mono-font-variation-settings,normal); font-size: 0.875em; color: var(--tw-prose-code); font-weight: 600; background-color: transparent;&quot;&gt;/dev/vda1&lt;/code&gt;、&lt;code style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; font-family: var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,&amp;quot;Liberation Mono&amp;quot;,&amp;quot;Courier New&amp;quot;,monospace); font-feature-settings: var(--default-mono-font-feature-settings,normal); font-variation-settings: var(--default-mono-font-variation-settings,normal); font-size: 0.875em; color: var(--tw-prose-code); font-weight: 600; background-color: transparent;&quot;&gt;/dev/sda1&lt;/code&gt;、&lt;code style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; font-family: var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,&amp;quot;Liberation Mono&amp;quot;,&amp;quot;Courier New&amp;quot;,monospace); font-feature-settings: var(--default-mono-font-feature-settings,normal); font-variation-settings: var(--default-mono-font-variation-settings,normal); font-size: 0.875em; color: var(--tw-prose-code); font-weight: 600; background-color: transparent;&quot;&gt;/dev/nvme0n1p1&lt;/code&gt;。不要照抄命令里的设备名，先用&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; font-family: var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,&amp;quot;Liberation Mono&amp;quot;,&amp;quot;Courier New&amp;quot;,monospace); font-feature-settings: var(--default-mono-font-feature-settings,normal); font-variation-settings: var(--default-mono-font-variation-settings,normal); font-size: 0.875em; color: var(--tw-prose-code); font-weight: 600; background-color: transparent;&quot;&gt;lsblk&lt;/code&gt;&amp;nbsp;确认。&lt;/p&gt;&lt;/section&gt;&lt;p&gt;&lt;section style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;&lt;div class=&quot;heading-wrapper&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; position: relative;&quot;&gt;&lt;a class=&quot;anchor&quot; href=&quot;https://vpscost.com/blog/post/vps-rescue-mode-chroot-fsck-grub-recovery-2026#%E7%AC%AC%E4%BA%8C%E6%AD%A5%E6%8C%82%E8%BD%BD%E5%8E%9F%E7%B3%BB%E7%BB%9F%E5%88%86%E5%8C%BA&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: auto; padding: 0px; text-underline-offset: 4px; opacity: 1; border-radius: 6px; justify-content: center; align-items: center; width: 28px; height: 28px; display: flex; position: absolute; top: 15.9875px; left: -28px; transform: translateY(-50%);&quot;&gt;&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; class=&quot;indicator fill-current&quot; viewbox=&quot;0 0 16 16&quot; version=&quot;1.1&quot; width=&quot;16&quot; height=&quot;16&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;&lt;h2 id=&quot;第二步挂载原系统分区&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 2em 0px 1em; padding: 0px; font-size: var(--text-2xl); color: var(--tw-prose-headings); line-height: var(--tw-leading,var(--text-2xl--line-height));&quot;&gt;第二步：挂载原系统分区&lt;/h2&gt;&lt;/div&gt;&lt;p style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin-top: 1.25em; margin-bottom: 1.25em; padding: 0px;&quot;&gt;假设根分区是&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; font-family: var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,&amp;quot;Liberation Mono&amp;quot;,&amp;quot;Courier New&amp;quot;,monospace); font-feature-settings: var(--default-mono-font-feature-settings,normal); font-variation-settings: var(--default-mono-font-variation-settings,normal); font-size: 0.875em; color: var(--tw-prose-code); font-weight: 600; background-color: transparent;&quot;&gt;/dev/vda1&lt;/code&gt;：&lt;/p&gt;&lt;/section&gt;&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;mkdir&amp;nbsp;-p&amp;nbsp;/mnt/sysroot
mount&amp;nbsp;/dev/vda1&amp;nbsp;/mnt/sysroot&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;如果系统有单独的&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; font-family: var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,&amp;quot;Liberation Mono&amp;quot;,&amp;quot;Courier New&amp;quot;,monospace); font-feature-settings: var(--default-mono-font-feature-settings,normal); font-variation-settings: var(--default-mono-font-variation-settings,normal); font-size: 0.875em; color: var(--tw-prose-code); font-weight: 600; text-wrap-mode: wrap;&quot;&gt;/boot&lt;/code&gt;&lt;span style=&quot;color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;&amp;nbsp;分区，也要挂载：&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;mount&amp;nbsp;/dev/vda2&amp;nbsp;/mnt/sysroot/boot&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;如果是 LVM，需要先激活卷组：&lt;/span&gt;&lt;span style=&quot;color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;&lt;/span&gt;&lt;br/&gt;&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;vgscan
vgchange&amp;nbsp;-ay
lsblk&lt;/pre&gt;&lt;p style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin-top: 1.25em; margin-bottom: 1.25em; padding: 0px; color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;然后再挂载对应的逻辑卷。&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin-top: 1.25em; margin-bottom: 1.25em; padding: 0px; color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;挂载后先确认是不是原系统：&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;ls&amp;nbsp;/mnt/sysroot
cat&amp;nbsp;/mnt/sysroot/etc/os-release&lt;/pre&gt;&lt;section style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;&lt;p style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin-top: 1.25em; margin-bottom: 1.25em; padding: 0px;&quot;&gt;如果能看到&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; font-family: var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,&amp;quot;Liberation Mono&amp;quot;,&amp;quot;Courier New&amp;quot;,monospace); font-feature-settings: var(--default-mono-font-feature-settings,normal); font-variation-settings: var(--default-mono-font-variation-settings,normal); font-size: 0.875em; color: var(--tw-prose-code); font-weight: 600; background-color: transparent;&quot;&gt;etc&lt;/code&gt;、&lt;code style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; font-family: var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,&amp;quot;Liberation Mono&amp;quot;,&amp;quot;Courier New&amp;quot;,monospace); font-feature-settings: var(--default-mono-font-feature-settings,normal); font-variation-settings: var(--default-mono-font-variation-settings,normal); font-size: 0.875em; color: var(--tw-prose-code); font-weight: 600; background-color: transparent;&quot;&gt;var&lt;/code&gt;、&lt;code style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; font-family: var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,&amp;quot;Liberation Mono&amp;quot;,&amp;quot;Courier New&amp;quot;,monospace); font-feature-settings: var(--default-mono-font-feature-settings,normal); font-variation-settings: var(--default-mono-font-variation-settings,normal); font-size: 0.875em; color: var(--tw-prose-code); font-weight: 600; background-color: transparent;&quot;&gt;home&lt;/code&gt;、&lt;code style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; font-family: var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,&amp;quot;Liberation Mono&amp;quot;,&amp;quot;Courier New&amp;quot;,monospace); font-feature-settings: var(--default-mono-font-feature-settings,normal); font-variation-settings: var(--default-mono-font-variation-settings,normal); font-size: 0.875em; color: var(--tw-prose-code); font-weight: 600; background-color: transparent;&quot;&gt;usr&lt;/code&gt;，基本就是原系统根目录。&lt;/p&gt;&lt;/section&gt;&lt;p&gt;&lt;section style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;&lt;div class=&quot;heading-wrapper&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; position: relative;&quot;&gt;&lt;a class=&quot;anchor&quot; href=&quot;https://vpscost.com/blog/post/vps-rescue-mode-chroot-fsck-grub-recovery-2026#%E7%AC%AC%E4%B8%89%E6%AD%A5%E8%BF%9B%E5%85%A5-chroot-%E4%BF%AE%E5%8E%9F%E7%B3%BB%E7%BB%9F&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: auto; padding: 0px; text-underline-offset: 4px; opacity: 0; border-radius: 6px; justify-content: center; align-items: center; width: 28px; height: 28px; display: flex; position: absolute; top: 15.9875px; left: -28px; transform: translateY(-50%);&quot;&gt;&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; class=&quot;indicator fill-current&quot; viewbox=&quot;0 0 16 16&quot; version=&quot;1.1&quot; width=&quot;16&quot; height=&quot;16&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;&lt;h2 id=&quot;第三步进入-chroot-修原系统&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 2em 0px 1em; padding: 0px; font-size: var(--text-2xl); color: var(--tw-prose-headings); line-height: var(--tw-leading,var(--text-2xl--line-height));&quot;&gt;第三步：进入 chroot 修原系统&lt;/h2&gt;&lt;/div&gt;&lt;p style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin-top: 1.25em; margin-bottom: 1.25em; padding: 0px;&quot;&gt;很多修复操作需要在原系统环境里执行，这时要绑定几个系统目录：&lt;/p&gt;&lt;/section&gt;&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;mount&amp;nbsp;--bind&amp;nbsp;/dev&amp;nbsp;/mnt/sysroot/dev
mount&amp;nbsp;--bind&amp;nbsp;/proc&amp;nbsp;/mnt/sysroot/proc
mount&amp;nbsp;--bind&amp;nbsp;/sys&amp;nbsp;/mnt/sysroot/sys
mount&amp;nbsp;--bind&amp;nbsp;/run&amp;nbsp;/mnt/sysroot/runchroot&amp;nbsp;/mnt/sysroot&amp;nbsp;/bin/bash&lt;/pre&gt;&lt;section style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;&lt;p style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin-top: 1.25em; margin-bottom: 1.25em; padding: 0px;&quot;&gt;进入后，你看到的&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; font-family: var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,&amp;quot;Liberation Mono&amp;quot;,&amp;quot;Courier New&amp;quot;,monospace); font-feature-settings: var(--default-mono-font-feature-settings,normal); font-variation-settings: var(--default-mono-font-variation-settings,normal); font-size: 0.875em; color: var(--tw-prose-code); font-weight: 600; background-color: transparent;&quot;&gt;/&lt;/code&gt;&amp;nbsp;就是原系统根目录。现在可以像登录原系统一样改配置。&lt;/p&gt;&lt;/section&gt;&lt;p&gt;&lt;section style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;&lt;div class=&quot;heading-wrapper&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; position: relative;&quot;&gt;&lt;a class=&quot;anchor&quot; href=&quot;https://vpscost.com/blog/post/vps-rescue-mode-chroot-fsck-grub-recovery-2026#%E5%9C%BA%E6%99%AF%E4%B8%80%E9%87%8D%E7%BD%AE-root-%E5%AF%86%E7%A0%81&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: auto; padding: 0px; text-underline-offset: 4px; opacity: 0; border-radius: 6px; justify-content: center; align-items: center; width: 28px; height: 28px; display: flex; position: absolute; top: 15.9875px; left: -28px; transform: translateY(-50%);&quot;&gt;&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; class=&quot;indicator fill-current&quot; viewbox=&quot;0 0 16 16&quot; version=&quot;1.1&quot; width=&quot;16&quot; height=&quot;16&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;&lt;h2 id=&quot;场景一重置-root-密码&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 2em 0px 1em; padding: 0px; font-size: var(--text-2xl); color: var(--tw-prose-headings); line-height: var(--tw-leading,var(--text-2xl--line-height));&quot;&gt;场景一：重置 root 密码&lt;/h2&gt;&lt;/div&gt;&lt;p style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin-top: 1.25em; margin-bottom: 1.25em; padding: 0px;&quot;&gt;在 chroot 里执行：&lt;/p&gt;&lt;/section&gt;&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;passwd&amp;nbsp;root&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;如果系统禁用了 root SSH 登录，还要检查：&lt;/span&gt;&lt;span style=&quot;color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;&lt;/span&gt;&lt;br/&gt;&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;nano&amp;nbsp;/etc/ssh/sshd_config&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;重点看：&lt;/span&gt;&lt;span style=&quot;color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;&lt;/span&gt;&lt;br/&gt;&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;PermitRootLogin
PasswordAuthentication&lt;/pre&gt;&lt;section style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;&lt;p style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin-top: 1.25em; margin-bottom: 1.25em; padding: 0px;&quot;&gt;不要为了省事长期开启 root 密码登录。更稳妥的做法是重置后登录一次，重新配置密钥，再关闭密码登录。&lt;/p&gt;&lt;/section&gt;&lt;p&gt;&lt;section style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;&lt;div class=&quot;heading-wrapper&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; position: relative;&quot;&gt;&lt;a class=&quot;anchor&quot; href=&quot;https://vpscost.com/blog/post/vps-rescue-mode-chroot-fsck-grub-recovery-2026#%E5%9C%BA%E6%99%AF%E4%BA%8C%E4%BF%AE%E5%A4%8D-fstab-%E5%86%99%E9%94%99%E5%AF%BC%E8%87%B4%E6%97%A0%E6%B3%95%E5%90%AF%E5%8A%A8&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: auto; padding: 0px; text-underline-offset: 4px; opacity: 0; border-radius: 6px; justify-content: center; align-items: center; width: 28px; height: 28px; display: flex; position: absolute; top: 15.9875px; left: -28px; transform: translateY(-50%);&quot;&gt;&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; class=&quot;indicator fill-current&quot; viewbox=&quot;0 0 16 16&quot; version=&quot;1.1&quot; width=&quot;16&quot; height=&quot;16&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;&lt;h2 id=&quot;场景二修复-fstab-写错导致无法启动&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 2em 0px 1em; padding: 0px; font-size: var(--text-2xl); color: var(--tw-prose-headings); line-height: var(--tw-leading,var(--text-2xl--line-height));&quot;&gt;场景二：修复 fstab 写错导致无法启动&lt;/h2&gt;&lt;/div&gt;&lt;p style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin-top: 1.25em; margin-bottom: 1.25em; padding: 0px;&quot;&gt;如果你改错了&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; font-family: var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,&amp;quot;Liberation Mono&amp;quot;,&amp;quot;Courier New&amp;quot;,monospace); font-feature-settings: var(--default-mono-font-feature-settings,normal); font-variation-settings: var(--default-mono-font-variation-settings,normal); font-size: 0.875em; color: var(--tw-prose-code); font-weight: 600; background-color: transparent;&quot;&gt;/etc/fstab&lt;/code&gt;，系统可能会卡在 emergency mode。进入 chroot 后检查：&lt;/p&gt;&lt;/section&gt;&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;nano&amp;nbsp;/etc/fstab&lt;/pre&gt;&lt;p style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin-top: 1.25em; margin-bottom: 1.25em; padding: 0px; color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;临时排查时，可以先把可疑挂载行注释掉。尤其是新加的数据盘、网络盘、对象存储挂载、错误 UUID。&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin-top: 1.25em; margin-bottom: 1.25em; padding: 0px; color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;查看分区 UUID：&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;blkid&lt;/pre&gt;&lt;section style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;&lt;p style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin-top: 1.25em; margin-bottom: 1.25em; padding: 0px;&quot;&gt;确认无误后再写回&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; font-family: var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,&amp;quot;Liberation Mono&amp;quot;,&amp;quot;Courier New&amp;quot;,monospace); font-feature-settings: var(--default-mono-font-feature-settings,normal); font-variation-settings: var(--default-mono-font-variation-settings,normal); font-size: 0.875em; color: var(--tw-prose-code); font-weight: 600; background-color: transparent;&quot;&gt;fstab&lt;/code&gt;。不要把救援系统里的设备名当成永久配置，最好用 UUID。&lt;/p&gt;&lt;/section&gt;&lt;p&gt;&lt;section style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;&lt;div class=&quot;heading-wrapper&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; position: relative;&quot;&gt;&lt;a class=&quot;anchor&quot; href=&quot;https://vpscost.com/blog/post/vps-rescue-mode-chroot-fsck-grub-recovery-2026#%E5%9C%BA%E6%99%AF%E4%B8%89%E7%A6%BB%E7%BA%BF-fsck-%E4%BF%AE%E6%96%87%E4%BB%B6%E7%B3%BB%E7%BB%9F&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: auto; padding: 0px; text-underline-offset: 4px; opacity: 0; border-radius: 6px; justify-content: center; align-items: center; width: 28px; height: 28px; display: flex; position: absolute; top: 15.9875px; left: -28px; transform: translateY(-50%);&quot;&gt;&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; class=&quot;indicator fill-current&quot; viewbox=&quot;0 0 16 16&quot; version=&quot;1.1&quot; width=&quot;16&quot; height=&quot;16&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;&lt;h2 id=&quot;场景三离线-fsck-修文件系统&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 2em 0px 1em; padding: 0px; font-size: var(--text-2xl); color: var(--tw-prose-headings); line-height: var(--tw-leading,var(--text-2xl--line-height));&quot;&gt;场景三：离线 fsck 修文件系统&lt;/h2&gt;&lt;/div&gt;&lt;p style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin-top: 1.25em; margin-bottom: 1.25em; padding: 0px;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; font-family: var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,&amp;quot;Liberation Mono&amp;quot;,&amp;quot;Courier New&amp;quot;,monospace); font-feature-settings: var(--default-mono-font-feature-settings,normal); font-variation-settings: var(--default-mono-font-variation-settings,normal); font-size: 0.875em; color: var(--tw-prose-code); font-weight: 600; background-color: transparent;&quot;&gt;fsck&lt;/code&gt;&amp;nbsp;一定要谨慎。原则是：&lt;span style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; font-weight: 600; color: var(--tw-prose-bold);&quot;&gt;不要对已经挂载的分区直接 fsck。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin-top: 1.25em; margin-bottom: 1.25em; padding: 0px;&quot;&gt;如果你已经挂载了根分区，先退出 chroot 并卸载：&lt;/p&gt;&lt;/section&gt;&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;exitumount&amp;nbsp;/mnt/sysroot/run
umount&amp;nbsp;/mnt/sysroot/sys
umount&amp;nbsp;/mnt/sysroot/proc
umount&amp;nbsp;/mnt/sysroot/dev
umount&amp;nbsp;/mnt/sysroot&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;然后再执行：&lt;/span&gt;&lt;span style=&quot;color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;&lt;/span&gt;&lt;br/&gt;&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;fsck&amp;nbsp;-f&amp;nbsp;/dev/vda1&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;如果确定要自动回答 yes：&lt;/span&gt;&lt;span style=&quot;color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;&lt;/span&gt;&lt;br/&gt;&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;fsck&amp;nbsp;-fy&amp;nbsp;/dev/vda1&lt;/pre&gt;&lt;section style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;&lt;p style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin-top: 1.25em; margin-bottom: 1.25em; padding: 0px;&quot;&gt;但对重要数据盘，不建议一上来就&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; font-family: var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,&amp;quot;Liberation Mono&amp;quot;,&amp;quot;Courier New&amp;quot;,monospace); font-feature-settings: var(--default-mono-font-feature-settings,normal); font-variation-settings: var(--default-mono-font-variation-settings,normal); font-size: 0.875em; color: var(--tw-prose-code); font-weight: 600; background-color: transparent;&quot;&gt;-y&lt;/code&gt;。先看报错，再决定是否自动修。&lt;/p&gt;&lt;/section&gt;&lt;p&gt;&lt;section style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;&lt;div class=&quot;heading-wrapper&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; position: relative;&quot;&gt;&lt;a class=&quot;anchor&quot; href=&quot;https://vpscost.com/blog/post/vps-rescue-mode-chroot-fsck-grub-recovery-2026#%E5%9C%BA%E6%99%AF%E5%9B%9B%E4%BF%AE%E5%A4%8D-grub--%E5%90%AF%E5%8A%A8%E5%BC%95%E5%AF%BC&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: auto; padding: 0px; text-underline-offset: 4px; opacity: 0; border-radius: 6px; justify-content: center; align-items: center; width: 28px; height: 28px; display: flex; position: absolute; top: 15.9875px; left: -28px; transform: translateY(-50%);&quot;&gt;&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; class=&quot;indicator fill-current&quot; viewbox=&quot;0 0 16 16&quot; version=&quot;1.1&quot; width=&quot;16&quot; height=&quot;16&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;&lt;h2 id=&quot;场景四修复-grub--启动引导&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 2em 0px 1em; padding: 0px; font-size: var(--text-2xl); color: var(--tw-prose-headings); line-height: var(--tw-leading,var(--text-2xl--line-height));&quot;&gt;场景四：修复 GRUB / 启动引导&lt;/h2&gt;&lt;/div&gt;&lt;p style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin-top: 1.25em; margin-bottom: 1.25em; padding: 0px;&quot;&gt;如果 VNC 里看到&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; font-family: var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,&amp;quot;Liberation Mono&amp;quot;,&amp;quot;Courier New&amp;quot;,monospace); font-feature-settings: var(--default-mono-font-feature-settings,normal); font-variation-settings: var(--default-mono-font-variation-settings,normal); font-size: 0.875em; color: var(--tw-prose-code); font-weight: 600; background-color: transparent;&quot;&gt;grub rescue&amp;gt;&lt;/code&gt;、找不到内核、升级内核后启动失败，可以尝试重装 GRUB。&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin-top: 1.25em; margin-bottom: 1.25em; padding: 0px;&quot;&gt;先重新挂载并进入 chroot：&lt;/p&gt;&lt;/section&gt;&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;mount&amp;nbsp;/dev/vda1&amp;nbsp;/mnt/sysroot
mount&amp;nbsp;--bind&amp;nbsp;/dev&amp;nbsp;/mnt/sysroot/dev
mount&amp;nbsp;--bind&amp;nbsp;/proc&amp;nbsp;/mnt/sysroot/proc
mount&amp;nbsp;--bind&amp;nbsp;/sys&amp;nbsp;/mnt/sysroot/sys
mount&amp;nbsp;--bind&amp;nbsp;/run&amp;nbsp;/mnt/sysroot/runchroot&amp;nbsp;/mnt/sysroot&amp;nbsp;/bin/bash&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;BIOS 启动的常见修复：&lt;/span&gt;&lt;span style=&quot;color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;&lt;/span&gt;&lt;br/&gt;&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;grub-install&amp;nbsp;/dev/vda
update-grub&lt;/pre&gt;&lt;p style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin-top: 1.25em; margin-bottom: 1.25em; padding: 0px; color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;注意：&lt;code style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; font-family: var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,&amp;quot;Liberation Mono&amp;quot;,&amp;quot;Courier New&amp;quot;,monospace); font-feature-settings: var(--default-mono-font-feature-settings,normal); font-variation-settings: var(--default-mono-font-variation-settings,normal); font-size: 0.875em; color: var(--tw-prose-code); font-weight: 600; background-color: transparent;&quot;&gt;grub-install&lt;/code&gt;&amp;nbsp;后面通常是磁盘&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; font-family: var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,&amp;quot;Liberation Mono&amp;quot;,&amp;quot;Courier New&amp;quot;,monospace); font-feature-settings: var(--default-mono-font-feature-settings,normal); font-variation-settings: var(--default-mono-font-variation-settings,normal); font-size: 0.875em; color: var(--tw-prose-code); font-weight: 600; background-color: transparent;&quot;&gt;/dev/vda&lt;/code&gt;，不是分区&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; font-family: var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,&amp;quot;Liberation Mono&amp;quot;,&amp;quot;Courier New&amp;quot;,monospace); font-feature-settings: var(--default-mono-font-feature-settings,normal); font-variation-settings: var(--default-mono-font-variation-settings,normal); font-size: 0.875em; color: var(--tw-prose-code); font-weight: 600; background-color: transparent;&quot;&gt;/dev/vda1&lt;/code&gt;。&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin-top: 1.25em; margin-bottom: 1.25em; padding: 0px; color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;如果是 UEFI 机器，路径和命令可能不同，需要确认 EFI 分区是否挂载到&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; font-family: var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,&amp;quot;Liberation Mono&amp;quot;,&amp;quot;Courier New&amp;quot;,monospace); font-feature-settings: var(--default-mono-font-feature-settings,normal); font-variation-settings: var(--default-mono-font-variation-settings,normal); font-size: 0.875em; color: var(--tw-prose-code); font-weight: 600; background-color: transparent;&quot;&gt;/boot/efi&lt;/code&gt;。不确定时先看：&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;lsblk&amp;nbsp;-f
findmnt&amp;nbsp;/boot/efi&lt;/pre&gt;&lt;div class=&quot;heading-wrapper&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; position: relative; color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;&lt;h2 id=&quot;场景五ssh-配置或防火墙把自己锁了&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 2em 0px 1em; padding: 0px; font-size: var(--text-2xl); color: var(--tw-prose-headings); line-height: var(--tw-leading,var(--text-2xl--line-height));&quot;&gt;场景五：SSH 配置或防火墙把自己锁了&lt;/h2&gt;&lt;/div&gt;&lt;p style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin-top: 1.25em; margin-bottom: 1.25em; padding: 0px; color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;如果你改错了 SSH 端口、防火墙规则或&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; font-family: var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,&amp;quot;Liberation Mono&amp;quot;,&amp;quot;Courier New&amp;quot;,monospace); font-feature-settings: var(--default-mono-font-feature-settings,normal); font-variation-settings: var(--default-mono-font-variation-settings,normal); font-size: 0.875em; color: var(--tw-prose-code); font-weight: 600; background-color: transparent;&quot;&gt;sshd_config&lt;/code&gt;，可以在 chroot 中修：&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;nano&amp;nbsp;/etc/ssh/sshd_config&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;也可以先禁用危险的防火墙规则。比如 UFW：&lt;/span&gt;&lt;span style=&quot;color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;&lt;/span&gt;&lt;br/&gt;&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;ufw&amp;nbsp;disable&lt;/pre&gt;&lt;section style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;&lt;p style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin-top: 1.25em; margin-bottom: 1.25em; padding: 0px;&quot;&gt;如果用的是 iptables/nftables，救援环境里不一定能完整反映原系统运行状态。更可靠的做法是修改原系统的规则文件或启动脚本，而不是只看当前临时环境。&lt;/p&gt;&lt;/section&gt;&lt;p&gt;&lt;section style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;&lt;div class=&quot;heading-wrapper&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; position: relative;&quot;&gt;&lt;a class=&quot;anchor&quot; href=&quot;https://vpscost.com/blog/post/vps-rescue-mode-chroot-fsck-grub-recovery-2026#%E9%80%80%E5%87%BA%E6%95%91%E6%8F%B4%E6%A8%A1%E5%BC%8F%E5%89%8D%E7%9A%84%E6%A3%80%E6%9F%A5%E6%B8%85%E5%8D%95&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: auto; padding: 0px; text-underline-offset: 4px; opacity: 0; border-radius: 6px; justify-content: center; align-items: center; width: 28px; height: 28px; display: flex; position: absolute; top: 15.9875px; left: -28px; transform: translateY(-50%);&quot;&gt;&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; class=&quot;indicator fill-current&quot; viewbox=&quot;0 0 16 16&quot; version=&quot;1.1&quot; width=&quot;16&quot; height=&quot;16&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;&lt;h2 id=&quot;退出救援模式前的检查清单&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 2em 0px 1em; padding: 0px; font-size: var(--text-2xl); color: var(--tw-prose-headings); line-height: var(--tw-leading,var(--text-2xl--line-height));&quot;&gt;退出救援模式前的检查清单&lt;/h2&gt;&lt;/div&gt;&lt;p style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin-top: 1.25em; margin-bottom: 1.25em; padding: 0px;&quot;&gt;修完后不要直接在面板点重启，先按顺序退出和卸载：&lt;/p&gt;&lt;/section&gt;&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;exitumount&amp;nbsp;/mnt/sysroot/run
umount&amp;nbsp;/mnt/sysroot/sys
umount&amp;nbsp;/mnt/sysroot/proc
umount&amp;nbsp;/mnt/sysroot/dev
umount&amp;nbsp;/mnt/sysroot/boot&amp;nbsp;2&amp;gt;/dev/null
umount&amp;nbsp;/mnt/sysroot&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;如果提示 busy，先查谁占用：&lt;/span&gt;&lt;span style=&quot;color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;&lt;/span&gt;&lt;br/&gt;&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;lsof&amp;nbsp;+f&amp;nbsp;--&amp;nbsp;/mnt/sysroot&lt;/pre&gt;&lt;p style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin-top: 1.25em; margin-bottom: 1.25em; padding: 0px; color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;确认卸载完成后，到服务商面板关闭 Rescue Mode，切回硬盘启动，再重启 VPS。&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin-top: 1.25em; margin-bottom: 1.25em; padding: 0px; color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;启动后第一时间检查：&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;systemctl&amp;nbsp;--failed
journalctl&amp;nbsp;-b&amp;nbsp;-p&amp;nbsp;warning
ss&amp;nbsp;-lntp&lt;/pre&gt;&lt;section style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;&lt;p style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin-top: 1.25em; margin-bottom: 1.25em; padding: 0px;&quot;&gt;确认 SSH、网站、数据库都正常，再删临时弱密码、恢复防火墙、安全组和备份计划。&lt;/p&gt;&lt;/section&gt;&lt;p&gt;&lt;section style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;&lt;div class=&quot;heading-wrapper&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; position: relative;&quot;&gt;&lt;a class=&quot;anchor&quot; href=&quot;https://vpscost.com/blog/post/vps-rescue-mode-chroot-fsck-grub-recovery-2026#%E5%B8%B8%E8%A7%81%E9%94%99%E8%AF%AF&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: auto; padding: 0px; text-underline-offset: 4px; opacity: 0; border-radius: 6px; justify-content: center; align-items: center; width: 28px; height: 28px; display: flex; position: absolute; top: 15.9875px; left: -28px; transform: translateY(-50%);&quot;&gt;&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; class=&quot;indicator fill-current&quot; viewbox=&quot;0 0 16 16&quot; version=&quot;1.1&quot; width=&quot;16&quot; height=&quot;16&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;&lt;h2 id=&quot;常见错误&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 2em 0px 1em; padding: 0px; font-size: var(--text-2xl); color: var(--tw-prose-headings); line-height: var(--tw-leading,var(--text-2xl--line-height));&quot;&gt;常见错误&lt;/h2&gt;&lt;/div&gt;&lt;section style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px;&quot;&gt;&lt;div class=&quot;heading-wrapper&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; position: relative;&quot;&gt;&lt;a class=&quot;anchor&quot; href=&quot;https://vpscost.com/blog/post/vps-rescue-mode-chroot-fsck-grub-recovery-2026#%E9%94%99%E8%AF%AF%E4%B8%80%E8%AE%BE%E5%A4%87%E5%90%8D%E7%85%A7%E6%8A%84%E6%95%99%E7%A8%8B&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: auto; padding: 0px; text-underline-offset: 4px; opacity: 0; border-radius: 6px; justify-content: center; align-items: center; width: 28px; height: 28px; display: flex; position: absolute; top: 16px; left: -28px; transform: translateY(-50%);&quot;&gt;&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; class=&quot;indicator fill-current&quot; viewbox=&quot;0 0 16 16&quot; version=&quot;1.1&quot; width=&quot;16&quot; height=&quot;16&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;&lt;h3 id=&quot;错误一设备名照抄教程&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 1.6em 0px 0.6em; padding: 0px; font-size: 1.25em; font-weight: var(--font-weight-bold); color: var(--tw-prose-headings); line-height: 1.6; --tw-font-weight: var(--font-weight-bold);&quot;&gt;错误一：设备名照抄教程&lt;/h3&gt;&lt;/div&gt;&lt;p style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin-top: 1.25em; margin-bottom: 1.25em; padding: 0px;&quot;&gt;你的机器可能是&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; font-family: var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,&amp;quot;Liberation Mono&amp;quot;,&amp;quot;Courier New&amp;quot;,monospace); font-feature-settings: var(--default-mono-font-feature-settings,normal); font-variation-settings: var(--default-mono-font-variation-settings,normal); font-size: 0.875em; color: var(--tw-prose-code); font-weight: 600; background-color: transparent;&quot;&gt;/dev/vda1&lt;/code&gt;，也可能是&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; font-family: var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,&amp;quot;Liberation Mono&amp;quot;,&amp;quot;Courier New&amp;quot;,monospace); font-feature-settings: var(--default-mono-font-feature-settings,normal); font-variation-settings: var(--default-mono-font-variation-settings,normal); font-size: 0.875em; color: var(--tw-prose-code); font-weight: 600; background-color: transparent;&quot;&gt;/dev/sda1&lt;/code&gt;&amp;nbsp;或&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; font-family: var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,&amp;quot;Liberation Mono&amp;quot;,&amp;quot;Courier New&amp;quot;,monospace); font-feature-settings: var(--default-mono-font-feature-settings,normal); font-variation-settings: var(--default-mono-font-variation-settings,normal); font-size: 0.875em; color: var(--tw-prose-code); font-weight: 600; background-color: transparent;&quot;&gt;/dev/nvme0n1p1&lt;/code&gt;。永远先看&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; font-family: var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,&amp;quot;Liberation Mono&amp;quot;,&amp;quot;Courier New&amp;quot;,monospace); font-feature-settings: var(--default-mono-font-feature-settings,normal); font-variation-settings: var(--default-mono-font-variation-settings,normal); font-size: 0.875em; color: var(--tw-prose-code); font-weight: 600; background-color: transparent;&quot;&gt;lsblk&lt;/code&gt;。&lt;/p&gt;&lt;/section&gt;&lt;section style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px;&quot;&gt;&lt;div class=&quot;heading-wrapper&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; position: relative;&quot;&gt;&lt;a class=&quot;anchor&quot; href=&quot;https://vpscost.com/blog/post/vps-rescue-mode-chroot-fsck-grub-recovery-2026#%E9%94%99%E8%AF%AF%E4%BA%8C%E6%8C%82%E8%BD%BD%E7%8A%B6%E6%80%81%E4%B8%8B-fsck&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: auto; padding: 0px; text-underline-offset: 4px; opacity: 0; border-radius: 6px; justify-content: center; align-items: center; width: 28px; height: 28px; display: flex; position: absolute; top: 16px; left: -28px; transform: translateY(-50%);&quot;&gt;&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; class=&quot;indicator fill-current&quot; viewbox=&quot;0 0 16 16&quot; version=&quot;1.1&quot; width=&quot;16&quot; height=&quot;16&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;&lt;h3 id=&quot;错误二挂载状态下-fsck&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 1.6em 0px 0.6em; padding: 0px; font-size: 1.25em; font-weight: var(--font-weight-bold); color: var(--tw-prose-headings); line-height: 1.6; --tw-font-weight: var(--font-weight-bold);&quot;&gt;错误二：挂载状态下 fsck&lt;/h3&gt;&lt;/div&gt;&lt;p style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin-top: 1.25em; margin-bottom: 1.25em; padding: 0px;&quot;&gt;这是最危险的误操作之一。要么先卸载，要么确认该分区没被挂载。&lt;/p&gt;&lt;/section&gt;&lt;section style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px;&quot;&gt;&lt;div class=&quot;heading-wrapper&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; position: relative;&quot;&gt;&lt;a class=&quot;anchor&quot; href=&quot;https://vpscost.com/blog/post/vps-rescue-mode-chroot-fsck-grub-recovery-2026#%E9%94%99%E8%AF%AF%E4%B8%89%E5%BF%98%E8%AE%B0%E5%85%B3%E9%97%AD-rescue-mode&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: auto; padding: 0px; text-underline-offset: 4px; opacity: 0; border-radius: 6px; justify-content: center; align-items: center; width: 28px; height: 28px; display: flex; position: absolute; top: 16px; left: -28px; transform: translateY(-50%);&quot;&gt;&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; class=&quot;indicator fill-current&quot; viewbox=&quot;0 0 16 16&quot; version=&quot;1.1&quot; width=&quot;16&quot; height=&quot;16&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;&lt;h3 id=&quot;错误三忘记关闭-rescue-mode&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 1.6em 0px 0.6em; padding: 0px; font-size: 1.25em; font-weight: var(--font-weight-bold); color: var(--tw-prose-headings); line-height: 1.6; --tw-font-weight: var(--font-weight-bold);&quot;&gt;错误三：忘记关闭 Rescue Mode&lt;/h3&gt;&lt;/div&gt;&lt;p style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin-top: 1.25em; margin-bottom: 1.25em; padding: 0px;&quot;&gt;修完后如果不切回硬盘启动，下一次还是进救援系统，看起来像“没修好”。&lt;/p&gt;&lt;/section&gt;&lt;section style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px;&quot;&gt;&lt;div class=&quot;heading-wrapper&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; position: relative;&quot;&gt;&lt;a class=&quot;anchor&quot; href=&quot;https://vpscost.com/blog/post/vps-rescue-mode-chroot-fsck-grub-recovery-2026#%E9%94%99%E8%AF%AF%E5%9B%9B%E9%87%8D%E7%BD%AE-root-%E5%AF%86%E7%A0%81%E5%90%8E%E9%95%BF%E6%9C%9F%E5%BC%80%E6%94%BE%E5%AF%86%E7%A0%81%E7%99%BB%E5%BD%95&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: auto; padding: 0px; text-underline-offset: 4px; opacity: 0; border-radius: 6px; justify-content: center; align-items: center; width: 28px; height: 28px; display: flex; position: absolute; top: 16px; left: -28px; transform: translateY(-50%);&quot;&gt;&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; class=&quot;indicator fill-current&quot; viewbox=&quot;0 0 16 16&quot; version=&quot;1.1&quot; width=&quot;16&quot; height=&quot;16&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;&lt;h3 id=&quot;错误四重置-root-密码后长期开放密码登录&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 1.6em 0px 0.6em; padding: 0px; font-size: 1.25em; font-weight: var(--font-weight-bold); color: var(--tw-prose-headings); line-height: 1.6; --tw-font-weight: var(--font-weight-bold);&quot;&gt;错误四：重置 root 密码后长期开放密码登录&lt;/h3&gt;&lt;/div&gt;&lt;p style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin-top: 1.25em; margin-bottom: 1.25em; padding: 0px;&quot;&gt;救急可以，长期不建议。恢复后应重新配置 SSH 密钥、关闭密码登录、限制登录来源。&lt;/p&gt;&lt;/section&gt;&lt;/section&gt;&lt;section style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; color: lab(27.3812 1.32917 3.57789); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, sans-serif, Arial, system-ui, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, STHeitiSC-Light, simsun, 宋体, &amp;quot;WenQuanYi Zen Hei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;; font-size: 16px; text-wrap-mode: wrap; background-color: lab(100 0 0);&quot;&gt;&lt;div class=&quot;heading-wrapper&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; position: relative;&quot;&gt;&lt;a class=&quot;anchor&quot; href=&quot;https://vpscost.com/blog/post/vps-rescue-mode-chroot-fsck-grub-recovery-2026#%E6%9C%80%E5%90%8E%E5%BB%BA%E8%AE%AE&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: auto; padding: 0px; text-underline-offset: 4px; opacity: 0; border-radius: 6px; justify-content: center; align-items: center; width: 28px; height: 28px; display: flex; position: absolute; top: 15.9875px; left: -28px; transform: translateY(-50%);&quot;&gt;&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; class=&quot;indicator fill-current&quot; viewbox=&quot;0 0 16 16&quot; version=&quot;1.1&quot; width=&quot;16&quot; height=&quot;16&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;&lt;h2 id=&quot;最后建议&quot; style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 2em 0px 1em; padding: 0px; font-size: var(--text-2xl); color: var(--tw-prose-headings); line-height: var(--tw-leading,var(--text-2xl--line-height));&quot;&gt;最后建议&lt;/h2&gt;&lt;/div&gt;&lt;p style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin-top: 1.25em; margin-bottom: 1.25em; padding: 0px;&quot;&gt;救援模式不是万能药，但它是 VPS 用户必须会的最后一道保险。它最适合处理三类问题：启动失败、自己锁在外面、原系统文件需要离线修复。&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin-top: 1.25em; margin-bottom: 1.25em; padding: 0px;&quot;&gt;真正稳妥的流程是：先看控制台判断问题，再做快照，进入 Rescue Mode，挂载原系统，必要时 chroot，修完后正确卸载并切回硬盘启动。只要你不盲目&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; border-width: 0px; border-style: solid; border-color: var(--border); border-image: initial; margin: 0px; padding: 0px; font-family: var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,&amp;quot;Liberation Mono&amp;quot;,&amp;quot;Courier New&amp;quot;,monospace); font-feature-settings: var(--default-mono-font-feature-settings,normal); font-variation-settings: var(--default-mono-font-variation-settings,normal); font-size: 0.875em; color: var(--tw-prose-code); font-weight: 600; background-color: transparent;&quot;&gt;fsck -y&lt;/code&gt;、不乱删文件，大多数“SSH 进不去只能重装”的场景，其实都还有救。&lt;/p&gt;&lt;/section&gt;&lt;/p&gt;</description><pubDate>Mon, 13 Jul 2026 14:42:28 +0800</pubDate></item><item><title>WPS为PDF文档每一页批量添加签名的技巧</title><link>https://www.70ol.com/jingyan/364.html</link><description>&lt;p style=&quot;box-sizing: inherit; margin-top: 0px; margin-bottom: 1em; padding: 0px; overflow-wrap: break-word; color: rgb(8, 15, 23); line-height: 1.625; font-size: 16px; max-width: 100%; min-height: 1.625em; text-align: justify; text-wrap-mode: wrap; background-color: rgb(255, 255, 255); font-family: initial !important;&quot;&gt;&lt;span style=&quot;box-sizing: inherit; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; overflow-wrap: break-word; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;使用WPS Office打开PDF文件。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin-top: 16px; margin-bottom: 1em; padding: 0px; overflow-wrap: break-word; color: rgb(8, 15, 23); line-height: 1.625; font-size: 16px; max-width: 100%; min-height: 1.625em; text-align: justify; text-wrap-mode: wrap; background-color: rgb(255, 255, 255); font-family: initial !important;&quot;&gt;&lt;span style=&quot;box-sizing: inherit; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; overflow-wrap: break-word; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&lt;br style=&quot;box-sizing: inherit; margin: 0px; padding: 0px; overflow-wrap: break-word; font-family: initial !important;&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin-top: 16px; margin-bottom: 1em; padding: 0px; overflow-wrap: break-word; color: rgb(8, 15, 23); line-height: 1.625; font-size: 16px; max-width: 100%; min-height: 1.625em; text-align: justify; text-wrap-mode: wrap; background-color: rgb(255, 255, 255); font-family: initial !important;&quot;&gt;&lt;span style=&quot;box-sizing: inherit; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; overflow-wrap: break-word; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&lt;span style=&quot;box-sizing: inherit; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; overflow-wrap: break-word; font-family: 汉仪正圆-55W;&quot;&gt;在&lt;/span&gt;PDF&lt;span style=&quot;box-sizing: inherit; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; overflow-wrap: break-word; font-family: 汉仪正圆-55W;&quot;&gt;文件中插入签名后，鼠标单击选中签名。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin-top: 16px; margin-bottom: 1em; padding: 0px; overflow-wrap: break-word; color: rgb(8, 15, 23); line-height: 1.625; font-size: 16px; max-width: 100%; min-height: 1.625em; text-align: justify; text-wrap-mode: wrap; background-color: rgb(255, 255, 255); font-family: initial !important;&quot;&gt;&lt;br style=&quot;box-sizing: inherit; margin: 0px; padding: 0px; overflow-wrap: break-word; font-family: initial !important;&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin-top: 16px; margin-bottom: 1em; padding: 0px; overflow-wrap: break-word; color: rgb(8, 15, 23); line-height: 1.625; font-size: 16px; max-width: 100%; min-height: 1.625em; text-align: justify; text-wrap-mode: wrap; background-color: rgb(255, 255, 255); font-family: initial !important;&quot;&gt;&lt;span style=&quot;box-sizing: inherit; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; overflow-wrap: break-word; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&lt;span style=&quot;box-sizing: inherit; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; overflow-wrap: break-word; font-family: 汉仪正圆-55W;&quot;&gt;选择签名上方弹出菜单中的&lt;/span&gt;“应用到多个页面”。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin-top: 16px; margin-bottom: 1em; padding: 0px; overflow-wrap: break-word; color: rgb(8, 15, 23); line-height: 1.625; font-size: 16px; max-width: 100%; min-height: 1.625em; text-align: justify; text-wrap-mode: wrap; background-color: rgb(255, 255, 255); font-family: initial !important;&quot;&gt;&lt;span style=&quot;box-sizing: inherit; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; overflow-wrap: break-word; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&lt;br style=&quot;box-sizing: inherit; margin: 0px; padding: 0px; overflow-wrap: break-word; font-family: initial !important;&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin-top: 16px; margin-bottom: 1em; padding: 0px; overflow-wrap: break-word; color: rgb(8, 15, 23); line-height: 1.625; font-size: 16px; max-width: 100%; min-height: 1.625em; text-align: justify; text-wrap-mode: wrap; background-color: rgb(255, 255, 255); font-family: initial !important;&quot;&gt;&lt;span style=&quot;box-sizing: inherit; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; overflow-wrap: break-word; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&lt;span style=&quot;box-sizing: inherit; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; overflow-wrap: break-word; font-family: 汉仪正圆-55W;&quot;&gt;在弹出框选择&lt;/span&gt;“全部页面”&lt;span style=&quot;box-sizing: inherit; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; overflow-wrap: break-word; font-family: initial !important;&quot;&gt;---&amp;gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: inherit; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; overflow-wrap: break-word; font-family: 汉仪正圆-55W;&quot;&gt;“确定应用”即可。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin-top: 16px; margin-bottom: 1em; padding: 0px; overflow-wrap: break-word; color: rgb(8, 15, 23); line-height: 1.625; font-size: 16px; max-width: 100%; min-height: 1.625em; text-align: justify; text-wrap-mode: wrap; background-color: rgb(255, 255, 255); font-family: initial !important;&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin-top: 16px; margin-bottom: 1em; padding: 0px; overflow-wrap: break-word; color: rgb(8, 15, 23); line-height: 1.625; font-size: 16px; max-width: 100%; min-height: 1.625em; text-align: justify; text-wrap-mode: wrap; background-color: rgb(255, 255, 255); font-family: initial !important;&quot;&gt;&lt;img class=&quot;ue-image&quot; src=&quot;https://www.70ol.com/zb_users/upload/2026/06/202606081780881268303574.gif&quot; title=&quot;1.gif&quot; alt=&quot;1.gif&quot;/&gt;&lt;/p&gt;</description><pubDate>Mon, 08 Jun 2026 09:05:14 +0800</pubDate></item><item><title>Win10 复制粘贴功能失效了</title><link>https://www.70ol.com/jingyan/363.html</link><description>&lt;div class=&quot;n6owBd awi2gc&quot; data-sfc-cp=&quot;&quot; jsaction=&quot;&quot; jscontroller=&quot;TDBkbc#Ml18Xb&quot; data-sfc-root=&quot;c&quot; jsuid=&quot;HAJQ2_e&quot; data-sfc-cb=&quot;&quot; data-hveid=&quot;CAIIAAgACAUQAA&quot; data-copy-service-computed-style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; font-weight: 400; margin: 0px 0px 16px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; margin: 0px 0px 16px; text-decoration-style: solid; text-decoration-color: rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot;&gt;&lt;span data-subtree=&quot;aimfl,mfl&quot; data-copy-service-computed-style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; font-weight: 400; margin: 0px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot; style=&quot;margin: 0px; text-decoration-style: solid; text-decoration-color: #0A0A0A; border-bottom: 0px none #0A0A0A;&quot;&gt;Win10 无法复制粘贴通常是因为&lt;/span&gt;&lt;mark jsuid=&quot;HAJQ2_f&quot; class=&quot;HxTRcb&quot; jsaction=&quot;click:&amp;amp;HAJQ2_f|h5M12e;mouseenter:&amp;amp;HAJQ2_f|sbHm2b;mouseleave:&amp;amp;HAJQ2_f|Tx5Rb;rcuQ6b:&amp;amp;HAJQ2_f|npT2md&quot; jscontroller=&quot;DfH0l#VLQhtf&quot; data-sfc-root=&quot;c&quot; data-wiz-uids=&quot;HAJQ2_g&quot; data-sfc-cb=&quot;&quot; data-ved=&quot;2ahUKEwig19yC4vGUAxUdI0QIHTBgLl8QuJAPegoIAggACAAIBRAB&quot; data-copy-service-computed-style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; font-weight: 500; margin: 0px; text-decoration: none solid rgb(0, 29, 53); border-bottom: 0px none rgb(0, 29, 53);&quot; style=&quot;margin: 0px; text-decoration-style: solid; text-decoration-color: rgb(0, 29, 53); border-bottom: 0px none rgb(0, 29, 53);&quot;&gt;&lt;!--qkimaf HAJQ2_f/HugV6--&gt;&lt;!--cqw1tb HAJQ2_f/HugV6--&gt;剪贴板进程卡死或相关服务出错&lt;!--TgQPHd|[]--&gt;&lt;/mark&gt;。最快捷的修复方法是打开&lt;span class=&quot;Yjhzub&quot; jsaction=&quot;&quot; jscontroller=&quot;zYmgkd#vvzi1e&quot; data-sfc-root=&quot;c&quot; jsuid=&quot;HAJQ2_h&quot; data-sfc-cb=&quot;&quot; data-copy-service-computed-style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; font-weight: 600; margin: 0px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot; style=&quot;font-weight: 600; margin: 0px; text-decoration-style: solid; text-decoration-color: #0A0A0A; border-bottom: 0px none #0A0A0A;&quot;&gt;任务管理器&lt;!--TgQPHd|[]--&gt;&lt;/span&gt;（按 &lt;code dir=&quot;ltr&quot; class=&quot;KDcb0c&quot; jsaction=&quot;&quot; jscontroller=&quot;hNviFe#redMub&quot; data-sfc-root=&quot;c&quot; jsuid=&quot;HAJQ2_i&quot; data-sfc-cb=&quot;&quot; data-copy-service-computed-style=&quot;font-family: monospace; font-size: 14px; font-weight: 400; margin: 0px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0.8px solid rgb(243, 245, 246);&quot; style=&quot;font-size: 14px; margin: 0px; text-decoration-style: solid; text-decoration-color: rgb(10, 10, 10); border-bottom: 0.8px solid rgb(243, 245, 246);&quot;&gt;Ctrl + Shift + Esc&lt;!--TgQPHd|[]--&gt;&lt;/code&gt; ），找到并右键单击【Windows资源管理器】，选择【重新启动】。&lt;!--TgQPHd|[]--&gt;&lt;/div&gt;&lt;div class=&quot;n6owBd awi2gc&quot; data-sfc-cp=&quot;&quot; jsaction=&quot;&quot; jscontroller=&quot;TDBkbc#Ml18Xb&quot; data-sfc-root=&quot;c&quot; jsuid=&quot;HAJQ2_p&quot; data-sfc-cb=&quot;&quot; data-hveid=&quot;CAIIAAgACAYQAA&quot; data-copy-service-computed-style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; font-weight: 400; margin: 12px 0px 16px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; margin: 12px 0px 16px; text-decoration-style: solid; text-decoration-color: rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot;&gt;你可以通过以下几种详细的方法来排查和解决此问题：&lt;!--TgQPHd|[]--&gt;&lt;/div&gt;&lt;div class=&quot;Fsg96&quot; data-sfc-cp=&quot;&quot; jsaction=&quot;rcuQ6b:&amp;amp;HAJQ2_u|npT2md&quot; jscontroller=&quot;KHhJQ#U8DOt&quot; data-sfc-root=&quot;c&quot; jsuid=&quot;HAJQ2_u&quot; data-sfc-cb=&quot;&quot; data-copy-service-computed-style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; font-weight: 400; margin: 0px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; margin: 0px; text-decoration-style: solid; text-decoration-color: rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot;&gt;&lt;!--TgQPHd|[]--&gt;&lt;/div&gt;&lt;div data-bfc=&quot;&quot; class=&quot;&quot; data-ved=&quot;2ahUKEwig19yC4vGUAxUdI0QIHTBgLl8Qi4wTegoIAggACAAIBxAA&quot; data-copy-service-computed-style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; font-weight: 400; margin: 0px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; margin: 0px; text-decoration-style: solid; text-decoration-color: rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot;&gt;&lt;div class=&quot;otQkpb&quot; aria-level=&quot;3&quot; role=&quot;heading&quot; data-animation-nesting=&quot;&quot; data-sfc-cp=&quot;&quot; jsaction=&quot;&quot; jscontroller=&quot;a7qCn#ZxCkTb&quot; data-sfc-root=&quot;c&quot; jsuid=&quot;HAJQ2_v&quot; data-sfc-cb=&quot;&quot; data-copy-service-computed-style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 20px; font-weight: 600; margin: 24px 0px 12px; text-decoration: none solid rgb(0, 29, 53); border-bottom: 0px none rgb(0, 29, 53);&quot; style=&quot;font-size: 20px; font-weight: 600; margin: 24px 0px 12px; text-decoration-style: solid; text-decoration-color: rgb(0, 29, 53); border-bottom: 0px none rgb(0, 29, 53);&quot;&gt;方法一：重启资源管理器（最常用）&lt;!--TgQPHd|[]--&gt;&lt;/div&gt;&lt;/div&gt;&lt;div data-bfc=&quot;&quot; class=&quot;&quot; data-ved=&quot;2ahUKEwig19yC4vGUAxUdI0QIHTBgLl8Qi4wTegoIAggACAAICBAA&quot; data-copy-service-computed-style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; font-weight: 400; margin: 0px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; margin: 0px; text-decoration-style: solid; text-decoration-color: rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot;&gt;&lt;ol class=&quot;IaGLZe VimKh list-paddingleft-2&quot; jsaction=&quot;&quot; jscontroller=&quot;xE4zce#N1SbDe&quot; data-sfc-root=&quot;c&quot; jsuid=&quot;HAJQ2_10&quot; data-sfc-cb=&quot;&quot; data-copy-service-computed-style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; font-weight: 400; margin: 12px 0px 16px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot; style=&quot;margin-top: 12px; margin-bottom: 16px; text-decoration-style: solid; text-decoration-color: rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot;&gt;&lt;li&gt;&lt;p&gt;&lt;span class=&quot;T286Pc&quot; data-sfc-cp=&quot;&quot; jsaction=&quot;&quot; jscontroller=&quot;fly6D#d5Qebf&quot; data-sfc-root=&quot;c&quot; jsuid=&quot;HAJQ2_12&quot; data-sfc-cb=&quot;&quot; data-copy-service-computed-style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; font-weight: 400; margin: 0px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot; style=&quot;margin: 0px; text-decoration-style: solid; text-decoration-color: #0A0A0A; border-bottom: 0px none #0A0A0A;&quot;&gt;按下快捷键 &lt;code dir=&quot;ltr&quot; class=&quot;KDcb0c&quot; jsaction=&quot;&quot; jscontroller=&quot;hNviFe#redMub&quot; data-sfc-root=&quot;c&quot; jsuid=&quot;HAJQ2_13&quot; data-sfc-cb=&quot;&quot; data-copy-service-computed-style=&quot;font-family: monospace; font-size: 14px; font-weight: 400; margin: 0px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0.8px solid rgb(243, 245, 246);&quot; style=&quot;font-size: 14px; margin: 0px; text-decoration-style: solid; text-decoration-color: rgb(10, 10, 10); border-bottom: 0.8px solid rgb(243, 245, 246);&quot;&gt;Ctrl + Shift + Esc&lt;!--TgQPHd|[]--&gt;&lt;/code&gt; 打开 &lt;span class=&quot;Yjhzub&quot; jsaction=&quot;&quot; jscontroller=&quot;zYmgkd#vvzi1e&quot; data-sfc-root=&quot;c&quot; jsuid=&quot;HAJQ2_14&quot; data-sfc-cb=&quot;&quot; data-copy-service-computed-style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; font-weight: 600; margin: 0px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot; style=&quot;font-weight: 600; margin: 0px; text-decoration-style: solid; text-decoration-color: #0A0A0A; border-bottom: 0px none #0A0A0A;&quot;&gt;任务管理器&lt;!--TgQPHd|[]--&gt;&lt;/span&gt;。&lt;!--TgQPHd|[]--&gt;&lt;/span&gt;&lt;/p&gt;&lt;!--TgQPHd|[]--&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span class=&quot;T286Pc&quot; data-sfc-cp=&quot;&quot; jsaction=&quot;&quot; jscontroller=&quot;fly6D#d5Qebf&quot; data-sfc-root=&quot;c&quot; jsuid=&quot;HAJQ2_16&quot; data-sfc-cb=&quot;&quot; data-copy-service-computed-style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; font-weight: 400; margin: 0px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot; style=&quot;margin: 0px; text-decoration-style: solid; text-decoration-color: #0A0A0A; border-bottom: 0px none #0A0A0A;&quot;&gt;在【进程】选项卡中找到【Windows 资源管理器】。&lt;!--TgQPHd|[]--&gt;&lt;/span&gt;&lt;/p&gt;&lt;!--TgQPHd|[]--&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span class=&quot;T286Pc&quot; data-sfc-cp=&quot;&quot; jsaction=&quot;&quot; jscontroller=&quot;fly6D#d5Qebf&quot; data-sfc-root=&quot;c&quot; jsuid=&quot;HAJQ2_18&quot; data-sfc-cb=&quot;&quot; data-copy-service-computed-style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; font-weight: 400; margin: 0px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot; style=&quot;margin: 0px; text-decoration-style: solid; text-decoration-color: #0A0A0A; border-bottom: 0px none #0A0A0A;&quot;&gt;右键点击它，选择【重新启动】。此操作会刷新桌面和任务栏，通常能立即恢复剪贴板功能。&lt;/span&gt;&lt;/p&gt;&lt;!--TgQPHd|[]--&gt;&lt;/li&gt;&lt;!--TgQPHd|[]--&gt;&lt;/ol&gt;&lt;/div&gt;&lt;div class=&quot;Fsg96&quot; data-sfc-cp=&quot;&quot; jsaction=&quot;rcuQ6b:&amp;amp;HAJQ2_1f|npT2md&quot; jscontroller=&quot;KHhJQ#U8DOt&quot; data-sfc-root=&quot;c&quot; jsuid=&quot;HAJQ2_1f&quot; data-sfc-cb=&quot;&quot; data-copy-service-computed-style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; font-weight: 400; margin: 0px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; margin: 0px; text-decoration-style: solid; text-decoration-color: rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot;&gt;&lt;!--TgQPHd|[]--&gt;&lt;/div&gt;&lt;div data-bfc=&quot;&quot; class=&quot;&quot; data-ved=&quot;2ahUKEwig19yC4vGUAxUdI0QIHTBgLl8Qi4wTegoIAggACAAICxAA&quot; data-copy-service-computed-style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; font-weight: 400; margin: 0px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; margin: 0px; text-decoration-style: solid; text-decoration-color: rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot;&gt;&lt;div class=&quot;otQkpb&quot; aria-level=&quot;3&quot; role=&quot;heading&quot; data-animation-nesting=&quot;&quot; data-sfc-cp=&quot;&quot; jsaction=&quot;&quot; jscontroller=&quot;a7qCn#ZxCkTb&quot; data-sfc-root=&quot;c&quot; jsuid=&quot;HAJQ2_1g&quot; data-sfc-cb=&quot;&quot; data-copy-service-computed-style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 20px; font-weight: 600; margin: 24px 0px 12px; text-decoration: none solid rgb(0, 29, 53); border-bottom: 0px none rgb(0, 29, 53);&quot; style=&quot;font-size: 20px; font-weight: 600; margin: 24px 0px 12px; text-decoration-style: solid; text-decoration-color: rgb(0, 29, 53); border-bottom: 0px none rgb(0, 29, 53);&quot;&gt;方法二：新建缺失的 Clip 文件夹&lt;!--TgQPHd|[]--&gt;&lt;/div&gt;&lt;/div&gt;&lt;div data-bfc=&quot;&quot; class=&quot;&quot; data-ved=&quot;2ahUKEwig19yC4vGUAxUdI0QIHTBgLl8Qi4wTegoIAggACAAIDRAA&quot; data-copy-service-computed-style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; font-weight: 400; margin: 0px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; margin: 0px; text-decoration-style: solid; text-decoration-color: rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot;&gt;&lt;div class=&quot;n6owBd awi2gc&quot; data-sfc-cp=&quot;&quot; jsaction=&quot;&quot; jscontroller=&quot;TDBkbc#Ml18Xb&quot; data-sfc-root=&quot;c&quot; jsuid=&quot;HAJQ2_1l&quot; data-sfc-cb=&quot;&quot; data-hveid=&quot;CAIIAAgACA0QAQ&quot; data-copy-service-computed-style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; font-weight: 400; margin: 12px 0px 16px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot; style=&quot;margin: 12px 0px 16px; text-decoration-style: solid; text-decoration-color: rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot;&gt;如果重启资源管理器无效，可能是系统的剪贴板临时文件夹缺失。&lt;!--TgQPHd|[]--&gt;&lt;/div&gt;&lt;/div&gt;&lt;div data-bfc=&quot;&quot; class=&quot;&quot; data-ved=&quot;2ahUKEwig19yC4vGUAxUdI0QIHTBgLl8Qi4wTegoIAggACAAIDxAA&quot; data-copy-service-computed-style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; font-weight: 400; margin: 0px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; margin: 0px; text-decoration-style: solid; text-decoration-color: rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot;&gt;&lt;ol class=&quot;IaGLZe VimKh list-paddingleft-2&quot; jsaction=&quot;&quot; jscontroller=&quot;xE4zce#N1SbDe&quot; data-sfc-root=&quot;c&quot; jsuid=&quot;HAJQ2_1s&quot; data-sfc-cb=&quot;&quot; data-copy-service-computed-style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; font-weight: 400; margin: 12px 0px 16px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot; style=&quot;margin-top: 12px; margin-bottom: 16px; text-decoration-style: solid; text-decoration-color: rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot;&gt;&lt;li&gt;&lt;p&gt;&lt;span class=&quot;T286Pc&quot; data-sfc-cp=&quot;&quot; jsaction=&quot;&quot; jscontroller=&quot;fly6D#d5Qebf&quot; data-sfc-root=&quot;c&quot; jsuid=&quot;HAJQ2_1u&quot; data-sfc-cb=&quot;&quot; data-copy-service-computed-style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; font-weight: 400; margin: 0px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot; style=&quot;margin: 0px; text-decoration-style: solid; text-decoration-color: #0A0A0A; border-bottom: 0px none #0A0A0A;&quot;&gt;打开【此电脑】，依次进入路径：&lt;code dir=&quot;ltr&quot; class=&quot;KDcb0c&quot; jsaction=&quot;&quot; jscontroller=&quot;hNviFe#redMub&quot; data-sfc-root=&quot;c&quot; jsuid=&quot;HAJQ2_1v&quot; data-sfc-cb=&quot;&quot; data-copy-service-computed-style=&quot;font-family: monospace; font-size: 14px; font-weight: 400; margin: 0px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0.8px solid rgb(243, 245, 246);&quot; style=&quot;font-size: 14px; margin: 0px; text-decoration-style: solid; text-decoration-color: rgb(10, 10, 10); border-bottom: 0.8px solid rgb(243, 245, 246);&quot;&gt;C:\Windows\System32&lt;!--TgQPHd|[]--&gt;&lt;/code&gt;。&lt;!--TgQPHd|[]--&gt;&lt;/span&gt;&lt;/p&gt;&lt;!--TgQPHd|[]--&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span class=&quot;T286Pc&quot; data-sfc-cp=&quot;&quot; jsaction=&quot;&quot; jscontroller=&quot;fly6D#d5Qebf&quot; data-sfc-root=&quot;c&quot; jsuid=&quot;HAJQ2_1x&quot; data-sfc-cb=&quot;&quot; data-copy-service-computed-style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; font-weight: 400; margin: 0px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot; style=&quot;margin: 0px; text-decoration-style: solid; text-decoration-color: #0A0A0A; border-bottom: 0px none #0A0A0A;&quot;&gt;检查是否有名为 &lt;code dir=&quot;ltr&quot; class=&quot;KDcb0c&quot; jsaction=&quot;&quot; jscontroller=&quot;hNviFe#redMub&quot; data-sfc-root=&quot;c&quot; jsuid=&quot;HAJQ2_1y&quot; data-sfc-cb=&quot;&quot; data-copy-service-computed-style=&quot;font-family: monospace; font-size: 14px; font-weight: 400; margin: 0px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0.8px solid rgb(243, 245, 246);&quot; style=&quot;font-size: 14px; margin: 0px; text-decoration-style: solid; text-decoration-color: rgb(10, 10, 10); border-bottom: 0.8px solid rgb(243, 245, 246);&quot;&gt;clip&lt;!--TgQPHd|[]--&gt;&lt;/code&gt; 的文件夹。&lt;!--TgQPHd|[]--&gt;&lt;/span&gt;&lt;/p&gt;&lt;!--TgQPHd|[]--&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span class=&quot;T286Pc&quot; data-sfc-cp=&quot;&quot; jsaction=&quot;&quot; jscontroller=&quot;fly6D#d5Qebf&quot; data-sfc-root=&quot;c&quot; jsuid=&quot;HAJQ2_20&quot; data-sfc-cb=&quot;&quot; data-copy-service-computed-style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; font-weight: 400; margin: 0px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot; style=&quot;margin: 0px; text-decoration-style: solid; text-decoration-color: #0A0A0A; border-bottom: 0px none #0A0A0A;&quot;&gt;如果没有，请在空白处点击右键，选择【新建】 -&amp;gt; 【文件夹】，并将其命名为 &lt;span class=&quot;Yjhzub&quot; jsaction=&quot;&quot; jscontroller=&quot;zYmgkd#vvzi1e&quot; data-sfc-root=&quot;c&quot; jsuid=&quot;HAJQ2_21&quot; data-sfc-cb=&quot;&quot; data-copy-service-computed-style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; font-weight: 600; margin: 0px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot; style=&quot;font-weight: 600; margin: 0px; text-decoration-style: solid; text-decoration-color: #0A0A0A; border-bottom: 0px none #0A0A0A;&quot;&gt;clip&lt;!--TgQPHd|[]--&gt;&lt;/span&gt;。&lt;!--TgQPHd|[]--&gt;&lt;/span&gt;&lt;/p&gt;&lt;!--TgQPHd|[]--&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span class=&quot;T286Pc&quot; data-sfc-cp=&quot;&quot; jsaction=&quot;&quot; jscontroller=&quot;fly6D#d5Qebf&quot; data-sfc-root=&quot;c&quot; jsuid=&quot;HAJQ2_23&quot; data-sfc-cb=&quot;&quot; data-copy-service-computed-style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; font-weight: 400; margin: 0px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot; style=&quot;margin: 0px; text-decoration-style: solid; text-decoration-color: #0A0A0A; border-bottom: 0px none #0A0A0A;&quot;&gt;建立完成后，重启电脑查看是否恢复正常。&lt;/span&gt;&lt;/p&gt;&lt;!--TgQPHd|[]--&gt;&lt;/li&gt;&lt;!--TgQPHd|[]--&gt;&lt;/ol&gt;&lt;/div&gt;&lt;div class=&quot;Fsg96&quot; data-sfc-cp=&quot;&quot; jsaction=&quot;rcuQ6b:&amp;amp;HAJQ2_2a|npT2md&quot; jscontroller=&quot;KHhJQ#U8DOt&quot; data-sfc-root=&quot;c&quot; jsuid=&quot;HAJQ2_2a&quot; data-sfc-cb=&quot;&quot; data-copy-service-computed-style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; font-weight: 400; margin: 0px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; margin: 0px; text-decoration-style: solid; text-decoration-color: rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot;&gt;&lt;!--TgQPHd|[]--&gt;&lt;/div&gt;&lt;div data-bfc=&quot;&quot; class=&quot;&quot; data-ved=&quot;2ahUKEwig19yC4vGUAxUdI0QIHTBgLl8Qi4wTegoIAggACAAIERAA&quot; data-copy-service-computed-style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; font-weight: 400; margin: 0px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; margin: 0px; text-decoration-style: solid; text-decoration-color: rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot;&gt;&lt;div class=&quot;otQkpb&quot; aria-level=&quot;3&quot; role=&quot;heading&quot; data-animation-nesting=&quot;&quot; data-sfc-cp=&quot;&quot; jsaction=&quot;&quot; jscontroller=&quot;a7qCn#ZxCkTb&quot; data-sfc-root=&quot;c&quot; jsuid=&quot;HAJQ2_2b&quot; data-sfc-cb=&quot;&quot; data-copy-service-computed-style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 20px; font-weight: 600; margin: 24px 0px 12px; text-decoration: none solid rgb(0, 29, 53); border-bottom: 0px none rgb(0, 29, 53);&quot; style=&quot;font-size: 20px; font-weight: 600; margin: 24px 0px 12px; text-decoration-style: solid; text-decoration-color: rgb(0, 29, 53); border-bottom: 0px none rgb(0, 29, 53);&quot;&gt;方法三：命令提示符清理剪贴板&lt;!--TgQPHd|[]--&gt;&lt;/div&gt;&lt;/div&gt;&lt;div data-bfc=&quot;&quot; class=&quot;&quot; data-ved=&quot;2ahUKEwig19yC4vGUAxUdI0QIHTBgLl8Qi4wTegoIAggACAAIExAA&quot; data-copy-service-computed-style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; font-weight: 400; margin: 0px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; margin: 0px; text-decoration-style: solid; text-decoration-color: rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot;&gt;&lt;div class=&quot;n6owBd awi2gc&quot; data-sfc-cp=&quot;&quot; jsaction=&quot;&quot; jscontroller=&quot;TDBkbc#Ml18Xb&quot; data-sfc-root=&quot;c&quot; jsuid=&quot;HAJQ2_2g&quot; data-sfc-cb=&quot;&quot; data-hveid=&quot;CAIIAAgACBMQAQ&quot; data-copy-service-computed-style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; font-weight: 400; margin: 12px 0px 16px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot; style=&quot;margin: 12px 0px 16px; text-decoration-style: solid; text-decoration-color: rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot;&gt;有时候剪贴板被卡住的无用数据填满，可以强制清空。&lt;!--TgQPHd|[]--&gt;&lt;/div&gt;&lt;/div&gt;&lt;div data-bfc=&quot;&quot; class=&quot;&quot; data-ved=&quot;2ahUKEwig19yC4vGUAxUdI0QIHTBgLl8Qi4wTegoIAggACAAIFRAA&quot; data-copy-service-computed-style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; font-weight: 400; margin: 0px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; margin: 0px; text-decoration-style: solid; text-decoration-color: rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot;&gt;&lt;ol class=&quot;IaGLZe VimKh list-paddingleft-2&quot; jsaction=&quot;&quot; jscontroller=&quot;xE4zce#N1SbDe&quot; data-sfc-root=&quot;c&quot; jsuid=&quot;HAJQ2_2m&quot; data-sfc-cb=&quot;&quot; data-copy-service-computed-style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; font-weight: 400; margin: 12px 0px 16px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot; style=&quot;margin-top: 12px; margin-bottom: 16px; text-decoration-style: solid; text-decoration-color: rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot;&gt;&lt;li&gt;&lt;p&gt;&lt;span class=&quot;T286Pc&quot; data-sfc-cp=&quot;&quot; jsaction=&quot;&quot; jscontroller=&quot;fly6D#d5Qebf&quot; data-sfc-root=&quot;c&quot; jsuid=&quot;HAJQ2_2o&quot; data-sfc-cb=&quot;&quot; data-copy-service-computed-style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; font-weight: 400; margin: 0px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot; style=&quot;margin: 0px; text-decoration-style: solid; text-decoration-color: #0A0A0A; border-bottom: 0px none #0A0A0A;&quot;&gt;同时按下 &lt;code dir=&quot;ltr&quot; class=&quot;KDcb0c&quot; jsaction=&quot;&quot; jscontroller=&quot;hNviFe#redMub&quot; data-sfc-root=&quot;c&quot; jsuid=&quot;HAJQ2_2p&quot; data-sfc-cb=&quot;&quot; data-copy-service-computed-style=&quot;font-family: monospace; font-size: 14px; font-weight: 400; margin: 0px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0.8px solid rgb(243, 245, 246);&quot; style=&quot;font-size: 14px; margin: 0px; text-decoration-style: solid; text-decoration-color: rgb(10, 10, 10); border-bottom: 0.8px solid rgb(243, 245, 246);&quot;&gt;Win + R&lt;!--TgQPHd|[]--&gt;&lt;/code&gt; 键，输入 &lt;code dir=&quot;ltr&quot; class=&quot;KDcb0c&quot; jsaction=&quot;&quot; jscontroller=&quot;hNviFe#redMub&quot; data-sfc-root=&quot;c&quot; jsuid=&quot;HAJQ2_2q&quot; data-sfc-cb=&quot;&quot; data-copy-service-computed-style=&quot;font-family: monospace; font-size: 14px; font-weight: 400; margin: 0px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0.8px solid rgb(243, 245, 246);&quot; style=&quot;font-size: 14px; margin: 0px; text-decoration-style: solid; text-decoration-color: rgb(10, 10, 10); border-bottom: 0.8px solid rgb(243, 245, 246);&quot;&gt;cmd&lt;!--TgQPHd|[]--&gt;&lt;/code&gt; 打开命令提示符。&lt;!--TgQPHd|[]--&gt;&lt;/span&gt;&lt;/p&gt;&lt;!--TgQPHd|[]--&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span class=&quot;T286Pc&quot; data-sfc-cp=&quot;&quot; jsaction=&quot;&quot; jscontroller=&quot;fly6D#d5Qebf&quot; data-sfc-root=&quot;c&quot; jsuid=&quot;HAJQ2_2s&quot; data-sfc-cb=&quot;&quot; data-copy-service-computed-style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; font-weight: 400; margin: 0px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot; style=&quot;margin: 0px; text-decoration-style: solid; text-decoration-color: #0A0A0A; border-bottom: 0px none #0A0A0A;&quot;&gt;输入以下命令并按回车：&lt;br jsaction=&quot;&quot; jscontroller=&quot;Gy8rfb#B4oRN&quot; data-sfc-root=&quot;c&quot; jsuid=&quot;HAJQ2_2t&quot; data-sfc-pl=&quot;|[]&quot; data-sfc-cb=&quot;&quot; data-copy-service-computed-style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; font-weight: 400; margin: 0px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot; style=&quot;margin: 0px; text-decoration-style: solid; text-decoration-color: rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot;/&gt;&lt;code dir=&quot;ltr&quot; class=&quot;KDcb0c&quot; jsaction=&quot;&quot; jscontroller=&quot;hNviFe#redMub&quot; data-sfc-root=&quot;c&quot; jsuid=&quot;HAJQ2_2u&quot; data-sfc-cb=&quot;&quot; data-copy-service-computed-style=&quot;font-family: monospace; font-size: 14px; font-weight: 400; margin: 0px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0.8px solid rgb(243, 245, 246);&quot; style=&quot;font-size: 14px; margin: 0px; text-decoration-style: solid; text-decoration-color: rgb(10, 10, 10); border-bottom: 0.8px solid rgb(243, 245, 246);&quot;&gt;cmd.exe /c &amp;quot;echo off | clip&amp;quot;&lt;!--TgQPHd|[]--&gt;&lt;/code&gt;&lt;!--TgQPHd|[]--&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;!--TgQPHd|[]--&gt;&lt;/li&gt;&lt;!--TgQPHd|[]--&gt;&lt;/ol&gt;&lt;/div&gt;&lt;div class=&quot;Fsg96&quot; data-sfc-cp=&quot;&quot; jsaction=&quot;rcuQ6b:&amp;amp;HAJQ2_30|npT2md&quot; jscontroller=&quot;KHhJQ#U8DOt&quot; data-sfc-root=&quot;c&quot; jsuid=&quot;HAJQ2_30&quot; data-sfc-cb=&quot;&quot; data-copy-service-computed-style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; font-weight: 400; margin: 0px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; margin: 0px; text-decoration-style: solid; text-decoration-color: rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot;&gt;&lt;!--TgQPHd|[]--&gt;&lt;/div&gt;&lt;div data-bfc=&quot;&quot; class=&quot;&quot; data-ved=&quot;2ahUKEwig19yC4vGUAxUdI0QIHTBgLl8Qi4wTegoIAggACAAIFxAA&quot; data-copy-service-computed-style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; font-weight: 400; margin: 0px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; margin: 0px; text-decoration-style: solid; text-decoration-color: rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot;&gt;&lt;div class=&quot;otQkpb&quot; aria-level=&quot;3&quot; role=&quot;heading&quot; data-animation-nesting=&quot;&quot; data-sfc-cp=&quot;&quot; jsaction=&quot;&quot; jscontroller=&quot;a7qCn#ZxCkTb&quot; data-sfc-root=&quot;c&quot; jsuid=&quot;HAJQ2_31&quot; data-sfc-cb=&quot;&quot; data-copy-service-computed-style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 20px; font-weight: 600; margin: 24px 0px 12px; text-decoration: none solid rgb(0, 29, 53); border-bottom: 0px none rgb(0, 29, 53);&quot; style=&quot;font-size: 20px; font-weight: 600; margin: 24px 0px 12px; text-decoration-style: solid; text-decoration-color: rgb(0, 29, 53); border-bottom: 0px none rgb(0, 29, 53);&quot;&gt;方法四：检查远程桌面进程 (若在远程连接中)&lt;!--TgQPHd|[]--&gt;&lt;/div&gt;&lt;/div&gt;&lt;div data-bfc=&quot;&quot; class=&quot;&quot; data-ved=&quot;2ahUKEwig19yC4vGUAxUdI0QIHTBgLl8Qi4wTegoIAggACAAIGRAA&quot; data-copy-service-computed-style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; font-weight: 400; margin: 0px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; margin: 0px; text-decoration-style: solid; text-decoration-color: rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot;&gt;&lt;div class=&quot;n6owBd awi2gc&quot; data-sfc-cp=&quot;&quot; jsaction=&quot;&quot; jscontroller=&quot;TDBkbc#Ml18Xb&quot; data-sfc-root=&quot;c&quot; jsuid=&quot;HAJQ2_36&quot; data-sfc-cb=&quot;&quot; data-hveid=&quot;CAIIAAgACBkQAQ&quot; data-copy-service-computed-style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; font-weight: 400; margin: 12px 0px 16px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot; style=&quot;margin: 12px 0px 16px; text-decoration-style: solid; text-decoration-color: rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot;&gt;&lt;span style=&quot;color: #FF0000;&quot;&gt;如果是使用 Windows 远程桌面时无法复制粘贴，需要重启远程剪贴板监视程序。&amp;nbsp;&lt;/span&gt;&lt;!--TgQPHd|[]--&gt;&lt;/div&gt;&lt;/div&gt;&lt;div data-bfc=&quot;&quot; class=&quot;&quot; data-ved=&quot;2ahUKEwig19yC4vGUAxUdI0QIHTBgLl8Qi4wTegoIAggACAAIGxAA&quot; data-copy-service-computed-style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; font-weight: 400; margin: 0px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; margin: 0px; text-decoration-style: solid; text-decoration-color: rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot;&gt;&lt;ol class=&quot;IaGLZe VimKh list-paddingleft-2&quot; jsaction=&quot;&quot; jscontroller=&quot;xE4zce#N1SbDe&quot; data-sfc-root=&quot;c&quot; jsuid=&quot;HAJQ2_3c&quot; data-sfc-cb=&quot;&quot; data-copy-service-computed-style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; font-weight: 400; margin: 12px 0px 16px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot; style=&quot;margin-top: 12px; margin-bottom: 16px; text-decoration-style: solid; text-decoration-color: rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot;&gt;&lt;li&gt;&lt;p&gt;&lt;span class=&quot;T286Pc&quot; data-sfc-cp=&quot;&quot; jsaction=&quot;&quot; jscontroller=&quot;fly6D#d5Qebf&quot; data-sfc-root=&quot;c&quot; jsuid=&quot;HAJQ2_3e&quot; data-sfc-cb=&quot;&quot; data-copy-service-computed-style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; font-weight: 400; margin: 0px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot; style=&quot;margin: 0px; text-decoration-style: solid; text-decoration-color: #0A0A0A; border-bottom: 0px none #0A0A0A;&quot;&gt;在任务管理器中找到【RDP 剪贴板监视程序】（rdpclip.exe），结束该任务。&lt;!--TgQPHd|[]--&gt;&lt;/span&gt;&lt;/p&gt;&lt;!--TgQPHd|[]--&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span class=&quot;T286Pc&quot; data-sfc-cp=&quot;&quot; jsaction=&quot;&quot; jscontroller=&quot;fly6D#d5Qebf&quot; data-sfc-root=&quot;c&quot; jsuid=&quot;HAJQ2_3g&quot; data-sfc-cb=&quot;&quot; data-copy-service-computed-style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; font-weight: 400; margin: 0px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot; style=&quot;margin: 0px; text-decoration-style: solid; text-decoration-color: #0A0A0A; border-bottom: 0px none #0A0A0A;&quot;&gt;点击任务管理器左上角的【文件】-&amp;gt;【运行新任务】，输入 &lt;code dir=&quot;ltr&quot; class=&quot;KDcb0c&quot; jsaction=&quot;&quot; jscontroller=&quot;hNviFe#redMub&quot; data-sfc-root=&quot;c&quot; jsuid=&quot;HAJQ2_3h&quot; data-sfc-cb=&quot;&quot; data-copy-service-computed-style=&quot;font-family: monospace; font-size: 14px; font-weight: 400; margin: 0px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0.8px solid rgb(243, 245, 246);&quot; style=&quot;font-size: 14px; margin: 0px; text-decoration-style: solid; text-decoration-color: rgb(10, 10, 10); border-bottom: 0.8px solid rgb(243, 245, 246);&quot;&gt;rdpclip.exe&lt;!--TgQPHd|[]--&gt;&lt;/code&gt; 并确定。&lt;/span&gt;&lt;/p&gt;&lt;!--TgQPHd|[]--&gt;&lt;/li&gt;&lt;!--TgQPHd|[]--&gt;&lt;/ol&gt;&lt;/div&gt;&lt;div data-bfc=&quot;&quot; class=&quot;&quot; data-ved=&quot;2ahUKEwig19yC4vGUAxUdI0QIHTBgLl8Qi4wTegoIAggACAAIHhAA&quot; data-copy-service-computed-style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; font-weight: 400; margin: 0px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; margin: 0px; text-decoration-style: solid; text-decoration-color: rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot;&gt;&lt;div class=&quot;n6owBd awi2gc&quot; data-sfc-cp=&quot;&quot; jsaction=&quot;&quot; jscontroller=&quot;TDBkbc#Ml18Xb&quot; data-sfc-root=&quot;c&quot; jsuid=&quot;HAJQ2_3n&quot; data-sfc-cb=&quot;&quot; data-hveid=&quot;CAIIAAgACB4QAQ&quot; data-copy-service-computed-style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; font-weight: 400; margin: 12px 0px 16px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot; style=&quot;margin: 12px 0px 16px; text-decoration-style: solid; text-decoration-color: rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot;&gt;若上述方法均未生效，建议先检查&lt;span class=&quot;Yjhzub&quot; jsaction=&quot;&quot; jscontroller=&quot;zYmgkd#vvzi1e&quot; data-sfc-root=&quot;c&quot; jsuid=&quot;HAJQ2_3o&quot; data-sfc-cb=&quot;&quot; data-copy-service-computed-style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, Roboto, Arial, sans-serif; font-size: 16px; font-weight: 600; margin: 0px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0px none rgb(10, 10, 10);&quot; style=&quot;font-weight: 600; margin: 0px; text-decoration-style: solid; text-decoration-color: #0A0A0A; border-bottom: 0px none #0A0A0A;&quot;&gt;键盘硬件是否正常&lt;!--TgQPHd|[]--&gt;&lt;/span&gt;（ &lt;code dir=&quot;ltr&quot; class=&quot;KDcb0c&quot; jsaction=&quot;&quot; jscontroller=&quot;hNviFe#redMub&quot; data-sfc-root=&quot;c&quot; jsuid=&quot;HAJQ2_3p&quot; data-sfc-cb=&quot;&quot; data-copy-service-computed-style=&quot;font-family: monospace; font-size: 14px; font-weight: 400; margin: 0px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0.8px solid rgb(243, 245, 246);&quot; style=&quot;font-size: 14px; margin: 0px; text-decoration-style: solid; text-decoration-color: rgb(10, 10, 10); border-bottom: 0.8px solid rgb(243, 245, 246);&quot;&gt;Ctrl&lt;!--TgQPHd|[]--&gt;&lt;/code&gt; 和 &lt;code dir=&quot;ltr&quot; class=&quot;KDcb0c&quot; jsaction=&quot;&quot; jscontroller=&quot;hNviFe#redMub&quot; data-sfc-root=&quot;c&quot; jsuid=&quot;HAJQ2_3q&quot; data-sfc-cb=&quot;&quot; data-copy-service-computed-style=&quot;font-family: monospace; font-size: 14px; font-weight: 400; margin: 0px; text-decoration: none solid rgb(10, 10, 10); border-bottom: 0.8px solid rgb(243, 245, 246);&quot; style=&quot;font-size: 14px; margin: 0px; text-decoration-style: solid; text-decoration-color: rgb(10, 10, 10); border-bottom: 0.8px solid rgb(243, 245, 246);&quot;&gt;C&lt;!--TgQPHd|[]--&gt;&lt;/code&gt; 键是否失灵），或是否有第三方安全杀毒/输入法软件发生冲突。&lt;/div&gt;&lt;/div&gt;</description><pubDate>Sat, 06 Jun 2026 13:50:56 +0800</pubDate></item><item><title>MySQL/MariaDB启动失败，提示：InnoDB: Missing MLOG_CHECKPOINT at 3265917829 between the checkpoint 326591782</title><link>https://www.70ol.com/jishu/362.html</link><description>&lt;p&gt;MySQL解决服务器异常关闭导致坏表问题。&lt;/p&gt;&lt;h3&gt;&lt;a name=&quot;t0&quot;&gt;&lt;/a&gt;问题&lt;/h3&gt;&lt;p&gt;上班启动服务，发现连接数据库异常，去服务器查看MySQL进程，发现MySQL启动失败。由于周末期间服务器异常关闭，查询日志发现InnoDB: Ignoring the redo log due to missing MLOG_CHECKPOINT between the checkpoint这个问题。&lt;/p&gt;&lt;h3&gt;&lt;a name=&quot;t1&quot;&gt;&lt;/a&gt;解决&lt;/h3&gt;&lt;p&gt;执行查询命令，查找MySQL的配置文件路径&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;find&amp;nbsp;/&amp;nbsp;-name&amp;nbsp;&amp;#39;my.cnf&amp;#39;&lt;/pre&gt;&lt;p style=&quot;box-sizing: border-box; outline: 0px; margin-top: 0px; margin-bottom: 16px; padding: 0px; font-size: 16px; color: rgb(77, 77, 77); overflow: auto hidden; font-synthesis-style: auto; overflow-wrap: break-word; font-family: -apple-system, &amp;quot;SF UI Text&amp;quot;, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif, SimHei, SimSun; text-wrap-mode: wrap; background-color: rgb(255, 255, 255); user-select: auto !important; line-height: 24px !important;&quot;&gt;常规情况下路径是 /etc/my.cnf&lt;/p&gt;&lt;h2 id=&quot;h2-innodb_force_recovery-&quot; style=&quot;box-sizing: border-box; margin: 1em 0px 16px; color: rgb(25, 26, 36); padding: 0px; border-top: 0px; border-right: 0px; border-bottom: none; border-left: 0px; border-image: initial; vertical-align: baseline; line-height: 30px; font-size: 16px; position: relative; font-family: PingFangSC-Semibold; text-wrap-mode: wrap;&quot;&gt;innodb_force_recovery选项&lt;/h2&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; padding: 0px; border: 0px; vertical-align: baseline; color: rgb(25, 26, 36); font-family: &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, &amp;quot;Meiryo UI&amp;quot;, &amp;quot;Malgun Gothic&amp;quot;, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Trebuchet MS&amp;quot;, Monaco, monospace, Tahoma, STXihei, 华文细黑, STHeiti, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;wenquanyi micro hei&amp;quot;, FreeSans, Arimo, Arial, SimSun, 宋体, Heiti, 黑体, sans-serif; text-wrap-mode: wrap;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: &amp;quot;YaHei Consolas Hybrid&amp;quot;, Consolas, &amp;quot;Meiryo UI&amp;quot;, &amp;quot;Malgun Gothic&amp;quot;, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, monospace, monospace; padding: 3px; margin: 0px 4px 0px 5px; background: rgb(246, 246, 246); border-radius: 3px; border: 1px solid rgb(221, 221, 221);&quot;&gt;innodb_force_recovery&lt;/code&gt;是一个用于控制InnoDB恢复模式的配置选项。通过设置不同的值，可以控制MySQL在启动时对损坏的InnoDB表进行不同程度的恢复操作。这个选项的值范围从1到6，每个值都有不同的恢复级别和可能的风险。&lt;/p&gt;&lt;ul style=&quot;list-style-type: none;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;&lt;code style=&quot;box-sizing: border-box; font-family: &amp;quot;YaHei Consolas Hybrid&amp;quot;, Consolas, &amp;quot;Meiryo UI&amp;quot;, &amp;quot;Malgun Gothic&amp;quot;, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, monospace, monospace; padding: 3px; margin: 0px; background: rgb(246, 246, 246); border-radius: 3px; border: 1px solid rgb(221, 221, 221);&quot;&gt;innodb_force_recovery = 1&lt;/code&gt;：尝试恢复损坏的表，但不会执行任何写操作。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;code style=&quot;box-sizing: border-box; font-family: &amp;quot;YaHei Consolas Hybrid&amp;quot;, Consolas, &amp;quot;Meiryo UI&amp;quot;, &amp;quot;Malgun Gothic&amp;quot;, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, monospace, monospace; padding: 3px; margin: 0px; background: rgb(246, 246, 246); border-radius: 3px; border: 1px solid rgb(221, 221, 221);&quot;&gt;innodb_force_recovery = 2&lt;/code&gt;：尝试恢复损坏的表，并允许进行写操作，但会忽略一些可能导致错误的检查。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;code style=&quot;box-sizing: border-box; font-family: &amp;quot;YaHei Consolas Hybrid&amp;quot;, Consolas, &amp;quot;Meiryo UI&amp;quot;, &amp;quot;Malgun Gothic&amp;quot;, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, monospace, monospace; padding: 3px; margin: 0px; background: rgb(246, 246, 246); border-radius: 3px; border: 1px solid rgb(221, 221, 221);&quot;&gt;innodb_force_recovery = 3&lt;/code&gt;：尝试恢复损坏的表，并允许进行写操作，同时会忽略一些可能导致错误的检查和修复操作。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;code style=&quot;box-sizing: border-box; font-family: &amp;quot;YaHei Consolas Hybrid&amp;quot;, Consolas, &amp;quot;Meiryo UI&amp;quot;, &amp;quot;Malgun Gothic&amp;quot;, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, monospace, monospace; padding: 3px; margin: 0px; background: rgb(246, 246, 246); border-radius: 3px; border: 1px solid rgb(221, 221, 221);&quot;&gt;innodb_force_recovery = 4&lt;/code&gt;：允许对损坏的表进行更深入的恢复操作，但可能会导致数据丢失。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;code style=&quot;box-sizing: border-box; font-family: &amp;quot;YaHei Consolas Hybrid&amp;quot;, Consolas, &amp;quot;Meiryo UI&amp;quot;, &amp;quot;Malgun Gothic&amp;quot;, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, monospace, monospace; padding: 3px; margin: 0px; background: rgb(246, 246, 246); border-radius: 3px; border: 1px solid rgb(221, 221, 221);&quot;&gt;innodb_force_recovery = 5&lt;/code&gt;：允许对损坏的表进行更深入的恢复操作，并忽略更多的检查和修复操作，可能导致数据丢失。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;code style=&quot;box-sizing: border-box; font-family: &amp;quot;YaHei Consolas Hybrid&amp;quot;, Consolas, &amp;quot;Meiryo UI&amp;quot;, &amp;quot;Malgun Gothic&amp;quot;, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, monospace, monospace; padding: 3px; margin: 0px; background: rgb(246, 246, 246); border-radius: 3px; border: 1px solid rgb(221, 221, 221);&quot;&gt;innodb_force_recovery = 6&lt;/code&gt;：尝试进行最激进的恢复操作，几乎忽略所有的检查和修复操作，可能导致大量数据丢失。&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p style=&quot;box-sizing: border-box; outline: 0px; margin-top: 0px; margin-bottom: 16px; padding: 0px; font-size: 16px; color: rgb(77, 77, 77); overflow: auto hidden; font-synthesis-style: auto; overflow-wrap: break-word; font-family: -apple-system, &amp;quot;SF UI Text&amp;quot;, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif, SimHei, SimSun; text-wrap-mode: wrap; background-color: rgb(255, 255, 255); user-select: auto !important; line-height: 24px !important;&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; outline: 0px; margin-top: 0px; margin-bottom: 16px; padding: 0px; font-size: 16px; color: rgb(77, 77, 77); overflow: auto hidden; font-synthesis-style: auto; overflow-wrap: break-word; font-family: -apple-system, &amp;quot;SF UI Text&amp;quot;, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif, SimHei, SimSun; text-wrap-mode: wrap; background-color: rgb(255, 255, 255); user-select: auto !important; line-height: 24px !important;&quot;&gt;在[mysqld]增加innodb_force_recovery=6，建议从1往6试，但一般情况下6才管用。&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;[mysqld]
innodb_force_recovery=6&lt;/pre&gt;&lt;p style=&quot;box-sizing: border-box; outline: 0px; margin-top: 0px; margin-bottom: 16px; padding: 0px; font-size: 16px; color: rgb(77, 77, 77); overflow: auto hidden; font-synthesis-style: auto; overflow-wrap: break-word; font-family: -apple-system, &amp;quot;SF UI Text&amp;quot;, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif, SimHei, SimSun; text-wrap-mode: wrap; background-color: rgb(255, 255, 255); user-select: auto !important; line-height: 24px !important;&quot;&gt;启动MySQL即可。&lt;/p&gt;&lt;p&gt;如上操作MySQL是启动成功了，但是又出现新的错误，lost connections during&amp;nbsp;query.&lt;/p&gt;&lt;p&gt;根据上述错误，发现是由于设置的innodb_force_recovery强制恢复设置导致，将设置注释。&lt;/p&gt;&lt;p&gt;将MySQL的data进行备份&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;mysqldump&amp;nbsp;-u&amp;nbsp;root&amp;nbsp;-p&amp;nbsp;--all-databases&amp;nbsp;&amp;gt;&amp;nbsp;all_databases.sql&lt;/pre&gt;&lt;p&gt;或者直接把数据库目录物理备份，以防&lt;span style=&quot;color: #191A24; font-family: &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, &amp;quot;Meiryo UI&amp;quot;, &amp;quot;Malgun Gothic&amp;quot;, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Trebuchet MS&amp;quot;, Monaco, monospace, Tahoma, STXihei, 华文细黑, STHeiti, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;wenquanyi micro hei&amp;quot;, FreeSans, Arimo, Arial, SimSun, 宋体, Heiti, 黑体, sans-serif; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;数据丢失或不可逆的操作。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #191A24; font-family: &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, &amp;quot;Meiryo UI&amp;quot;, &amp;quot;Malgun Gothic&amp;quot;, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Trebuchet MS&amp;quot;, Monaco, monospace, Tahoma, STXihei, 华文细黑, STHeiti, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;wenquanyi micro hei&amp;quot;, FreeSans, Arimo, Arial, SimSun, 宋体, Heiti, 黑体, sans-serif; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;然后删除ib_logfile0、ib_logfile1、ibdata1、*.ibd文件，重启MySQL成功，然后将之前备份的数据通过工具导入到数据库中。&lt;/p&gt;&lt;p&gt;如果想偷懒，不重新导入也行，但是要保留i&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;bdata1，再执行重启MySQL&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;~不然Innodb的表全部会显示“使用中”，被锁定哦。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;ul style=&quot;list-style-type: none;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;&lt;mark class=&quot;flexible-marker flexible-marker-default&quot; style=&quot;background-image: initial; background-position: 0px 0px; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; -webkit-font-smoothing: antialiased; padding-bottom: 1px; font-weight: var(--cos-font-regular);&quot;&gt;‌&lt;span style=&quot;-webkit-font-smoothing: antialiased; font-weight: var(--cos-font-medium); -webkit-text-stroke: var(--cos-font-medium-stroke); padding-bottom: var(--cos-space-none); background-position: left calc(100% - 1px); background-size: 100% 9px !important;&quot;&gt;&lt;ml-text text=&quot;ibdata1&quot; _type=&quot;textDirective&quot; style=&quot;-webkit-font-smoothing: antialiased;&quot;&gt;ibdata1&lt;/ml-text&gt;&amp;nbsp;是&amp;nbsp;&lt;ml-text text=&quot;InnoDB&quot; _type=&quot;textDirective&quot; style=&quot;-webkit-font-smoothing: antialiased;&quot;&gt;InnoDB&lt;/ml-text&gt;&amp;nbsp;引擎的&lt;ml-text text=&quot;InnoDB 系统表空间&quot; _type=&quot;textDirective&quot; style=&quot;-webkit-font-smoothing: antialiased;&quot;&gt;系统表空间&lt;/ml-text&gt;&lt;/span&gt;‌&lt;/mark&gt;，存储数据字典、undo 日志、双写缓冲区等核心元数据。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;mark class=&quot;flexible-marker flexible-marker-default&quot; style=&quot;background-image: initial; background-position: 0px 0px; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; -webkit-font-smoothing: antialiased; padding-bottom: 1px; font-weight: var(--cos-font-regular);&quot;&gt;‌&lt;span style=&quot;-webkit-font-smoothing: antialiased; font-weight: var(--cos-font-medium); -webkit-text-stroke: var(--cos-font-medium-stroke); padding-bottom: var(--cos-space-none); background-position: left calc(100% - 1px); background-size: 100% 9px !important;&quot;&gt;删除后 InnoDB 无法识别表结构&lt;/span&gt;‌&lt;/mark&gt;，即使表数据在.ibd 文件中，没有数据字典也无法访问。&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;</description><pubDate>Thu, 04 Jun 2026 12:32:03 +0800</pubDate></item><item><title>网站php报错Call to undefined function get_magic_quotes_gpc()</title><link>https://www.70ol.com/jishu/360.html</link><description>&lt;p class=&quot;marklang-paragraph&quot; style=&quot;margin-top: var(--cos-space-xxs); margin-bottom: var(--cos-space-xxs); padding: 0px; list-style: none; -webkit-font-smoothing: antialiased; font-size: 16px; line-height: var(--cos-leading-body-lg-higher); color: rgb(51, 51, 51); -webkit-text-stroke-color: initial; font-family: &amp;quot;PingFang SC&amp;quot;, Arial, sans-serif; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;在 PHP 中，&lt;code style=&quot;background: var(--cos-color-border-minor); border-radius: 6px; margin: 0px 4px; padding: 1px 4px; -webkit-font-smoothing: antialiased; color: var(--cos-color-text);&quot;&gt;get_magic_quotes_gpc()&lt;/code&gt;&amp;nbsp;函数用于检查是否启用了 magic quotes 功能。Magic quotes 是一种在 PHP 早期版本中用于自动转义单引号、双引号、反斜杠等特殊字符的机制，以防止 SQL 注入等安全问题。然而，从 PHP 5.4.0 开始，这个功能就已经被弃用，并在 PHP 7.4.0 中被完全移除。&lt;/p&gt;&lt;p class=&quot;marklang-paragraph&quot; style=&quot;margin-top: var(--cos-space-xxs); margin-bottom: var(--cos-space-xxs); padding: 0px; list-style: none; -webkit-font-smoothing: antialiased; font-size: 16px; line-height: var(--cos-leading-body-lg-higher); color: rgb(51, 51, 51); -webkit-text-stroke-color: initial; font-family: &amp;quot;PingFang SC&amp;quot;, Arial, sans-serif; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;如果你在使用 PHP 7.4 或更高版本，并尝试调用&amp;nbsp;&lt;code style=&quot;background: var(--cos-color-border-minor); border-radius: 6px; margin: 0px 4px; padding: 1px 4px; -webkit-font-smoothing: antialiased; color: var(--cos-color-text);&quot;&gt;get_magic_quotes_gpc()&lt;/code&gt;&amp;nbsp;函数，你会遇到一个错误，因为该函数不再存在。&lt;/p&gt;</description><pubDate>Wed, 22 Apr 2026 16:41:37 +0800</pubDate></item><item><title>Zblog强制开启 Debug 调试模式</title><link>https://www.70ol.com/jishu/361.html</link><description>&lt;p style=&quot;-webkit-font-smoothing: antialiased;-webkit-tap-highlight-color: transparent;text-size-adjust: none;box-sizing: border-box;font-size: 15px;margin-top: 1.2em;margin-bottom: 1.2em;line-height: 1.6rem;word-spacing: 0.05rem;color: rgb(52, 73, 94);font-family: &amp;#39;Source Sans Pro&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Arial, sans-serif;text-wrap-mode: wrap;background-color: rgb(255, 255, 255)&quot;&gt;常规开启调试模式是在后台设置中进行，在后台设置的全局设置里打开“调试模式”并保存即可。&lt;/p&gt;&lt;p style=&quot;-webkit-font-smoothing: antialiased;-webkit-tap-highlight-color: transparent;text-size-adjust: none;box-sizing: border-box;font-size: 15px;margin-top: 1.2em;margin-bottom: 1.2em;line-height: 1.6rem;word-spacing: 0.05rem;color: rgb(52, 73, 94);font-family: &amp;#39;Source Sans Pro&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Arial, sans-serif;text-wrap-mode: wrap;background-color: rgb(255, 255, 255)&quot;&gt;如果网站程序出错，不能进入后台进行设置，那么在 1.7.3 及更高版本可以在这样设置：&lt;/p&gt;&lt;p style=&quot;-webkit-font-smoothing: antialiased;-webkit-tap-highlight-color: transparent;text-size-adjust: none;box-sizing: border-box;font-size: 15px;margin-top: 1.2em;margin-bottom: 1.2em;line-height: 1.6rem;word-spacing: 0.05rem;color: rgb(52, 73, 94);font-family: &amp;#39;Source Sans Pro&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Arial, sans-serif;text-wrap-mode: wrap;background-color: rgb(255, 255, 255)&quot;&gt;使用空间面板的文件管理或者 FTP 修改文件：&lt;code style=&quot;-webkit-font-smoothing: antialiased;-webkit-tap-highlight-color: transparent;text-size-adjust: none;box-sizing: border-box;font-family: &amp;#39;Roboto Mono&amp;#39;, Monaco, courier, monospace;background-color: rgb(248, 248, 248);border-radius: 2px;color: rgb(233, 105, 0);margin: 0px 2px;padding: 3px 5px;white-space-collapse: preserve;font-size: 0.8rem&quot;&gt;path/zb_users/c_option.php&lt;/code&gt;；&lt;/p&gt;&lt;p style=&quot;-webkit-font-smoothing: antialiased;-webkit-tap-highlight-color: transparent;text-size-adjust: none;box-sizing: border-box;font-size: 15px;margin-top: 1.2em;margin-bottom: 1.2em;line-height: 1.6rem;word-spacing: 0.05rem;color: rgb(52, 73, 94);font-family: &amp;#39;Source Sans Pro&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Arial, sans-serif;text-wrap-mode: wrap;background-color: rgb(255, 255, 255)&quot;&gt;最后一行添加：&lt;/p&gt;&lt;pre v-pre=&quot;&quot; data-lang=&quot;php&quot; style=&quot;-webkit-font-smoothing: antialiased;-webkit-tap-highlight-color: transparent;text-size-adjust: none;box-sizing: border-box;font-size: 15px;font-family: &amp;#39;Roboto Mono&amp;#39;, Monaco, courier, monospace;margin-top: 1.2em;margin-bottom: 1.2em;position: relative;padding: 0px 1.4rem;line-height: 1.5rem;overflow: auto;overflow-wrap: normal;color: rgb(52, 73, 94)&quot;&gt;&amp;nbsp;&amp;#39;ZC_DEBUG_MODE&amp;#39;&amp;nbsp;=&amp;gt;&amp;nbsp;true,&amp;nbsp;//开启Debug，如果调试完毕请删除这一行Copy&amp;nbsp;to&amp;nbsp;clipboardErrorCopied&lt;/pre&gt;&lt;blockquote style=&quot;-webkit-font-smoothing: antialiased;-webkit-tap-highlight-color: transparent;text-size-adjust: none;box-sizing: border-box;font-size: 15px;border-left: none;color: rgb(135, 150, 168);padding: 1rem;background-color: rgb(245, 248, 252);font-family: &amp;#39;Source Sans Pro&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Arial, sans-serif;text-wrap-mode: wrap;margin: 20px 0px !important&quot;&gt;&lt;p style=&quot;-webkit-font-smoothing: antialiased;-webkit-tap-highlight-color: transparent;text-size-adjust: none;box-sizing: border-box;margin-top: 0.5em;margin-bottom: 0.5em;line-height: 1.6rem;word-spacing: 0.05rem&quot;&gt;path：当前博客程序所放置的路径，比如&lt;code style=&quot;-webkit-font-smoothing: antialiased;-webkit-tap-highlight-color: transparent;text-size-adjust: none;box-sizing: border-box;font-family: &amp;#39;Roboto Mono&amp;#39;, Monaco, courier, monospace;background-color: rgb(248, 248, 248);border-radius: 2px;color: rgb(233, 105, 0);margin: 0px 2px;padding: 3px 5px;white-space-collapse: preserve;font-size: 0.8rem&quot;&gt;/home/wwwroot/www.zblogcn.com&lt;/code&gt;；&lt;/p&gt;&lt;/blockquote&gt;&lt;p style=&quot;-webkit-font-smoothing: antialiased;-webkit-tap-highlight-color: transparent;text-size-adjust: none;box-sizing: border-box;font-size: 15px;margin-top: 1.2em;margin-bottom: 1.2em;line-height: 1.6rem;word-spacing: 0.05rem;color: rgb(52, 73, 94);font-family: &amp;#39;Source Sans Pro&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Arial, sans-serif;text-wrap-mode: wrap;background-color: rgb(255, 255, 255)&quot;&gt;1.7.2 版本可以修改&lt;code style=&quot;-webkit-font-smoothing: antialiased;-webkit-tap-highlight-color: transparent;text-size-adjust: none;box-sizing: border-box;font-family: &amp;#39;Roboto Mono&amp;#39;, Monaco, courier, monospace;background-color: rgb(248, 248, 248);border-radius: 2px;color: rgb(233, 105, 0);margin: 0px 2px;padding: 3px 5px;white-space-collapse: preserve;font-size: 0.8rem&quot;&gt;zb_system\function\c_system_base.php&lt;/code&gt;，取消第 22 行代码的注释状态后保存；&lt;/p&gt;&lt;pre v-pre=&quot;&quot; data-lang=&quot;php&quot; style=&quot;-webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; text-size-adjust: none; box-sizing: border-box; font-size: 15px; font-family: &amp;quot;Roboto Mono&amp;quot;, Monaco, courier, monospace; margin-top: 1.2em; margin-bottom: 1.2em; position: relative; padding: 0px 1.4rem; line-height: 1.5rem; overflow: auto; overflow-wrap: normal; color: rgb(52, 73, 94);&quot;&gt;//&amp;nbsp;defined(&amp;#39;ZBP_DEBUGMODE&amp;#39;)&amp;nbsp;||&amp;nbsp;define(&amp;#39;ZBP_DEBUGMODE&amp;#39;,&amp;nbsp;true);&amp;nbsp;//&amp;nbsp;修改为&amp;nbsp;↓↓&amp;nbsp;
defined(&amp;#39;ZBP_DEBUGMODE&amp;#39;)&amp;nbsp;||&amp;nbsp;define(&amp;#39;ZBP_DEBUGMODE&amp;#39;,&amp;nbsp;true);&lt;/pre&gt;</description><pubDate>Tue, 21 Apr 2026 17:04:27 +0800</pubDate></item><item><title>解决XiunoBBS出现白屏、500错误等问题</title><link>https://www.70ol.com/jishu/357.html</link><description>&lt;p style=&quot;box-sizing: border-box; margin-top: 0.2rem; margin-bottom: 0.2rem; padding: 0px; line-height: 1.7; word-break: break-all; color: rgb(33, 37, 41); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, &amp;quot;Microsoft Yahei&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, 微软雅黑, 华文细黑, STHeiti, sans-serif; font-size: 15.4px; text-wrap-mode: wrap; background-color: rgba(255, 255, 255, 0.74);&quot;&gt;有站长经常在安装插件后再打开网站首页时，会出现白屏现象，用F12发现是报错代码500，下面提供解决方法。&lt;/p&gt;&lt;h2 style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 0.5rem; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, &amp;quot;Microsoft Yahei&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, 微软雅黑, 华文细黑, STHeiti, sans-serif; font-weight: 500; line-height: 1.2; color: rgb(33, 37, 41); font-size: 2rem; text-wrap-mode: wrap; background-color: rgba(255, 255, 255, 0.74);&quot;&gt;开启调试模式&lt;/h2&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0.2rem; margin-bottom: 0.2rem; padding: 0px; line-height: 1.7; word-break: break-all; color: rgb(33, 37, 41); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, &amp;quot;Microsoft Yahei&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, 微软雅黑, 华文细黑, STHeiti, sans-serif; font-size: 15.4px; text-wrap-mode: wrap; background-color: rgba(255, 255, 255, 0.74);&quot;&gt;修改网站根目录index.php文件&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-php&quot;&gt;//&amp;nbsp;0:&amp;nbsp;Production&amp;nbsp;mode;&amp;nbsp;1:&amp;nbsp;Developer&amp;nbsp;mode;&amp;nbsp;2:&amp;nbsp;Plugin&amp;nbsp;developement&amp;nbsp;mode;
//&amp;nbsp;0:&amp;nbsp;线上模式;&amp;nbsp;1:&amp;nbsp;调试模式;&amp;nbsp;2:&amp;nbsp;插件开发模式;
!defined(&amp;#39;DEBUG&amp;#39;)&amp;nbsp;AND&amp;nbsp;define(&amp;#39;DEBUG&amp;#39;,&amp;nbsp;2);&lt;/pre&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0.2rem; margin-bottom: 0.2rem; padding: 0px; line-height: 1.7; word-break: break-all; color: rgb(33, 37, 41); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, &amp;quot;Microsoft Yahei&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, 微软雅黑, 华文细黑, STHeiti, sans-serif; font-size: 15.4px; text-wrap-mode: wrap; background-color: rgba(255, 255, 255, 0.74);&quot;&gt;开启调试模式或插件开发模式，可以查看网站的出错信息。&lt;/p&gt;&lt;h2 style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 0.5rem; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, &amp;quot;Microsoft Yahei&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, 微软雅黑, 华文细黑, STHeiti, sans-serif; font-weight: 500; line-height: 1.2; color: rgb(33, 37, 41); font-size: 2rem; text-wrap-mode: wrap; background-color: rgba(255, 255, 255, 0.74);&quot;&gt;根据报错信息，禁用有问题的插件&lt;/h2&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0.2rem; margin-bottom: 0.2rem; padding: 0px; line-height: 1.7; word-break: break-all; color: rgb(33, 37, 41); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, &amp;quot;Microsoft Yahei&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, 微软雅黑, 华文细黑, STHeiti, sans-serif; font-size: 15.4px; text-wrap-mode: wrap; background-color: rgba(255, 255, 255, 0.74);&quot;&gt;一般开启调试模式后都能看到出错的代码行，想想你最近安装的插件，去后台挨个禁用，慢慢排查。排查完毕，将 DEBUG 改回 0。&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0.2rem; margin-bottom: 0.2rem; padding: 0px; line-height: 1.7; word-break: break-all; color: rgb(33, 37, 41); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, &amp;quot;Microsoft Yahei&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, 微软雅黑, 华文细黑, STHeiti, sans-serif; font-size: 15.4px; text-wrap-mode: wrap; background-color: rgba(255, 255, 255, 0.74);&quot;&gt;这里不得不说，大部分插件写的很一般。&lt;/p&gt;&lt;h2 style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 0.5rem; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, &amp;quot;Microsoft Yahei&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, 微软雅黑, 华文细黑, STHeiti, sans-serif; font-weight: 500; line-height: 1.2; color: rgb(33, 37, 41); font-size: 2rem; text-wrap-mode: wrap; background-color: rgba(255, 255, 255, 0.74);&quot;&gt;备注&lt;/h2&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0.2rem; margin-bottom: 0.2rem; padding: 0px; line-height: 1.7; word-break: break-all; color: rgb(33, 37, 41); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, &amp;quot;Microsoft Yahei&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, 微软雅黑, 华文细黑, STHeiti, sans-serif; font-size: 15.4px; text-wrap-mode: wrap; background-color: rgba(255, 255, 255, 0.74);&quot;&gt;如果 DEBUG 为 2 的时候没有错误，改为 0 出错。则修改 xiunophp/xiunophp.min.php 文件第18行，将 error_reporting() 的参数中的 0 改为 E_ALL&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-php&quot;&gt;error_reporting(DEBUG&amp;nbsp;?&amp;nbsp;E_ALL&amp;nbsp;:&amp;nbsp;E_ALL);&lt;/pre&gt;&lt;h2 style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 0.5rem; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, &amp;quot;Microsoft Yahei&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, 微软雅黑, 华文细黑, STHeiti, sans-serif; font-weight: 500; line-height: 1.2; color: rgb(33, 37, 41); font-size: 2rem; text-wrap-mode: wrap; background-color: rgba(255, 255, 255, 0.74);&quot;&gt;清理缓存&lt;/h2&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0.2rem; margin-bottom: 0.2rem; padding: 0px; line-height: 1.7; word-break: break-all; color: rgb(33, 37, 41); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, &amp;quot;Microsoft Yahei&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, 微软雅黑, 华文细黑, STHeiti, sans-serif; font-size: 15.4px; text-wrap-mode: wrap; background-color: rgba(255, 255, 255, 0.74);&quot;&gt;进入后台清理缓存。不要以为直接删除tmp/*就可以了，如果你使用了redis，还得靠后台清理才能清干净。&lt;/p&gt;</description><pubDate>Fri, 17 Apr 2026 14:43:43 +0800</pubDate></item><item><title>单反镜头参数的基本知识:光圈、快门、ISO详解!</title><link>https://www.70ol.com/jingyan/356.html</link><description>&lt;p class=&quot;marklang-paragraph&quot; style=&quot;margin-top: var(--cos-space-xxs); margin-bottom: var(--cos-space-xxs); padding: 0px; list-style: none; -webkit-font-smoothing: antialiased; font-size: 16px; line-height: var(--cos-leading-body-lg-higher); color: rgb(51, 51, 51); -webkit-text-stroke-color: initial; font-family: &amp;quot;PingFang SC&amp;quot;, Arial, sans-serif; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;单反镜头参数是选择和使用镜头时的核心知识，理解这些参数有助于根据拍摄需求做出合适选择。以下是基于权威公开资料整理的基本参数知识：&lt;/p&gt;&lt;hr style=&quot;background-color: rgb(255, 255, 255); border: none; height: 1px; margin: 12px 0px; position: relative; width: auto; -webkit-font-smoothing: antialiased; color: rgb(51, 51, 51); font-family: &amp;quot;PingFang SC&amp;quot;, Arial, sans-serif; font-size: 16px; text-wrap-mode: wrap;&quot;/&gt;&lt;h3 style=&quot;margin-top: var(--cos-space-xxs); margin-right: 0px; margin-bottom: var(--cos-space-xxs); margin-left: 0px; padding: 0px; list-style: none; line-height: 30px; font-size: var(--cos-text-headline-sm); -webkit-font-smoothing: antialiased; font-weight: var(--cos-font-medium); font-family: &amp;quot;PingFang SC&amp;quot;, Arial, sans-serif; color: rgb(51, 51, 51); text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;‌&lt;span style=&quot;-webkit-font-smoothing: antialiased; font-weight: var(--cos-font-medium); -webkit-text-stroke: var(--cos-font-medium-stroke); background-size: 100% 9px; padding-bottom: 1px;&quot;&gt;一、主要镜头参数&lt;/span&gt;‌&lt;/h3&gt;&lt;ul style=&quot;list-style-type: none;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p class=&quot;marklang-paragraph&quot; style=&quot;margin-top: var(--cos-space-xxs); margin-bottom: var(--cos-space-xxs); padding: 0px; list-style: none; -webkit-font-smoothing: antialiased; font-size: var(--cos-text-body-lg-higher); line-height: var(--cos-leading-body-lg-higher); color: var(--cos-color-text); font-weight: var(--cos-font-regular); -webkit-text-stroke-color: initial;&quot;&gt;‌&lt;span style=&quot;-webkit-font-smoothing: antialiased; font-weight: var(--cos-font-medium); -webkit-text-stroke: var(--cos-font-medium-stroke); background-size: 100% 9px; padding-bottom: 1px;&quot;&gt;焦距（Focal Length）&lt;/span&gt;‌&lt;br style=&quot;-webkit-font-smoothing: antialiased;&quot;/&gt;决定视角范围和放大倍率，单位为毫米（mm）：&lt;/p&gt;&lt;/li&gt;&lt;ul style=&quot;list-style-type: circle;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;‌&lt;span style=&quot;-webkit-font-smoothing: antialiased; font-weight: var(--cos-font-medium); -webkit-text-stroke: var(--cos-font-medium-stroke); background-size: 100% 9px; padding-bottom: 1px;&quot;&gt;广角镜头&lt;/span&gt;‌：焦距 ≤ 35mm（如16–35mm），视野宽，适合风景、建筑、室内摄影。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;‌&lt;span style=&quot;-webkit-font-smoothing: antialiased; font-weight: var(--cos-font-medium); -webkit-text-stroke: var(--cos-font-medium-stroke); background-size: 100% 9px; padding-bottom: 1px;&quot;&gt;标准镜头&lt;/span&gt;‌：焦距约 ‌&lt;span style=&quot;-webkit-font-smoothing: antialiased; font-weight: var(--cos-font-medium); -webkit-text-stroke: var(--cos-font-medium-stroke); background-size: 100% 9px; padding-bottom: 1px;&quot;&gt;40–60mm&lt;/span&gt;‌（如50mm），视角接近人眼，通用性强。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;‌&lt;span style=&quot;-webkit-font-smoothing: antialiased; font-weight: var(--cos-font-medium); -webkit-text-stroke: var(--cos-font-medium-stroke); background-size: 100% 9px; padding-bottom: 1px;&quot;&gt;长焦镜头&lt;/span&gt;‌：焦距 &amp;gt; 60mm（如85mm、200mm），视野窄，可拉近远处主体，适合人像、体育、野生动物摄影。&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;p class=&quot;marklang-paragraph&quot; style=&quot;margin-top: var(--cos-space-xxs); margin-bottom: var(--cos-space-xxs); padding: 0px; list-style: none; -webkit-font-smoothing: antialiased; font-size: var(--cos-text-body-lg-higher); line-height: var(--cos-leading-body-lg-higher); color: var(--cos-color-text); font-weight: var(--cos-font-regular); -webkit-text-stroke-color: initial;&quot;&gt;‌&lt;span style=&quot;-webkit-font-smoothing: antialiased; font-weight: var(--cos-font-medium); -webkit-text-stroke: var(--cos-font-medium-stroke); background-size: 100% 9px; padding-bottom: 1px;&quot;&gt;最大光圈（Maximum Aperture）&lt;/span&gt;‌&lt;br style=&quot;-webkit-font-smoothing: antialiased;&quot;/&gt;用 f 值表示（如 f/1.8、f/4），‌&lt;span style=&quot;-webkit-font-smoothing: antialiased; font-weight: var(--cos-font-medium); -webkit-text-stroke: var(--cos-font-medium-stroke); background-size: 100% 9px; padding-bottom: 1px;&quot;&gt;数值越小，光圈越大&lt;/span&gt;‌：&lt;/p&gt;&lt;/li&gt;&lt;ul style=&quot;list-style-type: circle;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;大光圈（如 f/1.4）进光量多，适合弱光环境，并能产生浅景深（背景虚化）。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;小光圈（如 f/16）景深大，适合风光摄影需前后清晰的场景。&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;p class=&quot;marklang-paragraph&quot; style=&quot;margin-top: var(--cos-space-xxs); margin-bottom: var(--cos-space-xxs); padding: 0px; list-style: none; -webkit-font-smoothing: antialiased; font-size: var(--cos-text-body-lg-higher); line-height: var(--cos-leading-body-lg-higher); color: var(--cos-color-text); font-weight: var(--cos-font-regular); -webkit-text-stroke-color: initial;&quot;&gt;‌&lt;span style=&quot;-webkit-font-smoothing: antialiased; font-weight: var(--cos-font-medium); -webkit-text-stroke: var(--cos-font-medium-stroke); background-size: 100% 9px; padding-bottom: 1px;&quot;&gt;定焦 vs 变焦&lt;/span&gt;‌&lt;/p&gt;&lt;/li&gt;&lt;ul style=&quot;list-style-type: circle;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;‌&lt;span style=&quot;-webkit-font-smoothing: antialiased; font-weight: var(--cos-font-medium); -webkit-text-stroke: var(--cos-font-medium-stroke); background-size: 100% 9px; padding-bottom: 1px;&quot;&gt;定焦镜头&lt;/span&gt;‌：焦距固定（如 50mm f/1.8），通常光圈更大、画质更优、体积更轻。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;‌&lt;span style=&quot;-webkit-font-smoothing: antialiased; font-weight: var(--cos-font-medium); -webkit-text-stroke: var(--cos-font-medium-stroke); background-size: 100% 9px; padding-bottom: 1px;&quot;&gt;变焦镜头&lt;/span&gt;‌：焦距可调（如 24–70mm），灵活性高，适合多场景快速切换。&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;p class=&quot;marklang-paragraph&quot; style=&quot;margin-top: var(--cos-space-xxs); margin-bottom: var(--cos-space-xxs); padding: 0px; list-style: none; -webkit-font-smoothing: antialiased; font-size: var(--cos-text-body-lg-higher); line-height: var(--cos-leading-body-lg-higher); color: var(--cos-color-text); font-weight: var(--cos-font-regular); -webkit-text-stroke-color: initial;&quot;&gt;‌&lt;span style=&quot;-webkit-font-smoothing: antialiased; font-weight: var(--cos-font-medium); -webkit-text-stroke: var(--cos-font-medium-stroke); background-size: 100% 9px; padding-bottom: 1px;&quot;&gt;镜头标识解读（以佳能 EF 镜头为例）&lt;/span&gt;‌&lt;/p&gt;&lt;/li&gt;&lt;ul style=&quot;list-style-type: circle;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;16–35mm：焦距范围；&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;f/4：恒定最大光圈；&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;‌&lt;span style=&quot;-webkit-font-smoothing: antialiased; font-weight: var(--cos-font-medium); -webkit-text-stroke: var(--cos-font-medium-stroke); background-size: 100% 9px; padding-bottom: 1px;&quot;&gt;L&lt;/span&gt;‌：专业级（红圈镜头）；&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;‌&lt;span style=&quot;-webkit-font-smoothing: antialiased; font-weight: var(--cos-font-medium); -webkit-text-stroke: var(--cos-font-medium-stroke); background-size: 100% 9px; padding-bottom: 1px;&quot;&gt;IS&lt;/span&gt;‌：图像稳定（防抖）；&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;‌&lt;span style=&quot;-webkit-font-smoothing: antialiased; font-weight: var(--cos-font-medium); -webkit-text-stroke: var(--cos-font-medium-stroke); background-size: 100% 9px; padding-bottom: 1px;&quot;&gt;USM&lt;/span&gt;‌：超声波马达，对焦快且静音。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;‌&lt;span style=&quot;-webkit-font-smoothing: antialiased; font-weight: var(--cos-font-medium); -webkit-text-stroke: var(--cos-font-medium-stroke); background-size: 100% 9px; padding-bottom: 1px;&quot;&gt;EF&lt;/span&gt;‌：适用于全画幅/APS-C 佳能单反。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;‌&lt;span style=&quot;-webkit-font-smoothing: antialiased; font-weight: var(--cos-font-medium); -webkit-text-stroke: var(--cos-font-medium-stroke); background-size: 100% 9px; padding-bottom: 1px;&quot;&gt;16–35mm f/4L IS USM&lt;/span&gt;‌：&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;p class=&quot;marklang-paragraph&quot; style=&quot;margin-top: var(--cos-space-xxs); margin-bottom: var(--cos-space-xxs); padding: 0px; list-style: none; -webkit-font-smoothing: antialiased; font-size: var(--cos-text-body-lg-higher); line-height: var(--cos-leading-body-lg-higher); color: var(--cos-color-text); font-weight: var(--cos-font-regular); -webkit-text-stroke-color: initial;&quot;&gt;‌&lt;span style=&quot;-webkit-font-smoothing: antialiased; font-weight: var(--cos-font-medium); -webkit-text-stroke: var(--cos-font-medium-stroke); background-size: 100% 9px; padding-bottom: 1px;&quot;&gt;光圈类型&lt;/span&gt;‌&lt;/p&gt;&lt;/li&gt;&lt;ul style=&quot;list-style-type: circle;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;‌&lt;span style=&quot;-webkit-font-smoothing: antialiased; font-weight: var(--cos-font-medium); -webkit-text-stroke: var(--cos-font-medium-stroke); background-size: 100% 9px; padding-bottom: 1px;&quot;&gt;恒定光圈&lt;/span&gt;‌：变焦过程中最大光圈不变（如 f/2.8），通常更重更贵。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;‌&lt;span style=&quot;-webkit-font-smoothing: antialiased; font-weight: var(--cos-font-medium); -webkit-text-stroke: var(--cos-font-medium-stroke); background-size: 100% 9px; padding-bottom: 1px;&quot;&gt;非恒定光圈&lt;/span&gt;‌：最大光圈随焦距变化（如 f/3.5–5.6），常见于入门套机镜头。&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;hr style=&quot;background-color: rgb(255, 255, 255); border: none; height: 1px; margin: 12px 0px; position: relative; width: auto; -webkit-font-smoothing: antialiased; color: rgb(51, 51, 51); font-family: &amp;quot;PingFang SC&amp;quot;, Arial, sans-serif; font-size: 16px; text-wrap-mode: wrap;&quot;/&gt;&lt;h3 style=&quot;margin-top: var(--cos-space-xxs); margin-right: 0px; margin-bottom: var(--cos-space-xxs); margin-left: 0px; padding: 0px; list-style: none; line-height: 30px; font-size: var(--cos-text-headline-sm); -webkit-font-smoothing: antialiased; font-weight: var(--cos-font-medium); font-family: &amp;quot;PingFang SC&amp;quot;, Arial, sans-serif; color: rgb(51, 51, 51); text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;‌&lt;span style=&quot;-webkit-font-smoothing: antialiased; font-weight: var(--cos-font-medium); -webkit-text-stroke: var(--cos-font-medium-stroke); background-size: 100% 9px; padding-bottom: 1px;&quot;&gt;二、其他重要参数与概念&lt;/span&gt;‌&lt;/h3&gt;&lt;ul style=&quot;list-style-type: none;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;‌&lt;span style=&quot;-webkit-font-smoothing: antialiased; font-weight: var(--cos-font-medium); -webkit-text-stroke: var(--cos-font-medium-stroke); background-size: 100% 9px; padding-bottom: 1px;&quot;&gt;镜头结构&lt;/span&gt;‌：如“9组12片”，指内部镜片组数与总数，‌&lt;span style=&quot;-webkit-font-smoothing: antialiased; font-weight: var(--cos-font-medium); -webkit-text-stroke: var(--cos-font-medium-stroke); background-size: 100% 9px; padding-bottom: 1px;&quot;&gt;并非越多越好&lt;/span&gt;‌，影响畸变、色散控制。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;‌&lt;span style=&quot;-webkit-font-smoothing: antialiased; font-weight: var(--cos-font-medium); -webkit-text-stroke: var(--cos-font-medium-stroke); background-size: 100% 9px; padding-bottom: 1px;&quot;&gt;特殊镜片&lt;/span&gt;‌：&lt;/p&gt;&lt;/li&gt;&lt;ul style=&quot;list-style-type: circle;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;‌&lt;span style=&quot;-webkit-font-smoothing: antialiased; font-weight: var(--cos-font-medium); -webkit-text-stroke: var(--cos-font-medium-stroke); background-size: 100% 9px; padding-bottom: 1px;&quot;&gt;非球面镜片&lt;/span&gt;‌：减少畸变和像差；&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;‌&lt;span style=&quot;-webkit-font-smoothing: antialiased; font-weight: var(--cos-font-medium); -webkit-text-stroke: var(--cos-font-medium-stroke); background-size: 100% 9px; padding-bottom: 1px;&quot;&gt;UD/ED 镜片&lt;/span&gt;‌（超低色散）：抑制色差，提升边缘锐度。&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;p&gt;‌&lt;span style=&quot;-webkit-font-smoothing: antialiased; font-weight: var(--cos-font-medium); -webkit-text-stroke: var(--cos-font-medium-stroke); background-size: 100% 9px; padding-bottom: 1px;&quot;&gt;对焦马达&lt;/span&gt;‌：如 USM（环形超声波马达）、STM（步进马达），影响对焦速度与安静程度。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;‌&lt;span style=&quot;-webkit-font-smoothing: antialiased; font-weight: var(--cos-font-medium); -webkit-text-stroke: var(--cos-font-medium-stroke); background-size: 100% 9px; padding-bottom: 1px;&quot;&gt;防抖（IS/VR）&lt;/span&gt;‌：补偿手抖，允许使用更慢快门手持拍摄。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;‌&lt;span style=&quot;-webkit-font-smoothing: antialiased; font-weight: var(--cos-font-medium); -webkit-text-stroke: var(--cos-font-medium-stroke); background-size: 100% 9px; padding-bottom: 1px;&quot;&gt;卡口兼容性&lt;/span&gt;‌：确保镜头与相机机身匹配（如佳能 EF、尼康 F 卡口）。&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;hr style=&quot;background-color: rgb(255, 255, 255); border: none; height: 1px; margin: 12px 0px; position: relative; width: auto; -webkit-font-smoothing: antialiased; color: rgb(51, 51, 51); font-family: &amp;quot;PingFang SC&amp;quot;, Arial, sans-serif; font-size: 16px; text-wrap-mode: wrap;&quot;/&gt;&lt;h3 style=&quot;margin-top: var(--cos-space-xxs); margin-right: 0px; margin-bottom: var(--cos-space-xxs); margin-left: 0px; padding: 0px; list-style: none; line-height: 30px; font-size: var(--cos-text-headline-sm); -webkit-font-smoothing: antialiased; font-weight: var(--cos-font-medium); font-family: &amp;quot;PingFang SC&amp;quot;, Arial, sans-serif; color: rgb(51, 51, 51); text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;‌&lt;span style=&quot;-webkit-font-smoothing: antialiased; font-weight: var(--cos-font-medium); -webkit-text-stroke: var(--cos-font-medium-stroke); background-size: 100% 9px; padding-bottom: 1px;&quot;&gt;三、实用建议&lt;/span&gt;‌&lt;/h3&gt;&lt;ul style=&quot;list-style-type: none;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;‌&lt;span style=&quot;-webkit-font-smoothing: antialiased; font-weight: var(--cos-font-medium); -webkit-text-stroke: var(--cos-font-medium-stroke); background-size: 100% 9px; padding-bottom: 1px;&quot;&gt;新手入门&lt;/span&gt;‌：优先考虑 ‌&lt;span style=&quot;-webkit-font-smoothing: antialiased; font-weight: var(--cos-font-medium); -webkit-text-stroke: var(--cos-font-medium-stroke); background-size: 100% 9px; padding-bottom: 1px;&quot;&gt;24–70mm f/4&lt;/span&gt;‌ 或 ‌&lt;span style=&quot;-webkit-font-smoothing: antialiased; font-weight: var(--cos-font-medium); -webkit-text-stroke: var(--cos-font-medium-stroke); background-size: 100% 9px; padding-bottom: 1px;&quot;&gt;18–55mm 套头&lt;/span&gt;‌，兼顾广角到标准焦段。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;‌&lt;span style=&quot;-webkit-font-smoothing: antialiased; font-weight: var(--cos-font-medium); -webkit-text-stroke: var(--cos-font-medium-stroke); background-size: 100% 9px; padding-bottom: 1px;&quot;&gt;人像摄影&lt;/span&gt;‌：推荐 ‌&lt;span style=&quot;-webkit-font-smoothing: antialiased; font-weight: var(--cos-font-medium); -webkit-text-stroke: var(--cos-font-medium-stroke); background-size: 100% 9px; padding-bottom: 1px;&quot;&gt;50mm f/1.8&lt;/span&gt;‌ 或 ‌&lt;span style=&quot;-webkit-font-smoothing: antialiased; font-weight: var(--cos-font-medium); -webkit-text-stroke: var(--cos-font-medium-stroke); background-size: 100% 9px; padding-bottom: 1px;&quot;&gt;85mm f/1.8&lt;/span&gt;‌，大光圈+自然透视。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;‌&lt;span style=&quot;-webkit-font-smoothing: antialiased; font-weight: var(--cos-font-medium); -webkit-text-stroke: var(--cos-font-medium-stroke); background-size: 100% 9px; padding-bottom: 1px;&quot;&gt;弱光环境&lt;/span&gt;‌：选择 ‌&lt;span style=&quot;-webkit-font-smoothing: antialiased; font-weight: var(--cos-font-medium); -webkit-text-stroke: var(--cos-font-medium-stroke); background-size: 100% 9px; padding-bottom: 1px;&quot;&gt;大光圈定焦镜头&lt;/span&gt;‌（如 f/1.4），提升进光量并抑制噪点。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;‌&lt;span style=&quot;-webkit-font-smoothing: antialiased; font-weight: var(--cos-font-medium); -webkit-text-stroke: var(--cos-font-medium-stroke); background-size: 100% 9px; padding-bottom: 1px;&quot;&gt;旅行摄影&lt;/span&gt;‌：可选 ‌&lt;span style=&quot;-webkit-font-smoothing: antialiased; font-weight: var(--cos-font-medium); -webkit-text-stroke: var(--cos-font-medium-stroke); background-size: 100% 9px; padding-bottom: 1px;&quot;&gt;18–200mm 全能变焦&lt;/span&gt;‌，减少换镜频率。&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;</description><pubDate>Thu, 16 Apr 2026 10:49:38 +0800</pubDate></item></channel></rss>