<?xml version="1.0" encoding="utf-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><title>Leus</title><link>https://www.leus.cc/</link><description>Leus、乐生活</description><item><title>Centos6.10升级到7.2</title><link>https://www.leus.cc/?id=31</link><description>&lt;p style=&quot;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;Centos升级6=&amp;gt;7&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: 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;首先说一下升级，从centos6.X版本升级至centos7.2版本算是一个比较大的跨越性的升级，会考虑到的问题也比较多，一些内核兼容不兼容，会不会缺失什么必要文件导致不能启动，不能正常使用，这些原本的文件服务会不会丢失，我们带着这些疑问跟随我进行升级一下！&lt;/p&gt;&lt;blockquote style=&quot;box-sizing: border-box; list-style: inherit; margin: 0px 0px 24px; padding: 0px 15px; color: rgb(119, 119, 119); border-left: 4px solid rgb(221, 221, 221); 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 style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; min-height: 24px;&quot;&gt;升级步骤
 Centos6.X —&amp;gt;Centos7.2 ----&amp;gt; Centos7.9&lt;/p&gt;&lt;/blockquote&gt;&lt;p style=&quot;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;这是一台测试服务器没什么特殊的服务版本为Centos6.10
 升级的步骤我也是查阅了很多的资料，可以说是文章千篇一律但是能用的可能就那一章，也算是跟随着报错pass一篇一篇文章。&lt;/p&gt;&lt;h2 id=&quot;pdqe&quot; name=&quot;%E2%98%86Centos6.X%E5%8D%87%E7%BA%A7%E8%87%B3Centos7.2&quot; style=&quot;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;☆Centos6.X升级至Centos7.2&lt;/h2&gt;&lt;h3 id=&quot;4bq82&quot; name=&quot;1%E3%80%81%E6%9F%A5%E7%9C%8B%E5%BD%93%E5%89%8DCentOS%E7%89%88%E6%9C%AC&quot; style=&quot;margin: 12px 0px 8px; padding: 0px; font-size: 14px; box-sizing: border-box; list-style: inherit; line-height: 24px; 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;查看当前CentOS版本&lt;/h3&gt;&lt;div class=&quot;developer-code-block&quot; style=&quot;margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; position: relative; 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;pre class=&quot;prism-token token line-numbers language-javascript&quot; tabindex=&quot;0&quot; style=&quot;box-sizing: border-box; list-style: inherit; padding: 1em 1em 1em 3.8em; color: rgb(204, 204, 204); background-color: rgb(80, 85, 107); border-radius: 3px; overflow: auto; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; overflow-wrap: normal; word-spacing: normal; word-break: normal; line-height: 1.5; tab-size: 4; hyphens: none; position: relative; counter-reset: linenumber 0;&quot;&gt;cat&amp;nbsp;/etc/redhat-release&lt;/pre&gt;&lt;button class=&quot;copy&quot; style=&quot;margin: 0px; padding: 0px 0.5em; font-family: &amp;quot;Pingfang SC&amp;quot;, &amp;quot;STHeiti Light&amp;quot;, &amp;quot;helvetica neue&amp;quot;, &amp;quot;hiragino sans gb&amp;quot;, arial, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; border-width: initial; border-style: none; border-color: initial; cursor: pointer; outline: 0px; list-style: inherit; color: rgb(255, 255, 255); background-color: rgb(105, 113, 145); font-size: 0.8em; border-radius: 0.5em; z-index: 10; top: 0.3em; right: 0.2em; transition: opacity 0.3s ease-in-out 0s; opacity: 0; position: absolute;&quot;&gt;复制&lt;/button&gt;&lt;/div&gt;&lt;h3 id=&quot;63qjd&quot; name=&quot;2%E3%80%81%E6%9B%B4%E6%96%B0%E6%BA%90&quot; style=&quot;margin: 16px 0px 8px; padding: 0px; font-size: 14px; box-sizing: border-box; list-style: inherit; line-height: 24px; 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;div class=&quot;developer-code-block&quot; style=&quot;margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; position: relative; 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;pre class=&quot;prism-token token line-numbers language-javascript&quot; tabindex=&quot;0&quot; style=&quot;box-sizing: border-box; list-style: inherit; padding: 1em 1em 1em 3.8em; color: rgb(204, 204, 204); background-color: rgb(80, 85, 107); border-radius: 3px; overflow: auto; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; overflow-wrap: normal; word-spacing: normal; word-break: normal; line-height: 1.5; tab-size: 4; hyphens: none; position: relative; counter-reset: linenumber 0;&quot;&gt;vim&amp;nbsp;/etc/yum.repos.d/upgrade.repo&lt;/pre&gt;&lt;button class=&quot;copy&quot; style=&quot;margin: 0px; padding: 0px 0.5em; font-family: &amp;quot;Pingfang SC&amp;quot;, &amp;quot;STHeiti Light&amp;quot;, &amp;quot;helvetica neue&amp;quot;, &amp;quot;hiragino sans gb&amp;quot;, arial, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; border-width: initial; border-style: none; border-color: initial; cursor: pointer; outline: 0px; list-style: inherit; color: rgb(255, 255, 255); background-color: rgb(105, 113, 145); font-size: 0.8em; border-radius: 0.5em; z-index: 10; top: 0.3em; right: 0.2em; transition: opacity 0.3s ease-in-out 0s; opacity: 0; position: absolute;&quot;&gt;复制&lt;/button&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: 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;div class=&quot;developer-code-block&quot; style=&quot;margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; position: relative; 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;pre class=&quot;prism-token token line-numbers language-javascript&quot; tabindex=&quot;0&quot; style=&quot;box-sizing: border-box; list-style: inherit; padding: 1em 1em 1em 3.8em; color: rgb(204, 204, 204); background-color: rgb(80, 85, 107); border-radius: 3px; overflow: auto; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; overflow-wrap: normal; word-spacing: normal; word-break: normal; line-height: 1.5; tab-size: 4; hyphens: none; position: relative; counter-reset: linenumber 0;&quot;&gt;[upgrade]name=upgrade
baseurl=https://buildlogs.centos.org/centos/6/upg/x86_64/enable=1gpgcheck=0&lt;/pre&gt;&lt;button class=&quot;copy&quot; style=&quot;margin: 0px; padding: 0px 0.5em; font-family: &amp;quot;Pingfang SC&amp;quot;, &amp;quot;STHeiti Light&amp;quot;, &amp;quot;helvetica neue&amp;quot;, &amp;quot;hiragino sans gb&amp;quot;, arial, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; border-width: initial; border-style: none; border-color: initial; cursor: pointer; outline: 0px; list-style: inherit; color: rgb(255, 255, 255); background-color: rgb(105, 113, 145); font-size: 0.8em; border-radius: 0.5em; z-index: 10; top: 0.3em; right: 0.2em; transition: opacity 0.3s ease-in-out 0s; opacity: 0; position: absolute;&quot;&gt;复制&lt;/button&gt;&lt;/div&gt;&lt;h3 id=&quot;5ohja&quot; name=&quot;3%E3%80%81%E5%8D%B8%E8%BD%BD6.x%E8%87%AA%E5%B8%A6%E7%9A%84openscap%EF%BC%8C%E5%B9%B6%E5%AE%89%E8%A3%85%E8%80%81%E7%89%88%E6%9C%AC&quot; style=&quot;margin: 16px 0px 8px; padding: 0px; font-size: 14px; box-sizing: border-box; list-style: inherit; line-height: 24px; 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;卸载6.x自带的openscap，并安装老版本&lt;/h3&gt;&lt;div class=&quot;developer-code-block&quot; style=&quot;margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; position: relative; 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;pre class=&quot;prism-token token line-numbers language-javascript&quot; tabindex=&quot;0&quot; style=&quot;box-sizing: border-box; list-style: inherit; padding: 1em 1em 1em 3.8em; color: rgb(204, 204, 204); background-color: rgb(80, 85, 107); border-radius: 3px; overflow: auto; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; overflow-wrap: normal; word-spacing: normal; word-break: normal; line-height: 1.5; tab-size: 4; hyphens: none; position: relative; counter-reset: linenumber 0;&quot;&gt;yum&amp;nbsp;erase&amp;nbsp;openscap
yum&amp;nbsp;install&amp;nbsp;https://buildlogs.centos.org/centos/6/upg/x86_64/Packages/openscap-1.0.8-1.0.1.el6.centos.x86_64.rpm&lt;/pre&gt;&lt;button class=&quot;copy&quot; style=&quot;margin: 0px; padding: 0px 0.5em; font-family: &amp;quot;Pingfang SC&amp;quot;, &amp;quot;STHeiti Light&amp;quot;, &amp;quot;helvetica neue&amp;quot;, &amp;quot;hiragino sans gb&amp;quot;, arial, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; border-width: initial; border-style: none; border-color: initial; cursor: pointer; outline: 0px; list-style: inherit; color: rgb(255, 255, 255); background-color: rgb(105, 113, 145); font-size: 0.8em; border-radius: 0.5em; z-index: 10; top: 0.3em; right: 0.2em; transition: opacity 0.3s ease-in-out 0s; opacity: 0; position: absolute;&quot;&gt;复制&lt;/button&gt;&lt;/div&gt;&lt;h3 id=&quot;cciu6&quot; name=&quot;4%E3%80%81%E5%AE%89%E8%A3%85%E5%8A%A9%E6%89%8B&quot; style=&quot;margin: 16px 0px 8px; padding: 0px; font-size: 14px; box-sizing: border-box; list-style: inherit; line-height: 24px; 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;div class=&quot;developer-code-block&quot; style=&quot;margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; position: relative; 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;pre class=&quot;prism-token token line-numbers language-javascript&quot; tabindex=&quot;0&quot; style=&quot;box-sizing: border-box; list-style: inherit; padding: 1em 1em 1em 3.8em; color: rgb(204, 204, 204); background-color: rgb(80, 85, 107); border-radius: 3px; overflow: auto; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; overflow-wrap: normal; word-spacing: normal; word-break: normal; line-height: 1.5; tab-size: 4; hyphens: none; position: relative; counter-reset: linenumber 0;&quot;&gt;yum&amp;nbsp;install&amp;nbsp;redhat-upgrade-tool&amp;nbsp;preupgrade-assistant-contents&lt;/pre&gt;&lt;button class=&quot;copy&quot; style=&quot;margin: 0px; padding: 0px 0.5em; font-family: &amp;quot;Pingfang SC&amp;quot;, &amp;quot;STHeiti Light&amp;quot;, &amp;quot;helvetica neue&amp;quot;, &amp;quot;hiragino sans gb&amp;quot;, arial, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; border-width: initial; border-style: none; border-color: initial; cursor: pointer; outline: 0px; list-style: inherit; color: rgb(255, 255, 255); background-color: rgb(105, 113, 145); font-size: 0.8em; border-radius: 0.5em; z-index: 10; top: 0.3em; right: 0.2em; transition: opacity 0.3s ease-in-out 0s; opacity: 0; position: absolute;&quot;&gt;复制&lt;/button&gt;&lt;/div&gt;&lt;h3 id=&quot;f7tdk&quot; name=&quot;5%E3%80%81%E6%A3%80%E6%B5%8B%E7%89%88%E6%9C%AC%E5%8D%87%E7%BA%A7%E7%9A%84%E9%A3%8E%E9%99%A9%EF%BC%8C%E5%A6%82%E6%9E%9C%E6%8E%A7%E5%88%B6%E5%8F%B0%E8%BE%93%E5%87%BA%E4%BA%86%E9%94%99%E8%AF%AF%E4%BF%A1%E6%81%AF%EF%BC%8C%E9%9C%80%E8%A6%81%E6%9F%A5%E8%AF%A2%E4%B8%8B%E8%A7%A3%E5%86%B3%E6%96%B9%E6%A1%88%E5%B9%B6%E8%A7%A3%E5%86%B3&quot; style=&quot;margin: 16px 0px 8px; padding: 0px; font-size: 14px; box-sizing: border-box; list-style: inherit; line-height: 24px; 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;div class=&quot;developer-code-block&quot; style=&quot;margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; position: relative; 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;pre class=&quot;prism-token token line-numbers language-javascript&quot; tabindex=&quot;0&quot; style=&quot;box-sizing: border-box; list-style: inherit; padding: 1em 1em 1em 3.8em; color: rgb(204, 204, 204); background-color: rgb(80, 85, 107); border-radius: 3px; overflow: auto; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; overflow-wrap: normal; word-spacing: normal; word-break: normal; line-height: 1.5; tab-size: 4; hyphens: none; position: relative; counter-reset: linenumber 0;&quot;&gt;preupg&amp;nbsp;-s&amp;nbsp;CentOS6_7&lt;/pre&gt;&lt;button class=&quot;copy&quot; style=&quot;margin: 0px; padding: 0px 0.5em; font-family: &amp;quot;Pingfang SC&amp;quot;, &amp;quot;STHeiti Light&amp;quot;, &amp;quot;helvetica neue&amp;quot;, &amp;quot;hiragino sans gb&amp;quot;, arial, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; border-width: initial; border-style: none; border-color: initial; cursor: pointer; outline: 0px; list-style: inherit; color: rgb(255, 255, 255); background-color: rgb(105, 113, 145); font-size: 0.8em; border-radius: 0.5em; z-index: 10; top: 0.3em; right: 0.2em; transition: opacity 0.3s ease-in-out 0s; opacity: 0; position: absolute;&quot;&gt;复制&lt;/button&gt;&lt;/div&gt;&lt;h3 id=&quot;9tjqk&quot; name=&quot;6%E3%80%81%E6%9B%B4%E6%96%B0%E7%B3%BB%E7%BB%9F&quot; style=&quot;margin: 16px 0px 8px; padding: 0px; font-size: 14px; box-sizing: border-box; list-style: inherit; line-height: 24px; 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;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;只支持6.5及以上系统升级到不高于7.2系统&lt;/p&gt;&lt;h4 id=&quot;2tkgb&quot; name=&quot;6.1-%E5%9C%A8%E7%BA%BF%E6%9B%B4%E6%96%B0&quot; style=&quot;margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; 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;/h4&gt;&lt;div class=&quot;developer-code-block&quot; style=&quot;margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; position: relative; 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;pre class=&quot;prism-token token line-numbers language-javascript&quot; tabindex=&quot;0&quot; style=&quot;box-sizing: border-box; list-style: inherit; padding: 1em 1em 1em 3.8em; color: rgb(204, 204, 204); background-color: rgb(80, 85, 107); border-radius: 3px; overflow: auto; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; overflow-wrap: normal; word-spacing: normal; word-break: normal; line-height: 1.5; tab-size: 4; hyphens: none; position: relative; counter-reset: linenumber 0;&quot;&gt;centos-upgrade-tool-cli&amp;nbsp;--network&amp;nbsp;7&amp;nbsp;--instrepo=https://mirrors.tuna.tsinghua.edu.cn/centos-vault/7.2.1511/os/x86_64/&amp;nbsp;--force&lt;/pre&gt;&lt;button class=&quot;copy&quot; style=&quot;margin: 0px; padding: 0px 0.5em; font-family: &amp;quot;Pingfang SC&amp;quot;, &amp;quot;STHeiti Light&amp;quot;, &amp;quot;helvetica neue&amp;quot;, &amp;quot;hiragino sans gb&amp;quot;, arial, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; border-width: initial; border-style: none; border-color: initial; cursor: pointer; outline: 0px; list-style: inherit; color: rgb(255, 255, 255); background-color: rgb(105, 113, 145); font-size: 0.8em; border-radius: 0.5em; z-index: 10; top: 0.3em; right: 0.2em; transition: opacity 0.3s ease-in-out 0s; opacity: 0; position: absolute;&quot;&gt;复制&lt;/button&gt;&lt;/div&gt;&lt;h4 id=&quot;9lnvi&quot; name=&quot;6.2-%E6%9C%AC%E5%9C%B0%E6%9B%B4%E6%96%B0&quot; style=&quot;margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; 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;/h4&gt;&lt;div class=&quot;developer-code-block&quot; style=&quot;margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; position: relative; 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;pre class=&quot;prism-token token line-numbers language-javascript&quot; tabindex=&quot;0&quot; style=&quot;box-sizing: border-box; list-style: inherit; padding: 1em 1em 1em 3.8em; color: rgb(204, 204, 204); background-color: rgb(80, 85, 107); border-radius: 3px; overflow: auto; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; overflow-wrap: normal; word-spacing: normal; word-break: normal; line-height: 1.5; tab-size: 4; hyphens: none; position: relative; counter-reset: linenumber 0;&quot;&gt;cd&amp;nbsp;/tmp
wget&amp;nbsp;https://mirrors.tuna.tsinghua.edu.cn/centos-vault/7.2.1511/isos/x86_64/CentOS-7-x86_64-DVD-1511.iso
centos-upgrade-tool-cli&amp;nbsp;--iso=/tmp/CentOS-7-x86_64-DVD-1511.iso&lt;/pre&gt;&lt;button class=&quot;copy&quot; style=&quot;margin: 0px; padding: 0px 0.5em; font-family: &amp;quot;Pingfang SC&amp;quot;, &amp;quot;STHeiti Light&amp;quot;, &amp;quot;helvetica neue&amp;quot;, &amp;quot;hiragino sans gb&amp;quot;, arial, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; border-width: initial; border-style: none; border-color: initial; cursor: pointer; outline: 0px; list-style: inherit; color: rgb(255, 255, 255); background-color: rgb(105, 113, 145); font-size: 0.8em; border-radius: 0.5em; z-index: 10; top: 0.3em; right: 0.2em; transition: opacity 0.3s ease-in-out 0s; opacity: 0; position: absolute;&quot;&gt;复制&lt;/button&gt;&lt;/div&gt;&lt;h3 id=&quot;a9kt0&quot; name=&quot;7%E3%80%81%E6%B3%A8%E6%84%8F&quot; style=&quot;margin: 16px 0px 8px; padding: 0px; font-size: 14px; box-sizing: border-box; list-style: inherit; line-height: 24px; 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;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;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;div class=&quot;developer-code-block&quot; style=&quot;margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; position: relative; 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;pre class=&quot;prism-token token line-numbers language-javascript&quot; tabindex=&quot;0&quot; style=&quot;box-sizing: border-box; list-style: inherit; padding: 1em 1em 1em 3.8em; color: rgb(204, 204, 204); background-color: rgb(80, 85, 107); border-radius: 3px; overflow: auto; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; overflow-wrap: normal; word-spacing: normal; word-break: normal; line-height: 1.5; tab-size: 4; hyphens: none; position: relative; counter-reset: linenumber 0;&quot;&gt;reboot&lt;/pre&gt;&lt;button class=&quot;copy&quot; style=&quot;margin: 0px; padding: 0px 0.5em; font-family: &amp;quot;Pingfang SC&amp;quot;, &amp;quot;STHeiti Light&amp;quot;, &amp;quot;helvetica neue&amp;quot;, &amp;quot;hiragino sans gb&amp;quot;, arial, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; border-width: initial; border-style: none; border-color: initial; cursor: pointer; outline: 0px; list-style: inherit; color: rgb(255, 255, 255); background-color: rgb(105, 113, 145); font-size: 0.8em; border-radius: 0.5em; z-index: 10; top: 0.3em; right: 0.2em; transition: opacity 0.3s ease-in-out 0s; opacity: 0; position: absolute;&quot;&gt;复制&lt;/button&gt;&lt;/div&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;figure class=&quot;&quot; style=&quot;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;hr style=&quot;margin: 20px 0px; padding: 0px; box-sizing: border-box; list-style: inherit; width: 996px; height: 1px; background-color: rgb(153, 153, 153); opacity: 0.24; border: 0px none;&quot;/&gt;&lt;/figure&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;h2 id=&quot;4tup8&quot; name=&quot;%E2%98%86%E5%8D%87%E7%BA%A7%E6%88%90%E5%8A%9F%E5%90%8E%E9%97%AE%E9%A2%98%E8%A7%A3%E5%86%B3&quot; style=&quot;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;/h2&gt;&lt;p style=&quot;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;重启之后当天我就下班了，第二天满怀欣喜的打开xshell显示不能远程连接但是ping是没问题的，我带着显示器来到了机房查看&lt;a data-text-link=&quot;3033_2171016&quot; href=&quot;https://cloud.tencent.com/act/pro/promotion-cvm?from_column=20065&amp;from=20065&quot; target=&quot;_blank&quot; style=&quot;text-decoration-line: none; box-sizing: border-box; list-style: inherit; color: rgb(0, 82, 217);&quot;&gt;服务器&lt;/a&gt;，root账号密码都没问题进行登录，当前的文件也都还在，排查一下为什么不能ssh登录&lt;/p&gt;&lt;h3 id=&quot;5sh9v&quot; name=&quot;%E6%97%A0%E6%B3%95%E8%BF%9B%E8%A1%8Cssh%E7%99%BB%E5%BD%95&quot; style=&quot;margin: 16px 0px 8px; padding: 0px; font-size: 14px; box-sizing: border-box; list-style: inherit; line-height: 24px; 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;无法进行ssh登录&lt;/h3&gt;&lt;div class=&quot;developer-code-block&quot; style=&quot;margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; position: relative; 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;pre class=&quot;prism-token token line-numbers language-javascript&quot; tabindex=&quot;0&quot; style=&quot;box-sizing: border-box; list-style: inherit; padding: 1em 1em 1em 3.8em; color: rgb(204, 204, 204); background-color: rgb(80, 85, 107); border-radius: 3px; overflow: auto; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; overflow-wrap: normal; word-spacing: normal; word-break: normal; line-height: 1.5; tab-size: 4; hyphens: none; position: relative; counter-reset: linenumber 0;&quot;&gt;#最开始第一眼让我高兴的事情就是升级成功为centos7.2了。[root@node07&amp;nbsp;~]#&amp;nbsp;cat&amp;nbsp;/etc/redhat-release&amp;nbsp;
CentOS&amp;nbsp;Linux&amp;nbsp;release&amp;nbsp;7.2#首先查看当前运行的服务
netstat&amp;nbsp;-tunlp
显示我这里只运行一个mysql数据库，并没看到sshd服务器在运行

systemctl&amp;nbsp;start&amp;nbsp;sshd&amp;nbsp;#启动sshd服务
命令行并没有报错，再次查看netstat&amp;nbsp;-tunlp还没发现此服务

journalctl&amp;nbsp;-f&amp;nbsp;-u&amp;nbsp;sshd
可以看到报错缺失文件libsasl2.so.2libsasl2.so.2:&amp;nbsp;cannot&amp;nbsp;open&amp;nbsp;shared&amp;nbsp;object&amp;nbsp;file:&amp;nbsp;No&amp;nbsp;such&amp;nbsp;file&amp;nbsp;or&amp;nbsp;directory

这个服务器yum也不能使用也是因为确实libsasl2.so.2文件，但是能联网ping通百度
我想的方法是查看其他centos7的服务器是否有这个文件然后上传到一个私人网盘进行wget
下来到目录，去到其他服务器并没有看到此文件，心凉了一截。。。感觉可能要重做系统了，
百度查阅资料查了一大圈真的是千篇一律的文章，解决不了根本问题实际问题，下面这个方法
一定要记住解决此报错很好用！&lt;/pre&gt;&lt;button class=&quot;copy&quot; style=&quot;margin: 0px; padding: 0px 0.5em; font-family: &amp;quot;Pingfang SC&amp;quot;, &amp;quot;STHeiti Light&amp;quot;, &amp;quot;helvetica neue&amp;quot;, &amp;quot;hiragino sans gb&amp;quot;, arial, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; border-width: initial; border-style: none; border-color: initial; cursor: pointer; outline: 0px; list-style: inherit; color: rgb(255, 255, 255); background-color: rgb(105, 113, 145); font-size: 0.8em; border-radius: 0.5em; z-index: 10; top: 0.3em; right: 0.2em; transition: opacity 0.3s ease-in-out 0s; opacity: 0; position: absolute;&quot;&gt;复制&lt;/button&gt;&lt;/div&gt;&lt;h3 id=&quot;5n4r2&quot; name=&quot;%E8%A7%A3%E5%86%B3%E7%BC%BA%E5%A4%B1%E6%96%87%E4%BB%B6libsasl2.so.2&quot; style=&quot;margin: 16px 0px 8px; padding: 0px; font-size: 14px; box-sizing: border-box; list-style: inherit; line-height: 24px; 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;解决缺失文件libsasl2.so.2&lt;/h3&gt;&lt;p style=&quot;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;显示是找不到libsasl2.so.2 这个库。
 其实在Centos 7中是有这个库的，只不过不叫这个名字，进入到/usr/lib64/目录下查看&lt;/p&gt;&lt;div class=&quot;developer-code-block&quot; style=&quot;margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; position: relative; 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;pre class=&quot;prism-token token line-numbers language-javascript&quot; tabindex=&quot;0&quot; style=&quot;box-sizing: border-box; list-style: inherit; padding: 1em 1em 1em 3.8em; color: rgb(204, 204, 204); background-color: rgb(80, 85, 107); border-radius: 3px; overflow: auto; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; overflow-wrap: normal; word-spacing: normal; word-break: normal; line-height: 1.5; tab-size: 4; hyphens: none; position: relative; counter-reset: linenumber 0;&quot;&gt;[root@localhost&amp;nbsp;bin]$&amp;nbsp;cd&amp;nbsp;/usr/lib64[root@localhost&amp;nbsp;lib64]$&amp;nbsp;ls&amp;nbsp;libsasl2.so.*&amp;nbsp;-l
lrwxrwxrwx.&amp;nbsp;1&amp;nbsp;root&amp;nbsp;root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;17&amp;nbsp;Oct&amp;nbsp;17&amp;nbsp;&amp;nbsp;2016&amp;nbsp;libsasl2.so.3&amp;nbsp;-&amp;gt;&amp;nbsp;libsasl2.so.3.0.0-rwxr-xr-x.&amp;nbsp;1&amp;nbsp;root&amp;nbsp;root&amp;nbsp;121296&amp;nbsp;Jun&amp;nbsp;10&amp;nbsp;&amp;nbsp;2014&amp;nbsp;libsasl2.so.3.0.0[root@localhost&amp;nbsp;lib64]$&lt;/pre&gt;&lt;button class=&quot;copy&quot; style=&quot;margin: 0px; padding: 0px 0.5em; font-family: &amp;quot;Pingfang SC&amp;quot;, &amp;quot;STHeiti Light&amp;quot;, &amp;quot;helvetica neue&amp;quot;, &amp;quot;hiragino sans gb&amp;quot;, arial, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; border-width: initial; border-style: none; border-color: initial; cursor: pointer; outline: 0px; list-style: inherit; color: rgb(255, 255, 255); background-color: rgb(105, 113, 145); font-size: 0.8em; border-radius: 0.5em; z-index: 10; top: 0.3em; right: 0.2em; transition: opacity 0.3s ease-in-out 0s; opacity: 0; position: absolute;&quot;&gt;复制&lt;/button&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: 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;发现有一个库libsasl2.so.3，那么我们只要使用一个软连接，连接到libsasl2.so.2即可&lt;/p&gt;&lt;div class=&quot;developer-code-block&quot; style=&quot;margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; position: relative; 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;pre class=&quot;prism-token token line-numbers language-javascript&quot; tabindex=&quot;0&quot; style=&quot;box-sizing: border-box; list-style: inherit; padding: 1em 1em 1em 3.8em; color: rgb(204, 204, 204); background-color: rgb(80, 85, 107); border-radius: 3px; overflow: auto; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; overflow-wrap: normal; word-spacing: normal; word-break: normal; line-height: 1.5; tab-size: 4; hyphens: none; position: relative; counter-reset: linenumber 0;&quot;&gt;[root@localhost&amp;nbsp;lib64]#&amp;nbsp;ln&amp;nbsp;-s&amp;nbsp;libsasl2.so.3&amp;nbsp;libsasl2.so.2[root@localhost&amp;nbsp;lib64]#&amp;nbsp;ls&amp;nbsp;libsasl2.so.*&amp;nbsp;-l
lrwxrwxrwx&amp;nbsp;&amp;nbsp;1&amp;nbsp;root&amp;nbsp;root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;13&amp;nbsp;Nov&amp;nbsp;19&amp;nbsp;18:00&amp;nbsp;libsasl2.so.2&amp;nbsp;-&amp;gt;&amp;nbsp;libsasl2.so.3lrwxrwxrwx.&amp;nbsp;1&amp;nbsp;root&amp;nbsp;root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;17&amp;nbsp;Oct&amp;nbsp;17&amp;nbsp;&amp;nbsp;2016&amp;nbsp;libsasl2.so.3&amp;nbsp;-&amp;gt;&amp;nbsp;libsasl2.so.3.0.0-rwxr-xr-x.&amp;nbsp;1&amp;nbsp;root&amp;nbsp;root&amp;nbsp;121296&amp;nbsp;Jun&amp;nbsp;10&amp;nbsp;&amp;nbsp;2014&amp;nbsp;libsasl2.so.3.0.0[root@localhost&amp;nbsp;lib64]#&lt;/pre&gt;&lt;button class=&quot;copy&quot; style=&quot;margin: 0px; padding: 0px 0.5em; font-family: &amp;quot;Pingfang SC&amp;quot;, &amp;quot;STHeiti Light&amp;quot;, &amp;quot;helvetica neue&amp;quot;, &amp;quot;hiragino sans gb&amp;quot;, arial, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; border-width: initial; border-style: none; border-color: initial; cursor: pointer; outline: 0px; list-style: inherit; color: rgb(255, 255, 255); background-color: rgb(105, 113, 145); font-size: 0.8em; border-radius: 0.5em; z-index: 10; top: 0.3em; right: 0.2em; transition: opacity 0.3s ease-in-out 0s; opacity: 0; position: absolute;&quot;&gt;复制&lt;/button&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: 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;再次启动sshd服务成功&lt;/p&gt;&lt;div class=&quot;developer-code-block&quot; style=&quot;margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; position: relative; 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;pre class=&quot;prism-token token line-numbers language-javascript&quot; tabindex=&quot;0&quot; style=&quot;box-sizing: border-box; list-style: inherit; padding: 1em 1em 1em 3.8em; color: rgb(204, 204, 204); background-color: rgb(80, 85, 107); border-radius: 3px; overflow: auto; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; overflow-wrap: normal; word-spacing: normal; word-break: normal; line-height: 1.5; tab-size: 4; hyphens: none; position: relative; counter-reset: linenumber 0;&quot;&gt;systemctl&amp;nbsp;start&amp;nbsp;sshd&lt;/pre&gt;&lt;button class=&quot;copy&quot; style=&quot;margin: 0px; padding: 0px 0.5em; font-family: &amp;quot;Pingfang SC&amp;quot;, &amp;quot;STHeiti Light&amp;quot;, &amp;quot;helvetica neue&amp;quot;, &amp;quot;hiragino sans gb&amp;quot;, arial, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; border-width: initial; border-style: none; border-color: initial; cursor: pointer; outline: 0px; list-style: inherit; color: rgb(255, 255, 255); background-color: rgb(105, 113, 145); font-size: 0.8em; border-radius: 0.5em; z-index: 10; top: 0.3em; right: 0.2em; transition: opacity 0.3s ease-in-out 0s; opacity: 0; position: absolute;&quot;&gt;复制&lt;/button&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: 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;使用xshell连接成功！&lt;/p&gt;&lt;h3 id=&quot;55hvs&quot; name=&quot;grep%E5%91%BD%E4%BB%A4%E6%8A%A5%E9%94%99%EF%BC%8C%E7%BC%BA%E5%A4%B1libpcre.so.0%E6%96%87%E4%BB%B6&quot; style=&quot;margin: 16px 0px 8px; padding: 0px; font-size: 14px; box-sizing: border-box; list-style: inherit; line-height: 24px; 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;grep命令报错，缺失libpcre.so.0文件&lt;/h3&gt;&lt;div class=&quot;developer-code-block&quot; style=&quot;margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; position: relative; 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;pre class=&quot;prism-token token line-numbers language-javascript&quot; tabindex=&quot;0&quot; style=&quot;box-sizing: border-box; list-style: inherit; padding: 1em 1em 1em 3.8em; color: rgb(204, 204, 204); background-color: rgb(80, 85, 107); border-radius: 3px; overflow: auto; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; overflow-wrap: normal; word-spacing: normal; word-break: normal; line-height: 1.5; tab-size: 4; hyphens: none; position: relative; counter-reset: linenumber 0;&quot;&gt;[root@node07&amp;nbsp;opt]#&amp;nbsp;grepgrep:&amp;nbsp;error&amp;nbsp;while&amp;nbsp;loading&amp;nbsp;shared&amp;nbsp;libraries:&amp;nbsp;libpcre.so.0:&amp;nbsp;cannot&amp;nbsp;open&amp;nbsp;shared&amp;nbsp;object&amp;nbsp;file:&amp;nbsp;No&amp;nbsp;such&amp;nbsp;file&amp;nbsp;or&amp;nbsp;directory
方法同上：
cd&amp;nbsp;/usr/lib64[root@node07&amp;nbsp;lib64]#&amp;nbsp;ls&amp;nbsp;libpcre.so*libpcre.so&amp;nbsp;&amp;nbsp;libpcre.so.1&amp;nbsp;&amp;nbsp;libpcre.so.1.2.0[root@node07&amp;nbsp;lib64]#&amp;nbsp;ln&amp;nbsp;-s&amp;nbsp;libpcre.so.1&amp;nbsp;libpcre.so.0[root@node07&amp;nbsp;~]#&amp;nbsp;ls&amp;nbsp;|&amp;nbsp;grep&amp;nbsp;app&amp;nbsp;#命令恢复
app&lt;/pre&gt;&lt;button class=&quot;copy&quot; style=&quot;margin: 0px; padding: 0px 0.5em; font-family: &amp;quot;Pingfang SC&amp;quot;, &amp;quot;STHeiti Light&amp;quot;, &amp;quot;helvetica neue&amp;quot;, &amp;quot;hiragino sans gb&amp;quot;, arial, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; border-width: initial; border-style: none; border-color: initial; cursor: pointer; outline: 0px; list-style: inherit; color: rgb(255, 255, 255); background-color: rgb(105, 113, 145); font-size: 0.8em; border-radius: 0.5em; z-index: 10; top: 0.3em; right: 0.2em; transition: opacity 0.3s ease-in-out 0s; opacity: 0; position: absolute;&quot;&gt;复制&lt;/button&gt;&lt;/div&gt;&lt;h3 id=&quot;cio03&quot; name=&quot;%E6%9B%B4%E6%8D%A2yum%E6%BA%90&quot; style=&quot;margin: 16px 0px 8px; padding: 0px; font-size: 14px; box-sizing: border-box; list-style: inherit; line-height: 24px; 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;更换yum源&lt;/h3&gt;&lt;div class=&quot;developer-code-block&quot; style=&quot;margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; position: relative; 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;pre class=&quot;prism-token token line-numbers language-javascript&quot; tabindex=&quot;0&quot; style=&quot;box-sizing: border-box; list-style: inherit; padding: 1em 1em 1em 3.8em; color: rgb(204, 204, 204); background-color: rgb(80, 85, 107); border-radius: 3px; overflow: auto; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; overflow-wrap: normal; word-spacing: normal; word-break: normal; line-height: 1.5; tab-size: 4; hyphens: none; position: relative; counter-reset: linenumber 0;&quot;&gt;cd&amp;nbsp;/etc/#备份
mv&amp;nbsp;yum.repos.d&amp;nbsp;yum.repos.d_backup
mkdir&amp;nbsp;yum.repos.d
#获取阿里云yum源
cd&amp;nbsp;/etc/yum.repos.d
wget&amp;nbsp;http://mirrors.aliyun.com/repo/Centos-7.repo
wget&amp;nbsp;https://mirrors.aliyun.com/repo/epel-7.repo
#清除缓存&amp;amp;更新yum源
yum&amp;nbsp;clean&amp;nbsp;all
yum&amp;nbsp;makecache&lt;/pre&gt;&lt;button class=&quot;copy&quot; style=&quot;margin: 0px; padding: 0px 0.5em; font-family: &amp;quot;Pingfang SC&amp;quot;, &amp;quot;STHeiti Light&amp;quot;, &amp;quot;helvetica neue&amp;quot;, &amp;quot;hiragino sans gb&amp;quot;, arial, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; border-width: initial; border-style: none; border-color: initial; cursor: pointer; outline: 0px; list-style: inherit; color: rgb(255, 255, 255); background-color: rgb(105, 113, 145); font-size: 0.8em; border-radius: 0.5em; z-index: 10; top: 0.3em; right: 0.2em; transition: opacity 0.3s ease-in-out 0s; opacity: 0; position: absolute;&quot;&gt;复制&lt;/button&gt;&lt;/div&gt;&lt;h2 id=&quot;3rnmm&quot; name=&quot;%E2%98%86Centos7.2%E5%8D%87%E8%87%B3Centos7.9&quot; style=&quot;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;☆Centos7.2升至Centos7.9&lt;/h2&gt;&lt;div class=&quot;developer-code-block&quot; style=&quot;margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; position: relative; 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;pre class=&quot;prism-token token line-numbers language-javascript&quot; tabindex=&quot;0&quot; style=&quot;box-sizing: border-box; list-style: inherit; padding: 1em 1em 1em 3.8em; color: rgb(204, 204, 204); background-color: rgb(80, 85, 107); border-radius: 3px; overflow: auto; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; overflow-wrap: normal; word-spacing: normal; word-break: normal; line-height: 1.5; tab-size: 4; hyphens: none; position: relative; counter-reset: linenumber 0;&quot;&gt;yum&amp;nbsp;update&amp;nbsp;&amp;nbsp;#升级所有包同时也升级软件和系统内核；
由于是从centos6升级到7的还是进行update一下比较好。
升级完毕查看版本升级到了centos7.9[root@node07&amp;nbsp;~]#&amp;nbsp;cat&amp;nbsp;/etc/redhat-release&amp;nbsp;
CentOS&amp;nbsp;Linux&amp;nbsp;release&amp;nbsp;7.9.2009&amp;nbsp;(Core)&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Wed, 30 Aug 2023 14:30:21 +0800</pubDate></item><item><title>Centos6.10使用preupg -s CentOS6_7报错</title><link>https://www.leus.cc/?id=30</link><description>&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;&amp;nbsp;&amp;nbsp;File&amp;nbsp;&amp;quot;/usr/bin/preupg&amp;quot;,&amp;nbsp;line&amp;nbsp;25
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;print&amp;nbsp;&amp;#39;\nAssessment&amp;nbsp;interrupted.&amp;#39;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;^
SyntaxError:&amp;nbsp;Missing&amp;nbsp;parentheses&amp;nbsp;in&amp;nbsp;call&amp;nbsp;to&amp;nbsp;&amp;#39;print&amp;#39;.&amp;nbsp;Did&amp;nbsp;you&amp;nbsp;mean&amp;nbsp;print(print&amp;nbsp;&amp;#39;\nAssessment&amp;nbsp;interrupted.&amp;#39;)?&lt;/pre&gt;&lt;p&gt;有如上报错的时候使用：&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;python2.6&amp;nbsp;/usr/bin/preupg&amp;nbsp;-s&amp;nbsp;CentOS6_7&lt;/pre&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Wed, 30 Aug 2023 14:25:44 +0800</pubDate></item><item><title>Debian安装rpm安装包</title><link>https://www.leus.cc/?id=29</link><description>&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;apt&amp;nbsp;install&amp;nbsp;alien
apt&amp;nbsp;install&amp;nbsp;rpm&lt;/pre&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;alien&amp;nbsp;--scripts&amp;nbsp;-i&amp;nbsp;obclient-2.2.2-1.el7.x86_64.rpm&lt;/pre&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Wed, 30 Aug 2023 13:40:07 +0800</pubDate></item><item><title>Debian安装了的软件发生libraries相关报错</title><link>https://www.leus.cc/?id=28</link><description>&lt;p&gt;在安装&lt;span style=&quot;text-wrap: wrap;&quot;&gt;libobclient的时候Debian11报错：&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;alien&amp;nbsp;--scripts&amp;nbsp;-i&amp;nbsp;libobclient-2.2.2-3.el7.x86_64.rpm&amp;nbsp;
rpm:&amp;nbsp;error&amp;nbsp;while&amp;nbsp;loading&amp;nbsp;shared&amp;nbsp;libraries:&amp;nbsp;liblua5.2.so.0:&amp;nbsp;cannot&amp;nbsp;open&amp;nbsp;shared&amp;nbsp;object&amp;nbsp;file:&amp;nbsp;No&amp;nbsp;such&amp;nbsp;file&amp;nbsp;or&amp;nbsp;directory
Error&amp;nbsp;executing&amp;nbsp;&amp;quot;LANG=C&amp;nbsp;rpm&amp;nbsp;-qp&amp;nbsp;--queryformat&amp;nbsp;%{NAME}&amp;nbsp;&amp;#39;libobclient-2.2.2-3.el7.x86_64.rpm&amp;#39;&amp;quot;:&amp;nbsp;&amp;nbsp;at&amp;nbsp;/usr/share/perl5/Alien/Package.pm&amp;nbsp;line&amp;nbsp;489.&lt;/pre&gt;&lt;p&gt;糟了很多办法都不行，重新安装liblua也不行，最终使用：&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;sudo&amp;nbsp;apt&amp;nbsp;purge&amp;nbsp;liblua5.2-0&lt;/pre&gt;&lt;p&gt;重新安装即可使用！&lt;/p&gt;</description><pubDate>Wed, 30 Aug 2023 13:35:11 +0800</pubDate></item><item><title>WP被注入</title><link>https://www.leus.cc/?id=27</link><description>&lt;h3 id=&quot;directory098645019716173811&quot; style=&quot;box-sizing: border-box; margin: 20px 0px; padding: 0px; border: 0px; -webkit-font-smoothing: antialiased; font-weight: 500; font-size: 1.2em; color: rgb(68, 68, 68); position: relative; 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; white-space: normal;&quot;&gt;&lt;strong&gt;惨痛的被注入&lt;/strong&gt;&lt;/h3&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;昨天晚上发现被注入痕迹，由于太晚了，没有管， 今天一早就发现原来的猫站（&lt;a href=&quot;https://uouuou.cn/&quot; target=&quot;_blank&quot; style=&quot;box-sizing: border-box; margin: 0px; padding: 0px; border-width: 0px 0px 1px; border-top-style: initial; border-right-style: initial; border-bottom-style: solid; border-left-style: initial; border-top-color: initial; border-right-color: initial; border-bottom-color: rgb(204, 204, 204); border-left-color: initial; border-image: initial; -webkit-font-smoothing: antialiased; text-decoration-line: none; color: rgb(49, 49, 49); outline: 0px;&quot;&gt;uouuou.cn&lt;/a&gt;）已经完全被注入，修改了不少地方，增加了一个引用的php通过主题进去的，然后修改了数据库的主页URL，也就懒得复原了，干脆直接把主站搬过来算了，反正WP确实是不咋的。&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;网络环境真的是很糟糕啊，我这个UV只有几百的破网站也有人惦记，也是没谁了，我主站说白了就是一个Blog，随便打，打掉了我重新写就完了。&lt;/p&gt;&lt;h3 id=&quot;directory098645019716173812&quot; style=&quot;box-sizing: border-box; margin: 20px 0px; padding: 0px; border: 0px; -webkit-font-smoothing: antialiased; font-weight: 500; font-size: 1.2em; color: rgb(68, 68, 68); position: relative; 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; white-space: normal;&quot;&gt;&lt;strong&gt;以后和主站同步&lt;/strong&gt;&lt;/h3&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;以后所有Blog与主站同步，涉及到一些技术分享内容。&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;该Blog域名永不售出。&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;该Blog所提供的的Gravatar 代理服务永不取消。&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;主站提供的图片存储服务永不取消（仅限认证注册用户，国内CDN线路，资源有限）。&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;主站提供的IP地址查询服务，Code查询服务永久服务。&lt;/p&gt;&lt;h3 id=&quot;directory098645019716173813&quot; style=&quot;box-sizing: border-box; margin: 20px 0px; padding: 0px; border: 0px; -webkit-font-smoothing: antialiased; font-weight: 500; font-size: 1.2em; color: rgb(68, 68, 68); position: relative; 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; white-space: normal;&quot;&gt;&lt;strong&gt;事情进展&lt;/strong&gt;&lt;/h3&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;今天上午看到好多人的WP都被注入了，转到各种网站。&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;下午收到了Wordfence 的邮件，声称 Easy WP SMTP这个插件有重大安全问题，很容易遭到黑客利用，我看遭受到注入的都是收到了一封邮件提示密码修改后背注入了的，所以，这一切就有道理了。&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;同志们，插件要当心啊，尽量少用插件，避免被搞。&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 20px; margin-bottom: 20px; padding: 0px; border: 0px; -webkit-font-smoothing: antialiased; vertical-align: baseline; overflow-wrap: break-word; word-break: break-word; color: rgb(49, 49, 49); 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; white-space: normal;&quot;&gt;&lt;img src=&quot;https://i.lioil.cc/rinvay/2019/03/21/2c869184c0fc3afe.jpg&quot; alt=&quot;&quot; title=&quot;&quot; style=&quot;box-sizing: border-box; margin: auto; padding: 0px; border: 0px; -webkit-font-smoothing: antialiased; position: relative; overflow: hidden; max-width: 100%; height: auto;&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Fri, 22 Mar 2019 17:26:33 +0800</pubDate></item><item><title>激活WIN以及相关功能</title><link>https://www.leus.cc/?id=26</link><description>&lt;h4 style=&quot;border: 0px; font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, Arial, sans-serif; font-size: 24px; font-weight: normal; margin: 0px; outline: 0px; padding: 0px 0px 10px; vertical-align: baseline; color: rgb(27, 30, 31); line-height: 30px; white-space: normal; background-color: rgb(255, 255, 255); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;使用方法&lt;/h4&gt;&lt;p style=&quot;border: 0px; font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, Arial, sans-serif; margin-top: 0px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(29, 29, 29); white-space: normal; background-color: rgb(255, 255, 255); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;&lt;span style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #FF0000; text-shadow: #666666 0px 0px 0px !important; user-select: text !important;&quot;&gt;（如果本站服务器将来某天挂了，可以自行搜索新的kms服务器地址，使用方法还是一样的）&lt;/span&gt;&lt;/p&gt;&lt;blockquote style=&quot;border-width: 0px 0px 0px 4px; border-top-style: initial; border-right-style: initial; border-bottom-style: initial; border-left-style: solid; border-color: rgb(67, 159, 85); border-image: initial; font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, Arial, sans-serif; font-style: italic; margin: 0px 0px 20px; outline: 0px; padding: 20px; vertical-align: baseline; quotes: &amp;quot;&amp;quot; &amp;quot;&amp;quot;; background: rgb(249, 249, 249); color: rgb(29, 29, 29); white-space: normal; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;&lt;h6 style=&quot;border: 0px; font-size: 19px; font-style: inherit; font-weight: normal; margin: 0px; outline: 0px; padding: 0px 0px 10px; vertical-align: baseline; color: rgb(27, 30, 31); line-height: 25px; text-transform: uppercase; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;&lt;span style=&quot;border: 0px; font-style: normal; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; text-shadow: #666666 0px 0px 0px !important; user-select: text !important;&quot;&gt;&lt;span style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #3366FF; text-shadow: #666666 0px 0px 0px !important; user-select: text !important;&quot;&gt;一句命令激活WINDOWS&lt;/span&gt;&lt;/span&gt;&lt;/h6&gt;&lt;/blockquote&gt;&lt;p style=&quot;border: 0px; font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, Arial, sans-serif; margin-top: 0px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(29, 29, 29); white-space: normal; background-color: rgb(255, 255, 255); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;一般来说，只要确保的下载的是VL批量版本并且没有手动安装过任何key，&lt;/p&gt;&lt;p style=&quot;border: 0px; font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, Arial, sans-serif; margin-top: 0px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(29, 29, 29); white-space: normal; background-color: rgb(255, 255, 255); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;你只需要使用&lt;span style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #FF0000; text-shadow: #666666 0px 0px 0px !important; user-select: text !important;&quot;&gt;管理员&lt;/span&gt;权限运行cmd执行&lt;span style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #3366FF; text-shadow: #666666 0px 0px 0px !important; user-select: text !important;&quot;&gt;一句命令就足够&lt;/span&gt;：&lt;/p&gt;&lt;div id=&quot;crayon-5b14fc43c37a1490335208&quot; class=&quot;crayon-syntax crayon-theme-xcode crayon-font-arial crayon-os-pc print-yes notranslate crayon-wrapped&quot; data-settings=&quot; minimize scroll-mouseover disable-anim wrap&quot; style=&quot;border-color: initial; border-image: initial; font-family: Monaco, MonacoRegular, &amp;quot;Courier New&amp;quot;, monospace; margin: 12px 0px; outline: 0px; padding: 0px; vertical-align: baseline; box-sizing: border-box; text-size-adjust: none; width: 603.094px; color: rgb(29, 29, 29); white-space: normal; height: auto; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; border-width: 1px !important; border-style: solid !important; font-size: 22px !important; background-color: rgb(248, 248, 255) !important; line-height: 22px !important; overflow: hidden !important; position: relative !important; direction: ltr !important;&quot;&gt;&lt;div class=&quot;crayon-toolbar&quot; data-settings=&quot; show&quot; style=&quot;border-top: 0px; border-right: 0px; border-left: 0px; border-bottom-color: initial; border-image: initial; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; background-image: initial; background-position: 0px center; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; width: 601.094px; position: relative; overflow: hidden; z-index: 4; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; border-bottom-width: 1px !important; border-bottom-style: solid !important; font-family: Arial, sans-serif !important; background-color: rgb(238, 238, 238) !important; height: 33px !important; line-height: 33px !important;&quot;&gt;&lt;span class=&quot;crayon-title&quot; style=&quot;border: 0px; font-family: inherit; font-size: 17.6px; font-style: inherit; margin: 0px; outline: 0px; vertical-align: baseline; float: left; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-weight: inherit !important; padding: 0px 4px !important; line-height: inherit !important; color: #666666 !important;&quot;&gt;&lt;/span&gt;&lt;div class=&quot;crayon-tools&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; background: 0px center; position: absolute; right: 0px; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; font-weight: inherit !important; height: 33px !important; line-height: 33px !important;&quot;&gt;&lt;span class=&quot;crayon-language&quot; style=&quot;border: 0px; font-family: inherit; font-size: 17.6px; font-style: inherit; margin: 0px; outline: 0px; vertical-align: baseline; float: left; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-weight: inherit !important; padding: 0px 8px 0px 4px !important; line-height: inherit !important; color: #666666 !important;&quot;&gt;Shell&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;&quot; style=&quot;color: rgb(0, 0, 0); word-wrap: normal; border-radius: 0px; border-width: 0px; border-style: initial; border-color: initial; width: 601.094px; margin: 0px; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; padding: 0px 5px; overflow: hidden; height: 64px; position: absolute; opacity: 0; box-sizing: border-box; box-shadow: none; resize: none; tab-size: 4; z-index: 0; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; font-size: 22px !important; font-family: Arial, sans-serif !important; line-height: 22px !important; -webkit-appearance: none !important;&quot;&gt;&lt;/textarea&gt;&lt;div class=&quot;crayon-main&quot; style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; background: 0px center; width: 601.094px; overflow: hidden; position: relative; z-index: 1; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; font-family: Arial, sans-serif !important;&quot;&gt;&lt;table class=&quot;crayon-table&quot; width=&quot;NaN&quot;&gt;&lt;tbody style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;&lt;tr class=&quot;crayon-row firstRow&quot; style=&quot;font-style: inherit; font-weight: inherit; outline: 0px; background: 0px center; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; border: none !important; margin: 0px !important; padding: 0px !important; vertical-align: top !important;&quot;&gt;&lt;td class=&quot;crayon-nums&quot; data-settings=&quot;show&quot; style=&quot;border-width: 0px; border-style: initial; border-color: initial; font-size: 14px; font-style: inherit; outline: 0px; background-image: initial; background-position: 0px center; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; color: rgb(102, 102, 102); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; margin: 0px !important; padding: 0px !important; vertical-align: top !important; background-color: rgb(238, 238, 238) !important;&quot;&gt;&lt;div class=&quot;crayon-nums-content&quot; style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding-right: 0px; padding-left: 0px; vertical-align: baseline; background: 0px center; white-space: nowrap; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; font-size: 22px !important; padding-top: 5px !important; padding-bottom: 3px !important; line-height: 22px !important;&quot;&gt;&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-5b14fc43c37a1490335208-1&quot; style=&quot;border-top: 0px; border-bottom: 0px; border-left: 0px; border-image: initial; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; background: 0px center; height: 22px; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; border-right: 1px solid rgb(222, 222, 222) !important; font-size: inherit !important; font-weight: inherit !important; text-align: right !important; line-height: inherit !important; min-width: 1.2em !important; color: rgb(170, 170, 170) !important;&quot;&gt;1&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;crayon-code&quot; style=&quot;border-width: 0px; border-style: initial; border-color: initial; font-size: 14px; font-style: inherit; outline: 0px; background: 0px center; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; margin: 0px !important; padding: 0px !important; vertical-align: top !important;&quot; width=&quot;563&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; white-space: pre; overflow: visible; tab-size: 4; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; border: none !important; font-size: 22px !important; background: none !important; line-height: 22px !important;&quot;&gt;&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-5b14fc43c37a1490335208-1&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; background: 0px center; height: inherit; word-break: break-all; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; white-space: pre-wrap !important;&quot;&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;color: #5C2699 !important; border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important;&quot;&gt;slmgr&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;color: #006FE0 !important; border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;color: #2E0D6E !important; border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important;&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-e&quot; style=&quot;color: #2E0D6E !important; border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important;&quot;&gt;skms &lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;color: #5C2699 !important; border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important;&quot;&gt;kms&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;color: #333333 !important; border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important;&quot;&gt;&lt;span style=&quot;color:#2e0d6e&quot;&gt;leus.cc&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style=&quot;border: 0px; font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, Arial, sans-serif; margin-top: 0px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(29, 29, 29); white-space: normal; background-color: rgb(255, 255, 255); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;这句命令的意思是，把kms服务器地址设置（set kms）为kms.leus.cc&lt;/p&gt;&lt;p style=&quot;border: 0px; font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, Arial, sans-serif; margin-top: 0px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(29, 29, 29); white-space: normal; background-color: rgb(255, 255, 255); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;border: 0px; font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, Arial, sans-serif; margin-top: 0px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(29, 29, 29); white-space: normal; background-color: rgb(255, 255, 255); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;然后去计算机属性或者控制面板其他的什么的地方点一下激活就好了。&lt;/p&gt;&lt;p style=&quot;border: 0px; font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, Arial, sans-serif; margin-top: 0px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(29, 29, 29); white-space: normal; background-color: rgb(255, 255, 255); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;当然，如果你懒得点，可以多打一句命令手动激活：&lt;/p&gt;&lt;div id=&quot;crayon-5b14fc43c37b2537881881&quot; class=&quot;crayon-syntax crayon-theme-xcode crayon-font-arial crayon-os-pc print-yes notranslate crayon-wrapped&quot; data-settings=&quot; minimize scroll-mouseover disable-anim wrap&quot; style=&quot;border-color: initial; border-image: initial; font-family: Monaco, MonacoRegular, &amp;quot;Courier New&amp;quot;, monospace; margin: 12px 0px; outline: 0px; padding: 0px; vertical-align: baseline; box-sizing: border-box; text-size-adjust: none; width: 603.094px; color: rgb(29, 29, 29); white-space: normal; height: auto; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; border-width: 1px !important; border-style: solid !important; font-size: 22px !important; background-color: rgb(248, 248, 255) !important; line-height: 22px !important; overflow: hidden !important; position: relative !important; direction: ltr !important;&quot;&gt;&lt;div class=&quot;crayon-toolbar&quot; data-settings=&quot; show&quot; style=&quot;border-top: 0px; border-right: 0px; border-left: 0px; border-bottom-color: initial; border-image: initial; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; background-image: initial; background-position: 0px center; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; width: 601.094px; position: relative; overflow: hidden; z-index: 4; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; border-bottom-width: 1px !important; border-bottom-style: solid !important; font-family: Arial, sans-serif !important; background-color: rgb(238, 238, 238) !important; height: 33px !important; line-height: 33px !important;&quot;&gt;&lt;span class=&quot;crayon-title&quot; style=&quot;border: 0px; font-family: inherit; font-size: 17.6px; font-style: inherit; margin: 0px; outline: 0px; vertical-align: baseline; float: left; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-weight: inherit !important; padding: 0px 4px !important; line-height: inherit !important; color: #666666 !important;&quot;&gt;&lt;/span&gt;&lt;div class=&quot;crayon-tools&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; background: 0px center; position: absolute; right: 0px; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; font-weight: inherit !important; height: 33px !important; line-height: 33px !important;&quot;&gt;&lt;span class=&quot;crayon-language&quot; style=&quot;border: 0px; font-family: inherit; font-size: 17.6px; font-style: inherit; margin: 0px; outline: 0px; vertical-align: baseline; float: left; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-weight: inherit !important; padding: 0px 8px 0px 4px !important; line-height: inherit !important; color: #666666 !important;&quot;&gt;Shell&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;&quot; style=&quot;color: rgb(0, 0, 0); word-wrap: normal; border-radius: 0px; border-width: 0px; border-style: initial; border-color: initial; width: 601.094px; margin: 0px; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; padding: 0px 5px; overflow: hidden; height: 64px; position: absolute; opacity: 0; box-sizing: border-box; box-shadow: none; resize: none; tab-size: 4; z-index: 0; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; font-size: 22px !important; font-family: Arial, sans-serif !important; line-height: 22px !important; -webkit-appearance: none !important;&quot;&gt;&lt;/textarea&gt;&lt;div class=&quot;crayon-main&quot; style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; background: 0px center; width: 601.094px; overflow: hidden; position: relative; z-index: 1; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; font-family: Arial, sans-serif !important;&quot;&gt;&lt;table class=&quot;crayon-table&quot; width=&quot;NaN&quot;&gt;&lt;tbody style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;&lt;tr class=&quot;crayon-row firstRow&quot; style=&quot;font-style: inherit; font-weight: inherit; outline: 0px; background: 0px center; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; border: none !important; margin: 0px !important; padding: 0px !important; vertical-align: top !important;&quot;&gt;&lt;td class=&quot;crayon-nums&quot; data-settings=&quot;show&quot; style=&quot;border-width: 0px; border-style: initial; border-color: initial; font-size: 14px; font-style: inherit; outline: 0px; background-image: initial; background-position: 0px center; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; color: rgb(102, 102, 102); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; margin: 0px !important; padding: 0px !important; vertical-align: top !important; background-color: rgb(238, 238, 238) !important;&quot;&gt;&lt;div class=&quot;crayon-nums-content&quot; style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding-right: 0px; padding-left: 0px; vertical-align: baseline; background: 0px center; white-space: nowrap; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; font-size: 22px !important; padding-top: 5px !important; padding-bottom: 3px !important; line-height: 22px !important;&quot;&gt;&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-5b14fc43c37b2537881881-1&quot; style=&quot;border-top: 0px; border-bottom: 0px; border-left: 0px; border-image: initial; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; background: 0px center; height: 22px; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; border-right: 1px solid rgb(222, 222, 222) !important; font-size: inherit !important; font-weight: inherit !important; text-align: right !important; line-height: inherit !important; min-width: 1.2em !important; color: rgb(170, 170, 170) !important;&quot;&gt;1&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;crayon-code&quot; style=&quot;border-width: 0px; border-style: initial; border-color: initial; font-size: 14px; font-style: inherit; outline: 0px; background: 0px center; color: rgb(102, 102, 102); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; margin: 0px !important; padding: 0px !important; vertical-align: top !important;&quot; width=&quot;563&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(0, 0, 0); white-space: pre; overflow: visible; tab-size: 4; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; border: none !important; font-size: 22px !important; background: none !important; line-height: 22px !important;&quot;&gt;&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-5b14fc43c37b2537881881-1&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; background: 0px center; height: inherit; word-break: break-all; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; white-space: pre-wrap !important;&quot;&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; color: #5C2699 !important;&quot;&gt;slmgr&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; color: #006FE0 !important;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; color: #2E0D6E !important;&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; color: #5C2699 !important;&quot;&gt;ato&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style=&quot;border: 0px; font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, Arial, sans-serif; margin-top: 0px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(29, 29, 29); white-space: normal; background-color: rgb(255, 255, 255); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;border: 0px; font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, Arial, sans-serif; margin-top: 0px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(29, 29, 29); white-space: normal; background-color: rgb(255, 255, 255); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;这句命令的意思是，马上对当前设置的key和服务器地址等进行尝试激活操作。&lt;/p&gt;&lt;p style=&quot;border: 0px; font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, Arial, sans-serif; margin-top: 0px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(29, 29, 29); white-space: normal; background-color: rgb(255, 255, 255); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;kms激活的前提是你的系统是批量授权版本，即VL版，一般企业版都是VL版，专业版有零售和VL版，家庭版旗舰版OEM版等等那就肯定不能默认直接用kms激活。一般建议从&lt;span style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #FF0000; text-shadow: #666666 0px 0px 0px !important; user-select: text !important;&quot;&gt;&lt;a href=&quot;http://www.itellyou.cn/&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot; style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(87, 173, 104); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;msdn我告诉你&lt;/a&gt;&lt;/span&gt;上面下载系统。VL版本的镜像一般内置GVLK key，用于kms激活。如果你手动输过其他key，那么这个内置的key就会被替换掉，这个时候如果你想用kms，那么就需要把GVLK key输回去。对于Windows，在不太方便找到VL版本的时候，也可以用相同版本的导入gvlk key来代替，比如&lt;a href=&quot;https://go.microsoft.com/fwlink/?LinkId=691209&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot; style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(87, 173, 104); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;从微软官网下载win10专业版&lt;/a&gt;，然后导入gvlk key来启用kms通道。首先，&lt;/p&gt;&lt;p style=&quot;border: 0px; font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, Arial, sans-serif; margin-top: 0px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(29, 29, 29); white-space: normal; background-color: rgb(255, 255, 255); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;在下面的列表获取你对应版本产品用于kms激活的gvlk KEY。同样地，位于该列表里的产品都可以用kms激活。&lt;/p&gt;&lt;p style=&quot;border: 0px; font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, Arial, sans-serif; margin-top: 0px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(29, 29, 29); white-space: normal; background-color: rgb(255, 255, 255); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;对于下面列表里面含有的产品的VL版本或者能使用key进入kms通道的产品，都支持使用kms激活。另外对于Window7，如果你的bios含有slic表，会有无法使用kms的情况。&lt;/p&gt;&lt;blockquote style=&quot;border-width: 0px 0px 0px 4px; border-top-style: initial; border-right-style: initial; border-bottom-style: initial; border-left-style: solid; border-color: rgb(67, 159, 85); border-image: initial; font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, Arial, sans-serif; font-style: italic; margin: 0px 0px 20px; outline: 0px; padding: 20px; vertical-align: baseline; quotes: &amp;quot;&amp;quot; &amp;quot;&amp;quot;; background: rgb(249, 249, 249); color: rgb(29, 29, 29); white-space: normal; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;&lt;p style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin-top: 0px; margin-bottom: 0px; outline: 0px; padding: 0px; vertical-align: baseline; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;office2016&amp;nbsp;&lt;a href=&quot;https://technet.microsoft.com/zh-cn/library/dn385360(v=office.16).aspx&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot; style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(87, 173, 104); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;https://technet.microsoft.com/zh-cn/library/dn385360(v=office.16).aspx&lt;/a&gt;&lt;/p&gt;&lt;p style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin-top: 0px; margin-bottom: 0px; outline: 0px; padding: 0px; vertical-align: baseline; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin-top: 0px; margin-bottom: 0px; outline: 0px; padding: 0px; vertical-align: baseline; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;office2013&amp;nbsp;&lt;a href=&quot;https://technet.microsoft.com/ZH-CN/library/dn385360.aspx&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot; style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(87, 173, 104); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;https://technet.microsoft.com/ZH-CN/library/dn385360.aspx&lt;/a&gt;&lt;/p&gt;&lt;p style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin-top: 0px; margin-bottom: 0px; outline: 0px; padding: 0px; vertical-align: baseline; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin-top: 0px; margin-bottom: 0px; outline: 0px; padding: 0px; vertical-align: baseline; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;office2010&amp;nbsp;&lt;a href=&quot;https://technet.microsoft.com/ZH-CN/library/ee624355(v=office.14).aspx&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot; style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(87, 173, 104); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;https://technet.microsoft.com/ZH-CN/library/ee624355(v=office.14).aspx&lt;/a&gt;&lt;/p&gt;&lt;p style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin-top: 0px; margin-bottom: 0px; outline: 0px; padding: 0px; vertical-align: baseline; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin-top: 0px; margin-bottom: 0px; outline: 0px; padding: 0px; vertical-align: baseline; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;Server/Windows&amp;nbsp;&lt;a href=&quot;https://docs.microsoft.com/zh-cn/windows-server/get-started/kmsclientkeys&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot; style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(87, 173, 104); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;https://docs.microsoft.com/zh-cn/windows-server/get-started/kmsclientkeys&lt;/a&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p style=&quot;border: 0px; font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, Arial, sans-serif; margin-top: 0px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(29, 29, 29); white-space: normal; background-color: rgb(255, 255, 255); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;如果不知道自己的系统是什么版本，可以运行以下命令查看系统版本：&lt;/p&gt;&lt;div id=&quot;crayon-5b14fc43c37b7490054958&quot; class=&quot;crayon-syntax crayon-theme-xcode crayon-font-arial crayon-os-pc print-yes notranslate crayon-wrapped&quot; data-settings=&quot; minimize scroll-mouseover disable-anim wrap&quot; style=&quot;border-color: initial; border-image: initial; font-family: Monaco, MonacoRegular, &amp;quot;Courier New&amp;quot;, monospace; margin: 12px 0px; outline: 0px; padding: 0px; vertical-align: baseline; box-sizing: border-box; text-size-adjust: none; width: 603.094px; color: rgb(29, 29, 29); white-space: normal; height: auto; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; border-width: 1px !important; border-style: solid !important; font-size: 22px !important; background-color: rgb(248, 248, 255) !important; line-height: 22px !important; overflow: hidden !important; position: relative !important; direction: ltr !important;&quot;&gt;&lt;div class=&quot;crayon-toolbar&quot; data-settings=&quot; show&quot; style=&quot;border-top: 0px; border-right: 0px; border-left: 0px; border-bottom-color: initial; border-image: initial; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; background-image: initial; background-position: 0px center; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; width: 601.094px; position: relative; overflow: hidden; z-index: 4; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; border-bottom-width: 1px !important; border-bottom-style: solid !important; font-family: Arial, sans-serif !important; background-color: rgb(238, 238, 238) !important; height: 33px !important; line-height: 33px !important;&quot;&gt;&lt;span class=&quot;crayon-title&quot; style=&quot;border: 0px; font-family: inherit; font-size: 17.6px; font-style: inherit; margin: 0px; outline: 0px; vertical-align: baseline; float: left; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-weight: inherit !important; padding: 0px 4px !important; line-height: inherit !important; color: #666666 !important;&quot;&gt;&lt;/span&gt;&lt;div class=&quot;crayon-tools&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; background: 0px center; position: absolute; right: 0px; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; font-weight: inherit !important; height: 33px !important; line-height: 33px !important;&quot;&gt;&lt;span class=&quot;crayon-language&quot; style=&quot;border: 0px; font-family: inherit; font-size: 17.6px; font-style: inherit; margin: 0px; outline: 0px; vertical-align: baseline; float: left; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-weight: inherit !important; padding: 0px 8px 0px 4px !important; line-height: inherit !important; color: #666666 !important;&quot;&gt;Shell&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;&quot; style=&quot;color: rgb(0, 0, 0); word-wrap: normal; border-radius: 0px; border-width: 0px; border-style: initial; border-color: initial; width: 601.094px; margin: 0px; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; padding: 0px 5px; overflow: hidden; height: 64px; position: absolute; opacity: 0; box-sizing: border-box; box-shadow: none; resize: none; tab-size: 4; z-index: 0; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; font-size: 22px !important; font-family: Arial, sans-serif !important; line-height: 22px !important; -webkit-appearance: none !important;&quot;&gt;&lt;/textarea&gt;&lt;div class=&quot;crayon-main&quot; style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; background: 0px center; width: 601.094px; overflow: hidden; position: relative; z-index: 1; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; font-family: Arial, sans-serif !important;&quot;&gt;&lt;table class=&quot;crayon-table&quot; width=&quot;NaN&quot;&gt;&lt;tbody style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;&lt;tr class=&quot;crayon-row firstRow&quot; style=&quot;font-style: inherit; font-weight: inherit; outline: 0px; background: 0px center; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; border: none !important; margin: 0px !important; padding: 0px !important; vertical-align: top !important;&quot;&gt;&lt;td class=&quot;crayon-nums&quot; data-settings=&quot;show&quot; style=&quot;border-width: 0px; border-style: initial; border-color: initial; font-size: 14px; font-style: inherit; outline: 0px; background-image: initial; background-position: 0px center; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; color: rgb(102, 102, 102); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; margin: 0px !important; padding: 0px !important; vertical-align: top !important; background-color: rgb(238, 238, 238) !important;&quot;&gt;&lt;div class=&quot;crayon-nums-content&quot; style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding-right: 0px; padding-left: 0px; vertical-align: baseline; background: 0px center; white-space: nowrap; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; font-size: 22px !important; padding-top: 5px !important; padding-bottom: 3px !important; line-height: 22px !important;&quot;&gt;&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-5b14fc43c37b7490054958-1&quot; style=&quot;border-top: 0px; border-bottom: 0px; border-left: 0px; border-image: initial; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; background: 0px center; height: 22px; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; border-right: 1px solid rgb(222, 222, 222) !important; font-size: inherit !important; font-weight: inherit !important; text-align: right !important; line-height: inherit !important; min-width: 1.2em !important; color: rgb(170, 170, 170) !important;&quot;&gt;1&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;crayon-code&quot; style=&quot;border-width: 0px; border-style: initial; border-color: initial; font-size: 14px; font-style: inherit; outline: 0px; background: 0px center; color: rgb(102, 102, 102); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; margin: 0px !important; padding: 0px !important; vertical-align: top !important;&quot; width=&quot;563&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(0, 0, 0); white-space: pre; overflow: visible; tab-size: 4; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; border: none !important; font-size: 22px !important; background: none !important; line-height: 22px !important;&quot;&gt;&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-5b14fc43c37b7490054958-1&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; background: 0px center; height: inherit; word-break: break-all; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; white-space: pre-wrap !important;&quot;&gt;&lt;span class=&quot;crayon-e&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; color: #2E0D6E !important;&quot;&gt;wmic &lt;/span&gt;&lt;span class=&quot;crayon-e&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; color: #2E0D6E !important;&quot;&gt;os &lt;/span&gt;&lt;span class=&quot;crayon-r&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; color: #AA0D91 !important;&quot;&gt;get&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; color: #006FE0 !important;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; color: #5C2699 !important;&quot;&gt;caption&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style=&quot;border: 0px; font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, Arial, sans-serif; margin-top: 0px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(29, 29, 29); white-space: normal; background-color: rgb(255, 255, 255); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;得到对应key之后，使用&lt;span style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #FF0000; text-shadow: #666666 0px 0px 0px !important; user-select: text !important;&quot;&gt;管理员权限&lt;/span&gt;运行cmd执行安装key：&lt;/p&gt;&lt;div id=&quot;crayon-5b14fc43c37bb791998756&quot; class=&quot;crayon-syntax crayon-theme-xcode crayon-font-arial crayon-os-pc print-yes notranslate crayon-wrapped&quot; data-settings=&quot; minimize scroll-mouseover disable-anim wrap&quot; style=&quot;border-color: initial; border-image: initial; font-family: Monaco, MonacoRegular, &amp;quot;Courier New&amp;quot;, monospace; margin: 12px 0px; outline: 0px; padding: 0px; vertical-align: baseline; box-sizing: border-box; text-size-adjust: none; width: 603.094px; color: rgb(29, 29, 29); white-space: normal; height: auto; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; border-width: 1px !important; border-style: solid !important; font-size: 22px !important; background-color: rgb(248, 248, 255) !important; line-height: 22px !important; overflow: hidden !important; position: relative !important; direction: ltr !important;&quot;&gt;&lt;div class=&quot;crayon-toolbar&quot; data-settings=&quot; show&quot; style=&quot;border-top: 0px; border-right: 0px; border-left: 0px; border-bottom-color: initial; border-image: initial; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; background-image: initial; background-position: 0px center; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; width: 601.094px; position: relative; overflow: hidden; z-index: 4; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; border-bottom-width: 1px !important; border-bottom-style: solid !important; font-family: Arial, sans-serif !important; background-color: rgb(238, 238, 238) !important; height: 33px !important; line-height: 33px !important;&quot;&gt;&lt;span class=&quot;crayon-title&quot; style=&quot;border: 0px; font-family: inherit; font-size: 17.6px; font-style: inherit; margin: 0px; outline: 0px; vertical-align: baseline; float: left; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-weight: inherit !important; padding: 0px 4px !important; line-height: inherit !important; color: #666666 !important;&quot;&gt;&lt;/span&gt;&lt;div class=&quot;crayon-tools&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; background: 0px center; position: absolute; right: 0px; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; font-weight: inherit !important; height: 33px !important; line-height: 33px !important;&quot;&gt;&lt;span class=&quot;crayon-language&quot; style=&quot;border: 0px; font-family: inherit; font-size: 17.6px; font-style: inherit; margin: 0px; outline: 0px; vertical-align: baseline; float: left; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-weight: inherit !important; padding: 0px 8px 0px 4px !important; line-height: inherit !important; color: #666666 !important;&quot;&gt;Shell&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;&quot; style=&quot;color: rgb(0, 0, 0); word-wrap: normal; border-radius: 0px; border-width: 0px; border-style: initial; border-color: initial; width: 601.094px; margin: 0px; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; padding: 0px 5px; overflow: hidden; height: 64px; position: absolute; opacity: 0; box-sizing: border-box; box-shadow: none; resize: none; tab-size: 4; z-index: 0; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; font-size: 22px !important; font-family: Arial, sans-serif !important; line-height: 22px !important; -webkit-appearance: none !important;&quot;&gt;&lt;/textarea&gt;&lt;div class=&quot;crayon-main&quot; style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; background: 0px center; width: 601.094px; overflow: hidden; position: relative; z-index: 1; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; font-family: Arial, sans-serif !important;&quot;&gt;&lt;table class=&quot;crayon-table&quot; width=&quot;NaN&quot;&gt;&lt;tbody style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;&lt;tr class=&quot;crayon-row firstRow&quot; style=&quot;font-style: inherit; font-weight: inherit; outline: 0px; background: 0px center; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; border: none !important; margin: 0px !important; padding: 0px !important; vertical-align: top !important;&quot;&gt;&lt;td class=&quot;crayon-nums&quot; data-settings=&quot;show&quot; style=&quot;border-width: 0px; border-style: initial; border-color: initial; font-size: 14px; font-style: inherit; outline: 0px; background-image: initial; background-position: 0px center; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; color: rgb(102, 102, 102); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; margin: 0px !important; padding: 0px !important; vertical-align: top !important; background-color: rgb(238, 238, 238) !important;&quot;&gt;&lt;div class=&quot;crayon-nums-content&quot; style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding-right: 0px; padding-left: 0px; vertical-align: baseline; background: 0px center; white-space: nowrap; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; font-size: 22px !important; padding-top: 5px !important; padding-bottom: 3px !important; line-height: 22px !important;&quot;&gt;&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-5b14fc43c37bb791998756-1&quot; style=&quot;border-top: 0px; border-bottom: 0px; border-left: 0px; border-image: initial; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; background: 0px center; height: 22px; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; border-right: 1px solid rgb(222, 222, 222) !important; font-size: inherit !important; font-weight: inherit !important; text-align: right !important; line-height: inherit !important; min-width: 1.2em !important; color: rgb(170, 170, 170) !important;&quot;&gt;1&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;crayon-code&quot; style=&quot;border-width: 0px; border-style: initial; border-color: initial; font-size: 14px; font-style: inherit; outline: 0px; background: 0px center; color: rgb(102, 102, 102); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; margin: 0px !important; padding: 0px !important; vertical-align: top !important;&quot; width=&quot;563&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(0, 0, 0); white-space: pre; overflow: visible; tab-size: 4; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; border: none !important; font-size: 22px !important; background: none !important; line-height: 22px !important;&quot;&gt;&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-5b14fc43c37bb791998756-1&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; background: 0px center; height: inherit; word-break: break-all; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; white-space: pre-wrap !important;&quot;&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; color: #5C2699 !important;&quot;&gt;slmgr&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; color: #006FE0 !important;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; color: #2E0D6E !important;&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-e&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; color: #2E0D6E !important;&quot;&gt;ipk &lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; color: #5C2699 !important;&quot;&gt;xxxxx&lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; color: #2E0D6E !important;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; color: #5C2699 !important;&quot;&gt;xxxxx&lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; color: #2E0D6E !important;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; color: #5C2699 !important;&quot;&gt;xxxxx&lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; color: #2E0D6E !important;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; color: #5C2699 !important;&quot;&gt;xxxxx&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style=&quot;border: 0px; font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, Arial, sans-serif; margin-top: 0px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(29, 29, 29); white-space: normal; background-color: rgb(255, 255, 255); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;然后跟上面说的一样设置kms服务器地址，激活。&lt;/p&gt;&lt;p style=&quot;border: 0px; font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, Arial, sans-serif; margin-top: 0px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(29, 29, 29); white-space: normal; background-color: rgb(255, 255, 255); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;h6 style=&quot;border: 0px; font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, Arial, sans-serif; font-size: 19px; font-weight: normal; margin: 0px; outline: 0px; padding: 0px 0px 10px; vertical-align: baseline; color: rgb(27, 30, 31); line-height: 25px; text-transform: uppercase; white-space: normal; background-color: rgb(255, 255, 255); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;&lt;/h6&gt;&lt;blockquote style=&quot;border-width: 0px 0px 0px 4px; border-top-style: initial; border-right-style: initial; border-bottom-style: initial; border-left-style: solid; border-color: rgb(67, 159, 85); border-image: initial; font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, Arial, sans-serif; font-style: italic; margin: 0px 0px 20px; outline: 0px; padding: 20px; vertical-align: baseline; quotes: &amp;quot;&amp;quot; &amp;quot;&amp;quot;; background: rgb(249, 249, 249); color: rgb(29, 29, 29); white-space: normal; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;&lt;h6 style=&quot;border: 0px; font-size: 19px; font-style: inherit; font-weight: normal; margin: 0px; outline: 0px; padding: 0px 0px 10px; vertical-align: baseline; color: rgb(27, 30, 31); line-height: 25px; text-transform: uppercase; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;&lt;span style=&quot;border: 0px; font-style: normal; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; text-shadow: #666666 0px 0px 0px !important; user-select: text !important;&quot;&gt;&lt;span style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #3366FF; text-shadow: #666666 0px 0px 0px !important; user-select: text !important;&quot;&gt;一句命令激活OFFICE&lt;/span&gt;&lt;/span&gt;&lt;/h6&gt;&lt;/blockquote&gt;&lt;h6 style=&quot;border: 0px; font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, Arial, sans-serif; font-size: 19px; font-weight: normal; margin: 0px; outline: 0px; padding: 0px 0px 10px; vertical-align: baseline; color: rgb(27, 30, 31); line-height: 25px; text-transform: uppercase; white-space: normal; background-color: rgb(255, 255, 255); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;首先你的OFFICE必须是VOL版本，否则无法激活。&lt;/h6&gt;&lt;p style=&quot;border: 0px; font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, Arial, sans-serif; margin-top: 0px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(29, 29, 29); white-space: normal; background-color: rgb(255, 255, 255); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;找到你的office安装目录，比如C:\&lt;strong style=&quot;border: 0px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;&lt;span style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #FF0000; text-shadow: #666666 0px 0px 0px !important; user-select: text !important;&quot;&gt;Program Files (x86)&lt;/span&gt;&lt;/strong&gt;\Microsoft Office\&lt;strong style=&quot;border: 0px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;&lt;span style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #FF0000; text-shadow: #666666 0px 0px 0px !important; user-select: text !important;&quot;&gt;Office16&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p style=&quot;border: 0px; font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, Arial, sans-serif; margin-top: 0px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(29, 29, 29); white-space: normal; background-color: rgb(255, 255, 255); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;64位的就是C:\&lt;strong style=&quot;border: 0px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;&lt;span style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #FF0000; text-shadow: #666666 0px 0px 0px !important; user-select: text !important;&quot;&gt;Program Files&lt;/span&gt;&lt;/strong&gt;\Microsoft Office\Office16&lt;/p&gt;&lt;p style=&quot;border: 0px; font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, Arial, sans-serif; margin-top: 0px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(29, 29, 29); white-space: normal; background-color: rgb(255, 255, 255); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;office16是office2016，office15就是2013，office14就是2010.&lt;/p&gt;&lt;p style=&quot;border: 0px; font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, Arial, sans-serif; margin-top: 0px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(29, 29, 29); white-space: normal; background-color: rgb(255, 255, 255); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;然后目录对的话，该目录下面应该有个&lt;strong style=&quot;border: 0px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;&lt;span style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #FF0000; text-shadow: #666666 0px 0px 0px !important; user-select: text !important;&quot;&gt;OSPP.VBS。&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p style=&quot;border: 0px; font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, Arial, sans-serif; margin-top: 0px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(29, 29, 29); white-space: normal; background-color: rgb(255, 255, 255); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;接下来我们就cd到这个目录下面，例如（请更改为自己的实际安装目录）：&lt;/p&gt;&lt;div id=&quot;crayon-5b14fc43c37be454194152&quot; class=&quot;crayon-syntax crayon-theme-xcode crayon-font-arial crayon-os-pc print-yes notranslate crayon-wrapped&quot; data-settings=&quot; minimize scroll-mouseover disable-anim wrap&quot; style=&quot;border-color: initial; border-image: initial; font-family: Monaco, MonacoRegular, &amp;quot;Courier New&amp;quot;, monospace; margin: 12px 0px; outline: 0px; padding: 0px; vertical-align: baseline; box-sizing: border-box; text-size-adjust: none; width: 603.094px; color: rgb(29, 29, 29); white-space: normal; height: auto; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; border-width: 1px !important; border-style: solid !important; font-size: 22px !important; background-color: rgb(248, 248, 255) !important; line-height: 22px !important; overflow: hidden !important; position: relative !important; direction: ltr !important;&quot;&gt;&lt;div class=&quot;crayon-toolbar&quot; data-settings=&quot; show&quot; style=&quot;border-top: 0px; border-right: 0px; border-left: 0px; border-bottom-color: initial; border-image: initial; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; background-image: initial; background-position: 0px center; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; width: 601.094px; position: relative; overflow: hidden; z-index: 4; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; border-bottom-width: 1px !important; border-bottom-style: solid !important; font-family: Arial, sans-serif !important; background-color: rgb(238, 238, 238) !important; height: 33px !important; line-height: 33px !important;&quot;&gt;&lt;span class=&quot;crayon-title&quot; style=&quot;border: 0px; font-family: inherit; font-size: 17.6px; font-style: inherit; margin: 0px; outline: 0px; vertical-align: baseline; float: left; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-weight: inherit !important; padding: 0px 4px !important; line-height: inherit !important; color: #666666 !important;&quot;&gt;&lt;/span&gt;&lt;div class=&quot;crayon-tools&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; background: 0px center; position: absolute; right: 0px; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; font-weight: inherit !important; height: 33px !important; line-height: 33px !important;&quot;&gt;&lt;span class=&quot;crayon-language&quot; style=&quot;border: 0px; font-family: inherit; font-size: 17.6px; font-style: inherit; margin: 0px; outline: 0px; vertical-align: baseline; float: left; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-weight: inherit !important; padding: 0px 8px 0px 4px !important; line-height: inherit !important; color: #666666 !important;&quot;&gt;Shell&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;&quot; style=&quot;color: rgb(0, 0, 0); word-wrap: normal; border-radius: 0px; border-width: 0px; border-style: initial; border-color: initial; width: 601.094px; margin: 0px; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; padding: 0px 5px; overflow: hidden; height: 64px; position: absolute; opacity: 0; box-sizing: border-box; box-shadow: none; resize: none; tab-size: 4; z-index: 0; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; font-size: 22px !important; font-family: Arial, sans-serif !important; line-height: 22px !important; -webkit-appearance: none !important;&quot;&gt;&lt;/textarea&gt;&lt;div class=&quot;crayon-main&quot; style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; background: 0px center; width: 601.094px; overflow: hidden; position: relative; z-index: 1; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; font-family: Arial, sans-serif !important;&quot;&gt;&lt;table class=&quot;crayon-table&quot; width=&quot;NaN&quot;&gt;&lt;tbody style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;&lt;tr class=&quot;crayon-row firstRow&quot; style=&quot;font-style: inherit; font-weight: inherit; outline: 0px; background: 0px center; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; border: none !important; margin: 0px !important; padding: 0px !important; vertical-align: top !important;&quot;&gt;&lt;td class=&quot;crayon-nums&quot; data-settings=&quot;show&quot; style=&quot;border-width: 0px; border-style: initial; border-color: initial; font-size: 14px; font-style: inherit; outline: 0px; background-image: initial; background-position: 0px center; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; color: rgb(102, 102, 102); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; margin: 0px !important; padding: 0px !important; vertical-align: top !important; background-color: rgb(238, 238, 238) !important;&quot;&gt;&lt;div class=&quot;crayon-nums-content&quot; style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding-right: 0px; padding-left: 0px; vertical-align: baseline; background: 0px center; white-space: nowrap; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; font-size: 22px !important; padding-top: 5px !important; padding-bottom: 3px !important; line-height: 22px !important;&quot;&gt;&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-5b14fc43c37be454194152-1&quot; style=&quot;border-top: 0px; border-bottom: 0px; border-left: 0px; border-image: initial; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; background: 0px center; height: 22px; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; border-right: 1px solid rgb(222, 222, 222) !important; font-size: inherit !important; font-weight: inherit !important; text-align: right !important; line-height: inherit !important; min-width: 1.2em !important; color: rgb(170, 170, 170) !important;&quot;&gt;1&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;crayon-code&quot; style=&quot;border-width: 0px; border-style: initial; border-color: initial; font-size: 14px; font-style: inherit; outline: 0px; background: 0px center; color: rgb(102, 102, 102); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; margin: 0px !important; padding: 0px !important; vertical-align: top !important;&quot; width=&quot;563&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(0, 0, 0); white-space: pre; overflow: visible; tab-size: 4; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; border: none !important; font-size: 22px !important; background: none !important; line-height: 22px !important;&quot;&gt;&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-5b14fc43c37be454194152-1&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; background: 0px center; height: inherit; word-break: break-all; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; white-space: pre-wrap !important;&quot;&gt;&lt;span class=&quot;crayon-r&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; color: #AA0D91 !important;&quot;&gt;cd&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; color: #006FE0 !important;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-s&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; color: #C41A16 !important;&quot;&gt;&amp;quot;C:\Program Files (x86)\Microsoft Office\Office16&amp;quot;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style=&quot;border: 0px; font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, Arial, sans-serif; margin-top: 0px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(29, 29, 29); white-space: normal; background-color: rgb(255, 255, 255); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;如果你不知道你的office装在哪个目录，可以打开一个程序比如word，然后用打开任务管理员右键选择“打开文件所在的位置”。&lt;/p&gt;&lt;p style=&quot;border: 0px; font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, Arial, sans-serif; margin-top: 0px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(29, 29, 29); white-space: normal; background-color: rgb(255, 255, 255); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;然后执行注册kms服务器地址：&lt;/p&gt;&lt;div id=&quot;crayon-5b14fc43c37c0012649990&quot; class=&quot;crayon-syntax crayon-theme-xcode crayon-font-arial crayon-os-pc print-yes notranslate crayon-wrapped&quot; data-settings=&quot; minimize scroll-mouseover disable-anim wrap&quot; style=&quot;border-color: initial; border-image: initial; font-family: Monaco, MonacoRegular, &amp;quot;Courier New&amp;quot;, monospace; margin: 12px 0px; outline: 0px; padding: 0px; vertical-align: baseline; box-sizing: border-box; text-size-adjust: none; width: 603.094px; color: rgb(29, 29, 29); white-space: normal; height: auto; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; border-width: 1px !important; border-style: solid !important; font-size: 22px !important; background-color: rgb(248, 248, 255) !important; line-height: 22px !important; overflow: hidden !important; position: relative !important; direction: ltr !important;&quot;&gt;&lt;div class=&quot;crayon-toolbar&quot; data-settings=&quot; show&quot; style=&quot;border-top: 0px; border-right: 0px; border-left: 0px; border-bottom-color: initial; border-image: initial; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; background-image: initial; background-position: 0px center; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; width: 601.094px; position: relative; overflow: hidden; z-index: 4; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; border-bottom-width: 1px !important; border-bottom-style: solid !important; font-family: Arial, sans-serif !important; background-color: rgb(238, 238, 238) !important; height: 33px !important; line-height: 33px !important;&quot;&gt;&lt;span class=&quot;crayon-title&quot; style=&quot;border: 0px; font-family: inherit; font-size: 17.6px; font-style: inherit; margin: 0px; outline: 0px; vertical-align: baseline; float: left; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-weight: inherit !important; padding: 0px 4px !important; line-height: inherit !important; color: #666666 !important;&quot;&gt;&lt;/span&gt;&lt;div class=&quot;crayon-tools&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; background: 0px center; position: absolute; right: 0px; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; font-weight: inherit !important; height: 33px !important; line-height: 33px !important;&quot;&gt;&lt;span class=&quot;crayon-language&quot; style=&quot;border: 0px; font-family: inherit; font-size: 17.6px; font-style: inherit; margin: 0px; outline: 0px; vertical-align: baseline; float: left; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-weight: inherit !important; padding: 0px 8px 0px 4px !important; line-height: inherit !important; color: #666666 !important;&quot;&gt;Shell&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;&quot; style=&quot;color: rgb(0, 0, 0); word-wrap: normal; border-radius: 0px; border-width: 0px; border-style: initial; border-color: initial; width: 601.094px; margin: 0px; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; padding: 0px 5px; overflow: hidden; height: 64px; position: absolute; opacity: 0; box-sizing: border-box; box-shadow: none; resize: none; tab-size: 4; z-index: 0; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; font-size: 22px !important; font-family: Arial, sans-serif !important; line-height: 22px !important; -webkit-appearance: none !important;&quot;&gt;&lt;/textarea&gt;&lt;div class=&quot;crayon-main&quot; style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; background: 0px center; width: 601.094px; overflow: hidden; position: relative; z-index: 1; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; font-family: Arial, sans-serif !important;&quot;&gt;&lt;table class=&quot;crayon-table&quot; width=&quot;NaN&quot;&gt;&lt;tbody style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;&lt;tr class=&quot;crayon-row firstRow&quot; style=&quot;font-style: inherit; font-weight: inherit; outline: 0px; background: 0px center; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; border: none !important; margin: 0px !important; padding: 0px !important; vertical-align: top !important;&quot;&gt;&lt;td class=&quot;crayon-nums&quot; data-settings=&quot;show&quot; style=&quot;border-width: 0px; border-style: initial; border-color: initial; font-size: 14px; font-style: inherit; outline: 0px; background-image: initial; background-position: 0px center; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; color: rgb(102, 102, 102); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; margin: 0px !important; padding: 0px !important; vertical-align: top !important; background-color: rgb(238, 238, 238) !important;&quot;&gt;&lt;div class=&quot;crayon-nums-content&quot; style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding-right: 0px; padding-left: 0px; vertical-align: baseline; background: 0px center; white-space: nowrap; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; font-size: 22px !important; padding-top: 5px !important; padding-bottom: 3px !important; line-height: 22px !important;&quot;&gt;&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-5b14fc43c37c0012649990-1&quot; style=&quot;border-top: 0px; border-bottom: 0px; border-left: 0px; border-image: initial; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; background: 0px center; height: 22px; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; border-right: 1px solid rgb(222, 222, 222) !important; font-size: inherit !important; font-weight: inherit !important; text-align: right !important; line-height: inherit !important; min-width: 1.2em !important; color: rgb(170, 170, 170) !important;&quot;&gt;1&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;crayon-code&quot; style=&quot;border-width: 0px; border-style: initial; border-color: initial; font-size: 14px; font-style: inherit; outline: 0px; background: 0px center; color: rgb(102, 102, 102); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; margin: 0px !important; padding: 0px !important; vertical-align: top !important;&quot; width=&quot;563&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(0, 0, 0); white-space: pre; overflow: visible; tab-size: 4; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; border: none !important; font-size: 22px !important; background: none !important; line-height: 22px !important;&quot;&gt;&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-5b14fc43c37c0012649990-1&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; background: 0px center; height: inherit; word-break: break-all; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; white-space: pre-wrap !important;&quot;&gt;&lt;span class=&quot;crayon-e&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; color: #2E0D6E !important;&quot;&gt;cscript &lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; color: #5C2699 !important;&quot;&gt;ospp&lt;/span&gt;&lt;span class=&quot;crayon-e&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; color: #2E0D6E !important;&quot;&gt;.vbs&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; color: #006FE0 !important;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; color: #2E0D6E !important;&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; color: #5C2699 !important;&quot;&gt;sethst&lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; color: #2E0D6E !important;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; color: #5C2699 !important;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;font-family: inherit; font-style: inherit; white-space: pre-wrap; background-color: #F8F8FF; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; font-size: inherit !important; font-weight: inherit !important; color: #5C2699 !important; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; line-height: inherit !important;&quot;&gt;kms&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;font-family: inherit; font-style: inherit; white-space: pre-wrap; background-color: #F8F8FF; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; font-size: inherit !important; font-weight: inherit !important; color: #333333 !important; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; line-height: inherit !important;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;color: #1D1D1D; font-family: inherit; font-style: inherit; white-space: pre-wrap; background-color: #F8F8FF; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; font-size: inherit !important; font-weight: inherit !important; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; line-height: inherit !important;&quot;&gt;&lt;span style=&quot;color: #2E0D6E;&quot;&gt;leus.cc&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; color: #2E0D6E !important;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style=&quot;border: 0px; font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, Arial, sans-serif; margin-top: 0px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(29, 29, 29); white-space: normal; background-color: rgb(255, 255, 255); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;/sethst参数就是指定kms服务器地址。&lt;/p&gt;&lt;p style=&quot;border: 0px; font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, Arial, sans-serif; margin-top: 0px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(29, 29, 29); white-space: normal; background-color: rgb(255, 255, 255); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;一般ospp.vbs可以拖进去cmd窗口，所以也可以这么弄：&lt;/p&gt;&lt;div id=&quot;crayon-5b14fc43c37c3327179442&quot; class=&quot;crayon-syntax crayon-theme-xcode crayon-font-arial crayon-os-pc print-yes notranslate crayon-wrapped&quot; data-settings=&quot; minimize scroll-mouseover disable-anim wrap&quot; style=&quot;border-color: initial; border-image: initial; font-family: Monaco, MonacoRegular, &amp;quot;Courier New&amp;quot;, monospace; margin: 12px 0px; outline: 0px; padding: 0px; vertical-align: baseline; box-sizing: border-box; text-size-adjust: none; width: 603.094px; color: rgb(29, 29, 29); white-space: normal; height: auto; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; border-width: 1px !important; border-style: solid !important; font-size: 20px !important; background-color: rgb(248, 248, 255) !important; line-height: 20px !important; overflow: hidden !important; position: relative !important; direction: ltr !important;&quot;&gt;&lt;div class=&quot;crayon-toolbar&quot; data-settings=&quot; show&quot; style=&quot;border-top: 0px; border-right: 0px; border-left: 0px; border-bottom-color: initial; border-image: initial; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; background-image: initial; background-position: 0px center; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; width: 601.094px; position: relative; overflow: hidden; z-index: 4; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; border-bottom-width: 1px !important; border-bottom-style: solid !important; font-family: Arial, sans-serif !important; background-color: rgb(238, 238, 238) !important; height: 30px !important; line-height: 30px !important;&quot;&gt;&lt;span class=&quot;crayon-title&quot; style=&quot;border: 0px; font-family: inherit; font-size: 16px; font-style: inherit; margin: 0px; outline: 0px; vertical-align: baseline; float: left; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-weight: inherit !important; padding: 0px 4px !important; line-height: inherit !important; color: #666666 !important;&quot;&gt;&lt;/span&gt;&lt;div class=&quot;crayon-tools&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; background: 0px center; position: absolute; right: 0px; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; font-weight: inherit !important; height: 30px !important; line-height: 30px !important;&quot;&gt;&lt;span class=&quot;crayon-language&quot; style=&quot;border: 0px; font-family: inherit; font-size: 16px; font-style: inherit; margin: 0px; outline: 0px; vertical-align: baseline; float: left; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-weight: inherit !important; padding: 0px 8px 0px 4px !important; line-height: inherit !important; color: #666666 !important;&quot;&gt;Shell&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;&quot; style=&quot;color: rgb(0, 0, 0); word-wrap: normal; border-radius: 0px; border-width: 0px; border-style: initial; border-color: initial; width: 601.094px; margin: 0px; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; padding: 0px 5px; overflow: hidden; height: 79px; position: absolute; opacity: 0; box-sizing: border-box; box-shadow: none; resize: none; tab-size: 4; z-index: 0; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; font-size: 20px !important; font-family: Arial, sans-serif !important; line-height: 20px !important; -webkit-appearance: none !important;&quot;&gt;&lt;/textarea&gt;&lt;div class=&quot;crayon-main&quot; style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; background: 0px center; width: 601.094px; overflow: hidden; position: relative; z-index: 1; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; font-family: Arial, sans-serif !important;&quot;&gt;&lt;table class=&quot;crayon-table&quot; width=&quot;NaN&quot;&gt;&lt;tbody style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;&lt;tr class=&quot;crayon-row firstRow&quot; style=&quot;font-style: inherit; font-weight: inherit; outline: 0px; background: 0px center; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; border: none !important; margin: 0px !important; padding: 0px !important; vertical-align: top !important;&quot;&gt;&lt;td class=&quot;crayon-nums&quot; data-settings=&quot;show&quot; style=&quot;border-width: 0px; border-style: initial; border-color: initial; font-size: 14px; font-style: inherit; outline: 0px; background-image: initial; background-position: 0px center; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; color: rgb(102, 102, 102); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; margin: 0px !important; padding: 0px !important; vertical-align: top !important; background-color: rgb(238, 238, 238) !important;&quot;&gt;&lt;div class=&quot;crayon-nums-content&quot; style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding-right: 0px; padding-left: 0px; vertical-align: baseline; background: 0px center; white-space: nowrap; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; font-size: 20px !important; padding-top: 5px !important; padding-bottom: 3px !important; line-height: 20px !important;&quot;&gt;&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-5b14fc43c37c3327179442-1&quot; style=&quot;border-top: 0px; border-bottom: 0px; border-left: 0px; border-image: initial; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; background: 0px center; height: 40px; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; border-right: 1px solid rgb(222, 222, 222) !important; font-size: inherit !important; font-weight: inherit !important; text-align: right !important; line-height: inherit !important; min-width: 1.2em !important; color: rgb(170, 170, 170) !important;&quot;&gt;1&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;crayon-code&quot; style=&quot;border-width: 0px; border-style: initial; border-color: initial; font-size: 14px; font-style: inherit; outline: 0px; background: 0px center; color: rgb(102, 102, 102); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; margin: 0px !important; padding: 0px !important; vertical-align: top !important;&quot; width=&quot;566&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(0, 0, 0); white-space: pre; overflow: visible; tab-size: 4; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; border: none !important; font-size: 20px !important; background: none !important; line-height: 20px !important;&quot;&gt;&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-5b14fc43c37c3327179442-1&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; background: 0px center; height: inherit; word-break: break-all; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; white-space: pre-wrap !important;&quot;&gt;&lt;span class=&quot;crayon-i&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; color: #AA0D91 !important;&quot;&gt;cscript&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; color: #006FE0 !important;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-s&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; color: #C41A16 !important;&quot;&gt;&amp;quot;C:\Program Files (x86)\Microsoft Office\Office16\OSPP.VBS&amp;quot;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; color: #006FE0 !important;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; color: #2E0D6E !important;&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; color: #5C2699 !important;&quot;&gt;sethst&lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; color: #2E0D6E !important;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; color: #5C2699 !important;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;font-family: inherit; font-style: inherit; white-space: pre-wrap; background-color: #F8F8FF; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; font-size: inherit !important; font-weight: inherit !important; color: #5C2699 !important; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; line-height: inherit !important;&quot;&gt;kms&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;font-family: inherit; font-style: inherit; white-space: pre-wrap; background-color: #F8F8FF; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; font-size: inherit !important; font-weight: inherit !important; color: #333333 !important; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; line-height: inherit !important;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;color: #1D1D1D; font-family: inherit; font-style: inherit; white-space: pre-wrap; background-color: #F8F8FF; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; font-size: inherit !important; font-weight: inherit !important; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; line-height: inherit !important;&quot;&gt;&lt;span style=&quot;color: #2E0D6E;&quot;&gt;leus.cc&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; color: #2E0D6E !important;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style=&quot;border: 0px; font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, Arial, sans-serif; margin-top: 0px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(29, 29, 29); white-space: normal; background-color: rgb(255, 255, 255); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;一般来说，“一句命令已经完成了”，但一般office不会马上连接kms服务器进行激活，所以我们额外补充一条手动激活命令：&lt;/p&gt;&lt;div id=&quot;crayon-5b14fc43c37c5702915141&quot; class=&quot;crayon-syntax crayon-theme-xcode crayon-font-arial crayon-os-pc print-yes notranslate crayon-wrapped&quot; data-settings=&quot; minimize scroll-mouseover disable-anim wrap&quot; style=&quot;border-color: initial; border-image: initial; font-family: Monaco, MonacoRegular, &amp;quot;Courier New&amp;quot;, monospace; margin: 12px 0px; outline: 0px; padding: 0px; vertical-align: baseline; box-sizing: border-box; text-size-adjust: none; width: 603.094px; color: rgb(29, 29, 29); white-space: normal; height: auto; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; border-width: 1px !important; border-style: solid !important; font-size: 22px !important; background-color: rgb(248, 248, 255) !important; line-height: 22px !important; overflow: hidden !important; position: relative !important; direction: ltr !important;&quot;&gt;&lt;div class=&quot;crayon-toolbar&quot; data-settings=&quot; show&quot; style=&quot;border-top: 0px; border-right: 0px; border-left: 0px; border-bottom-color: initial; border-image: initial; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; background-image: initial; background-position: 0px center; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; width: 601.094px; position: relative; overflow: hidden; z-index: 4; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; border-bottom-width: 1px !important; border-bottom-style: solid !important; font-family: Arial, sans-serif !important; background-color: rgb(238, 238, 238) !important; height: 33px !important; line-height: 33px !important;&quot;&gt;&lt;span class=&quot;crayon-title&quot; style=&quot;border: 0px; font-family: inherit; font-size: 17.6px; font-style: inherit; margin: 0px; outline: 0px; vertical-align: baseline; float: left; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-weight: inherit !important; padding: 0px 4px !important; line-height: inherit !important; color: #666666 !important;&quot;&gt;&lt;/span&gt;&lt;div class=&quot;crayon-tools&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; background: 0px center; position: absolute; right: 0px; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; font-weight: inherit !important; height: 33px !important; line-height: 33px !important;&quot;&gt;&lt;span class=&quot;crayon-language&quot; style=&quot;border: 0px; font-family: inherit; font-size: 17.6px; font-style: inherit; margin: 0px; outline: 0px; vertical-align: baseline; float: left; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-weight: inherit !important; padding: 0px 8px 0px 4px !important; line-height: inherit !important; color: #666666 !important;&quot;&gt;Shell&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;&quot; style=&quot;color: rgb(0, 0, 0); word-wrap: normal; border-radius: 0px; border-width: 0px; border-style: initial; border-color: initial; width: 601.094px; margin: 0px; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; padding: 0px 5px; overflow: hidden; height: 64px; position: absolute; opacity: 0; box-sizing: border-box; box-shadow: none; resize: none; tab-size: 4; z-index: 0; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; font-size: 22px !important; font-family: Arial, sans-serif !important; line-height: 22px !important; -webkit-appearance: none !important;&quot;&gt;&lt;/textarea&gt;&lt;div class=&quot;crayon-main&quot; style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; background: 0px center; width: 601.094px; overflow: hidden; position: relative; z-index: 1; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; font-family: Arial, sans-serif !important;&quot;&gt;&lt;table class=&quot;crayon-table&quot; width=&quot;NaN&quot;&gt;&lt;tbody style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;&lt;tr class=&quot;crayon-row firstRow&quot; style=&quot;font-style: inherit; font-weight: inherit; outline: 0px; background: 0px center; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; border: none !important; margin: 0px !important; padding: 0px !important; vertical-align: top !important;&quot;&gt;&lt;td class=&quot;crayon-nums&quot; data-settings=&quot;show&quot; style=&quot;border-width: 0px; border-style: initial; border-color: initial; font-size: 14px; font-style: inherit; outline: 0px; background-image: initial; background-position: 0px center; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; color: rgb(102, 102, 102); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; margin: 0px !important; padding: 0px !important; vertical-align: top !important; background-color: rgb(238, 238, 238) !important;&quot;&gt;&lt;div class=&quot;crayon-nums-content&quot; style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding-right: 0px; padding-left: 0px; vertical-align: baseline; background: 0px center; white-space: nowrap; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; font-size: 22px !important; padding-top: 5px !important; padding-bottom: 3px !important; line-height: 22px !important;&quot;&gt;&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-5b14fc43c37c5702915141-1&quot; style=&quot;border-top: 0px; border-bottom: 0px; border-left: 0px; border-image: initial; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; background: 0px center; height: 22px; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; border-right: 1px solid rgb(222, 222, 222) !important; font-size: inherit !important; font-weight: inherit !important; text-align: right !important; line-height: inherit !important; min-width: 1.2em !important; color: rgb(170, 170, 170) !important;&quot;&gt;1&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;crayon-code&quot; style=&quot;border-width: 0px; border-style: initial; border-color: initial; font-size: 14px; font-style: inherit; outline: 0px; background: 0px center; color: rgb(102, 102, 102); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; margin: 0px !important; padding: 0px !important; vertical-align: top !important;&quot; width=&quot;563&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(0, 0, 0); white-space: pre; overflow: visible; tab-size: 4; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; border: none !important; font-size: 22px !important; background: none !important; line-height: 22px !important;&quot;&gt;&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-5b14fc43c37c5702915141-1&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; background: 0px center; height: inherit; word-break: break-all; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; white-space: pre-wrap !important;&quot;&gt;&lt;span class=&quot;crayon-e&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; color: #2E0D6E !important;&quot;&gt;cscript &lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; color: #5C2699 !important;&quot;&gt;ospp&lt;/span&gt;&lt;span class=&quot;crayon-e&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; color: #2E0D6E !important;&quot;&gt;.vbs&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; color: #006FE0 !important;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; color: #2E0D6E !important;&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; text-shadow: #666666 0px 0px 0px !important; user-select: text !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; color: #5C2699 !important;&quot;&gt;act&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style=&quot;border: 0px; font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, Arial, sans-serif; margin-top: 0px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(29, 29, 29); white-space: normal; background-color: rgb(255, 255, 255); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;如果提示看到successful的字样，那么就是激活成功了，重新打开office就好。&lt;/p&gt;&lt;p style=&quot;border: 0px; font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, Arial, sans-serif; margin-top: 0px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(29, 29, 29); white-space: normal; background-color: rgb(255, 255, 255); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;hr style=&quot;border-color: rgb(234, 234, 234); border-style: solid none none; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; height: 0px; margin: 0px 0px 40px; color: rgb(29, 29, 29); font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, Arial, sans-serif; white-space: normal; background-color: rgb(255, 255, 255); text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;/&gt;&lt;blockquote style=&quot;border-width: 0px 0px 0px 4px; border-top-style: initial; border-right-style: initial; border-bottom-style: initial; border-left-style: solid; border-color: rgb(67, 159, 85); border-image: initial; font-family: -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, Arial, sans-serif; font-style: italic; margin: 0px 0px 20px; outline: 0px; padding: 20px; vertical-align: baseline; quotes: &amp;quot;&amp;quot; &amp;quot;&amp;quot;; background: rgb(249, 249, 249); color: rgb(29, 29, 29); white-space: normal; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;&lt;h6 style=&quot;border: 0px; font-size: 19px; font-style: inherit; font-weight: normal; margin: 0px; outline: 0px; padding: 0px 0px 10px; vertical-align: baseline; color: rgb(27, 30, 31); line-height: 25px; text-transform: uppercase; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;&lt;span style=&quot;border: 0px; font-style: normal; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; text-shadow: #666666 0px 0px 0px !important; user-select: text !important;&quot;&gt;1、你的系统/OFFICE是否是批量VL版本&lt;/span&gt;&lt;/h6&gt;&lt;h6 style=&quot;border: 0px; font-size: 19px; font-style: inherit; font-weight: normal; margin: 0px; outline: 0px; padding: 0px 0px 10px; vertical-align: baseline; color: rgb(27, 30, 31); line-height: 25px; text-transform: uppercase; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;&lt;span style=&quot;border: 0px; font-style: normal; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; text-shadow: #666666 0px 0px 0px !important; user-select: text !important;&quot;&gt;2、是否以管理员权限运行CMD&lt;/span&gt;&lt;/h6&gt;&lt;h6 style=&quot;border: 0px; font-size: 19px; font-style: inherit; font-weight: normal; margin: 0px; outline: 0px; padding: 0px 0px 10px; vertical-align: baseline; color: rgb(27, 30, 31); line-height: 25px; text-transform: uppercase; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;&lt;span style=&quot;border: 0px; font-style: normal; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; text-shadow: #666666 0px 0px 0px !important; user-select: text !important;&quot;&gt;3、你的系统/OFFICE是否修改过KEY/未安装GVLK KEY&lt;/span&gt;&lt;/h6&gt;&lt;h6 style=&quot;border: 0px; font-size: 19px; font-style: inherit; font-weight: normal; margin: 0px; outline: 0px; padding: 0px 0px 10px; vertical-align: baseline; color: rgb(27, 30, 31); line-height: 25px; text-transform: uppercase; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;&lt;span style=&quot;border: 0px; font-style: normal; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; text-shadow: #666666 0px 0px 0px !important; user-select: text !important;&quot;&gt;4、检查你的网络连接&lt;/span&gt;&lt;/h6&gt;&lt;h6 style=&quot;border: 0px; font-size: 19px; font-style: inherit; font-weight: normal; margin: 0px; outline: 0px; padding: 0px 0px 10px; vertical-align: baseline; color: rgb(27, 30, 31); line-height: 25px; text-transform: uppercase; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;&lt;span style=&quot;border: 0px; font-style: normal; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; text-shadow: #666666 0px 0px 0px !important; user-select: text !important;&quot;&gt;5、本地的解析不对,或网络问题&lt;/span&gt;&lt;/h6&gt;&lt;h6 style=&quot;border: 0px; font-size: 19px; font-style: inherit; font-weight: normal; margin: 0px; outline: 0px; padding: 0px 0px 10px; vertical-align: baseline; color: rgb(27, 30, 31); line-height: 25px; text-transform: uppercase; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;&lt;span style=&quot;border: 0px; font-style: normal; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; text-shadow: #666666 0px 0px 0px !important; user-select: text !important;&quot;&gt;6、根据出错代码自己搜索出错原因&lt;/span&gt;&lt;/h6&gt;&lt;p style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin-top: 0px; margin-bottom: 0px; outline: 0px; padding: 0px; vertical-align: baseline; text-shadow: rgb(102, 102, 102) 0px 0px 0px !important; user-select: text !important;&quot;&gt;0x80070005错误一般是你没用管理员权限运行CMD&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Mon, 04 Jun 2018 17:19:17 +0800</pubDate></item><item><title>EXSI在DELL r730xd下的坑</title><link>https://www.leus.cc/?id=25</link><description>&lt;p&gt;　　1、安装版本对驱动的坑&lt;/p&gt;&lt;p&gt;　　&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1、1DELL博通57810这款万兆卡在使用的时候由于严重依赖设备BIOS和idrac和raid卡的驱动的玩意，如果按照全新的驱动，使用exsi6.0肯定会出现掉线，而且是持续性的。&lt;/p&gt;&lt;p&gt;　　&lt;img src=&quot;https://www.leus.cc/zb_users/upload/2018/05/201805221526990170192636.png&quot; alt=&quot;image.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;　　&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1、2安装的时候每一个BIOS版本都对应了不同的支持最好的系统，在没有完整的调查前，一定不要乱升级BIOS&lt;/p&gt;&lt;p&gt;　　2、存储器坑&lt;/p&gt;&lt;p&gt;　　&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;2、1由于阵列卡在创建后会悄悄地在后台初始化，这就带来了一个巨大的BUG，在使用的时候EXSI会持续性报错，说主板有问题。此时只能等待，而且在使用大容量硬盘做阵列的时候初始化时间可能达到1周（6TB*10亲测）。&lt;/p&gt;&lt;p&gt;　　&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;2、2由于在使用的时候会传递电源信息，如果你使用的电源的型号有些许差异就会持续性报错。&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 不过总体而言，730还是一个很好的产品，继续支持好用的产品&lt;br/&gt;&lt;/p&gt;</description><pubDate>Tue, 22 May 2018 19:53:18 +0800</pubDate></item><item><title>win2016 做iscsi的一些心得</title><link>https://www.leus.cc/?id=24</link><description>&lt;p style=&quot;white-space: normal;&quot;&gt;找了一下百度，发现没有一个很好的ISCSI存储的教程，经过摸索，终于得到了一些小心得关于使用EXSI在WIN201下创建ISCSI存储&lt;/p&gt;&lt;p style=&quot;white-space: normal;&quot;&gt;1、如何在WIN2016下创建ISCSI存储我就不细说了，有很多教程&lt;/p&gt;&lt;p style=&quot;white-space: normal;&quot;&gt;2、创建好WIN下面的ISCSI后，我们需要做的是在VCENTER上创建动态发现，接入到你的地址&lt;/p&gt;&lt;p style=&quot;white-space: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;img src=&quot;https://www.leus.cc/zb_users/upload/2018/05/201805221526986952305814.png&quot; alt=&quot;image.png&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;white-space: normal;&quot;&gt;3、创建好后回到WIN2016打开ISCSI目标属性的发起程序选项中，选择你虚拟机网卡对应的IQN点击确定&lt;/p&gt;&lt;p style=&quot;white-space: normal;&quot;&gt;&lt;img src=&quot;https://www.leus.cc/zb_users/upload/2018/05/201805221526987172788627.png&quot; alt=&quot;image.png&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;white-space: normal;&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;white-space: normal;&quot;&gt;4、确认后，在静态发现这一栏就会出现你配置好的ISCI了&lt;/p&gt;&lt;p style=&quot;white-space: normal;&quot;&gt;&lt;img src=&quot;https://www.leus.cc/zb_users/upload/2018/05/201805221526987240211133.png&quot; alt=&quot;image.png&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;white-space: normal;&quot;&gt;5、现在，配置好各自的CHAP就可以扫描存储器添加存储了&lt;/p&gt;&lt;p style=&quot;white-space: normal;&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;white-space: normal;&quot;&gt;&lt;img src=&quot;https://www.leus.cc/zb_users/upload/2018/05/201805221526987088704078.png&quot; alt=&quot;image.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Tue, 22 May 2018 19:02:01 +0800</pubDate></item><item><title>Proxmox 4.4-12和5：禁用订阅弹出窗口</title><link>https://www.leus.cc/?id=23</link><description>&lt;p style=&quot;border: 0px; margin-top: 0px; margin-bottom: 1.5em; padding: 0px; color: rgb(58, 58, 58); font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); user-select: text !important;&quot;&gt;&lt;span style=&quot;user-select: text !important; border: 0px; margin: 0px; padding: 0px; vertical-align: inherit;&quot;&gt;我喜欢使用免费的虚拟化解决方案Proxmox，但我总是为每次成功登录后弹出窗口而烦恼。&lt;/span&gt;&lt;/p&gt;&lt;blockquote style=&quot;border-width: 0px 0px 0px 5px; border-top-style: initial; border-right-style: initial; border-bottom-style: initial; border-left-style: solid; border-top-color: initial; border-right-color: initial; border-bottom-color: initial; border-left-color: rgba(0, 0, 0, 0.05); border-image: initial; margin: 0px 0px 1.5em; padding: 20px; quotes: &amp;quot;&amp;quot; &amp;quot;&amp;quot;; font-size: 1.2em; font-style: italic; position: relative; color: rgb(58, 58, 58); font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; white-space: normal; background-color: rgb(255, 255, 255); user-select: text !important;&quot;&gt;&lt;p style=&quot;border: 0px; margin-top: 0px; margin-bottom: 0px; padding: 0px; user-select: text !important;&quot;&gt;&lt;span style=&quot;user-select: text !important; border: 0px; margin: 0px; padding: 0px; vertical-align: inherit;&quot;&gt;&lt;span style=&quot;user-select: text !important; border: 0px; margin: 0px; padding: 0px; vertical-align: inherit;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: #3A3A3A; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 19.2px; font-style: italic; background-color: #FFFFFF;&quot;&gt;You do not have a valid subscription for this server. Please visit www.proxmox.com to get a list of available options.&lt;/span&gt;&lt;span style=&quot;user-select: text !important; border: 0px; margin: 0px; padding: 0px; vertical-align: inherit;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p style=&quot;border: 0px; margin-top: 0px; margin-bottom: 1.5em; padding: 0px; color: rgb(58, 58, 58); font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); user-select: text !important;&quot;&gt;&lt;span id=&quot;more-6043&quot; style=&quot;user-select: text !important; border: 0px; margin: 0px; padding: 0px;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;user-select: text !important; border: 0px; margin: 0px; padding: 0px; vertical-align: inherit;&quot;&gt;&lt;span style=&quot;user-select: text !important; border: 0px; margin: 0px; padding: 0px; vertical-align: inherit;&quot;&gt;然而，在4.4-12的最新更新中，开发人员已经改变了“控制”文件的路径。&lt;/span&gt;&lt;span style=&quot;user-select: text !important; border: 0px; margin: 0px; padding: 0px; vertical-align: inherit;&quot;&gt;该文件的新路径是&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;em style=&quot;border: 0px; margin: 0px; padding: 0px; user-select: text !important;&quot;&gt;/usr/share/pve-manager/js/pvemanagerlib.js。&amp;nbsp;&lt;/em&gt;&lt;span style=&quot;user-select: text !important; border: 0px; margin: 0px; padding: 0px; vertical-align: inherit;&quot;&gt;&lt;span style=&quot;user-select: text !important; border: 0px; margin: 0px; padding: 0px; vertical-align: inherit;&quot;&gt;在这个文件中，&lt;/span&gt;&lt;span style=&quot;user-select: text !important; border: 0px; margin: 0px; padding: 0px; vertical-align: inherit;&quot;&gt;修改&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;user-select: text !important; border: 0px; margin: 0px; padding: 0px; font-weight: 700;&quot;&gt;行802&lt;/span&gt;&lt;/p&gt;&lt;div id=&quot;crayon-5ad2120f6ed8d228799535&quot; class=&quot;crayon-syntax crayon-theme-github crayon-font-monaco crayon-os-pc print-yes notranslate&quot; data-settings=&quot; minimize scroll-mouseover&quot; style=&quot;margin: 10px 0px; padding: 0px; box-sizing: border-box; text-size-adjust: none; width: 912.5px; font-family: Monaco, MonacoRegular, &amp;quot;Courier New&amp;quot;, monospace; color: rgb(58, 58, 58); white-space: normal; height: auto; user-select: text !important; border: 1px solid rgb(222, 222, 222) !important; overflow: hidden !important; position: relative !important; direction: ltr !important; background-color: rgb(248, 248, 255) !important; font-size: 12px !important; line-height: 15px !important;&quot;&gt;&lt;textarea wrap=&quot;soft&quot; class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;&quot; style=&quot;margin: 0px; vertical-align: top; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; color: rgb(0, 0, 0); border-width: 0px; border-style: initial; border-color: initial; border-radius: 0px; padding: 0px 5px; box-sizing: border-box; max-width: 100%; overflow: hidden; width: 910.5px; height: 23px; position: absolute; opacity: 0; box-shadow: none; white-space: pre; word-wrap: normal; resize: none; tab-size: 4; z-index: 0; user-select: text !important; line-height: 15px !important; font-size: 12px !important; font-family: Monaco, MonacoRegular, &amp;quot;Courier New&amp;quot;, monospace !important;&quot;&gt;&lt;/textarea&gt;&lt;div class=&quot;crayon-main&quot; style=&quot;border: 0px; margin: 0px; padding: 0px; background: 0px center; width: 910.5px; overflow: hidden; position: relative; z-index: 1; user-select: text !important;&quot;&gt;&lt;table class=&quot;crayon-table&quot; width=&quot;NaN&quot;&gt;&lt;tbody style=&quot;border: 0px; margin: 0px; padding: 0px; user-select: text !important;&quot;&gt;&lt;tr class=&quot;crayon-row firstRow&quot; style=&quot;background: 0px center; user-select: text !important; border: none !important; margin: 0px !important; padding: 0px !important; vertical-align: top !important;&quot;&gt;&lt;td class=&quot;crayon-nums&quot; data-settings=&quot;hide&quot; style=&quot;border-width: 0px; border-style: initial; border-color: initial; background-image: initial; background-position: 0px center; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; user-select: text !important; margin: 0px !important; padding: 0px !important; vertical-align: top !important; background-color: rgb(238, 238, 238) !important;&quot;&gt;&lt;div class=&quot;crayon-nums-content&quot; style=&quot;border: 0px; margin: 0px; padding-right: 0px; padding-left: 0px; background: 0px center; white-space: nowrap; user-select: text !important; padding-top: 5px !important; padding-bottom: 3px !important; line-height: 15px !important;&quot;&gt;&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-5ad2120f6ed8d228799535-1&quot; style=&quot;user-select: text !important; border-top: 0px; border-right: 1px solid rgb(222, 222, 222) !important; border-bottom: 0px; border-left: 0px; border-image: initial; margin: 0px; padding: 0px 5px; font-family: inherit; background: 0px center; text-align: right !important; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; min-width: 1.2em !important; color: rgb(170, 170, 170) !important;&quot;&gt;1&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;crayon-code&quot; style=&quot;border-width: 0px; border-style: initial; border-color: initial; background: 0px center; user-select: text !important; margin: 0px !important; padding: 0px !important; vertical-align: top !important;&quot; width=&quot;911&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;margin: 0px; padding-right: 0px; padding-left: 0px; color: rgb(0, 0, 0); white-space: pre; overflow: visible; tab-size: 4; user-select: text !important; border: none !important; padding-top: 5px !important; padding-bottom: 3px !important; background: none !important; line-height: 15px !important;&quot;&gt;&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-5ad2120f6ed8d228799535-1&quot; style=&quot;border: 0px; margin: 0px; padding: 0px 5px; font-family: inherit; background: 0px center; height: inherit; user-select: text !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;&quot;&gt;&lt;span class=&quot;crayon-st&quot; style=&quot;border: 0px; margin: 0px; padding: 0px; font-family: inherit; height: inherit; user-select: text !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important;&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;user-select: text !important; border: 0px; margin: 0px; padding: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #006FE0 !important;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;user-select: text !important; border: 0px; margin: 0px; padding: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #333333 !important;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;user-select: text !important; border: 0px; margin: 0px; padding: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #002D7A !important;&quot;&gt;data&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;user-select: text !important; border: 0px; margin: 0px; padding: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #333333 !important;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;user-select: text !important; border: 0px; margin: 0px; padding: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #002D7A !important;&quot;&gt;status&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;user-select: text !important; border: 0px; margin: 0px; padding: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #006FE0 !important;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;user-select: text !important; border: 0px; margin: 0px; padding: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #006FE0 !important;&quot;&gt;!==&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;user-select: text !important; border: 0px; margin: 0px; padding: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #006FE0 !important;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-s&quot; style=&quot;user-select: text !important; border: 0px; margin: 0px; padding: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #DD1144 !important;&quot;&gt;&amp;#39;Active&amp;#39;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;user-select: text !important; border: 0px; margin: 0px; padding: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #333333 !important;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;user-select: text !important; border: 0px; margin: 0px; padding: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #006FE0 !important;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;user-select: text !important; border: 0px; margin: 0px; padding: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #333333 !important;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style=&quot;border: 0px; margin-top: 0px; margin-bottom: 1.5em; padding: 0px; color: rgb(58, 58, 58); font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); user-select: text !important;&quot;&gt;&lt;span style=&quot;user-select: text !important; border: 0px; margin: 0px; padding: 0px; vertical-align: inherit;&quot;&gt;替换为以下内容：&lt;/span&gt;&lt;/p&gt;&lt;div id=&quot;crayon-5ad2120f6ed8d228799535&quot; class=&quot;crayon-syntax crayon-theme-github crayon-font-monaco crayon-os-pc print-yes notranslate&quot; data-settings=&quot; minimize scroll-mouseover&quot; style=&quot;margin: 10px 0px; padding: 0px; box-sizing: border-box; text-size-adjust: none; width: 912.5px; font-family: Monaco, MonacoRegular, &amp;quot;Courier New&amp;quot;, monospace; color: rgb(58, 58, 58); white-space: normal; height: auto; user-select: text !important; border: 1px solid rgb(222, 222, 222) !important; overflow: hidden !important; position: relative !important; direction: ltr !important; background-color: rgb(248, 248, 255) !important; font-size: 12px !important; line-height: 15px !important;&quot;&gt;&lt;div class=&quot;crayon-plain-wrap&quot; style=&quot;border: 0px; background: 0px center; user-select: text !important; margin: 0px !important; padding: 0px !important; height: auto !important;&quot;&gt;&lt;textarea wrap=&quot;soft&quot; class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;&quot; style=&quot;margin: 0px; vertical-align: top; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; color: rgb(0, 0, 0); border-width: 0px; border-style: initial; border-color: initial; border-radius: 0px; padding: 0px 5px; box-sizing: border-box; max-width: 100%; overflow: hidden; width: 910.5px; height: 23px; position: absolute; opacity: 0; box-shadow: none; white-space: pre; word-wrap: normal; resize: none; tab-size: 4; z-index: 0; user-select: text !important; line-height: 15px !important; font-size: 12px !important; font-family: Monaco, MonacoRegular, &amp;quot;Courier New&amp;quot;, monospace !important;&quot;&gt;&lt;/textarea&gt;&lt;/div&gt;&lt;div class=&quot;crayon-main&quot; style=&quot;border: 0px; margin: 0px; padding: 0px; background: 0px center; width: 910.5px; overflow: hidden; position: relative; z-index: 1; user-select: text !important;&quot;&gt;&lt;table class=&quot;crayon-table&quot; width=&quot;NaN&quot;&gt;&lt;tbody style=&quot;border: 0px; margin: 0px; padding: 0px; user-select: text !important;&quot;&gt;&lt;tr class=&quot;crayon-row firstRow&quot; style=&quot;background: 0px center; user-select: text !important; border: none !important; margin: 0px !important; padding: 0px !important; vertical-align: top !important;&quot;&gt;&lt;td class=&quot;crayon-nums&quot; data-settings=&quot;hide&quot; style=&quot;border-width: 0px; border-style: initial; border-color: initial; background-image: initial; background-position: 0px center; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; user-select: text !important; margin: 0px !important; padding: 0px !important; vertical-align: top !important; background-color: rgb(238, 238, 238) !important;&quot;&gt;&lt;div class=&quot;crayon-nums-content&quot; style=&quot;border: 0px; margin: 0px; padding-right: 0px; padding-left: 0px; background: 0px center; white-space: nowrap; user-select: text !important; padding-top: 5px !important; padding-bottom: 3px !important; line-height: 15px !important;&quot;&gt;&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-5ad2120f6ed8d228799535-1&quot; style=&quot;user-select: text !important; border-top: 0px; border-right: 1px solid rgb(222, 222, 222) !important; border-bottom: 0px; border-left: 0px; border-image: initial; margin: 0px; padding: 0px 5px; font-family: inherit; background: 0px center; text-align: right !important; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; min-width: 1.2em !important; color: rgb(170, 170, 170) !important;&quot;&gt;1&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;crayon-code&quot; style=&quot;border-width: 0px; border-style: initial; border-color: initial; background: 0px center; user-select: text !important; margin: 0px !important; padding: 0px !important; vertical-align: top !important;&quot; width=&quot;911&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;margin: 0px; padding-right: 0px; padding-left: 0px; white-space: pre; overflow: visible; tab-size: 4; user-select: text !important; border: none !important; padding-top: 5px !important; padding-bottom: 3px !important; background: none !important; line-height: 15px !important;&quot;&gt;&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-5ad2120f6ed8d228799535-1&quot; style=&quot;border: 0px; margin: 0px; padding: 0px 5px; font-family: inherit; background: 0px center; height: inherit; user-select: text !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;&quot;&gt;&lt;span class=&quot;crayon-st&quot; style=&quot;color: #000000; border: 0px; margin: 0px; padding: 0px; font-family: inherit; height: inherit; user-select: text !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important;&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;color: #006FE0 !important; border: 0px; margin: 0px; padding: 0px; font-family: inherit; height: inherit; user-select: text !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;color: #333333 !important; border: 0px; margin: 0px; padding: 0px; font-family: inherit; height: inherit; user-select: text !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; margin: 0px; padding: 0px; font-family: inherit; height: inherit; user-select: text !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;&quot;&gt;&lt;font color=&quot;#002d7a&quot;&gt;false&lt;/font&gt;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;color: #333333 !important; border: 0px; margin: 0px; padding: 0px; font-family: inherit; height: inherit; user-select: text !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;color: #006FE0 !important; border: 0px; margin: 0px; padding: 0px; font-family: inherit; height: inherit; user-select: text !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;color: #333333 !important; border: 0px; margin: 0px; padding: 0px; font-family: inherit; height: inherit; user-select: text !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style=&quot;border: 0px; margin-top: 0px; margin-bottom: 1.5em; padding: 0px; color: rgb(58, 58, 58); font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); user-select: text !important;&quot;&gt;&lt;span style=&quot;user-select: text !important; border: 0px; margin: 0px; padding: 0px; vertical-align: inherit;&quot;&gt;&lt;span style=&quot;user-select: text !important; border: 0px; margin: 0px; padding: 0px; vertical-align: inherit;&quot;&gt;现在弹出窗口应该消失了。&lt;/span&gt;&lt;span style=&quot;user-select: text !important; border: 0px; margin: 0px; padding: 0px; vertical-align: inherit;&quot;&gt;如果没有消失，则清空浏览器缓存就可以了。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;border: 0px; margin-top: 0px; margin-bottom: 1.5em; padding: 0px; color: rgb(58, 58, 58); font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); user-select: text !important;&quot;&gt;但是在更新5.1 -46后该方法失效了，&amp;nbsp;于是我找遍了整个Proxmox服务目录，找到了这个罪恶的元凶，现在的控制位置是：/usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js&lt;/p&gt;&lt;p style=&quot;border: 0px; margin-top: 0px; margin-bottom: 1.5em; padding: 0px; color: rgb(58, 58, 58); font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); user-select: text !important;&quot;&gt;修改方法还是一样的，只需要修改前面提到的&amp;nbsp;就可以实现没有烦恼了！&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Sun, 15 Apr 2018 15:12:48 +0800</pubDate></item><item><title>ZBLOG畅言评论系统支持HTTPS</title><link>https://www.leus.cc/?id=21</link><description>&lt;p&gt;ZBLOG畅言评论系统默认不支持HTTPS,在https模式下无法显示，其实很简单。&lt;/p&gt;&lt;p&gt;找到/zb_users/plugin/changyan/Handler.php并使用编辑工具打开。&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-php&quot;&gt;public&amp;nbsp;function&amp;nbsp;setCode($appId,&amp;nbsp;$conf,&amp;nbsp;$isQuick=false)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$script&amp;nbsp;=&amp;nbsp;&amp;#39;&amp;#39;;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if($isQuick&amp;nbsp;==&amp;nbsp;false)&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$script&amp;nbsp;=&amp;lt;&amp;lt;&amp;lt;&amp;nbsp;EOT
&amp;lt;div&amp;nbsp;id=&amp;quot;SOHUCS&amp;quot;&amp;nbsp;sid=&amp;quot;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;
&amp;lt;script&amp;nbsp;charset=&amp;quot;utf-8&amp;quot;&amp;nbsp;type=&amp;quot;text/javascript&amp;quot;&amp;nbsp;src=&amp;quot;https://changyan.sohu.com/upload/changyan.js&amp;quot;&amp;nbsp;&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;script&amp;nbsp;type=&amp;quot;text/javascript&amp;quot;&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;window.changyan.api.config({
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;appid:&amp;nbsp;&amp;#39;$appId&amp;#39;,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;conf:&amp;nbsp;&amp;#39;$conf&amp;#39;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;});
&amp;lt;/script&amp;gt;
EOT;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&amp;nbsp;else&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//&amp;nbsp;兼容版代码,&amp;nbsp;Wap支持AD
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$script&amp;nbsp;=&amp;lt;&amp;lt;&amp;lt;&amp;nbsp;EOT
&amp;lt;div&amp;nbsp;id=&amp;quot;SOHUCS&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&amp;nbsp;
&amp;lt;script&amp;nbsp;type=&amp;quot;text/javascript&amp;quot;&amp;gt;&amp;nbsp;
(function(){&amp;nbsp;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;var&amp;nbsp;appid&amp;nbsp;=&amp;nbsp;&amp;#39;$appId&amp;#39;;&amp;nbsp;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;var&amp;nbsp;conf&amp;nbsp;=&amp;nbsp;&amp;#39;$conf&amp;#39;;&amp;nbsp;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;var&amp;nbsp;width&amp;nbsp;=&amp;nbsp;window.innerWidth&amp;nbsp;||&amp;nbsp;document.documentElement.clientWidth;&amp;nbsp;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;(width&amp;nbsp;&amp;lt;&amp;nbsp;960)&amp;nbsp;{&amp;nbsp;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;window.document.write(&amp;#39;&amp;lt;script&amp;nbsp;id=&amp;quot;changyan_mobile_js&amp;quot;&amp;nbsp;charset=&amp;quot;utf-8&amp;quot;&amp;nbsp;type=&amp;quot;text/javascript&amp;quot;&amp;nbsp;src=&amp;quot;https://changyan.sohu.com/upload/mobile/wap-js/changyan_mobile.js?client_id=&amp;#39;&amp;nbsp;+&amp;nbsp;appid&amp;nbsp;+&amp;nbsp;&amp;#39;&amp;amp;conf=&amp;#39;&amp;nbsp;+&amp;nbsp;conf&amp;nbsp;+&amp;nbsp;&amp;#39;&amp;quot;&amp;gt;&amp;lt;\/script&amp;gt;&amp;#39;);&amp;nbsp;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&amp;nbsp;else&amp;nbsp;{&amp;nbsp;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;var&amp;nbsp;loadJs=function(d,a){var&amp;nbsp;c=document.getElementsByTagName(&amp;quot;head&amp;quot;)[0]||document.head||document.documentElement;var&amp;nbsp;b=document.createElement(&amp;quot;script&amp;quot;);b.setAttribute(&amp;quot;type&amp;quot;,&amp;quot;text/javascript&amp;quot;);b.setAttribute(&amp;quot;charset&amp;quot;,&amp;quot;UTF-8&amp;quot;);b.setAttribute(&amp;quot;src&amp;quot;,d);if(typeof&amp;nbsp;a===&amp;quot;function&amp;quot;){if(window.attachEvent){b.onreadystatechange=function(){var&amp;nbsp;e=b.readyState;if(e===&amp;quot;loaded&amp;quot;||e===&amp;quot;complete&amp;quot;){b.onreadystatechange=null;a()}}}else{b.onload=a}}c.appendChild(b)};loadJs(&amp;quot;http://changyan.sohu.com/upload/changyan.js&amp;quot;,function(){window.changyan.api.config({appid:appid,conf:conf})});&amp;nbsp;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}})();&amp;nbsp;
&amp;lt;/script&amp;gt;
EOT;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$this-&amp;gt;setOption(&amp;#39;changyan_script&amp;#39;,&amp;nbsp;$script);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return&amp;nbsp;true;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/pre&gt;&lt;p&gt;找到如上代码&lt;/p&gt;&lt;p&gt;替换里面的HTTP为HTTPS即可！！&lt;/p&gt;</description><pubDate>Tue, 12 Sep 2017 19:16:32 +0800</pubDate></item></channel></rss>