【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>>
准备
配置脚本
#!/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
来源:oschina
链接:https://my.oschina.net/u/588329/blog/707987