@ユメイ7 年前
06/11
20:32
sudo apt-get install python-argparse git clone https://github.com/myanaloglife/py-kms 运行激活服务器 cd /py-kms python server.py 使用supervisor管理py-kms服务 建立/etc/supervisor/conf.d/pykms.conf [program:pykms] command=python /root/py-kms/server.py autorestart=true user=root移动目录cp -r py-kms /usr/local/ 生成默认配置文件 echo_supervisord_conf > /etc/supervisord.conf 建立/etc/supervisor/conf.d/pykms.conf[program:pykms]command=python /usr/local/py-kms/server.pyautorestart=trueuser=root