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

4 篇文章 0 订阅
2 篇文章 0 订阅

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

  • 2
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

୧⍢⃝୨ LonelyCoder

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值