{"id":2633,"date":"2022-08-01T13:11:43","date_gmt":"2022-08-01T05:11:43","guid":{"rendered":"https:\/\/dasmz.com\/?p=2633"},"modified":"2024-10-18T09:43:07","modified_gmt":"2024-10-18T01:43:07","slug":"2633","status":"publish","type":"post","link":"https:\/\/dasmz.com\/?p=2633","title":{"rendered":"\u7eaf\u5185\u7f51\u73af\u5883\u4e0b\uff0cWindows Server\u7684\u6fc0\u6d3b 2022-8-1"},"content":{"rendered":"\n<p><strong>\u6bb5\u843d1\u3001\u9700\u6c42\u63cf\u8ff0<\/strong><\/p>\n\n\n\n<p>\u9879\u76ee\u4e0a\uff0c\u5185\u7f51\u6709\u4e00\u5806Windows Server\u670d\u52a1\u5668\uff0c\u9700\u8981\u6fc0\u6d3b\uff0c\u8fd9\u4e2a\u5185\u7f51\u73af\u5883\uff0c\u8ba9\u5b83\u8054\u7f51\u662f\u4e0d\u5408\u89c4\u7684\uff0c\u8fd9\u4e2a\u573a\u666f\u7684Windows\u6fc0\u6d3b\uff0c\u6bd4\u8f83\u597d\u7684\u65b9\u5f0f\u5c31\u662f KMS\u65b9\u5f0f\u7684\u6fc0\u6d3b\uff0c\u672c\u6559\u7a0b\u5c31\u6765\u6f14\u793a\u4e00\u4e0b\uff0c\u5982\u4f55\u914d\u7f6e\u4e00\u53f0\u5185\u7f51\u7684 KMS Server\uff0c\u7528\u5b83\u6765\u6fc0\u6d3b\u5176\u4ed6\u5185\u7f51\u4e3b\u673a\u7684Windows\u7cfb\u7edf\u3002<\/p>\n\n\n\n<p><strong>\u6bb5\u843d2\u3001\u8d44\u6e90<\/strong><\/p>\n\n\n\n<p>\u666e\u901a\u89c4\u683c\u76841\u6838\u5fc3 1GB 20GB\u78c1\u76d8\u7684 \u5185\u7f51\u7f51\u6bb5\u7684\u865a\u673a\u4e00\u53f0<\/p>\n\n\n\n<p>Github\u9879\u76ee\u7684\u4e8c\u8fdb\u5236\u6587\u4ef6 <a href=\"https:\/\/github.com\/Wind4\/vlmcsd\/releases\">https:\/\/github.com\/Wind4\/vlmcsd\/releases<\/a><\/p>\n\n\n\n<p><strong>\u6bb5\u843d3\u3001\u5b89\u88c5\u914d\u7f6eKMS Server<\/strong><\/p>\n\n\n\n<p>\u4e0b\u8f7dKMS\u7684\u4e8c\u8fdb\u5236\u6587\u4ef6\uff08\u8fd9\u91cc\uff0c\u4f60\u4eec\u5185\u7f51\uff0c\u6839\u636e\u5b9e\u9645\u60c5\u51b5\uff0c\u53ef\u4ee5\u81ea\u5df1\u672c\u673a\u4e0b\u8f7d\u540e\uff0c\u518d\u4e0a\u4f20\u5230\u5185\u7f51\u73af\u5883\uff09<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cd \/root\nwget --no-check-certificate https:\/\/github.com\/Wind4\/vlmcsd\/releases\/download\/svn1113\/binaries.tar.gz\ntar -xvf binaries.tar.gz\ncd binaries\/Linux\/intel\/static\/\ncp vlmcsd-x64-musl-static  \/usr\/bin\/\nchmod +x \/usr\/bin\/vlmcsd-x64-musl-static\n<\/pre>\n\n\n\n<p>\u6267\u884c \/usr\/bin\/vlmcsd-x64-musl-static \u8bd5\u8fd0\u884c\u4e00\u4e0b\uff0c\u65e0\u62a5\u9519\u63d0\u793a\uff0c\u80fd\u770b\u5230 1688\u7aef\u53e3\u7684\u76d1\u542c\uff0c\u5219\u8868\u660e\u7a0b\u5e8f\u5df2\u6b63\u5e38\u5f00\u542f\u3002<\/p>\n\n\n\n<p><strong>\u6bb5\u843d4\u3001\u6fc0\u6d3bWindows<\/strong><\/p>\n\n\n\n<p>\u767b\u5f55\u9700\u8981\u6fc0\u6d3b\u7684\u5185\u7f51Windows\u865a\u673a\uff0c\u4ece\u7f51\u7edc\u968f\u610f\u627e\u4e00\u4e9b\u53ef\u4ee5\u5339\u914d\u5230Windows\u7248\u672c\u7684\u5e8f\u5217\u53f7\uff0c\u4f7f\u7528\u5982\u4e0b\u7684\u547d\u4ee4\uff0c\u6267\u884c\u6fc0\u6d3b\uff0c\u66ff\u6362\u5176\u4e2d\u768410.11.11.218\u4e3a\u4f60\u521a\u521a\u914d\u7f6e\u7684\u90a3\u53f0 KMS Server\u7684\u5185\u7f51\u5730\u5740<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">slmgr \/ipk 22TKD-F8XX6-YG69F-9M66D-PMJBM\nslmgr \/skms 10.11.11.218\nslmgr \/ato<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full is-style-default\"><img decoding=\"async\" loading=\"lazy\" width=\"664\" height=\"429\" src=\"https:\/\/dasmz.com\/wp-content\/uploads\/2022\/08\/Screenshot-from-2022-08-01-14-08-59.png\" alt=\"\" class=\"wp-image-2645\" srcset=\"https:\/\/dasmz.com\/wp-content\/uploads\/2022\/08\/Screenshot-from-2022-08-01-14-08-59.png 664w, https:\/\/dasmz.com\/wp-content\/uploads\/2022\/08\/Screenshot-from-2022-08-01-14-08-59-624x403.png 624w\" sizes=\"(max-width: 664px) 100vw, 664px\" \/><\/figure>\n\n\n\n<p>\u5728 \u63a7\u5236\u9762\u677f\\\u7cfb\u7edf\u548c\u5b89\u5168\\\u7cfb\u7edf \u53ef\u4ee5\u770b\u5230\u7cfb\u7edf\u5df2\u6fc0\u6d3b\u3002<\/p>\n\n\n\n<p>\u6216\u8005\u6267\u884c <strong>slmgr \/dlv&nbsp; <\/strong>\u4e5f\u53ef\u4ee5\u67e5\u770b\u6fc0\u6d3b\u7684\u72b6\u6001\u4fe1\u606f<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-style-default\"><img decoding=\"async\" loading=\"lazy\" width=\"923\" height=\"650\" src=\"https:\/\/dasmz.com\/wp-content\/uploads\/2022\/08\/Screenshot-from-2022-08-01-14-10-09.png\" alt=\"\" class=\"wp-image-2647\" srcset=\"https:\/\/dasmz.com\/wp-content\/uploads\/2022\/08\/Screenshot-from-2022-08-01-14-10-09.png 923w, https:\/\/dasmz.com\/wp-content\/uploads\/2022\/08\/Screenshot-from-2022-08-01-14-10-09-768x541.png 768w, https:\/\/dasmz.com\/wp-content\/uploads\/2022\/08\/Screenshot-from-2022-08-01-14-10-09-624x439.png 624w\" sizes=\"(max-width: 923px) 100vw, 923px\" \/><\/figure>\n\n\n\n<p><strong>\u6bb5\u843d5\u3001\u914d\u7f6eKMS Server\u7684\u7a0b\u5e8f\u4e3asystemd\u670d\u52a1\uff0c\u5f00\u673a\u81ea\u542f\u52a8<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[Unit]\nDescription=KMS Server\nAfter=network.target\n\n[Service]\nType=simple\nUser=root\nRestart=on-failure\nRestartSec=5s\nExecStart=\/usr\/bin\/vlmcsd-x64-musl-static\nLimitNOFILE=1048576\n\n[Install]\nWantedBy=multi-user.target<\/pre>\n\n\n\n<p><strong>\u6bb5\u843d6\u3001\u9632\u706b\u5899\uff0c\u7aef\u53e3\u653e\u884c\uff08\u5982\u679c\u9700\u8981\uff09<\/strong><\/p>\n\n\n\n<p>\u5982\u679cKMS Server\u6709\u9632\u706b\u5899\uff0c\u6ce8\u610fiptables \/ firewalld \u653e\u884c\u4e00\u4e0b TCP\/1688\u7aef\u53e3<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># CentOS\nfirewall-cmd --zone=public --add-port=1688\/tcp \u2013permanent \nfirewall-cmd \u2013reload\nfirewall-cmd \u2013zone=public \u2013list-ports<\/pre>\n\n\n\n<p><strong>\u9644\u5f551\u3001\u6fc0\u6d3b\u76f8\u5173\u547d\u4ee4<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">slmgr \/upk                         #\u5378\u8f7d\u5bc6\u94a5\nslmgr \/ipk xxxxx-xxxxx-xxxxx-xxxxx #\u914d\u7f6e\u7cfb\u7edf\u5e8f\u5217\u53f7\nslmgr \/skms 10.160.1.201           #\u914d\u7f6eKMS\u670d\u52a1\u5668\u5730\u5740\nslmgr \/ato                    #\u6fc0\u6d3b\u7cfb\u7edf\nslmgr \/xpr                    #\u67e5\u770b\u7cfb\u7edf\u6fc0\u6d3b\u5230\u671f\u65f6\u95f4\nslmgr \/dlv                    #\u67e5\u770b\u6388\u6743\u8be6\u7ec6\u4fe1\u606f<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u6bb5\u843d1\u3001\u9700\u6c42\u63cf\u8ff0 \u9879\u76ee\u4e0a\uff0c\u5185\u7f51\u6709\u4e00\u5806Windows Server\u670d\u52a1\u5668\uff0c\u9700\u8981\u6fc0\u6d3b\uff0c\u8fd9\u4e2a\u5185\u7f51\u73af\u5883\uff0c\u8ba9\u5b83\u8054\u7f51\u662f\u4e0d\u5408 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[16,17],"_links":{"self":[{"href":"https:\/\/dasmz.com\/index.php?rest_route=\/wp\/v2\/posts\/2633"}],"collection":[{"href":"https:\/\/dasmz.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dasmz.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dasmz.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dasmz.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2633"}],"version-history":[{"count":15,"href":"https:\/\/dasmz.com\/index.php?rest_route=\/wp\/v2\/posts\/2633\/revisions"}],"predecessor-version":[{"id":4236,"href":"https:\/\/dasmz.com\/index.php?rest_route=\/wp\/v2\/posts\/2633\/revisions\/4236"}],"wp:attachment":[{"href":"https:\/\/dasmz.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2633"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dasmz.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2633"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dasmz.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2633"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}