Build a KMS server yourself

This article is only suitable for personal users, commercial users may face legal risks when using this program! ! !

It is recommended that readers with financial ability support the genuine version.

As we all know, Windows and Office are not free software. If it is a newly purchased brand machine, it should be pre-installed with genuine Windows Home Edition, and some users also come with Office as a bonus. However, I believe that a large portion of my readers use computers that they built themselves.

There should be quite a few poor* users like me.

What should we do for dinner tonight?  ?

Although a loyal Juhard user like me who often rushes to drafts hates Juhard, he can't use it! !

(The software only supports windows, I have to use it!!!)

Then I ask again, how do you deal with such aggrieved situations? ? See you in the comments section.

I really want to support genuine Windows and Office, but individual users whose economic strength does not allow it come here.

This thing is almost catching up with my server.  .  .

For this kind of software that has to be used, we must find a way. For the online kms tools, they require our administrator privileges. Some with automatic renewal (kms activation is verified every 180 days) and need to be resident in the background. This affects the performance of the device on the premise of reducing the security of the device (maybe what is stuffed for you), which is very uneconomical. If you use other kms servers, you are afraid of suddenly stopping the server and running away.

If we have a server, we can build a kms server (free of charge) by ourselves, so we can use it with confidence. Of course, there is no server that can be hung with linux.

The address of the vlmcsd project, an open source project of Github, the world's largest same-sex dating website, is used here: https://github.com/Wind4/vlmcsd

In order to ensure the stable operation of our server, we will run this project in Docker. The Docker warehouse of the vlmcsd project is at https://github.com/Wind4/vlmcsd-docker

The official website gave us the command to run, and we followed it to complete.


First, your server needs to install Git, Docker, Docker-Compose, Vim (optional). Then we find a suitable location to clone the warehouse.

git clone https://github.com/Wind4/vlmcsd-docker.git vlmcsd

Of course, mainland servers may not be cloned. We can clone with the help of mirror sites.

git clone https://gitclone.com/github.com/Wind4/vlmcsd-docker.git vlmcsd

After cloning is complete, we enter the folder and find three files. At this time, if you are an overseas server, we will directly follow the steps on the official website. If you are a mainland server, please ignore this and check the content under the picture.

docker-compose up -d

or

docker build -t vlmcsd .
docker run -idt -p 1688:1688 vlmcsd

Of course, you can also use third-party management tools such as the pagoda panel for management. When using third-party tools, TCP port 1688 needs to be opened.

If you are a mainland server, Github may not be accessible. We also need to modify to Github mirror as above.

vim Dockerfile

After opening, we modify the position of the line to look like the picture.

Then :wqsave and exit, and then execute

docker-compose up -d

or

docker build -t vlmcsd .
docker run -idt -p 1688:1688 vlmcsd

Of course, you can also use third-party management tools such as the pagoda panel for management. When using third-party tools, TCP port 1688 needs to be opened.

Now the program should start, but some cloud servers need to go to the console of the service provider to enable the security group. To see how to use KMS, please visit https://www.hestudio.net/posts/how-to-use-kms.html

postscript

My personal blog hestudio.net

Guess you like

Origin blog.csdn.net/a18845594188/article/details/132007057