Successfully build a KMS server in Ubuntu

Source: Internet
Author: User
Tags postgresql








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


Alibaba Cloud Hot Products

Elastic Compute Service (ECS) Dedicated Host (DDH) ApsaraDB RDS for MySQL (RDS) ApsaraDB for PolarDB(PolarDB) AnalyticDB for PostgreSQL (ADB for PG)
AnalyticDB for MySQL(ADB for MySQL) Data Transmission Service (DTS) Server Load Balancer (SLB) Global Accelerator (GA) Cloud Enterprise Network (CEN)
Object Storage Service (OSS) Content Delivery Network (CDN) Short Message Service (SMS) Container Service for Kubernetes (ACK) Data Lake Analytics (DLA)

ApsaraDB for Redis (Redis)

ApsaraDB for MongoDB (MongoDB) NAT Gateway VPN Gateway Cloud Firewall
Anti-DDoS Web Application Firewall (WAF) Log Service DataWorks MaxCompute
Elastic MapReduce (EMR) Elasticsearch

Alibaba Cloud Free Trail

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.