Giter Site home page Giter Site logo

tony-aptx4869 / one-key-kms Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 1.0 52 KB

Linux 一键部署 KMS Server。Deploy KMS Server by one key on Linux.

License: GNU General Public License v3.0

Shell 100.00%
kms kms-server kms-deploy one-key-deploy one-key-kms kms-activation kms-shell deploy-kms kms-service one-key-deploy-kms

one-key-kms's Introduction

one-key-kms

简介 / Introduction

在 Linux 系统一键部署 KMS Server 程序的 Shell 脚本,且会将 KMS Server 做成 service 以方便日常管理。

目前仅支持使用 yum 或者 apt 作为包管理器的 Linux 发行版系统。服务器要追求稳定,一般都会使用 CentOS、Rocky 这些操作系统吧,再不济的,像作者比较喜欢用 Ubuntu 系统。 (#^.^#)

该一键部署脚本仅在 CentOS、Rocky、Ubuntu 等常见 Linux 发行版,且仅在少数常用版本上进行过测试,无法 100% 保证在您的系统环境下执行无任何异常。请您使用前仔细阅读脚本命令,判断是否可以在你的系统上执行。

A Shell script to deploy the KMS Server program with one key on Linux operating system, and make the KMS Server be a service to facilitate daily management.

Currently only Linux distros which use yum or apt as package managers are supported. For servers to pursue stability, they generally use operating systems such as CentOS and Rocky. No matter how bad it is, I prefer to use Ubuntu system. (#^.^#)

This one key deployment script has only been tested on common Linux distros such as CentOS, Rocky, and Ubuntu, and has only been tested on a few commonly used versions. There is no 100% guarantee that it will execute without any exceptions in your system environment. Please read the script command carefully before use to determine whether it can be executed on your operating system.

测试结果 / Test Results

Linux Distro & Version Test Result
CentOS Stream 9 ⭕ OK
CentOS Stream 8 ⭕ OK
CentOS 7.9.2009 ⭕ OK
Rocky 8.5 ⭕ OK
TencentOS 3.1 ⭕ OK
OpenCloudOS 8.5 ⭕ OK
Ubuntu 20.04.4 LTS ⭕ OK

使用 / Usage

请务必使用 root 用户运行此脚本!

MUST BE SURE to run this script as root!

## If you prefer using git.
git clone https://github.com/tony-aptx4869/one-key-kms.git
cd one-key-kms
git checkout "latest"
chmod +x one-key-kms-linux.sh
./one-key-kms-linux.sh

## If you prefer using curl.
curl -o okk.zip https://codeload.github.com/tony-aptx4869/one-key-kms/zip/refs/tags/latest
unzip okk.zip
cd one-key-kms-latest
chmod +x one-key-kms-linux.sh
./one-key-kms-linux.sh

运行脚本,敲入大写字母 Y 后回车,剩下的脚本会搞定。

脚本运行完毕,正常的情况下,KMS Server 的 service 已经跑起来了,可以使用以下命令进行管理:

Run the script, type a capital Y and hit enter, and the rest of the script will be done.

After script is finished running. Under normal circumstances, the service of the KMS Server has already started. You can use the following commands to manage it:

service kms start
service kms stop
service kms restart
service kms status

以上四条命令也可以写成:

The above four commands can also be written as:

systemctl start kms
systemctl stop kms
systemctl restart kms
systemctl status kms

鸣谢 / Thanks

鸣谢 KMS Server 程序的开发者 Wind4。

他的传送门:

Thanks to Wind4, the developer of the KMS Server program.

URL to his GitHub Repo:

https://github.com/Wind4/vlmcsd

one-key-kms's People

Contributors

tony-aptx4869 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

superflq

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.