樹莓派入門筆記(七)用Vlmcsd搭建Kms服務---2020-03-28 (1113)

第一步:下載最新版的Vlmcsd(1113)

下載地址1:https://forums.mydigitallife.net/threads/emulated-kms-servers-on-non-windows-platforms.50234/(需要註冊後才能進入下載)
下載地址2:https://www.upload.ee/files/11363704/vlmcsd-1113-2020-03-28-Hotbird64.7z.html
下載地址3:https://pan.baidu.com/s/161plkFYWPYZZhZEkfwYMjQ
(提取碼:nces)
下載地址4:https://download.csdn.net/download/alinathz/12377820

解壓密碼是:**2020 **

2020-03-28 (1113)
.kmd file format changed to version 2.0 (version 1.x files cannot be used any more)
host builds are now configurable in the .kmd file
Bugfix: vlmcs did not use the configured CSVLKs when used with -G
Bugfix: .kmd file version was not displayed correctly on big-endian systems
Bugfix: Posix versions of vlmcsd were unable to read MS-DOS/Windows text files with crlf line termination
Bugfix: the NO_INI_FILE CFLAG did not work in combination with some other directives
New CFLAG NO_COMPILER_UAA disables all compiler/platform support for big-endian/little-endian conversion. Required on some toolchains that are incorrectly configured
The bootable floppy directory now contains a .vmx file that can be used to directly start the floppy in VMware products, e.g. the free VMware player
When you use -v all CSVLK available in the .kmd file are now logged at program startup.
If you do not use -N0 or -N1 to force disable/enable the NDR64 protocol, vlmcsd now uses the host build to decide if it uses NDR64 depending if a genuine KMS is using NDR64 on that build.

第二步:開始安裝vlmcsd

1、將下載的vlmcsd-1113-2020-03-28-Hotbird64.7z解壓到任意位置,爲了方便,我解壓到E盤根目錄;
2、找到文件:E:\vlmcsd-1113-2020-03-28-Hotbird64\binaries\Linux\arm\little-endian\glibc\vlmcsd-armv6hf-Raspberry-glibc,將其複製到E盤根目錄,並改名爲:vlmcsd-1113
3、在樹莓派上的/home/pi/裏,新建一個“Kms”的文件夾;
直接用SSH連接Pi後用下面的命令創建,或者在Pi上直接創建也一樣。

mkdir /home/pi/Kms

3、將改名後的vlmcsd-1113上傳到樹莓派上的/home/pi/Kms目錄裏,什麼方法都行!我這裏用的是putty上傳:
A. win+r輸入並運行cmd,打開命令提示符;
B. 轉至putty的安裝目錄:cd C:\Program Files\PuTTY
C. 用pscp把vlmcsd-1113上傳至樹莓派上的/home/pi/Kms目錄裏:

pscp E:\vlmcsd-1113 [email protected]:/home/pi/Kms/

提示輸入pi的密碼,回車即可上傳。

4、修改vlmcsd-1113權限:

chmod 777 /home/pi/Kms/vlmcsd-1113

5、設爲開機啓動服務

sudo nano /etc/rc.local

在exit 0之前加入:

/home/pi/Kms/vlmcsd-1113 -l /var/log/vlmcsd.log > /dev/null 2>&1

6、啓動服務

/home/pi/Kms/vlmcsd-1113 -l /var/log/vlmcsd.log

日誌文件就是:/var/log/vlmcsd.log

7、停止服務
查找進程號,殺掉就可以

sudo ps -ef | grep vlmcsd-1113
sudo kill -s 9 進程號

到此,我們的Kms已經搭建完了!剩下的就是激活咯!哈哈

第三部:測試激活win10 pro
1、以管理員身份運行"命令提示符";
2、鍵入命令(安裝KEY):

slmgr -ipk W269N-WFGWX-YVC9B-4J6C9-T83GX

3、鍵入命令(設置KMS服務器地址):

slmgr -skms 192.168.31.88

4、鍵入命令(激活):

slmgr -ato

5、查看激活狀態:

slmgr.vbs -dlv

本次記錄到此爲止,後續會給pi安裝web服務,給KMS做上最後的完善工作。有時間接着做!!希望這篇文章可以幫到你!!

參考資料:https://blog.51cto.com/3258791/2092687

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章