Update README

This commit is contained in:
LoveesYe 2022-07-27 14:53:47 +02:00 committed by GitHub
parent 8f73d81476
commit 4917621adc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

8
README
View File

@ -17,10 +17,16 @@ curl -fsSL https://github.com/LoveesYe/cdnflydadao/raw/main/master.sh -o master.
3.被控 3.被控
curl -fsSL -m 5 https://github.com/LoveesYe/cdnflydadao/raw/main/agent/agent.sh -o agent.sh || curl -m 5 https://github.com/LoveesYe/cdnflydadao/raw/main/agent/agent.sh -o agent.sh && chmod +x agent.sh && ./agent.sh --master-ver v5.1.11 --master-ip ip --es-ip ip --es-pwd passwd curl -fsSL -m 5 https://github.com/LoveesYe/cdnflydadao/raw/main/agent/agent.sh -o agent.sh || curl -m 5 https://github.com/LoveesYe/cdnflydadao/raw/main/agent/agent.sh -o agent.sh && chmod +x agent.sh && ./agent.sh --master-ver v5.1.11 --master-ip ip --es-ip ip --es-pwd passwd
4. 4.
执行以下命令完成破解: 已安装过官方版的开心方法:
执行以下命令完成开心:
wget https://github.com/LoveesYe/cdnflydadao/raw/main/cdnfly/api.py -O /opt/venv/lib/python2.7/site-packages/requests/api.py wget https://github.com/LoveesYe/cdnflydadao/raw/main/cdnfly/api.py -O /opt/venv/lib/python2.7/site-packages/requests/api.py
supervisorctl -c /opt/cdnfly/master/conf/supervisord.conf reload supervisorctl -c /opt/cdnfly/master/conf/supervisord.conf reload
云端节点监控功能说明:
监控默认是使用云端服务器去请求CDN节点因此要保持云端和CDN节点之间的网络畅通。另外如果是用宝塔面板php不要安装bt_safe扩展否则无法使用tcp类型监控如果要用ping类型监控还需要允许exec函数。
支持多节点监控和官方一样要添加其它监控节点可以编辑config.php配置文件根据里面的注释说明添加。
修改为你自身安装节点,或使用默认的github节点安装 修改为你自身安装节点,或使用默认的github节点安装
/opt/cdnfly/master/panel/src/views/system/update/index.html /opt/cdnfly/master/panel/src/views/system/update/index.html