EdgeRouter X 安装KMS服务

注意:以下内容仅供已购买 Microsoft Office Volume Licensing 的机构的网络管理员参考。个人用户请购买零售版或Office 365订阅。
由于非法使用KMS服务带来的法律风险请自担。

我看到很多地方都有人给了各种教程,安装KMS服务。但是,总违背了我的一个原则,不执行未知来源的可执行文件。

而且,可能大多数人都不知道用root跑这些程序意味着什么,尤其是在路由器上。

所以我找了一个python的版本,github地址在 https://github.com/SystemRage/py-kms 。

由于ERX的存储空间限制,大部分操作都没法直接在路由上执行。所以接下来的笔记分两部分,第一部分在本地电脑上,第二部分在路由器上。

环境

路由器 Ubnt EdgeRouter X,IP 192.168.1.1,SSH端口 2345
EdgeRouter X, 固件 1.10.5

假设网络里没有配置domain,临时设置成 beijing.local

Continue reading “EdgeRouter X 安装KMS服务” »

Incoming search terms:

Convert SVG with xlink image to PNG

Only with ImageMagick.

1 identify -list policy

If you see output below:

Modify Path above, comment those like

2 If you have svg somewhere other than your own disk, download it first.

3 Convert

if that doesn’t work, try

Incoming search terms:

kexec 更新Linux内核

线上的CentOS7,没有跑什么服务,但是挂了个wireguard,用来解决内网服务器访问外网的需求

更新CentOS 7的时候发现现有内核版本太老了,wireguard出了点错,手工dkms:

所以想更新一下内核。

没有找到靠谱的hot upgrade,所以试了试 kexec,参考 Kernel patching with kexec: updating a CentOS 7 kernel without a full reboot

执行完,ssh就断了,然后过了一会儿就ping通了,好像没比reboot快多少。

VMware Fusion: Cannot connect to a valid peer process

I ran VMware Fusion 10 on macOS, and got this error when starting a VM.
Cannot connect to a valid peer process
找不到可以连接的有效对等进程

I googled, most guys says to trust developer from Preferences.app, but I’ve already trusted.

I checked process list, only:

I tried this on another working mac:

Those processes are started by /Applications/VMware\ Fusion.app/Contents/Library/services/services.sh.

In this file, find

Uncomment those two lines, and re-run, check “/tmp/debug”:

Verbose output

Compare signatures

I Googled again and found https://communities.vmware.com/thread/584909 saying unload some kernel extensions might work.

I remember VMware Fusion turned not working days after I installed VirtualBox and rebooted, so I remove VirtualBox.app and unload all useless extensions:

No error now.

Incoming search terms:

Convert PDF to Image

using GraphicsMagick

Convert full page to %d.png

Convert first page