树莓派入门笔记(七)用Vlmcsd搭建Kms服务---2020-03-28 (1113)

Nabila ·
更新时间:2024-09-20
· 862 次阅读

第一步:下载最新版的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 pi@192.168.31.88:/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

愤怒的码农╰_╯ 原创文章 8获赞 25访问量 3万+ 关注 私信 展开阅读全文
作者:愤怒的码农╰_╯



树莓派 kms

需要 登录 后方可回复, 如果你还没有账号请 注册新账号
相关文章
Kita 2021-03-16
641