本帖最后由 季风 于 2019-4-21 14:27 编辑


引用Vicer帖子介绍(https://www.52.ht/thread-539402-1-1.html
---
Q: 为何有效期只有 6个月?
A: Let’s Encrypt 才3个月,致敬一下。
Q: 如何能够长期使用?
A: 请利用cron设置定时任务. 以便自动更新许可证.
Q: 如何更新许可证?
A: wget -qO '/appex/etc/apx.lic' "https://api.vhaey.com/lotServer?ver=1&mac=00:00:00:00:00:00"
使用 ifconfig 查看网卡 mac 地址, 替换 00:00:00:00:00:00 .
当版本号小于等于 3.11.20.10 时, 请设置 ver=0 .
Q: 更新许可证后需要重启吗?
A: 许可证替换是实时更新的, 无需重启程序或重启系统.
Q: 加速效果不理想, 安装不上?
A: 请尝试使用 BBR, lotServer 不适合您.
Q: 官网更新了, 怎么不跟进?
A: 抱歉,我用的版本没有更新
---
当MAC 和 token 匹配的时候,可以重新下载 第一次生成的 许可证.
如果,已使用的token和mac不匹配,则视为无效token,返回当前申请mac的半年许可.
LotServer 最新版许可证API接口, 现已公开.(Linux版,支持到官网最新版。)
用法如下:
1. 输入 ifconfig 命令, 查看网卡Mac地址.
2. 将 00:00:00:00:00:00 替换成你的Mac址.
https://api.vhaey.com/lotServer?mac=00:00:00:00:00:00
安装: bash <(wget --no-check-certificate -qO-https://github.com/vhaey/lotServer/raw/master/Install.sh)install
地址: https://github.com/vhaey/lotServer
高级用法(需要expire参数,否则还是185天.):
https://api.vhaey.com/lotServer?token=[token]&mac=00:00:00:00:00:00&expire=2034-12-31
token获取地址:
https://shop.vhaey.com/
https://fk.cici.one/
https://pay.xysk.net/ |