Successfully build a KMS server in Ubuntu

 

introduce

KMS server built based on vlmcsd . According to the instructions on github, this tool is written in C without any dependencies and can be run directly. And it spans almost all system platforms now, such as Android, FreeBSD, Solaris, Minix, Mac OS, iOS, Windows. Compared with another tool , py-kms , which needs to rely on pyhont2 or python3, it is very clean and comfortable. This article updates the address synchronously: Building a KMS server in Ubuntu

Install

1. In any environment, download the latest vlmcsd releases from the download address . As in linux, you can use wget to download:

wget https://github.com/Wind4/vlmcsd/releases/download/svn1111/binaries.tar.gz

2. Unzip the package we downloaded and enter the corresponding directory. Such as Ubuntu system, we can enter the binaries/Linux/intel/static directory

3. Select the corresponding file, here we select the vlmcsdmulti-x64-musl-static file. Then put this file into 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 granted, execute the command directly

./vlmcsdmulti-x64-musl-static vlmcsd

If there is no error message, it means we succeeded. If you are worried, you can execute it again, and it will prompt us that the port (1688) and address are already occupied.

5. If there is a firewall, remember to open port 1688, and then add self-starting. For example, in Ubuntu, you can edit the /etc/rc.local file and add the startup command to the startup item.

6. Copy the following text

cd /d "%SystemRoot%\system32"
slmgr /skms 你的VPS的IP或者域名
slmgr /ato
slmgr /xpr

Save it as a bat file, then right-click to run as administrator .

7. Verify that it is activated. Execute in cmd or powershell

slmgr.vbs -dlv

If nothing else, a message indicating that the activation has been successful will be displayed.

8. This kms activation server can also be used to activate office, and the principle is basically the same. You can refer to the original author's github pages to activate.

 

introduce

KMS server built based on vlmcsd . According to the instructions on github, this tool is written in C without any dependencies and can be run directly. And it spans almost all system platforms now, such as Android, FreeBSD, Solaris, Minix, Mac OS, iOS, Windows. Compared with another tool , py-kms , which needs to rely on pyhont2 or python3, it is very clean and comfortable. This article updates the address synchronously: Building a KMS server in Ubuntu

Install

1. In any environment, download the latest vlmcsd releases from the download address . As in linux, you can use wget to download:

wget https://github.com/Wind4/vlmcsd/releases/download/svn1111/binaries.tar.gz

2. Unzip the package we downloaded and enter the corresponding directory. Such as Ubuntu system, we can enter the binaries/Linux/intel/static directory

3. Select the corresponding file, here we select the vlmcsdmulti-x64-musl-static file. Then put this file into 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 granted, execute the command directly

./vlmcsdmulti-x64-musl-static vlmcsd

If there is no error message, it means we succeeded. If you are worried, you can execute it again, and it will prompt us that the port (1688) and address are already occupied.

5. If there is a firewall, remember to open port 1688, and then add self-starting. For example, in Ubuntu, you can edit the /etc/rc.local file and add the startup command to the startup item.

6. Copy the following text

cd /d "%SystemRoot%\system32"
slmgr /skms 你的VPS的IP或者域名
slmgr /ato
slmgr /xpr

Save it as a bat file, then right-click to run as administrator .

7. Verify that it is activated. Execute in cmd or powershell

slmgr.vbs -dlv

If nothing else, a message indicating that the activation has been successful will be displayed.

8. This kms activation server can also be used to activate office, and the principle is basically the same. You can refer to the original author's github pages to activate.

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325016756&siteId=291194637