Linux build KMS server

Linux build KMS server

Download vlmcsd

Project homepage: https://github.com/Wind4/vlmcsd
Software download: https://github.com/Wind4/vlmcsd/releases

Download and unzip the file, put  binaries\Linux\intel\static\ under  vlmcsd-x64-musl-static uploaded to VPS /usr/bin/ directory and renamed  vlmcsd.

Give execution permission

chmod +x /usr/bin/vlmcsd

Open KMS service

/usr/bin/vlmcsd

The default is 1688 port, no need to enter the port number when activating. If you need to change other ports, you can do it like this:

/usr/bin/vlmcsd -L 0.0.0.0:2333
It is said that changing the port is not easy to find.

Firewall open ports

I am used to using the Debian system and UFW to manage the firewall.

ufw allow 1688/tcp
ufw reload

 

Set boot up

vim /etc/rc.local

If you don’t need to modify the port, just join /usr/bin/vlmcsd

If you need to modify the port, add it  /usr/bin/vlmcsd -L 0.0.0.0:2333(2333 can be changed to the port you want to set.)

Test the KMS server

Enter binaries\Windows\intel\ this path in the decompressed file  , open cmd,  vlmcs-Windows-x64.exe drag it in, and enter the IP of the KMS server just deployed in the back.

The return information shows  successfulthat the KMS server is available.

Guess you like

Origin blog.csdn.net/hailangnet/article/details/114908976