青龙面板docker安装

青龙面板docker安装教程
1.进入linux安装centos7系列
2.安装docker,内核版本得大于3.1
检查内核版本,返回的值大于3.10即可。
uname -r
3.确保yum是最新的
yum update
3.1 配置网络yum源仓库
进入到/etc/yum.repos.d/目录(cd /etc/yum.repos.d/)
用wget下载repo文件,输入命令wget http://mirrors.aliyun.com/repo/Centos-7.repo。注意:如果wget命令不生效,说明还没有安装wget工具,输入yum -y install wget 回车进行安装。
当前目录是/etc/yum.repos.d/,刚刚下载的Centos-7.repo也在这个目录上
备份系统原来的repo文件(mv CentOs-Base.repo CentOs-Base.repo.bak)
替换系统原理的repo文件(mv Centos-7.repo CentOs-Base.repo)
更新yum源命令(yum clean all && yum makecache)

4.安装 Docker
yum install docker
使用docker version命令查看是否安装成功
5.启动docker
systemctl start docker.service
6.设置开机自启动
sudo systemctl enable docker
7.添加国内镜像
vim /etc/docker/daemon.json
添加如下内容,具体地址自己申请咯
{
"registry-mirrors": ["https://****.mirror.aliyuncs.com"]
}

8.重启服务
systemctl daemon-reload
systemctl restart docker

9.docker镜像
https://hub.docker.com/r/whyour/qinglong
10.启动容器

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 \
-p 5700:5700 \
--name qinglong \
--hostname qinglong \
--restart unless-stopped \
whyour/qinglong:latest

11.访问IP:5700
12.重启docker不能访问,检测后可启动
docker exec -it qinglong /bin/bash ql check
13.青龙文件修改
地址:/root/ql/config/
可手动上传脚本
14.仓库地址
KingRan/KR(集合库)
ql repo https://github.com/KingRan/KR.git "jd_|jx_|jdCookie" "activity|backUp" "^jd[^_]|USER|utils|function|sign|sendNotify|ql|JDJR"
Curtinlv 仓库
ql repo https://github.com/curtinlv/JD-Script.git
Zy143L/wskey(wskey转换库)
ql repo https://github.com/Zy143L/wskey.git "wskey"
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"
Yun-City/City(集合库)
ql repo https://github.com/Yun-City/City.git "jd_|jx_|gua_|jddj_|getJDCookie" "activity|backUp" "^jd[^_]|USER|function|utils|sendnotify|ZooFaker_Necklace|jd_Cookie|JDJRValidator_|sign_graphics_validate|ql|magic|cleancart_activity"
6dylan6/jdpro(集合库)
ql repo https://github.com/6dylan6/jdpro.git "jd_|jx_|jddj_" "backUp" "^jd[^_]|USER|JD|function|sendNotify"
gys619/Absinthe(集合库)
ql repo https://github.com/gys619/Absinthe.git "jd_|jx_|jddj_|gua_|getJDCookie|wskey" "activity|backUp" "^jd[^_]|USER|utils|ZooFaker_Necklace|JDJRValidator_|sign_graphics_validate|jddj_cookie|function|ql|magic|JDJR|JD" "main"
混沌
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"
Zero205:
ql repo https://ghproxy.com/https://github.com/zero205/JD_tencent_scf.git "jd_|jx_|getJDCookie" "backUp|icon" "^jd[^_]|USER|sendNotify|sign_graphics_validate|JDJR" "main"
smiek2221:
ql repo https://github.com/smiek2221/scripts.git "jd_|gua_" "" "ZooFaker_Necklace.js|JDJRValidator_Pure.js|sign_graphics_validate.js"
Faker集合仓库:
ql repo https://ghproxy.com/https://github.com/shufflewzc/faker2.git "jd_|jx_|getJDCookie" "activity|backUp" "^jd[^_]|USER|ZooFaker_Necklace"
怨念集合仓库:
ql repo https://hub.fastgit.org/yuannian1112/jd_scripts.git "jd_|jx_|getJDCookie" "activity|backUp" "^jd[^_]|USER|utils"
温某某:
ql repo https://ghproxy.com/https://github.com/shufflewzc/Wenmoux.git
柠檬(胖虎):
ql repo https://github.com/panghu999/panghu.git "jd_"
star:
ql repo https://github.com/star261/jd.git "scripts" "code"

0

Related Posts

Comments

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注