{"id":403,"date":"2024-09-16T23:05:29","date_gmt":"2024-09-16T15:05:29","guid":{"rendered":"http:\/\/www.daimuya.cn:3389\/?p=403"},"modified":"2024-09-16T23:10:36","modified_gmt":"2024-09-16T15:10:36","slug":"centos-%e9%83%a8%e7%bd%b2kms-%e7%94%a8%e4%ba%8e%e6%bf%80%e6%b4%bbwindos%e7%b3%bb%e7%bb%9f2","status":"publish","type":"post","link":"http:\/\/www.daimuya.cn:3389\/index.php\/2024\/09\/16\/centos-%e9%83%a8%e7%bd%b2kms-%e7%94%a8%e4%ba%8e%e6%bf%80%e6%b4%bbwindos%e7%b3%bb%e7%bb%9f2\/","title":{"rendered":"centos \u90e8\u7f72kms \u7528\u4e8e\u6fc0\u6d3bwindos\u7cfb\u7edf"},"content":{"rendered":"<p>KMS\uff0c\u662f Key Management System \u7684\u7f29\u5199\uff0c\u4e5f\u5c31\u662f\u5bc6\u94a5\u7ba1\u7406\u7cfb\u7edf\u3002<\/p>\n<p>GitHub &#8211; netnr\/kms: KMS \u6fc0\u6d3b\u670d\u52a1\uff0cslmgr \u547d\u4ee4\u6fc0\u6d3b Windows \u7cfb\u7edf\u3001Office<br \/>\nhttps:\/\/github.com\/netnr\/kms?tab=readme-ov-file<\/p>\n<p>\u83b7\u53d6root\u6743\u9650<br \/>\n\u7ec8\u7aef\u8f93\u5165sudo -i<br \/>\nroot\u7528\u6237\u8fd0\u884c\u4e0b\u9762\u547d\u4ee4<br \/>\nwget &#8211;no-check-certificate https:\/\/github.com\/teddysun\/across\/raw\/master\/kms.sh &amp;&amp; chmod +x kms.sh &amp;&amp; .\/kms.sh<\/p>\n<p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u67e5\u770b\u7aef\u53e3\u53f7 1688 \u7684\u76d1\u542c\u60c5\u51b5\uff1a<br \/>\nnetstat -nxtlp | grep 1688<br \/>\n\u8fd4\u56de\u503c\u7c7b\u4f3c\u4e8e\u5982\u4e0b\u8fd9\u6837\u5c31\u8868\u793a OK \u4e86\uff1a<br \/>\ntcp 0 0 0.0.0.0:1688 0.0.0.0:* LISTEN 3200\/vlmcsd<br \/>\ntcp 0 0 :::1688 :::* LISTEN 3200\/vlmcsd<\/p>\n<p>\u811a\u672c\u547d\u4ee4\uff1a<br \/>\n\u542f\u52a8\uff1a\/etc\/init.d\/kms start<br \/>\n\u505c\u6b62\uff1a\/etc\/init.d\/kms stop<br \/>\n\u91cd\u542f\uff1a\/etc\/init.d\/kms restart<br \/>\n\u72b6\u6001\uff1a\/etc\/init.d\/kms status<br \/>\n\u5378\u8f7d\u65b9\u6cd5\uff1a<br \/>\n\u4f7f\u7528 root \u7528\u6237\u767b\u5f55\uff0c\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a .\/kms.sh uninstall<\/p>\n<p>&nbsp;<\/p>\n<p>\u5982\u4f55\u4f7f\u7528 KMS \u670d\u52a1KMS \u670d\u52a1\uff0c\u7528\u4e8e\u5728\u7ebf\u6fc0\u6d3b VL \u7248\u672c\u7684 Windows \u548c Office\u3002<br \/>\n\u6fc0\u6d3b\u7684\u524d\u63d0\u662f\u4f60\u7684\u7cfb\u7edf\u662f\u6279\u91cf\u6388\u6743\u7248\u672c\uff0c\u5373 VL \u7248\uff0c\u4e00\u822c\u4f01\u4e1a\u7248\u90fd\u662f VL \u7248\u3002\u800c VL \u7248\u672c\u7684\u955c\u50cf\u4e00\u822c\u5185\u7f6e GVLK key\uff0c\u7528\u4e8e KMS \u6fc0\u6d3b\u3002<br \/>\n\u53ef\u4ee5\u5230MSDN i tell you\u8fd9\u4e2a\u7ad9\u70b9\u4e2d\u4e0b\u8f7d\u76f8\u5e94\u955c\u50cf\u3002\u5efa\u8bae\u4e0b\u8f7d\u65f6\u9009\u62e9VL\u7248(\u6587\u4ef6\u540d\u4e2d\u5e26\u6709VL\u5b57\u7b26\u7684\u7248\u672c)\u3002<br \/>\n\u5982\u679c\u4e0b\u8f7d\u4e86\u975e\u6279\u91cf\u6388\u6743\u7248\u672c\u4e5f\u6ca1\u5173\u7cfb\uff0c\u53ea\u9700\u8981\u624b\u52a8\u5bfc\u5165KMS Client Setup Key\u4e5f\u53ef\u4ee5\u4f7f\u7528KMS\u8fdb\u884c\u6279\u91cf\u6fc0\u6d3b\u3002\u4e0d\u540c\u7248\u672c\u7684\u7cfb\u7edf\u6709\u4e0d\u540c\u7684GVLK key\uff0c\u53ef\u4ee5\u4ece\u5fae\u8f6f\u5b98\u7f51\u627e\u5230\uff1a<br \/>\nAppendix A: KMS Client Setup Keys<br \/>\n\u53e6\u5916\uff0c\u4e0b\u9762\u5217\u8868\u91cc\u9762\u542b\u6709\u7684\u4ea7\u54c1\u7684 VL \u7248\u672c\u6216\u8005\u80fd\u4f7f\u7528 key \u8fdb\u5165 KMS \u901a\u9053\u7684\u4ea7\u54c1\uff0c\u90fd\u652f\u6301\u4f7f\u7528 KMS \u6fc0\u6d3b\u3002<br \/>\nOffice 2016\uff1ahttps:\/\/technet.microsoft.com\/zh-cn\/library\/dn385360(v=office.16).aspx<br \/>\nOffice 2013\uff1ahttps:\/\/technet.microsoft.com\/ZH-CN\/library\/dn385360.aspx<br \/>\nOffice 2010\uff1ahttps:\/\/technet.microsoft.com\/ZH-CN\/library\/ee624355(v=office.14).aspx<br \/>\nWindows\uff1ahttps:\/\/learn.microsoft.com\/en-us\/previous-versions\/windows\/it-pro\/windows-server-2012-R2-and-2012\/jj612867(v=ws.11)?redirectedfrom=MSDN<\/p>\n<p>\u4f7f\u7528\u7ba1\u7406\u5458\u6743\u9650\u8fd0\u884c cmd \u67e5\u770b\u7cfb\u7edf\u7248\u672c\uff0c\u547d\u4ee4\u5982\u4e0b\uff1a wmic os get caption<br \/>\n\u4f7f\u7528\u7ba1\u7406\u5458\u6743\u9650\u8fd0\u884c cmd \u5b89\u88c5\u4ece\u4e0a\u9762\u5217\u8868\u5f97\u5230\u7684 key\uff0c\u547d\u4ee4\u5982\u4e0b\uff1a<br \/>\nslmgr \/ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx<br \/>\n\u4f7f\u7528\u7ba1\u7406\u5458\u6743\u9650\u8fd0\u884c cmd \u5c06 KMS \u670d\u52a1\u5668\u5730\u5740\u8bbe\u7f6e\u4e3a\u4f60\u81ea\u5df1\u7684 IP \u6216 \u57df\u540d\uff0c\u547d\u4ee4\u5982\u4e0b\uff1a<br \/>\nslmgr \/skms Your IP or Domain<\/p>\n<p>\u6ce8\u610f\uff1a\u672c\u811a\u672c\u6240\u505a\u7684\u5de5\u4f5c\u5c31\u662f\u6b64\u6b65\u9aa4\u3002\u5f53\u4f60\u7684 KMS \u670d\u52a1\u51fa\u4e8e\u542f\u52a8\u72b6\u6001\uff0c\u90a3\u4e48\u6b64\u5904\u5c31\u53ef\u4ee5\u8bbe\u7f6e\u4e3a\u4f60\u81ea\u5df1\u7684 KMS \u670d\u52a1\u5668\u5730\u5740\u3002<br \/>\n\u4f7f\u7528\u7ba1\u7406\u5458\u6743\u9650\u8fd0\u884c cmd \u624b\u52a8\u6fc0\u6d3b\u7cfb\u7edf\uff0c\u547d\u4ee4\u5982\u4e0b\uff1a<br \/>\nslmgr \/ato<\/p>\n<p>\u6ce8\u610f\uff1a KMS \u65b9\u5f0f\u6fc0\u6d3b\uff0c\u5176\u6709\u6548\u671f\u53ea\u6709 180 \u5929\u3002<br \/>\n\u6bcf\u9694\u4e00\u6bb5\u65f6\u95f4\u7cfb\u7edf\u4f1a\u81ea\u52a8\u5411 KMS \u670d\u52a1\u5668\u8bf7\u6c42\u7eed\u671f\uff0c\u8bf7\u786e\u4fdd\u4f60\u81ea\u5df1\u7684 KMS \u670d\u52a1\u6b63\u5e38\u8fd0\u884c\u3002<br \/>\n\u5e38\u89c1\u9519\u8bef\u7684\u5bf9\u7b56<br \/>\n\u5982\u679c\u9047\u5230\u5728\u6267\u884c\u8fc7\u7a0b\u62a5\u9519\uff0c\u8bf7\u6309\u4ee5\u4e0b\u6b65\u9aa4\u68c0\u67e5\uff1a<br \/>\n1\uff0c\u4f60\u7684 KMS \u670d\u52a1\u5668\u662f\u5426\u6302\u4e86\uff1f<br \/>\n2\uff0c\u4f60\u7684 KMS \u670d\u52a1\u662f\u5426\u6b63\u5e38\u5f00\u542f\uff1f<br \/>\n3\uff0c\u4f60\u7684\u7cfb\u7edf\u6216 Office \u662f\u5426\u4e3a\u6279\u91cf VL \u7248\u672c\uff1f<br \/>\n4\uff0c\u4f60\u7684\u7cfb\u7edf\u6216 Office \u662f\u5426\u4fee\u6539\u8fc7 Key \u6216\u672a\u5b89\u88c5 GVLK Key\uff1f<br \/>\n5\uff0c\u4f60\u662f\u5426\u4ee5\u7ba1\u7406\u5458\u6743\u9650\u8fd0\u884c cmd\uff1f<br \/>\n6\uff0c\u4f60\u7684\u7f51\u7edc\u8fde\u63a5\u662f\u5426\u6b63\u5e38\uff1f<br \/>\n7\uff0c\u4f60\u7684\u672c\u5730 DNS \u89e3\u6790\u662f\u5426\u6b63\u5e38\uff1f<br \/>\n8\uff0c\u5982\u679c\u4f60\u6392\u9664\u4e86\u4ee5\u4e0a\u7684\u5bf9\u7b56\uff0c\u90a3\u8bf7\u6839\u636e\u9519\u8bef\u63d0\u793a\u4ee3\u7801\u81ea\u884c\u641c\u7d22\u539f\u56e0\u3002<br \/>\n0x80070005\u9519\u8bef\u4e00\u822c\u662f\u4f60\u6ca1\u7528\u7ba1\u7406\u5458\u6743\u9650\u8fd0\u884cCMD<\/p>\n<p>&nbsp;<\/p>\n<p>\u7ec8\u7aef\u8f93\u5165slmgr.vbs -dli\u67e5\u770b\u5f53\u524d\u7cfb\u7edf\u6fc0\u6d3b\u901a\u9053\uff0c\u6709\u4ee5\u4e0b\u51e0\u79cd<\/p>\n<p>msdn \u5f00\u53d1\u8005\u901a\u9053<br \/>\noem \u54c1\u724c\u7535\u8111\u901a\u9053<br \/>\nretail \u96f6\u552e\u901a\u9053<br \/>\nmak \u6279\u91cf\u901a\u9053<br \/>\nkms kms\u901a\u9053<\/p>\n<p>\u5728 Windows10 \u4e2d\u914d\u7f6e KMS<br \/>\n\u82e5\u8981\u6fc0\u6d3b\uff0c\u8bf7\u4f7f\u7528 slmgr.vbs \u547d\u4ee4\u3002\u6253\u5f00\u63d0\u5347\u7684\u547d\u4ee4\u63d0\u793a\u7b26\u5e76\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u4e4b\u4e00:<br \/>\n\u82e5\u8981\u5b89\u88c5 KMS \u5bc6\u94a5\uff0c\u8bf7\u952e\u5165slmgr.vbs \/ipk &lt;KmsKey&gt;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>KMS\uff0c\u662f Key Management System \u7684\u7f29\u5199\uff0c\u4e5f\u5c31\u662f\u5bc6\u94a5\u7ba1\u7406\u7cfb &hellip; <a href=\"http:\/\/www.daimuya.cn:3389\/index.php\/2024\/09\/16\/centos-%e9%83%a8%e7%bd%b2kms-%e7%94%a8%e4%ba%8e%e6%bf%80%e6%b4%bbwindos%e7%b3%bb%e7%bb%9f2\/\">\u7ee7\u7eed\u9605\u8bfb <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-403","post","type-post","status-publish","format-standard","hentry","category-9"],"_links":{"self":[{"href":"http:\/\/www.daimuya.cn:3389\/index.php\/wp-json\/wp\/v2\/posts\/403","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.daimuya.cn:3389\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.daimuya.cn:3389\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.daimuya.cn:3389\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.daimuya.cn:3389\/index.php\/wp-json\/wp\/v2\/comments?post=403"}],"version-history":[{"count":3,"href":"http:\/\/www.daimuya.cn:3389\/index.php\/wp-json\/wp\/v2\/posts\/403\/revisions"}],"predecessor-version":[{"id":410,"href":"http:\/\/www.daimuya.cn:3389\/index.php\/wp-json\/wp\/v2\/posts\/403\/revisions\/410"}],"wp:attachment":[{"href":"http:\/\/www.daimuya.cn:3389\/index.php\/wp-json\/wp\/v2\/media?parent=403"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.daimuya.cn:3389\/index.php\/wp-json\/wp\/v2\/categories?post=403"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.daimuya.cn:3389\/index.php\/wp-json\/wp\/v2\/tags?post=403"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}