Introduced
A KMS server built on VLMCSD. According to the instructions on GitHub, this tool is written in C with no dependencies and can be run directly. And it spans almost all of the system platforms now, such as Android, FreeBSD, Solaris, Minix, Mac OS, IOS, Windows. It is very clean and pleasant to rely on pyhont2 or python3 compared to another tool py-kms. This article synchronizes the update address: Building a KMS server in Ubuntu
Installation
1, in any environment, download the latest VLMCSD releases version,. As in Linux, you can use wget to download:
https://github.com/Wind4/vlmcsd/releases/download/svn1111/binaries.tar.gz
2. Unzip the package we downloaded and enter the corresponding directory. such as the Ubuntu system, we can enter the Binaries/linux/intel/static directory
3, select the corresponding file, here we choose Vlmcsdmulti-x64-musl-static file. Then put the file in the file we want.
4. Execute the chmod command to grant permissions to this file:
chmod u+x /usr/local/KMS-server
After the permission is given, execute the command directly
./vlmcsdmulti-x64-musl-static vlmcsd
If there are no errors, it means we have succeeded. If you don't rest assured, you can do it again, it will prompt us to port (1688) and address is already occupied.
5, if there is a firewall, remember to open 1688 ports, and then join the self-boot. As in Ubuntu, you can edit the/etc/rc.local file to include the Start command in the startup entry.
6. Copy the following text
"%SystemRoot%\system32"slmgr /skms IP or domain name of your VPS slmgr /atoslmgr /xpr
Save the file in bat format, and then right-click Run as Administrator .
7. Verify that activation is active. Execute in CMD or powershell
slmgr.vbs -dlv
In the case of an accident, the information that has been activated successfully is displayed.
8, the KMS activation server, the same can be used to activate Office, the principle is basically the same. It can be activated by referring to the original author's GitHub pages.
Disclaimer: This method is only used for individual study studies and is not used for illegal commercial purposes, otherwise the consequences are at your own risk.
Successfully build a KMS server in Ubuntu