EdgeRouter X 安装KMS服务

注意:以下内容仅供已购买 Microsoft Office Volume Licensing 的机构的网络管理员参考。个人用户请购买零售版或Office 365订阅。



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



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

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

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

EdgeRouter X 安装KMS服务 by @sskaje: https://sskaje.me/2018/10/install-kms-on-edgerouter/

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

Convert SVG with xlink image to PNG by @sskaje: https://sskaje.me/2018/07/convert-svg-xlink-image-png/

kexec 更新Linux内核


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


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


kexec 更新Linux内核 by @sskaje: https://sskaje.me/2018/06/kexec-upgrade-linux-kernel/

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.

VMware Fusion: Cannot connect to a valid peer process by @sskaje: https://sskaje.me/2018/05/vmware-fusion-connect-valid-peer-process/

Convert PDF to Image

using GraphicsMagick

Convert full page to %d.png

Convert first page

Convert PDF to Image by @sskaje: https://sskaje.me/2018/05/convert-pdf-image/