merlin搭建局域网内免配置KMS自动激活环境

走远了吗. 提交于 2019-12-14 17:01:37

【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>>

准备

vlmcsd发布地址

KMS KEY

配置脚本

#!/bin/sh
cd /jffs/
wget "http://192.168.1.10/kms/vlmcsd"
chmod 700 vlmcsd
/jffs/vlmcsd
echo 
netstat -an |grep 1688
touch /jffs/configs/dnsmasq.d/kms
chmod 755 /jffs/configs/dnsmasq.d/kms
echo "domain=lan">/jffs/configs/dnsmasq.d/kms
echo "expand-hosts">>/jffs/configs/dnsmasq.d/kms
echo "bogus-priv">>/jffs/configs/dnsmasq.d/kms
echo "local=/lan/">>/jffs/configs/dnsmasq.d/kms
echo "dhcp-option=lan,15,lan">>/jffs/configs/dnsmasq.d/kms
echo "srv-host=_vlmcs._tcp.lan,`uname -n`.lan,1688">>/jffs/configs/dnsmasq.d/kms

service restart_dnsmasq
iptables -I INPUT -p tcp --dport 1688 -j ACCEPT


echo "sh /jffs/vlmcsd">>/jffs/scripts/firewall-start
echo "iptables -I INPUT -p tcp --dport 1688 -j ACCEPT">>/jffs/scripts/firewall-start

ARMv7 Processor rev 0 (v7l)用这个编译版本 little-endian\static\vlmcsd-armv7el-uclibc-static

激活过程

我使用的是office2016 x64版本

office2016 32位版本: cd "%ProgramFiles(x86)%\Microsoft Office\Office16"

office2010把office16替换成Office14

office2013把office16替换成office15

cd "%ProgramFiles%\Microsoft Office\Office16"
#cscript ospp.vbs /sethst:192.168.1.1
cscript ospp.vbs /remhst
cscript ospp.vbs /act
cscript ospp.vbs /dstatus
slmgr -skms xxxx.xxxx.com
slmgr /ato
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!