@ferstar
2015-11-13T16:29:13.000000Z
字数 3630
阅读 5219
OS
WIN
Emulated KMS Servers on non-Windows platforms
假定已经安装过yaourt
首先需要更新当前系统yaourt -Syu
yaourt vlmcsd
安装vlmcsd
编译安装完成后启动应用
sudo systemctl enable vlmcsd # 设置自启动
sudo systemctl start vlmcsd # 启动应用
chown: cannot access '/var/lib/vlmcsd': No such file or directory
error: command failed to execute correctly
makefile
忘了新建vlmcsd
这个文件夹, 需要手动新建
sudo chown -R vlmcsd:vlmcsd /var/lib/vlmcsd
sudo vim /usr/lib/systemd/system/vlmcsd.service
( Unsupported package: Potentially dangerous ! )
警告不支持, 忽略即可
感谢GFW, clang
这个包可能无法顺利安装
只能挂代理export http_proxy=http://xxx.xxx.x.x:xxx
ERROR: One or more files did not pass the validity check!
又是GFW的功劳, vlmcsd.7z
这个包无法顺利下载, 自然也就无法通过文件校验, 所以需要提前下好, 放在本地ftp或者http服务器上, 然后Edit PKGBUILD with: vim
把原来的下载链接替换掉即可
上面的服务器IP地址: 192.168.1.12 端口: 1688
CD "%SystemRoot%\SYSTEM32"
CSCRIPT /NOLOGO SLMGR.VBS /SKMS 192.168.1.12
CSCRIPT /NOLOGO SLMGR.VBS /ATO
CSCRIPT /NOLOGO SLMGR.VBS /XPR
32位:CD "%ProgramFiles(x86)%\MICROSOFT OFFICE\OFFICE15"
64位:CD "%ProgramFiles%\MICROSOFT OFFICE\OFFICE15"
# 2010换下安装路径
CSCRIPT OSPP.VBS /SETHST:192.168.1.12
CSCRIPT OSPP.VBS /ACT
CSCRIPT OSPP.VBS /DSTATUS
C:\WINDOWS\system32>CD "%ProgramFiles%\MICROSOFT OFFICE\OFFICE15"
C:\Program Files\Microsoft Office\Office15>CSCRIPT OSPP.VBS /SETHST:192.168.1.12
Microsoft (R) Windows Script Host Version 5.812
版权所有(C) Microsoft Corporation。保留所有权利。
---Processing--------------------------
---------------------------------------
Successfully applied setting.
---------------------------------------
---Exiting-----------------------------
C:\Program Files\Microsoft Office\Office15>CSCRIPT OSPP.VBS /ACT
Microsoft (R) Windows Script Host Version 5.812
版权所有(C) Microsoft Corporation。保留所有权利。
---Processing--------------------------
---------------------------------------
Installed product key detected - attempting to activate the following product:
SKU ID: b322da9c-a2e2-4058-9e4e-f59a6970bd69
LICENSE NAME: Office 15, OfficeProPlusVL_KMS_Client edition
LICENSE DESCRIPTION: Office 15, VOLUME_KMSCLIENT channel
Last 5 characters of installed product key: GVGXT
<Product activation successful>
---------------------------------------
---------------------------------------
---Exiting-----------------------------
C:\Program Files\Microsoft Office\Office15>CSCRIPT OSPP.VBS /DSTATUS
Microsoft (R) Windows Script Host Version 5.812
版权所有(C) Microsoft Corporation。保留所有权利。
---Processing--------------------------
---------------------------------------
SKU ID: b322da9c-a2e2-4058-9e4e-f59a6970bd69
LICENSE NAME: Office 15, OfficeProPlusVL_KMS_Client edition
LICENSE DESCRIPTION: Office 15, VOLUME_KMSCLIENT channel
BETA EXPIRATION: 1601/1/1
LICENSE STATUS: ---LICENSED---
REMAINING GRACE: 180 days (259200 minute(s) before expiring)
Last 5 characters of installed product key: GVGXT
Activation Type Configuration: ALL
DNS auto-discovery: KMS name not available
KMS machine registry override defined: 192.168.1.12:1688
Activation Interval: 120 minutes
Renewal Interval: 10080 minutes
KMS host caching: Enabled
---------------------------------------
---------------------------------------
---Exiting-----------------------------
Win10企业版密钥:
[Key]:VTNMT-2FMYP-QCY43-QR9VK-WTVCK
[Key]:PBHCJ-Q2NYD-2PX34-T2TD6-233PK
Win10专业版密钥:
[Key]:NKJFK-GPHP7-G8C3J-P6JXR-HQRJR
Windows专业版用户激活请依次输入:(CMD)
slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
slmgr /skms kms.xspace.in
slmgr /ato
专业版:
NPPR9-FWDCX-D2C8J-H872K-2YT43;
VK7JG-NPHTM-C97JM-9MPGT-3V66T;
W269N-WFGWX-YVC9B-4J6C9-T83GX
专业版N:
2B87N-8KFHP-DKV6R-Y2C8J-PKCKT
企业版:
XGVPP-NMH47-7TTHJ-W3FW7-8HV2C
教育版:
YNMGQ-8RYV3-4PGQ3-C8XTP-7CFBY
单语言版:
BT79Q-G7N6G-PGBYW-4YWX6-6F4BT
@echo off
cd C:\Program Files\Microsoft Office\Office15
cscript ospp.vbs /inpkey:NK8R7-8VXCQ-3M2FM-8446R-WFD6X
cscript ospp.vbs /sethst:192.168.1.12
cscript ospp.vbs /act
cscript ospp.vbs /dstatus
cscript ospp.vbs /remhst
pause