好物优选点击查看详情 京东购买

暂无内容

随身WiFi 二、搭建Docker+部署青龙面板+一键安装青龙依赖+京东任务库

搭建Docker

搭建命令

#! /bin/bash date "+%Y年%m月%d日 周%w %H:%M:%S" echo '开始安装 Docker' apt-get update echo y | apt-get install ca-certificates curl gnupg lsb-release curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg echo \ "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian \ $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null apt-get update echo y | apt-get install docker-ce docker-ce-cli containerd.io docker run hello-world echo 'Docker 安装完成,请检查是否出现 Hello from Docker!' 
  • 部署青龙面板
    部署命令
docker run -dit \ -v $PWD/ql/config:/ql/config \ -v $PWD/ql/log:/ql/log \ -v $PWD/ql/db:/ql/db \ -v $PWD/ql/repo:/ql/repo \ -v $PWD/ql/raw:/ql/raw \ -v $PWD/ql/scripts:/ql/scripts \ -v $PWD/ql/jbot:/ql/jbot \ -v $PWD/ql/ninja:/ql/ninja \ -p 5700:5700 \ -p 5701:5701 \ --name qinglong \ --hostname qinglong \ --restart unless-stopped \ hushunxu/qinglong_base:2.11.3 
  • 一键安装青龙依赖
    进入青龙面板容器
docker exec -it qinglong bash

一键安装依赖,会有点久,耐心等待

curl -fsSL https://ghproxy.com/https://raw.githubusercontent.com/shufflewzc/QLDependency/main/Shell/QLOneKeyDependency.sh | sh 

浏览器打开青龙面板–地址 ip:5700
首次登陆创建账号
登录成功右上角新建任务
名称:faker库
命令:

ql repo https://git.metauniverse-cn.com/https://github.com/shufflewzc/faker3.git "jd_|jx_|gua_|jddj_|jdCookie" "activity|backUp" "^jd[^_]|USER|function|utils|sendNotify|ZooFaker_Necklace.js|JDJRValidator_|sign_graphics_validate|ql|JDSignValidator|magic|depend|h5sts" "main" 

定时规则
每30分钟运行一次,保证新活动及时拉取

30 * * * * 

原文链接:https://blog.csdn.net/qq_31539875/article/details/128978988?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522171836987416800182718150%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fblog.%2522%257D&request_id=171836987416800182718150&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2~blog~first_rank_ecpm_v1~times_rank-27-128978988-null-null.nonecase&utm_term=%E7%BB%BF%E8%81%94NAS

© 版权声明
THE END
喜欢就支持一下吧
点赞6 分享