<?xml version="1.0" encoding="utf-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><title>zyynb</title><link>http://iisix.cn/</link><description>Good Luck To You!</description><item><title>win11访问win7共享提示704F8</title><link>http://iisix.cn/?id=5052</link><description>&lt;p&gt;&lt;span style=&quot;;font-family:Calibri;font-size:16px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;这个&lt;/span&gt;&lt;span style=&quot;font-family:Calibri&quot;&gt;“704F8”&lt;/span&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;一般是 &lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;;font-family:Calibri&quot;&gt;0x800704F8&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;;font-family:Calibri;font-size:16px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;，意思是：&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;;font-family:Calibri&quot;&gt;Win11 &lt;span style=&quot;font-family:宋体&quot;&gt;的安全策略阻止了未经身份验证的来宾访问&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;;font-family:Calibri;font-size:16px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;。&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:Calibri;font-size:16px&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:Calibri;font-size:16px&quot;&gt;Win7 &lt;span style=&quot;font-family:宋体&quot;&gt;的共享&lt;/span&gt;&lt;span style=&quot;font-family:Calibri&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;打印机常使用 &lt;/span&gt;&lt;span style=&quot;font-family:Calibri&quot;&gt;Guest &lt;/span&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;或无密码方式访问，而 &lt;/span&gt;&lt;span style=&quot;font-family:Calibri&quot;&gt;Win11 24H2/25H2 &lt;/span&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;之后默认更严，所以会报这个错。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;;font-family:Calibri;font-size:16px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;下面按优先级处理，操作都在&lt;/span&gt; &lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;;font-family:Calibri&quot;&gt;Win11 &lt;span style=&quot;font-family:宋体&quot;&gt;这台电脑上&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;;font-family:Calibri;font-size:16px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;做。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;h3&gt;&lt;strong&gt;&lt;span style=&quot;font-family: 宋体;font-size: 18px&quot;&gt;1. 启用不安全的来宾登录&lt;/span&gt;&lt;/strong&gt;&lt;/h3&gt;&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;;font-family:Calibri&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;专业版&lt;/span&gt;/&lt;span style=&quot;font-family:宋体&quot;&gt;企业版&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;;font-family:Calibri;font-size:16px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;：&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top:7px;margin-bottom:7px;margin-left:48px;margin-top:auto;margin-bottom:auto&quot;&gt;&lt;span style=&quot;font-family:Calibri;font-size:16px&quot;&gt;1.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;;font-family:Calibri;font-size:14px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;按&lt;/span&gt; &lt;/span&gt;&lt;span style=&quot;;font-family:&amp;#39;Courier New&amp;#39;;font-size:13px&quot;&gt;Win + R&lt;/span&gt;&lt;span style=&quot;;font-family:Calibri;font-size:14px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;，输入&lt;/span&gt; &lt;/span&gt;&lt;span style=&quot;;font-family:&amp;#39;Courier New&amp;#39;;font-size:13px&quot;&gt;gpedit.msc&lt;/span&gt;&lt;span style=&quot;;font-family:Calibri;font-size:14px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;，回车。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top:7px;margin-bottom:7px;margin-left:48px;margin-top:auto;margin-bottom:auto&quot;&gt;&lt;span style=&quot;font-family:Calibri;font-size:16px&quot;&gt;2.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;;font-family:Calibri;font-size:14px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;依次打开：&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:Calibri;font-size:14px&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;;font-family:Calibri&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;计算机配置&lt;/span&gt; &lt;span style=&quot;font-family:Calibri&quot;&gt;→ &lt;/span&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;管理模板 &lt;/span&gt;&lt;span style=&quot;font-family:Calibri&quot;&gt;→ &lt;/span&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;网络 &lt;/span&gt;&lt;span style=&quot;font-family:Calibri&quot;&gt;→ Lanman &lt;/span&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;工作站&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p style=&quot;margin-top:7px;margin-bottom:7px;margin-left:48px;margin-top:auto;margin-bottom:auto&quot;&gt;&lt;span style=&quot;font-family:Calibri;font-size:16px&quot;&gt;3.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;;font-family:Calibri;font-size:14px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;双击&lt;/span&gt; &lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;;font-family:Calibri&quot;&gt;&lt;span style=&quot;font-family:Calibri&quot;&gt;“&lt;/span&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;启用不安全的来宾登录&lt;/span&gt;&lt;span style=&quot;font-family:Calibri&quot;&gt;”&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;;font-family:Calibri;font-size:14px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top:7px;margin-bottom:7px;margin-left:48px;margin-top:auto;margin-bottom:auto&quot;&gt;&lt;span style=&quot;font-family:Calibri;font-size:16px&quot;&gt;4.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;;font-family:Calibri;font-size:14px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;选择&lt;/span&gt; &lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;;font-family:Calibri&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;已启用&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;;font-family:Calibri;font-size:14px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;，点确定。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top:7px;margin-bottom:7px;margin-left:48px;margin-top:auto;margin-bottom:auto&quot;&gt;&lt;span style=&quot;font-family:Calibri;font-size:16px&quot;&gt;5.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;;font-family:Calibri;font-size:14px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;按&lt;/span&gt; &lt;/span&gt;&lt;span style=&quot;;font-family:&amp;#39;Courier New&amp;#39;;font-size:13px&quot;&gt;Win + R&lt;/span&gt;&lt;span style=&quot;;font-family:Calibri;font-size:14px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;，输入&lt;/span&gt; &lt;/span&gt;&lt;span style=&quot;;font-family:&amp;#39;Courier New&amp;#39;;font-size:13px&quot;&gt;cmd&lt;/span&gt;&lt;span style=&quot;;font-family:Calibri;font-size:14px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;，执行：&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:Calibri;font-size:14px&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;#39;Courier New&amp;#39;;font-size:13px&quot;&gt;gpupdate /force&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;;font-family:Calibri&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;家庭版没有组策略&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;;font-family:Calibri;font-size:16px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;，用注册表：&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top:7px;margin-bottom:7px;margin-left:48px;margin-top:auto;margin-bottom:auto&quot;&gt;&lt;span style=&quot;font-family:Calibri;font-size:16px&quot;&gt;1.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;;font-family:Calibri;font-size:14px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;按&lt;/span&gt; &lt;/span&gt;&lt;span style=&quot;;font-family:&amp;#39;Courier New&amp;#39;;font-size:13px&quot;&gt;Win + R&lt;/span&gt;&lt;span style=&quot;;font-family:Calibri;font-size:14px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;，输入&lt;/span&gt; &lt;/span&gt;&lt;span style=&quot;;font-family:&amp;#39;Courier New&amp;#39;;font-size:13px&quot;&gt;regedit&lt;/span&gt;&lt;span style=&quot;;font-family:Calibri;font-size:14px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top:7px;margin-bottom:7px;margin-left:48px;margin-top:auto;margin-bottom:auto&quot;&gt;&lt;span style=&quot;font-family:Calibri;font-size:16px&quot;&gt;2.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;;font-family:Calibri;font-size:14px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;找到：&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:Calibri;font-size:14px&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;#39;Courier New&amp;#39;;font-size:13px&quot;&gt;HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top:7px;margin-bottom:7px;margin-left:48px;margin-top:auto;margin-bottom:auto&quot;&gt;&lt;span style=&quot;font-family:Calibri;font-size:16px&quot;&gt;3.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;;font-family:Calibri;font-size:14px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;右侧新建&lt;/span&gt; &lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;;font-family:Calibri&quot;&gt;DWORD(32&lt;span style=&quot;font-family:宋体&quot;&gt;位&lt;/span&gt;&lt;span style=&quot;font-family:Calibri&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;值&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;;font-family:Calibri;font-size:14px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;：&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:Calibri;font-size:14px&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:Calibri;font-size:14px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;名称：&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;#39;Courier New&amp;#39;;font-size:13px&quot;&gt;AllowInsecureGuestAuth&lt;/span&gt;&lt;span style=&quot;;font-family:Calibri;font-size:14px&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:Calibri;font-size:14px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;值：&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;#39;Courier New&amp;#39;;font-size:13px&quot;&gt;1&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top:7px;margin-bottom:7px;margin-left:48px;margin-top:auto;margin-bottom:auto&quot;&gt;&lt;span style=&quot;font-family:Calibri;font-size:16px&quot;&gt;4.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;;font-family:Calibri;font-size:14px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;重启&lt;/span&gt; Win11&lt;span style=&quot;font-family:宋体&quot;&gt;。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;h3&gt;&lt;strong&gt;&lt;span style=&quot;font-family: 宋体;font-size: 18px&quot;&gt;2. 关闭 SMB 数字签名强制&lt;/span&gt;&lt;/strong&gt;&lt;/h3&gt;&lt;p&gt;&lt;span style=&quot;;font-family:Calibri;font-size:16px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;管理员身份打开&lt;/span&gt; PowerShell &lt;span style=&quot;font-family:宋体&quot;&gt;或终端，执行：&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;;font-family:&amp;#39;Courier New&amp;#39;;font-size:13px&quot;&gt;Set-SmbClientConfiguration -RequireSecuritySignature $false&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;;font-family:Calibri;font-size:16px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;提示确认时输入&lt;/span&gt; &lt;/span&gt;&lt;span style=&quot;;font-family:&amp;#39;Courier New&amp;#39;;font-size:13px&quot;&gt;Y&lt;/span&gt;&lt;span style=&quot;;font-family:Calibri;font-size:16px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;。&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:Calibri;font-size:16px&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:Calibri;font-size:16px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;如果仍然不行，可再执行：&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;;font-family:&amp;#39;Courier New&amp;#39;;font-size:13px&quot;&gt;Set-SmbClientConfiguration -EnableInsecureGuestLogons $true&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;;font-family:Calibri;font-size:16px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;然后重启电脑，或重启服务：&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;;font-family:&amp;#39;Courier New&amp;#39;;font-size:13px&quot;&gt;Restart-Service LanmanWorkstation -Force&lt;/span&gt;&lt;/p&gt;&lt;h3&gt;&lt;strong&gt;&lt;span style=&quot;font-family: 宋体;font-size: 18px&quot;&gt;3. 用 Win7 的有效账号访问&lt;/span&gt;&lt;/strong&gt;&lt;/h3&gt;&lt;p&gt;&lt;span style=&quot;;font-family:Calibri;font-size:16px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;如果&lt;/span&gt; Win7 &lt;span style=&quot;font-family:宋体&quot;&gt;共享不是 &lt;/span&gt;&lt;span style=&quot;font-family:Calibri&quot;&gt;Guest &lt;/span&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;访问，而是需要账号密码，建议在 &lt;/span&gt;&lt;span style=&quot;font-family:Calibri&quot;&gt;Win11 &lt;/span&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;凭据管理器里保存凭据：&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top:7px;margin-bottom:7px;margin-left:48px;margin-top:auto;margin-bottom:auto&quot;&gt;&lt;span style=&quot;font-family:Calibri;font-size:16px&quot;&gt;1.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;;font-family:Calibri;font-size:14px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;打开&lt;/span&gt; &lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;;font-family:Calibri&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;控制面板&lt;/span&gt; &lt;span style=&quot;font-family:Calibri&quot;&gt;→ &lt;/span&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;用户账户 &lt;/span&gt;&lt;span style=&quot;font-family:Calibri&quot;&gt;→ &lt;/span&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;凭据管理器&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;;font-family:Calibri;font-size:14px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top:7px;margin-bottom:7px;margin-left:48px;margin-top:auto;margin-bottom:auto&quot;&gt;&lt;span style=&quot;font-family:Calibri;font-size:16px&quot;&gt;2.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;;font-family:Calibri;font-size:14px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;选择&lt;/span&gt; &lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;;font-family:Calibri&quot;&gt;Windows &lt;span style=&quot;font-family:宋体&quot;&gt;凭据&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;;font-family:Calibri;font-size:14px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top:7px;margin-bottom:7px;margin-left:48px;margin-top:auto;margin-bottom:auto&quot;&gt;&lt;span style=&quot;font-family:Calibri;font-size:16px&quot;&gt;3.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;;font-family:Calibri;font-size:14px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;点&lt;/span&gt; &lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;;font-family:Calibri&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;添加&lt;/span&gt; Windows &lt;span style=&quot;font-family:宋体&quot;&gt;凭据&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;;font-family:Calibri;font-size:14px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top:7px;margin-bottom:7px;margin-left:48px;margin-top:auto;margin-bottom:auto&quot;&gt;&lt;span style=&quot;font-family:Calibri;font-size:16px&quot;&gt;4.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;;font-family:Calibri;font-size:14px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;填写：&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top:7px;margin-bottom:7px;margin-left:96px;margin-top:auto;margin-bottom:auto&quot;&gt;&lt;span style=&quot;font-family:Calibri;font-size:16px&quot;&gt;1.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;;font-family:Calibri;font-size:14px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;网络地址：&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;#39;Courier New&amp;#39;;font-size:13px&quot;&gt;\\Win7&lt;span style=&quot;font-family:宋体&quot;&gt;的&lt;/span&gt;&lt;span style=&quot;font-family:Courier New&quot;&gt;IP&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top:7px;margin-bottom:7px;margin-left:96px;margin-top:auto;margin-bottom:auto&quot;&gt;&lt;span style=&quot;font-family:Calibri;font-size:16px&quot;&gt;2.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;;font-family:Calibri;font-size:14px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;用户名：&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;#39;Courier New&amp;#39;;font-size:13px&quot;&gt;Win7&lt;span style=&quot;font-family:宋体&quot;&gt;计算机名&lt;/span&gt;&lt;span style=&quot;font-family:Courier New&quot;&gt;\&lt;/span&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;用户名&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top:7px;margin-bottom:7px;margin-left:96px;margin-top:auto;margin-bottom:auto&quot;&gt;&lt;span style=&quot;font-family:Calibri;font-size:16px&quot;&gt;3.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;;font-family:Calibri;font-size:14px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;密码：&lt;/span&gt;Win7 &lt;span style=&quot;font-family:宋体&quot;&gt;该账户的密码&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top:7px;margin-bottom:7px;margin-left:48px;margin-top:auto;margin-bottom:auto&quot;&gt;&lt;span style=&quot;font-family:Calibri;font-size:16px&quot;&gt;5.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;;font-family:Calibri;font-size:14px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;保存后再访问&lt;/span&gt; &lt;/span&gt;&lt;span style=&quot;;font-family:&amp;#39;Courier New&amp;#39;;font-size:13px&quot;&gt;\\Win7&lt;span style=&quot;font-family:宋体&quot;&gt;的&lt;/span&gt;&lt;span style=&quot;font-family:Courier New&quot;&gt;IP&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:Calibri;font-size:14px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;h3&gt;&lt;strong&gt;&lt;span style=&quot;font-family: 宋体;font-size: 18px&quot;&gt;4. 检查基础共享设置&lt;/span&gt;&lt;/strong&gt;&lt;/h3&gt;&lt;p&gt;&lt;span style=&quot;;font-family:Calibri;font-size:16px&quot;&gt;Win7 &lt;span style=&quot;font-family:宋体&quot;&gt;上确认：&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top:7px;margin-bottom:7px;margin-left:48px;margin-top:auto;margin-bottom:auto&quot;&gt;&lt;span style=&quot;font-family:Symbol;font-size:13px&quot;&gt;·&lt;span style=&quot;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;font-size-adjust: none;font-kerning: auto;font-optical-sizing: auto;font-feature-settings: normal;font-variation-settings: normal;font-variant-position: normal;font-variant-emoji: normal;font-stretch: normal;font-size: 9px;line-height: normal;font-family: &amp;#39;Times New Roman&amp;#39;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:Calibri;font-size:14px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;网络类型不是&lt;/span&gt;&lt;span style=&quot;font-family:Calibri&quot;&gt;“&lt;/span&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;公用&lt;/span&gt;&lt;span style=&quot;font-family:Calibri&quot;&gt;”&lt;/span&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;，最好设为 &lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;;font-family:Calibri&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;专用&lt;/span&gt;/&lt;span style=&quot;font-family:宋体&quot;&gt;家庭网络&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;;font-family:Calibri;font-size:14px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top:7px;margin-bottom:7px;margin-left:48px;margin-top:auto;margin-bottom:auto&quot;&gt;&lt;span style=&quot;font-family:Symbol;font-size:13px&quot;&gt;·&lt;span style=&quot;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;font-size-adjust: none;font-kerning: auto;font-optical-sizing: auto;font-feature-settings: normal;font-variation-settings: normal;font-variant-position: normal;font-variant-emoji: normal;font-stretch: normal;font-size: 9px;line-height: normal;font-family: &amp;#39;Times New Roman&amp;#39;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:Calibri;font-size:14px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;已开启&lt;/span&gt; &lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;;font-family:Calibri&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;网络发现&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;;font-family:Calibri;font-size:14px&quot;&gt;&amp;nbsp;&lt;span style=&quot;font-family:宋体&quot;&gt;和&lt;/span&gt; &lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;;font-family:Calibri&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;文件和打印机共享&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;;font-family:Calibri;font-size:14px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top:7px;margin-bottom:7px;margin-left:48px;margin-top:auto;margin-bottom:auto&quot;&gt;&lt;span style=&quot;font-family:Symbol;font-size:13px&quot;&gt;·&lt;span style=&quot;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;font-size-adjust: none;font-kerning: auto;font-optical-sizing: auto;font-feature-settings: normal;font-variation-settings: normal;font-variant-position: normal;font-variant-emoji: normal;font-stretch: normal;font-size: 9px;line-height: normal;font-family: &amp;#39;Times New Roman&amp;#39;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:Calibri;font-size:14px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;共享文件夹权限里有对应用户或&lt;/span&gt; &lt;/span&gt;&lt;span style=&quot;;font-family:&amp;#39;Courier New&amp;#39;;font-size:13px&quot;&gt;Everyone&lt;/span&gt;&lt;span style=&quot;;font-family:Calibri;font-size:14px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top:7px;margin-bottom:7px;margin-left:48px;margin-top:auto;margin-bottom:auto&quot;&gt;&lt;span style=&quot;font-family:Symbol;font-size:13px&quot;&gt;·&lt;span style=&quot;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;font-size-adjust: none;font-kerning: auto;font-optical-sizing: auto;font-feature-settings: normal;font-variation-settings: normal;font-variant-position: normal;font-variant-emoji: normal;font-stretch: normal;font-size: 9px;line-height: normal;font-family: &amp;#39;Times New Roman&amp;#39;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:Calibri;font-size:14px&quot;&gt;Win7 &lt;span style=&quot;font-family:宋体&quot;&gt;账户最好设置了密码；空密码账户 &lt;/span&gt;&lt;span style=&quot;font-family:Calibri&quot;&gt;Win11 &lt;/span&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;可能拒绝连接。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;h3&gt;&lt;strong&gt;&lt;span style=&quot;font-family: 宋体;font-size: 18px&quot;&gt;5. 如果是共享打印机&lt;/span&gt;&lt;/strong&gt;&lt;/h3&gt;&lt;p&gt;&lt;span style=&quot;;font-family:Calibri;font-size:16px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;访问共享打印机还可能需要额外修复：&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;;font-family:Calibri;font-size:16px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;注册表新建：&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top:7px;margin-bottom:7px;margin-left:48px;margin-top:auto;margin-bottom:auto&quot;&gt;&lt;span style=&quot;font-family:Symbol;font-size:13px&quot;&gt;·&lt;span style=&quot;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;font-size-adjust: none;font-kerning: auto;font-optical-sizing: auto;font-feature-settings: normal;font-variation-settings: normal;font-variant-position: normal;font-variant-emoji: normal;font-stretch: normal;font-size: 9px;line-height: normal;font-family: &amp;#39;Times New Roman&amp;#39;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;#39;Courier New&amp;#39;;font-size:13px&quot;&gt;HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print&lt;/span&gt;&lt;span style=&quot;;font-family:Calibri;font-size:14px&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:Calibri;font-size:14px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;新建&lt;/span&gt; DWORD&lt;span style=&quot;font-family:宋体&quot;&gt;：&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;#39;Courier New&amp;#39;;font-size:13px&quot;&gt;RpcAuthnLevelPrivacyEnabled = 0&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top:7px;margin-bottom:7px;margin-left:48px;margin-top:auto;margin-bottom:auto&quot;&gt;&lt;span style=&quot;font-family:Symbol;font-size:13px&quot;&gt;·&lt;span style=&quot;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;font-size-adjust: none;font-kerning: auto;font-optical-sizing: auto;font-feature-settings: normal;font-variation-settings: normal;font-variant-position: normal;font-variant-emoji: normal;font-stretch: normal;font-size: 9px;line-height: normal;font-family: &amp;#39;Times New Roman&amp;#39;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;#39;Courier New&amp;#39;;font-size:13px&quot;&gt;HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Printers\RPC&lt;/span&gt;&lt;span style=&quot;;font-family:Calibri;font-size:14px&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:Calibri;font-size:14px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;新建&lt;/span&gt; DWORD&lt;span style=&quot;font-family:宋体&quot;&gt;：&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;#39;Courier New&amp;#39;;font-size:13px&quot;&gt;RpcUseNamedPipeProtocol = 1&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;;font-family:Calibri;font-size:16px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;然后执行：&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;;font-family:&amp;#39;Courier New&amp;#39;;font-size:13px&quot;&gt;gpupdate /force&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;;font-family:Calibri;font-size:16px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;再重启&lt;/span&gt; Win11 &lt;span style=&quot;font-family:宋体&quot;&gt;或重启 &lt;/span&gt;&lt;span style=&quot;font-family:Calibri&quot;&gt;Print Spooler &lt;/span&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;服务。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;h3&gt;&lt;strong&gt;&lt;span style=&quot;font-family: 宋体;font-size: 18px&quot;&gt;建议优先这样试&lt;/span&gt;&lt;/strong&gt;&lt;/h3&gt;&lt;p&gt;&lt;span style=&quot;;font-family:Calibri;font-size:16px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;先做第&lt;/span&gt; 1&lt;span style=&quot;font-family:宋体&quot;&gt;、&lt;/span&gt;&lt;span style=&quot;font-family:Calibri&quot;&gt;2 &lt;/span&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;步，通常就能解决大部分 &lt;/span&gt;&lt;span style=&quot;font-family:Calibri&quot;&gt;0x800704F8&lt;/span&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;。&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:Calibri;font-size:16px&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:Calibri;font-size:16px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;如果还不行，把完整报错文字、你是访问&lt;/span&gt; &lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;;font-family:Calibri&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;共享文件夹&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;;font-family:Calibri;font-size:16px&quot;&gt;&amp;nbsp;&lt;span style=&quot;font-family:宋体&quot;&gt;还是&lt;/span&gt; &lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;;font-family:Calibri&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;共享打印机&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;;font-family:Calibri;font-size:16px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;、&lt;/span&gt;Win11 &lt;span style=&quot;font-family:宋体&quot;&gt;当前版本（&lt;/span&gt;&lt;span style=&quot;font-family:Calibri&quot;&gt;24H2/25H2&lt;/span&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;）发出来，可以继续帮你定位。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;;font-family:Calibri;font-size:14px&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Thu, 15 Oct 2026 11:15:06 +0800</pubDate></item><item><title>安装或使用FileZilla时，queue.sqlite3”加载传输队列时发生了一个错误</title><link>http://iisix.cn/?id=5051</link><description>&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; outline: 0px; margin-top: 0px; margin-bottom: 16px; margin-left: 0.0001pt; 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); text-align: justify; line-height: 24px !important;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; outline: 0px; font-weight: 700; font-synthesis-style: auto; overflow-wrap: break-word;&quot;&gt;在安装或使用FileZilla时，出现如下提示框&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; outline: 0px; margin-top: 0px; margin-bottom: 16px; margin-left: 0.0001pt; 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); text-align: justify; line-height: 24px !important;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; outline: 0px; font-weight: 700; font-synthesis-style: auto; overflow-wrap: break-word;&quot;&gt;“在从“C:\Users\XXX\AppData\Roaming\FileZilla\queue.sqlite3”加载传输队列时发生了一个错误。队列中的一些项可能没有恢复”&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;box-sizing: border-box; outline: 0px; font-weight: 700; font-synthesis-style: auto; overflow-wrap: break-word; color: #4D4D4D; 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; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;box-sizing: border-box; outline: 0px; font-weight: 700; font-synthesis-style: auto; overflow-wrap: break-word; color: #4D4D4D; 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; 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;box-sizing: border-box; outline: 0px; font-weight: 700; font-synthesis-style: auto; overflow-wrap: break-word; color: #4D4D4D; 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; font-size: 16px; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;\AppData\Roaming\FileZilla\&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #4D4D4D; 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; font-size: 16px; font-weight: 700; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;删除&lt;span style=&quot;color: #4D4D4D; 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; font-size: 16px; font-weight: 700; text-align: justify; text-wrap-mode: wrap; background-color: #FFFFFF;&quot;&gt;queue.sqlite3文件即可。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description><pubDate>Fri, 15 May 2026 10:45:31 +0800</pubDate></item><item><title>PVE虚拟机硬盘直通</title><link>http://iisix.cn/?id=5050</link><description>&lt;p&gt;&lt;span style=&quot;font-family: ui-sans-serif, system-ui, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; white-space-collapse: preserve;&quot;&gt;第一步&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: ui-sans-serif, system-ui, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; white-space-collapse: preserve;&quot;&gt;#获取硬盘&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: ui-sans-serif, system-ui, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; white-space-collapse: preserve;&quot;&gt;ls -l /dev/disk/by-id/&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: ui-sans-serif, system-ui, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; white-space-collapse: preserve;&quot;&gt;#例如lrwxrwxrwx 1 root root&amp;nbsp; 9 Mar 15&amp;nbsp; 2026 ata-WDC_WD5000LPVT-80G33T2_WD-WX21AC234093 -&amp;gt; ../../sdb&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: ui-sans-serif, system-ui, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;font-family: ui-sans-serif, system-ui, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; white-space: pre-wrap;&quot;&gt;#取ata-WDC_WD5000LPVT-80G33T2_WD-WX21AC234093&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: ui-sans-serif, system-ui, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; white-space-collapse: preserve;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: ui-sans-serif, system-ui, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;font-family: ui-sans-serif, system-ui, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; white-space: pre-wrap;&quot;&gt;第二步&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: ui-sans-serif, system-ui, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; white-space-collapse: preserve;&quot;&gt;# 列出所有虚拟机，找到“fnos”对应的VMID
qm list | grep -i fnos&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: ui-sans-serif, system-ui, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; white-space: pre-wrap;&quot;&gt;第三步&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: ui-sans-serif, system-ui, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;font-family: ui-sans-serif, system-ui, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; white-space-collapse: preserve;&quot;&gt;# 核心命令：将500G硬盘直通给fnos虚拟机（VMID=105），用SCSI总线（推荐）
qm set 105 --scsi1 /dev/disk/by-id/ata-WDC_WD5000LPVT-80G33T2_WD-WX21AC234093

# （可选）如果是SSD，加性能优化参数（机械盘可跳过）
# qm set 105 --scsi1 /dev/disk/by-id/ata-WDC_WD5000LPVT-80G33T2_WD-WX21AC234093,discard=on,iothread=1&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: ui-sans-serif, system-ui, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; white-space-collapse: preserve;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: ui-sans-serif, system-ui, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; white-space-collapse: preserve;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: ui-sans-serif, system-ui, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;font-family: ui-sans-serif, system-ui, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; white-space-collapse: preserve;&quot;&gt;# 查看虚拟机配置，确认scsi1已添加
cat /etc/pve/qemu-server/105.conf | grep scsi1&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: ui-sans-serif, system-ui, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;font-family: ui-sans-serif, system-ui, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; white-space-collapse: preserve;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: ui-sans-serif, system-ui, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;font-family: ui-sans-serif, system-ui, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; white-space-collapse: preserve;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: ui-sans-serif, system-ui, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;font-family: ui-sans-serif, system-ui, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; white-space-collapse: preserve;&quot;&gt;#移除直通&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: ui-sans-serif, system-ui, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;font-family: ui-sans-serif, system-ui, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;font-family: ui-sans-serif, system-ui, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; white-space-collapse: preserve;&quot;&gt;qm set 105 --delete scsi1&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description><pubDate>Sat, 14 Mar 2026 19:02:03 +0800</pubDate></item><item><title>麒麟Linux常用命令</title><link>http://iisix.cn/?id=5049</link><description>&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;#查看内核版本&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;cat /proc/version&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;uname -a&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;#查看发行版本&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;lsb_release -a&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;#查看系统版本&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;cat /etc/os-release&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;-------------------------------------------&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;检查端口&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;netstat -tuln | grep 80&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;查看哪些进程占用了特定的端口&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;lsof -i :8080&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;检查端口占用&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;ss -tuln | grep 端口号&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;-------------------------------------------&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;重启nginx&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;nginx -s reload&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;停止nginx&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;nginx -s stop&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;检查nginx语法&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;nginx -t&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;重启nginx&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;systemctl restart nginx&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;-------------------------------------------&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;检查防火墙规则&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;sudo firewall-cmd --list-ports&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;检查防火墙状态&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;systemctl status firewalld&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;启动防火墙&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;systemctl start firewalld&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;临时关闭防火墙&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;systemctl stop firewalld&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;‌永久关闭防火墙‌&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;systemctl disable firewalld&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;放行80端口&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;firewall-cmd --permanent --add-port=80/tcp&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;firewall-cmd --permanent --add-port=8080/tcp&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;重新加载防火墙配置&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;firewall-cmd --reload&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;查看已添加的规则&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;firewall-cmd --list-all&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;部分麒麟系统可能使用 iptables 或 ufw 作为防火墙工具。若上述命令无效，可尝试 sudo systemctl status iptables 检查，并通过 sudo systemctl stop iptables 和 sudo systemctl disable iptables 关闭&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;-------------------------------------------&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;查看网卡状态&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;systemctl status NetworkManager&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;重启网卡&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;systemctl restart NetworkManager&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;service network restart&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;-------------------------------------------&lt;/span&gt;&lt;/p&gt;&lt;p&gt;网卡配置&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;cp /etc/ssh/sshd_config /etc/ssh/sshd_config.bak&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;修改配置文件，去掉端口注释，修改端口号&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;vi /etc/ssh/sshd_config&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;重启SSH服务&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;systemctl restart sshd&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;service ssh restart&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;-------------------------------------------&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;查看时间设置&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;timedatectl status&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;修改时间&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;date -s &amp;quot;2026-01-16 11:19:50&amp;quot;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;timedatectl set-time &amp;quot;2026-02-03 15:09:46&amp;quot;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;将系统时间同步到硬件时钟&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;hwclock --systohc&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;将系统时间设置为RTC时间&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;hwclock --hctosys&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;-------------------------------------------&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;移动文件&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;mv 文件名 目录&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;mv 文件名 文件名&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Fri, 13 Mar 2026 12:45:21 +0800</pubDate></item><item><title>WPS解除登录限制</title><link>http://iisix.cn/?id=5048</link><description>&lt;ol class=&quot; list-paddingleft-2&quot; style=&quot;list-style-type: decimal;&quot;&gt;&lt;li&gt;&lt;p&gt;运行输入regedit 打开注册表编辑器&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;找到以下路径&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;计算机\HKEY_CURRENT_USER\SOFTWARE\kingsoft\Office\6.0\plugins\officespace\flogin&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;3.找到以下属性并修改字符串值（没有的话则手动创建字符串值）&lt;/p&gt;&lt;p&gt;enableForceLoginForFirstInstallDevice=false&lt;/p&gt;</description><pubDate>Fri, 13 Mar 2026 12:41:26 +0800</pubDate></item><item><title>Windows网络端口映射</title><link>http://iisix.cn/?id=5047</link><description>&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-wrap-mode: wrap;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;查看端口映射&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-wrap-mode: wrap;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;netsh interface portproxy show all&lt;/span&gt;&lt;/p&gt;&lt;br/&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;添加端口映射&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;netsh interface portproxy add v4tov4 listenport=4455 listenaddress=127.0.0.1 connectport=445 connectaddress=127.0.0.1&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;删除&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;netsh interface portproxy delete v4tov4 listenaddress=127.0.0.1 listenport=4455&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Fri, 13 Mar 2026 12:40:38 +0800</pubDate></item><item><title>解决Windows，游客用户访问共享提示没权限的问题</title><link>http://iisix.cn/?id=5046</link><description>&lt;p&gt;&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;【&lt;/span&gt;&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;开启来宾账户&lt;/span&gt;&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;】&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;主机设置&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;1、&lt;/span&gt;运行输入&lt;/span&gt;&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;secpol.mac，打开本地安全策略。[本地策略]&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;——&lt;/span&gt;&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;安全选项&lt;/span&gt;&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;]。&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;运行输入gpedit.msc，&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;打开组策略编辑器。&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;计算机配置&lt;/span&gt;&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;]&lt;/span&gt;&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;——&lt;/span&gt;&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;Windows设置&lt;/span&gt;&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;]&lt;/span&gt;&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;——&lt;/span&gt;&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;安全设置&lt;/span&gt;&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;]&lt;/span&gt;&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;——&lt;/span&gt;&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;本地策略&lt;/span&gt;&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;]&lt;/span&gt;&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;——&lt;/span&gt;&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;安全选项&lt;/span&gt;&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;]。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;2、&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;帐户:使用空密码的本地帐户只允许进行控制台登录-禁用&lt;/span&gt;&lt;/p&gt;&lt;p&gt;3、帐户:来宾帐户状态-启用&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;【本地安全策略设置】主机设置&lt;/p&gt;&lt;p&gt;1、&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;运行输入&lt;/span&gt;&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;secpol.mac，打开本地安全策略&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;。&lt;/span&gt;&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;[本地策略]&lt;/span&gt;&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;——&lt;/span&gt;&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;[用户权限分配]。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;运行输入gpedit.msc，&lt;/span&gt;&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;打开组策略编辑器。&lt;/span&gt;&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;计算机配置&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;]&lt;/span&gt;——&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;[&lt;/span&gt;Windows设置&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;]&lt;/span&gt;&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;——&lt;/span&gt;&lt;/span&gt;[安全设置]&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;——&lt;/span&gt;[本地策略]&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;——&lt;/span&gt;[用户权限分配]。&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;2、&lt;/span&gt;然后在右侧的策略列表中双击打开“拒绝从网络访问这台计算机”策略,将列表中的“Guest”用户删除并保存即可。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Fri, 13 Mar 2026 12:37:08 +0800</pubDate></item><item><title>win环境mysql密码重置详细操作步骤</title><link>http://iisix.cn/?id=5040</link><description>核心步骤概述&lt;br /&gt;
停止MySQL服务 → 以跳过权限检查的模式启动MySQL → 无密码登录并修改密码 → 恢复正常服务‌‌。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;‌停止MySQL服务‌&lt;/strong&gt;&lt;br /&gt;
首先，以管理员身份打开“命令提示符”。然后，执行以下命令来停止MySQL服务（服务名通常为MySQL80或MySQL57，如果不确定，可以尝试net stop MySQL80）‌：&lt;br /&gt;
&lt;br /&gt;
net stop MySQL&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;‌跳过权限检查启动MySQL‌&lt;/strong&gt;&lt;br /&gt;
在同一个命令提示符窗口中，执行以下命令来以跳过权限表的方式启动MySQL。‌请注意，此窗口需要保持运行，不要关闭‌‌。&lt;br /&gt;
&lt;br /&gt;
‌MySQL 8.0‌:&lt;br /&gt;
mysqld --console --skip-grant-tables --shared-memory&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
‌MySQL 5.7‌:&lt;br /&gt;
mysqld --skip-grant-tables&amp;nbsp;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;strong&gt;‌无密码登录并修改密码‌&lt;/strong&gt;&lt;br /&gt;
打开一个新的“管理员命令提示符”窗口。切换到MySQL的bin目录（例如C:\Program Files\MySQL\MySQL Server 8.0\bin），然后执行以下命令无密码登录‌：&lt;br /&gt;
mysql -u root&amp;nbsp;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
登录成功后，根据您的MySQL版本执行相应的密码修改命令：&lt;br /&gt;
&lt;br /&gt;
‌MySQL 8.0‌:&lt;br /&gt;
ALTER USER 'root'@'localhost' IDENTIFIED BY '您的新密码';&lt;br /&gt;
FLUSH PRIVILEGES;&amp;nbsp;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
‌MySQL 5.7‌:&lt;br /&gt;
UPDATE mysql.user SET authentication_string=PASSWORD('您的新密码') WHERE User='root' AND Host='localhost';&lt;br /&gt;
FLUSH PRIVILEGES;&amp;nbsp;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
修改完成后，输入exit退出MySQL。&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;‌恢复正常服务‌&lt;/strong&gt;&lt;br /&gt;
回到第一步中启动安全模式的窗口，按Ctrl+C停止该进程。然后，执行以下命令重新启动MySQL服务‌：&lt;br /&gt;
net start MySQL&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;‌验证新密码‌&lt;/strong&gt;&lt;br /&gt;
使用新设置的密码尝试登录，验证是否成功‌：&lt;br /&gt;
mysql -u root -p&lt;br /&gt;
&lt;br /&gt;
将mysql添加到服务&lt;br /&gt;
&lt;span style=&quot;color:#333333;font-family:monospace;font-size:16px;white-space-collapse:preserve;background-color:rgba(245, 246, 249, 0.5);&quot;&gt;mysqld --install&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
如果服务无效，打开注册表。&lt;br /&gt;
&lt;span style=&quot;color:#333333;font-family:monospace;font-size:16px;text-wrap-mode:wrap;background-color:#EDEEF0;&quot;&gt;HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MySQL&lt;/span&gt;&lt;br /&gt;
&lt;code style=&quot;margin:0px 4px;padding:1px 4px;-webkit-font-smoothing:antialiased;scrollbar-color:rgba(184, 186, 193, 0.6) transparent;scrollbar-width:thin;background-image:;background-position-x:;background-position-y:;background-size:;background-repeat:;background-attachment:;background-origin:;background-clip:;border-radius:6px;color:#333333;font-size:16px;text-wrap-mode:wrap;&quot;&gt;ImagePath&lt;/code&gt;&lt;span style=&quot;color:#333333;font-family:&amp;quot;font-size:16px;text-wrap-mode:wrap;background-color:#FFFFFF;&quot;&gt;&amp;nbsp;的字符串值为mysql路径&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description><pubDate>Tue, 04 Nov 2025 14:20:49 +0800</pubDate></item><item><title>win下python配置</title><link>http://iisix.cn/?id=5036</link><description>&lt;span style=&quot;color:#333333;font-family:&amp;quot;font-size:16px;text-wrap-mode:wrap;background-color:#FFFFFF;&quot;&gt;&lt;strong&gt;&lt;br /&gt;
安装或更新&lt;/strong&gt;&lt;/span&gt;&lt;code style=&quot;background-image:;background-position-x:;background-position-y:;background-size:;background-repeat:;background-attachment:;background-origin:;background-clip:;border-radius:6px;margin:0px 4px;padding:1px 4px;-webkit-font-smoothing:antialiased;color:#333333;font-size:16px;text-wrap-mode:wrap;&quot;&gt;&lt;strong&gt;pip&lt;/strong&gt;&lt;/code&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;
python -m pip install --upgrade pip
&lt;div&gt;
	&lt;br /&gt;
&lt;/div&gt;
&lt;span style=&quot;color:#333333;font-family:&amp;quot;font-size:16px;text-wrap-mode:wrap;background-color:#FFFFFF;&quot;&gt;&lt;strong&gt;添加&lt;/strong&gt;&lt;/span&gt;&lt;code style=&quot;background-image:;background-position-x:;background-position-y:;background-size:;background-repeat:;background-attachment:;background-origin:;background-clip:;border-radius:6px;margin:0px 4px;padding:1px 4px;-webkit-font-smoothing:antialiased;color:#333333;font-size:16px;text-wrap-mode:wrap;&quot;&gt;&lt;strong&gt;Scripts&lt;/strong&gt;&lt;/code&gt;&lt;span style=&quot;color:#333333;font-family:&amp;quot;font-size:16px;text-wrap-mode:wrap;background-color:#FFFFFF;&quot;&gt;&lt;strong&gt;目录到你的环境变量中&lt;/strong&gt;&lt;br /&gt;
例如，&lt;/span&gt;&lt;code style=&quot;background-image:;background-position-x:;background-position-y:;background-size:;background-repeat:;background-attachment:;background-origin:;background-clip:;border-radius:6px;margin:0px 4px;padding:1px 4px;-webkit-font-smoothing:antialiased;color:#333333;font-size:16px;text-wrap-mode:wrap;&quot;&gt;C:\Python39\Scripts&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;/strong&gt;&lt;span style=&quot;color:#333333;font-family:monospace;font-size:16px;text-wrap-mode:wrap;&quot;&gt;&lt;strong&gt;设置下载源&lt;/strong&gt;&lt;/span&gt;&lt;br style=&quot;color:#333333;font-family:monospace;font-size:16px;text-wrap-mode:wrap;&quot; /&gt;
&lt;div style=&quot;color:#333333;font-family:monospace;font-size:16px;text-wrap-mode:wrap;&quot;&gt;
	&lt;span style=&quot;font-family:&amp;quot;font-size:16px;text-wrap-mode:wrap;background-color:#FFFFFF;&quot;&gt;&lt;span style=&quot;color:#333333;font-family:monospace;font-size:16px;text-wrap-mode:wrap;&quot;&gt;pip install package_name -i https://pypi.tuna.tsinghua.edu.cn/simple&lt;/span&gt;&lt;/span&gt; 
&lt;/div&gt;
https://pypi.tuna.tsinghua.edu.cn/simple&amp;nbsp; &amp;nbsp; # 清华（一直使用，但是202407下旬时候出现了问题）&lt;br /&gt;
http://mirrors.aliyun.com/pypi/simple/&amp;nbsp; &amp;nbsp; &amp;nbsp; # 阿里云&lt;br /&gt;
https://mirrors.cloud.tencent.com/pypi/simple/&amp;nbsp; &amp;nbsp; # 腾讯云&lt;br /&gt;
https://mirrors.pku.edu.cn/pypi/simple/&amp;nbsp; &amp;nbsp; # 北京大学&lt;br /&gt;
https://mirrors.bfsu.edu.cn/pypi/web/simple/&amp;nbsp; &amp;nbsp; # 北京外国语大学&lt;br /&gt;
note：新版ubuntu要求使用https源，要注意。&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;更新PIP&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;color:#333333;font-family:monospace;font-size:16px;text-wrap-mode:wrap;background-color:#EDEEF0;&quot;&gt;python -m pip install --upgrade pip&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;指定URL下载包&lt;/strong&gt;&lt;br /&gt;
pip install some-package -i https://pypi.tuna.tsinghua.edu.cn/simple&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;/strong&gt;&lt;strong&gt;更新包‌&lt;/strong&gt;&lt;br /&gt;
pip install --upgrade package_name（如 pip install --upgrade requests）。‌&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;检查可更新包&lt;/strong&gt;&lt;br /&gt;
pip list --outdated‌&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;‌查看包列表‌&lt;/strong&gt;&lt;br /&gt;
pip list‌&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;‌查看包详情‌&lt;/strong&gt;&lt;br /&gt;
pip show package_name（显示版本、路径等）。‌&lt;br /&gt;
&lt;div&gt;
	&lt;br /&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
=======================================================================&lt;br /&gt;
&lt;strong&gt;打包EXE&lt;/strong&gt; 
&lt;ul style=&quot;margin:-2px 0px -2px 4px;padding:0px;-webkit-font-smoothing:antialiased;scrollbar-color:rgba(184, 186, 193, 0.6) transparent;scrollbar-width:thin;counter-reset:listCounter 0;list-style:none;color:#333333;font-family:&amp;quot;font-size:16px;text-wrap-mode:wrap;background-color:#FFFFFF;&quot;&gt;
	&lt;li style=&quot;margin:6px 0px;padding:0px 0px 0px 21px;-webkit-font-smoothing:antialiased;scrollbar-color:rgba(184, 186, 193, 0.6) transparent;scrollbar-width:thin;line-height:28px;min-height:28px;position:relative;&quot;&gt;
		安装：&lt;code style=&quot;margin:0px 4px;padding:1px 4px;-webkit-font-smoothing:antialiased;scrollbar-color:rgba(184, 186, 193, 0.6) transparent;scrollbar-width:thin;background:var(--cos-color-border-minor);border-radius:6px;color:var(--cos-color-text);&quot;&gt;pip install pyinstaller&lt;/code&gt; 
	&lt;/li&gt;
	&lt;li style=&quot;margin:6px 0px;padding:0px 0px 0px 21px;-webkit-font-smoothing:antialiased;scrollbar-color:rgba(184, 186, 193, 0.6) transparent;scrollbar-width:thin;line-height:28px;min-height:28px;position:relative;&quot;&gt;
		打包：&lt;code style=&quot;margin:0px 4px;padding:1px 4px;-webkit-font-smoothing:antialiased;scrollbar-color:rgba(184, 186, 193, 0.6) transparent;scrollbar-width:thin;background:var(--cos-color-border-minor);border-radius:6px;color:var(--cos-color-text);&quot;&gt;pyinstaller -F -w your_script.py&lt;/code&gt;（生成单个exe文件）。‌
	&lt;/li&gt;
	&lt;li style=&quot;margin:6px 0px;padding:0px 0px 0px 21px;-webkit-font-smoothing:antialiased;scrollbar-color:rgba(184, 186, 193, 0.6) transparent;scrollbar-width:thin;line-height:28px;min-height:28px;position:relative;&quot;&gt;
		输出文件位于&lt;code style=&quot;margin:0px 4px;padding:1px 4px;-webkit-font-smoothing:antialiased;scrollbar-color:rgba(184, 186, 193, 0.6) transparent;scrollbar-width:thin;background:var(--cos-color-border-minor);border-radius:6px;color:var(--cos-color-text);&quot;&gt;dist&lt;/code&gt;目录
	&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;div&gt;
	&lt;p style=&quot;margin-top:0px;margin-bottom:8px;padding:0px;box-sizing:border-box;list-style:inherit;min-height:24px;color:#333333;font-family:&amp;quot;font-size:14px;white-space:pre-wrap;background-color:#FFFFFF;&quot;&gt;
		-F：仅仅生成一个文件，不暴露其他信息，启动较慢。
	&lt;/p&gt;
	&lt;p style=&quot;margin-top:0px;margin-bottom:8px;padding:0px;box-sizing:border-box;list-style:inherit;min-height:24px;color:#333333;font-family:&amp;quot;font-size:14px;white-space:pre-wrap;background-color:#FFFFFF;&quot;&gt;
		-D：(默认)生成一个文件夹，包含可执行文件和相关动态链接库和资源文件等，启动快。
	&lt;/p&gt;
	&lt;p style=&quot;margin-top:0px;margin-bottom:8px;padding:0px;box-sizing:border-box;list-style:inherit;min-height:24px;color:#333333;font-family:&amp;quot;font-size:14px;white-space:pre-wrap;background-color:#FFFFFF;&quot;&gt;
		-w：窗口模式打包，不显示控制台cmd命令行界面。
	&lt;/p&gt;
	&lt;p style=&quot;margin-top:0px;margin-bottom:8px;padding:0px;box-sizing:border-box;list-style:inherit;min-height:24px;color:#333333;font-family:&amp;quot;font-size:14px;white-space:pre-wrap;background-color:#FFFFFF;&quot;&gt;
		-c：跟图标路径，作为应用icon。
	&lt;/p&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;/code&gt;</description><pubDate>Fri, 31 Oct 2025 12:59:44 +0800</pubDate></item><item><title>JS网页插件常用代码</title><link>http://iisix.cn/?id=5035</link><description>&lt;strong&gt;//JS选择器&lt;/strong&gt;&lt;br /&gt;
document.getElementById(&quot;&quot;);		//通过ID获取&lt;br /&gt;
document.getElementsByClassName(&quot;&quot;);	//通过class获取&lt;br /&gt;
document.getElementsByTagName(&quot;&quot;);	//通过name获取&lt;br /&gt;
document.querySelector(&quot;&quot;);		//通用获取&lt;br /&gt;
document.querySelectorAll(&quot;&quot;);		//通用获取全部&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;//JS插入代码&lt;/strong&gt;&lt;br /&gt;
.insertAdjacentHTML(&quot;beforebegin&quot;,&quot;&amp;lt;button&amp;gt;按钮&amp;lt;/button&amp;gt;&quot;);	//插入到开始标签前&lt;br /&gt;
.insertAdjacentHTML(&quot;afterbegin&quot;,&quot;&amp;lt;button&amp;gt;按钮&amp;lt;/button&amp;gt;&quot;);	//插入到开始标签后&lt;br /&gt;
.insertAdjacentHTML(&quot;beforeend&quot;,&quot;&amp;lt;button&amp;gt;按钮&amp;lt;/button&amp;gt;&quot;);	//插入到结束标签前&lt;br /&gt;
.insertAdjacentHTML(&quot;afterend&quot;,&quot;&amp;lt;button&amp;gt;按钮&amp;lt;/button&amp;gt;&quot;);	//插入到结束标签后&lt;br /&gt;
&lt;br /&gt;
.insertAdjacentHTML(&quot;beforebegin&quot;,&quot;&amp;lt;div&amp;gt;容器&amp;lt;/div&amp;gt;&quot;);	//插入到开始标签前&lt;br /&gt;
.insertAdjacentHTML(&quot;afterbegin&quot;,&quot;&amp;lt;div&amp;gt;容器&amp;lt;/div&amp;gt;&quot;);	//插入到开始标签后&lt;br /&gt;
.insertAdjacentHTML(&quot;beforeend&quot;,&quot;&amp;lt;div&amp;gt;容器&amp;lt;/div&amp;gt;&quot;);	//插入到结束标签前&lt;br /&gt;
.insertAdjacentHTML(&quot;afterend&quot;,&quot;&amp;lt;div&amp;gt;容器&amp;lt;/div&amp;gt;&quot;);	//插入到结束标签后&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;//插入节点&lt;/strong&gt;，不支持直接插入代码&lt;br /&gt;
document.body.appendChild();	//插入节点，到子元素的末尾&lt;br /&gt;
父节点.appendChild();		//插入节点&lt;br /&gt;
&lt;br /&gt;
参考节点.parentNode.insertBefore(,参考节点);	//在参考子节点前插入&lt;br /&gt;
参考节点.parentNode.insertAfter(,参考节点);	//在参考子节点后插入&lt;br /&gt;
&lt;br /&gt;
参考节点.parentNode	//参考节点的父元素&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
.addEventListener('click', () =&amp;gt; {&lt;br /&gt;
&lt;span style=&quot;white-space-collapse:preserve;&quot;&gt; &lt;/span&gt;//按钮事件&lt;br /&gt;
&lt;span style=&quot;white-space-collapse:preserve;&quot;&gt; &lt;/span&gt;})&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;//设置指定class的css&lt;/strong&gt;&lt;br /&gt;
document.querySelector(&quot;.tab&quot;).style.backgroundColor=&quot;#409eff&quot;;&lt;br /&gt;
document.querySelector(&quot;.tab&quot;).style.color=&quot;#FFF&quot;;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;white-space:nowrap;&quot;&gt;
	&lt;br /&gt;
&lt;/div&gt;</description><pubDate>Wed, 29 Oct 2025 11:49:24 +0800</pubDate></item></channel></rss>