青龍面板一鍵安裝shell命令


方法一: 在SSH里執行安裝青龍面板的命令:

wget -q https://raw.githubusercontents.com/shufflewzc/VIP/main/Scripts/sh/ql.sh -O ql.sh && bash ql.sh

方法二:

安裝docker

已經安裝Docker的可以跳過這一步,沒有安裝的可以使用以下腳本命令直接安裝Docker。
curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
安裝Docker后記得啟動Docker,並配置開機啟動

sudo systemctl start docker  #啟動Docker
sudo systemctl enable docker #配置開機自啟

拉取鏡像

docker pull whyour/qinglong:latest

部署鏡像

docker run -dit \
   -v $PWD/ql/config:/ql/config \
   -v $PWD/ql/log:/ql/log \
   -v $PWD/ql/db:/ql/db \
   -p 5700:5700 \
   --name qinglong \
   --hostname qinglong \
   --restart always \
   whyour/qinglong:latest

打開防火牆

青龍面面板通過網頁訪問,走的是5700端口,記得在服務器防火牆設置中放行5700端口

登錄青龍面板

面板地址:http://服務器IP:5700
默認賬號:admin
默認密碼:adminadmin
當您使用以上密碼首次登錄后,面板會顯示已初始化密碼。請在SSH終端內查看新密碼(輸出的結果就是實際的密碼了{“username”:“admin”,“password”:""),查看代碼如
docker exec -it qinglong cat /ql/config/auth.json

青龍面板基礎命令

#更新青龍
docker exec -it qinglong ql update

#更新青龍並編譯
docker exec -it qinglong ql restart

#拉取自定義倉庫
docker exec -it qinglong ql repo https://ghproxy.com/https://github.com/whyour/hundun.git "quanx" "tokens|caiyun|didi|donate|fold|Env"

#拉取單個腳本
docker exec -it qinglong ql raw https://ghproxy.com/https://raw.githubusercontent.com/moposmall/Script/main/Me/jx_cfd.js

#刪除7天前的所有日志
docker exec -it qinglong ql rmlog 7

#啟動bot
docker exec -it qinglong ql bot

#導出互助碼
docker exec -it qinglong ql code

#通知測試
docker exec -it qinglong notify test test

#立即執行腳本
docker exec -it qinglong task test.js now

#並行執行腳本
docker exec -it qinglong task test.js conc

拉取各種庫的腳本如下

【Faker集合倉庫】
ql repo https://ghproxy.com/https://github.com/shufflewzc/faker2.git "jd_|jx_|getJDCookie" "activity|backUp" "^jd[^_]|USER|ZooFaker_Necklace"
【curtinlv倉庫】
ql repo https://github.com/curtinlv/JD-Script.git
【star】
ql repo https://github.com/star261/jd.git "scripts" "code"
【怨念集合倉庫】
ql repo https://hub.fastgit.org/yuannian1112/jd_scripts.git "jd_|jx_|getJDCookie" "activity|backUp" "^jd[^_]|USER|utils"
【ddo(hyzaw)】
ql repo https://ghproxy.com/https://github.com/shufflewzc/hyzaw.git "ddo_"
【檸檬(胖虎)】
ql repo https://github.com/panghu999/panghu.git "jd_"
【溫某某】
ql repo https://ghproxy.com/https://github.com/shufflewzc/Wenmoux.git
【混沌】
ql repo https://github.com/whyour/hundun.git "quanx" "tokens|caiyun|didi|donate|fold|Env"
【龍珠】
ql repo https://github.com/whyour/hundun.git "quanx" "tokens|caiyun|didi|donate|fold|Env"

--------------------------------------分割線------------------------------------------------

推薦使用下方庫(更新拉庫命令)
拉庫命令:
國內雞:
ql repo https://ghproxy.com/github.com/KingRan/JDJB.git "jd_|jx_|jdCookie" "activity|backUp" "^jd[^_]|USER|utils|function|sign|sendNotify|ql|JDJR"
國外雞:
ql repo ql repo https://github.com/KingRan/JDJB.git "jd_|jx_|jdCookie" "activity|backUp" "^jd[^_]|USER|utils|function|sign|sendNotify|ql|JDJR"
ccwav大佬的資產通知增強版和CK檢測

2.10.3之前版本青龍拉庫命令:

不包含sendNotify:

ql repo https://github.com/ccwav/QLScript2.git "jd_" "NoUsed" "ql|utils"

包含sendNotify:

ql repo https://github.com/ccwav/QLScript2.git "jd_" "NoUsed" "ql|sendNotify|utils"

2.10.3之后版本青龍拉庫命令:

不包含sendNotify:

ql repo https://github.com/ccwav/QLScript2.git "jd_" "NoUsed" "ql|utils|USER_AGENTS|jdCookie|JS_USER_AGENTS"

包含sendNotify:

ql repo https://github.com/ccwav/QLScript2.git "jd_" "NoUsed" "ql|sendNotify|utils|USER_AGENTS|jdCookie|JS_USER_AGENTS"
carry庫(老年人內部互助庫)
ql repo https://github.com/cdle/carry.git "jd_|jx_" "" "^jd[^_]|USER|share"

沖鴨庫:購物車抽獎、開卡庫(2021.12.28更新)
ql repo https://github.com/mmnvnmm/omo.git "jd_" "NoUsed" "ql|sendNotify|utils|USER_AGENTS|jdCookie|JS_USER_AGENTS"

小手冰涼 自用庫(青龍2.10.3之前可拉)
ql repo https://github.com/chianPLA/xiaoshou.git

smiek2121開卡庫:更新地址
國外雞:
ql repo ql repo https://github.com/smiek2121/scripts.git "jd_|gua_" "" "ZooFaker_Necklace.js|JDJRValidator_Pure.js|sign_graphics_validate.js|cleancart_activity.js|jdCookie.js|sendNotify.js"


wskey轉換來源於Zy143L大佬(不上傳,推薦)
完美網絡用戶:ql repo https://github.com/Zy143L/wskey.git "wskey"

國內網絡用戶:ql repo https://ghproxy.com/github.com/Zy143L/wskey.git "wskey"


京東保價、汽車兌換等
國內雞
ql repo https://ghproxy.com/github.com/KingRan/JD-Scripts.git "jd_|jx_|jdCookie" "activity|backUp" "^jd[^_]|USER|utils|function|sign|sendNotify|ql"

國外雞
ql repo https://github.com/KingRan/JD-Scripts.git "jd_|jx_|jdCookie" "activity|backUp" "^jd[^_]|USER|utils|function|sign|sendNotify|ql" 
## zero205大佬更新拉庫命令
ql repo https://github.com/zero205/JD_tencent_scf.git "jd_|jx_|getJDCookie" "backUp|icon" "^jd[^_]|USER|sendNotify|sign_graphics_validate|JDJR""main"
## star261 
ql repo https://github.com/star261/jd.git "scripts|jd" "" "" "main"
## chinnkarahoi 無維護,原版
ql repo https://github.com/chinnkarahoi/jd_scripts.git "jd_|jx_|getJDCookie" "activity|backUp|Coupon" "^jd[^_]|USER"
## JDHelloWorld 基本天天有更新,但是采用TS腳本讓初學者不友好
ql repo https://github.com/JDHelloWorld/jd_scripts.git "jd_|jx_|getCookie" "activity|backUp|Coupon|enen|update" "^jd[^_]|USER|tools"
##檸檬panghu 已經跑路
ql repo https://github.com/panghu999/jd_scripts.git "jd_|jx_|getJDCookie" "activity|backUp|jd_delCoupon|format_" "^jd[^_]|USER"
## he1pu 有更新
ql repo https://github.com/he1pu/JDHelp.git "jd_|jx_|getJDCookie" "activity|backUp|jd_delCoupon" "^jd[^_]|USER"
## shufflewzc 集合目前能用的腳本有更新
ql repo https://github.com/shufflewzc/faker2.git "jd_|jx_|jddj_|getJDCookie" "activity|backUp" "^jd[^_]|USER|ZooFaker_Necklace|JDJRValidator_Pure|sign_graphics_validate"
##Annyoo2021 lxk最終版及搬運整理 集合目前能用的腳本 推薦
ql repo https://github.com/Annyoo2021/scripts.git "jd_|jx_|long_|getJDCookie" "activity|backUp" "^jd[^_]|USER|ZooFaker_Necklace|JDJRValidator_Pure|JDJRValidator" "main"

## yuannian1112拉取倉庫命令: 不推薦
國內雞 
ql repo https://hub.fastgit.org/yuannian1112/jd_scripts.git "jd_|jx_|getJDCookie" "activity|backUp" "^jd[^_]|USER|utils" 
國外雞 
ql repo https://github.com/yuannian1112/jd_scripts.git "jd_|jx_|getJDCookie" "activity|backUp" "^jd[^_]|USER|utils" 
v4修改默認庫為 
https://hub.fastgit.org/yuannian1112/jd_scripts.git 
分支修改為main

Tsukasa007倉庫
https://github.com/Tsukasa007/my_script/tree/master

同步上游各個大佬的倉庫 相當於合集
https://github.com/DovFork
更新7.7最新倉庫:(僅提供地址,拉取請參照下面)

Annyoo2021倉庫 基本天天更新,集合了大量可用腳本
https://github.com/Annyoo2021/scripts

lukesyy倉庫
https://github.com/lukesyy/jd_yun

zero205倉庫
https://github.com/zero205/JD_tencent_scf
curtinlv倉庫 
ql repo https://github.com/curtinlv/JD-Script.git 


he1pu互助倉庫 
ql repo https://github.com/he1pu/JDHelp.git "jd_|jx_|getJDCookie" "activity|backUp|Coupon" "^jd[^_]|USER" 


檸檬(胖虎)代維護lxk0301倉庫 已經跑路
ql repo https://github.com/panghu999/jd_scripts.git "jd_|jx_|getJDCookie" "activity|backUp|Coupon|jd_try|format_" "^jd[^_]|USER" 

zcy01倉庫 
ql repo https://github.com/ZCY01/daily_scripts.git "jd_" 


passerby-b 倉庫 
ql repo https://github.com/passerby-b/JDDJ.git "jddj_" "scf_test_event|jddj_fruit_code.js|jddj_getck.js|jd_|jddj_cookie" 


JDHelloWorld倉庫 
ql repo https://github.com/JDHelloWorld/jd_scripts.git "jd_|jx_|getJDCookie" "activity|backUp|Coupon|enen|update" "^jd[^_]|USER" 
 

jiulan倉庫 
ql repo https://github.com/jiulan/platypus.git 


Ariszy(Zhiyi-N)倉庫 
ql repo https://github.com/Ariszy/Private-Script.git "JD" 
  

檸檬(胖虎)倉庫 
ql repo https://github.com/panghu999/panghu.git "jd_" 


混沌倉庫 
ql repo https://github.com/whyour/hundun.git "quanx" "tokens|caiyun|didi|donate|fold|Env|.py" 
 

moposmall倉庫 
ql repo https://github.com/moposmall/Script.git "jx_mc|cfd.js" 


龍珠倉庫 
ql repo https://github.com/longzhuzhu/nianyu.git "qx" “main” 

更新青龍
docker exec -it qinglong ql update
更新青龍並編譯
docker exec -it qinglong ql check
啟動bot
docker exec -it qinglong ql check
刪除7天前的所有日志
docker exec -it qinglong ql rmlog 7
通知測試
docker exec -it qinglong notify test test
立即執行腳本
docker exec -it qinglong task test.js now
並行執行腳本
docker exec -it qinglong task test.js conc

--------------------------------------分割線------------------------------------------------

手機號直接獲取cookie,NVJDC面板對接青龍面板

開始搭建

1.1版本安裝

可以和青龍面板試用同一服務器搭建,如果要更換其他服務器需要重新配置Docker

一鍵腳本

bash <(curl -sL https://git.io/JMWTL)
選擇:1

請輸入青龍服務器在web頁面中顯示的名稱: 【自定義】

請輸入nvjdc面板標題: 【自定義】

請輸入nvjdc面板希望使用的端口號: 【自定義】

請輸入XDD面板地址,格式如http://192.168.2.2:6666/api/login/smslogin 如不啟用直接回車:【直接回車】

請輸入XDD面板Token(如不啟用直接回車):【直接回車】

nvjdc是否對接青龍,輸入y或者n【y】

請輸入青龍OpenApi Client ID: 【青龍面板查找】

請輸入青龍OpenApi Client Secret: 【青龍面板查找】

請輸入青龍服務器的url地址(類似http://192.168.2.2:5700):【你的青龍面板http://ip:端口】

請輸入自動滑塊次數 直接回車默認5次后手動滑塊 輸入0為默認手動滑塊: 【5】

新版本安裝

如果代碼失效請移步:https://github.com/King-stark/NvJDCloud

1、拉源碼

國外機:git clone -b main https://github.com/King-stark/NvJDCloud.git ~/nvjdc
國內機:git clone -b main https://ghproxy.com/https://github.com/King-stark/NvJDCloud.git ~/nvjdc

2 、拉取基礎鏡像

docker pull nolanhzy/nvjdc:latest

3 、安裝unzip,如果已安裝unzip可忽略

centos:yum install wget unzip -y
Ubuntu/Debian:apt-get install wget unzip -y

4、創建一個目錄放配置

1、cd nvjdc
2、mkdir -p Config && cd Config

5、下載Config.json 配置文件 並且修改自己的配置 不能缺少

國外機:wget -O Config.json https://raw.githubusercontent.com/King-stark/NvJDCloud/doc/Config.json
國內機:wget -O Config.json https://ghproxy.com/https://raw.githubusercontent.com/King-stark/NvJDCloud/doc/Config.json

把必要的Config參數改好(url,ID,Secret)

{
///最大支持幾個網頁
"MaxTab": "4",
//網站標題
"Title": "NVJDC",
//網站公告
"Announcement": "本項目腳本收集於互聯網,為了您的財產安全,請關閉京東免密支付。",
//滑塊次數,0為手動
"AutoCaptchaCount": "0",
///多青龍配置
"Config": [
{
//序號必須從1開始
"QLkey": 1,
//服務器名稱
"QLName": "阿里雲",
//青龍url
"QLurl": "",
//青龍2,9 OpenApi Client ID
"QL_CLIENTID": "",
//青龍2,9 OpenApi Client Secret
"QL_SECRET": "",
//青龍面包最大ck容量
"QL_CAPACITY": 25,
//消息推送二維碼鏈接
"QLkey": 2,
},
]
}

6 、安裝瀏覽器

回到nvjdc目錄創建chromium文件夾並進入
cd ~/nvjdc && mkdir -p .local-chromium/Linux-884014 && cd .local-chromium/Linux-884014

7、下載 chromium並解壓

wget http://npm.taobao.org/mirrors/chromium-browser-snapshots/Linux_x64/884014/chrome-linux.zip && unzip chrome-linux.zip
此時應檢查chrome-linux.zip 文件是否解壓成功,如為解壓重新執行解壓命令
unzip chrome-linux.zip

8、刪除剛剛下載的壓縮包

rm -f chrome-linux.zip

9、回到剛剛創建的目錄

cd ~/nvjdc
10、啟動鏡像

docker run --name nvjdc -p 5701:80 -d -v "$(pwd)":/app \
-v /etc/localtime:/etc/localtime:ro \
-it --privileged=true nolanhzy/nvjdc:latest

搭建完成

NVJDC端口5701。輸入ip:5701 即可打開使用了


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM