使用py-kms搭建KMS服务器激活环境 - 80vps 博客 

使用py-kms搭建KMS服务器激活环境

py-kms发布地址(原始):

 

https://github.com/myanaloglife/py-kms

现在建议用这个,支持2和3:

 

https://github.com/ThunderEX/py-kms

 

上面这个人fork了下面的这个项目,下面这个fork了原始项目

 

https://github.com/matsuz/py-kms

 

 

 

1.安装依赖

yum install python-argparse

2.下载代码

git clone https://github.com/myanaloglife/py-kms

3.运行激活服务器

cd py-kms

python server.py

这时候看到提示消息

TCP server listening at 0.0.0.0 on port 1688.

就是说KMS服务已经在1688端口上打开了,没有错误。这就搭建完毕了。

 

4.长期运行配置

对于需要长期运行的KMS服务器,可以使用supervisor管理py-kms服务(非必须步骤)

拷贝py-kms文件夹到/usr/local/目录下

cp -r py-kms /usr/local/

安装supervisor

yum install python-setuptools

easy_install supervisor

生成默认配置文件(supervisord.conf)

echo_supervisord_conf > /etc/supervisord.conf

编写supervisor脚本,加到/etc/supervisord.conf最后

[program:pykms]

command=python /usr/local/py-kms/server.py

autorestart=true

user=root

以daemon方式运行,执行

supervisord

 

5.客户端测试

客户端下载py-kms后,cd跳转到该目录,执行

python client.py -v wwwb.vvvtimes.com

结果如下说明安装成功

Connecting to wwwb.vvvtimes.com on port 1688...

Connection successful!

Sending RPC bind request...

RPC bind acknowledged.

其中最后一个参数wwwb.vvvtimes.com是服务器的域名或IP,通过py-kms激活没有机器数目限制,通过微软官方工具搭建的KMS服务器有机器数目限制。

 

 

————————————————

版权声明:本文为CSDN博主「gsls200808」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。

原文链接:https://blog.csdn.net/gsls200808/java/article/details/50319981

 

2008 R2

  1. slmgr.vbs /upk
  2. slmgr /ipk [GVLK密钥];
  3. slmgr /skms [listen_address]:[port]
  4. slmgr /ato

slmgr /ipk KNC87-3J2TX-XB4WP-VCPJV-M4FWM

slmgr /skms kms.80vps.com

各系统激活码到这里找 https://technet.microsoft.com/en-us/library/jj612867.aspx

KMS激活专用:所有Windows版本的GVLK密钥对照表
以下是GVLK密钥版本对照表,可配合KMS服务器进行使用。

Windows 10 (注:暂时没有Win Server 2016的密钥)

  1. 操作系统        GVLK密钥
  2. Windows 10 Professional        W269N-WFGWX-YVC9B-4J6C9-T83GX
  3. Windows 10 Professional N (N代表欧洲市场定制版)        MH37W-N47XK-V7XM9-C7227-GCQG9
  4. Windows 10 Enterprise        NPPR9-FWDCX-D2C8J-H872K-2YT43
  5. Windows 10 Enterprise N        DPH2V-TTNVB-4X9Q3-TJR4H-KHJW4
  6. Windows 10 Education        NW6C2-QMPVW-D7KKK-3GKT6-VCFB2
  7. Windows 10 Education N        2WH4N-8QGBV-H22JP-CT43Q-MDWWJ
  8. Windows 10 Enterprise 2015 LTSB(长期服务分支)        WNMTR-4C88C-JK8YV-HQ7T2-76DF9
  9. Windows 10 Enterprise 2015 LTSB N        2F77B-TNFGY-69QQF-B8YKP-D69TJ
复制代码



Windows Server 2012 R2 and Windows 8.1

  1. 操作系统        GVLK密钥
  2. Windows 8.1 Professional        GCRJD-8NW9H-F2CDX-CCM8D-9D6T9
  3. Windows 8.1 Professional N        HMCNV-VVBFX-7HMBH-CTY9B-B4FXY
  4. Windows 8.1 Enterprise        MHF9N-XY6XB-WVXMC-BTDCT-MKKG7
  5. Windows 8.1 Enterprise N        TT4HM-HN7YT-62K67-RGRQJ-JFFXW
  6. Windows Server 2012 R2 Server Standard        D2N9P-3P6X9-2R39C-7RTCD-MDVJX
  7. Windows Server 2012 R2 Datacenter        W3GGN-FT8W3-Y4M27-J84CP-Q3VJ9
  8. Windows Server 2012 R2 Essentials        KNC87-3J2TX-XB4WP-VCPJV-M4FWM
复制代码



Windows Server 2012 and Windows 8

  1. 操作系统        GVLK密钥
  2. Windows 8 Professional        NG4HW-VH26C-733KW-K6F98-J8CK4
  3. Windows 8 Professional N        XCVCF-2NXM9-723PB-MHCB7-2RYQQ
  4. Windows 8 Enterprise        32JNW-9KQ84-P47T8-D8GGY-CWCK7
  5. Windows 8 Enterprise N        JMNMF-RHW7P-DMY6X-RF3DR-X2BQT
  6. Windows Server 2012        BN3D2-R7TKB-3YPBD-8DRP2-27GG4
  7. Windows Server 2012 N        8N2M2-HWPGY-7PGT9-HGDD8-GVGGY
  8. Windows Server 2012 Single Language        2WN2H-YGCQR-KFX6K-CD6TF-84YXQ
  9. Windows Server 2012 Country Specific        4K36P-JN4VD-GDC6V-KDT89-DYFKP
  10. Windows Server 2012 Server Standard        XC9B7-NBPP2-83J2H-RHMBY-92BT4
  11. Windows Server 2012 MultiPoint Standard        HM7DN-YVMH3-46JC3-XYTG7-CYQJJ
  12. Windows Server 2012 MultiPoint Premium        XNH6W-2V9GX-RGJ4K-Y8X6F-QGJ2G
  13. Windows Server 2012 Datacenter        48HP8-DN98B-MYWDG-T2DCC-8W83P
复制代码



Windows 7 and Windows Server 2008 R2

  1. 操作系统        GVLK密钥
  2. Windows 7 Professional        FJ82H-XT6CR-J8D7P-XQJJ2-GPDD4
  3. Windows 7 Professional N        MRPKT-YTG23-K7D7T-X2JMM-QY7MG
  4. Windows 7 Professional E        W82YF-2Q76Y-63HXB-FGJG9-GF7QX
  5. Windows 7 Enterprise        33PXH-7Y6KF-2VJC9-XBBR8-HVTHH
  6. Windows 7 Enterprise N        YDRBP-3D83W-TY26F-D46B2-XCKRJ
  7. Windows 7 Enterprise E        C29WB-22CC8-VJ326-GHFJW-H9DH4
  8. Windows Server 2008 R2 Web        6TPJF-RBVHG-WBW2R-86QPH-6RTM4
  9. Windows Server 2008 R2 HPC edition        TT8MH-CG224-D3D7Q-498W2-9QCTX
  10. Windows Server 2008 R2 Standard        YC6KT-GKW9T-YTKYR-T4X34-R7VHC
  11. Windows Server 2008 R2 Enterprise        489J6-VHDMP-X63PK-3K798-CPX3Y
  12. Windows Server 2008 R2 Datacenter        74YFP-3QFB3-KQT8W-PMXWJ-7M648
  13. Windows Server 2008 R2 for Itanium-based Systems        GT63C-RJFQ3-4GMB6-BRFB9-CB83V
复制代码



Windows Vista and Windows Server 2008

  1. 操作系统        GVLK密钥
  2. Windows Vista Business        YFKBB-PQJJV-G996G-VWGXY-2V3X8
  3. Windows Vista Business N        HMBQG-8H2RH-C77VX-27R82-VMQBT
  4. Windows Vista Enterprise        VKK3X-68KWM-X2YGT-QR4M6-4BWMV
  5. Windows Vista Enterprise N        VTC42-BM838-43QHV-84HX6-XJXKV
  6. Windows Web Server 2008        WYR28-R7TFJ-3X2YQ-YCY4H-M249D
  7. Windows Server 2008 Standard        TM24T-X9RMF-VWXK6-X8JC9-BFGM2
  8. Windows Server 2008 Standard without Hyper-V        W7VD6-7JFBR-RX26B-YKQ3Y-6FFFJ
  9. Windows Server 2008 Enterprise        YQGMW-MPWTJ-34KDK-48M3W-X4Q6V
  10. Windows Server 2008 Enterprise without Hyper-V        39BXF-X8Q23-P2WWT-38T2F-G3FPG
  11. Windows Server 2008 HPC        RCTX3-KWVHP-BR6TB-RB6DM-6X7HP
  12. Windows Server 2008 Datacenter        7M67G-PC374-GR742-YH8V4-TCBY3
  13. Windows Server 2008 Datacenter without Hyper-V        22XQ2-VRXRG-P8D42-K34TD-G3QQC
  14. Windows Server 2008 for Itanium-Based Systems        4DWFP-JF3DJ-B7DTH-78FJB-PDRHK

标签: none

评论已关闭

2018shijiebei w88 18luck 188bet beplay manbet 12bet 95zz shenbo weide1946 ca88