简单网
让生活更简单!

服务器安装青龙面板+傻妞sillyGirl教程含已安装青龙面板的处理办法

什么是京东挂机以及为什么做京东挂机?

1.自动做活动,比如东东工厂、农场、京喜工厂、京喜农场,京东到家农场等等,可以免费领一些东西,挺实惠的
2.会自动领京东,现在的话一般是一天一二百,不算开卡,要是新号没有开过卡,可以一次领好几千。
3.自动做各种限时任务,领红包,免得自己做。

提供免费代挂服务,代挂地址 http://81.68.243.250:5702/

可短信登录 也可以使用绑定有京东的QQ登录

扫码加入企业微信 可接收日常通知

加入链接    也可以扫码加入

 

一 全新服务器安装青龙面板

安装青龙面板

和之前的安装方式不一样 我们要预先留出常用的文件夹 不然后期不好处理

前面的先按照教程上面的流程来做

服务器安装教程 青龙面板2.8版本+Ninja

不过到了创建容器的时候 使用下面的代码

这样已经预留了ninjia xdd xdd-plus sillyGirl  等位置

//安装容器
docker run -dit \
-v $PWD/ql/config:/ql/config \
-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/log:/ql/log \
-v $PWD/ql/jbot:/ql/jbot \
-v $PWD/ql/ninja:/ql/ninja \
-v $PWD/ql/xdd:/ql/xdd \
-v $PWD/ql/xdd-plus:/ql/xdd-plus \
-v $PWD/ql/sillyGirl:/ql/sillyGirl \
-p 5700:5700 \
-p 5701:5701 \
-e ENABLE_HANGUP=true \
-e ENABLE_TG_BOT=true \
-e ENABLE_WEB_PANEL=true \
--name qinglong \
--hostname qinglong \
--restart always \
whyour/qinglong:latest

安装好之后继续按照

服务器安装教程 青龙面板2.8版本+Ninja

配置青龙面板

二、已经安装过青龙面板的服务器安装傻妞sillyGirl前的必须步骤

如果已经安装过青龙面板 那么我们要对容器处理下

不然我们看不到sillyGirl文件夹 也无法成功安装sillyGirl傻妞了

首先我们先暂停容器

systemctl stop docker

进入 Docker 容器配置文件目录下
/var/lib/docker/containers/
那一大长串的字符就是你的容器的ID  多个容器自己看下容器目录下config.v2.json文件里面的name

而我们需要修改就是

config.v2.json和hostconfig.json

打开config.v2.json

搜索”MountPoints”: 直接将下面的代码覆盖”MountPoints”:需覆盖的地方”HostnamePath”

{"/ql/config":{"Source":"/ql/config","Destination":"/ql/config","RW":true,"Name":"","Driver":"","Type":"bind","Propagation":"rprivate","Spec":{"Type":"bind","Source":"//ql/config","Target":"/ql/config"},"SkipMountpointCreation":false},"/ql/db":{"Source":"/ql/db","Destination":"/ql/db","RW":true,"Name":"","Driver":"","Type":"bind","Propagation":"rprivate","Spec":{"Type":"bind","Source":"//ql/db","Target":"/ql/db"},"SkipMountpointCreation":false},"/ql/jbot":{"Source":"/ql/jbot","Destination":"/ql/jbot","RW":true,"Name":"","Driver":"","Type":"bind","Propagation":"rprivate","Spec":{"Type":"bind","Source":"//ql/jbot","Target":"/ql/jbot"},"SkipMountpointCreation":false},"/ql/log":{"Source":"/ql/log","Destination":"/ql/log","RW":true,"Name":"","Driver":"","Type":"bind","Propagation":"rprivate","Spec":{"Type":"bind","Source":"//ql/log","Target":"/ql/log"},"SkipMountpointCreation":false},"/ql/ninja":{"Source":"/ql/ninja","Destination":"/ql/ninja","RW":true,"Name":"","Driver":"","Type":"bind","Propagation":"rprivate","Spec":{"Type":"bind","Source":"//ql/ninja","Target":"/ql/ninja"},"SkipMountpointCreation":false},"/ql/raw":{"Source":"/ql/raw","Destination":"/ql/raw","RW":true,"Name":"","Driver":"","Type":"bind","Propagation":"rprivate","Spec":{"Type":"bind","Source":"//ql/raw","Target":"/ql/raw"},"SkipMountpointCreation":false},"/ql/repo":{"Source":"/ql/repo","Destination":"/ql/repo","RW":true,"Name":"","Driver":"","Type":"bind","Propagation":"rprivate","Spec":{"Type":"bind","Source":"//ql/repo","Target":"/ql/repo"},"SkipMountpointCreation":false},"/ql/scripts":{"Source":"/ql/scripts","Destination":"/ql/scripts","RW":true,"Name":"","Driver":"","Type":"bind","Propagation":"rprivate","Spec":{"Type":"bind","Source":"//ql/scripts","Target":"/ql/scripts"},"SkipMountpointCreation":false},"/ql/sillyGirl":{"Source":"/ql/sillyGirl","Destination":"/ql/sillyGirl","RW":true,"Name":"","Driver":"","Type":"bind","Propagation":"rprivate","Spec":{"Type":"bind","Source":"//ql/sillyGirl","Target":"/ql/sillyGirl"},"SkipMountpointCreation":false},"/ql/xdd-plus":{"Source":"/ql/xdd-plus","Destination":"/ql/xdd-plus","RW":true,"Name":"","Driver":"","Type":"bind","Propagation":"rprivate","Spec":{"Type":"bind","Source":"//ql/xdd-plus","Target":"/ql/xdd-plus"},"SkipMountpointCreation":false}},"SecretReferences":null,"ConfigReferences":null,"AppArmorProfile":"docker-default",

打开hostconfig.json
直接将下面的代码 全部覆盖上去

{"Binds":["//ql/raw:/ql/raw","//ql/scripts:/ql/scripts","//ql/log:/ql/log","//ql/ninja:/ql/ninja","//ql/sillyGirl:/ql/sillyGirl","//ql/config:/ql/config","//ql/db:/ql/db","//ql/repo:/ql/repo","//ql/jbot:/ql/jbot","//ql/xdd-plus:/ql/xdd-plus"],"ContainerIDFile":"","LogConfig":{"Type":"json-file","Config":{}},"NetworkMode":"default","PortBindings":{"5700/tcp":[{"HostIp":"","HostPort":"5700"}],"5701/tcp":[{"HostIp":"","HostPort":"5701"}]},"RestartPolicy":{"Name":"always","MaximumRetryCount":0},"AutoRemove":false,"VolumeDriver":"","VolumesFrom":null,"CapAdd":null,"CapDrop":null,"CgroupnsMode":"host","Dns":[],"DnsOptions":[],"DnsSearch":[],"ExtraHosts":null,"GroupAdd":null,"IpcMode":"private","Cgroup":"","Links":null,"OomScoreAdj":0,"PidMode":"","Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"SecurityOpt":null,"UTSMode":"","UsernsMode":"","ShmSize":67108864,"Runtime":"runc","ConsoleSize":[0,0],"Isolation":"","CpuShares":0,"Memory":0,"NanoCpus":0,"CgroupParent":"","BlkioWeight":0,"BlkioWeightDevice":[],"BlkioDeviceReadBps":null,"BlkioDeviceWriteBps":null,"BlkioDeviceReadIOps":null,"BlkioDeviceWriteIOps":null,"CpuPeriod":0,"CpuQuota":0,"CpuRealtimePeriod":0,"CpuRealtimeRuntime":0,"CpusetCpus":"","CpusetMems":"","Devices":[],"DeviceCgroupRules":null,"DeviceRequests":null,"KernelMemory":0,"KernelMemoryTCP":0,"MemoryReservation":0,"MemorySwap":0,"MemorySwappiness":null,"OomKillDisable":false,"PidsLimit":null,"Ulimits":null,"CpuCount":0,"CpuPercent":0,"IOMaximumIOps":0,"IOMaximumBandwidth":0,"MaskedPaths":["/proc/asound","/proc/acpi","/proc/kcore","/proc/keys","/proc/latency_stats","/proc/timer_list","/proc/timer_stats","/proc/sched_debug","/proc/scsi","/sys/firmware"],"ReadonlyPaths":["/proc/bus","/proc/fs","/proc/irq","/proc/sys","/proc/sysrq-trigger"]}

然后启动容器

systemctl start docker

然后就可以愉快的去安装傻妞了

三、安装傻妞

好了 我们开始安装傻妞了

过程参考了科技玩家小姐姐的教程
群晖Docker傻妞SillyGirl部署教程
第一步、安装GO环境
使用SSH连接服务器 工具一般可选择 Xshell putty
使用root登录服务器

cd /usr/local && wget https://golang.google.cn/dl/go1.16.7.linux-amd64.tar.gz -O go1.16.7.linux-amd64.tar.gz ##local目录下载⏬
tar -xvzf go1.16.7.linux-amd64.tar.gz ##解压
vi /etc/profile ##打开文件,设置环境变量,输入“i”进行编辑文件,最后一行输入下面的变量,全选复制进去。(下方左图)
export GO111MODULE=on
export GOPROXY=https://goproxy.cn
export GOROOT=/usr/local/go
export GOPATH=/usr/local/go/path
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
##输入后,按“Esc”,再输入":wq",按"Enter",保存并退出。
source /etc/profile
go env #运行后,出现下方运行状态,表示装好了。

看到下面几行代码的时候 就说明安装好了GO环境

GOMOD="/dev/null"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build4129497437=/tmp/go-build -gno-record-gcc-switches"

第二步、安装傻妞 拉库操作

docker exec -it qinglong bash ##进入容器 qinglong 改成你的容器名称
git clone https://ghproxy.com/https://github.com/cdle/sillyGirl.git ##拉傻妞库
cd /ql/sillyGirl/develop ##cd到傻妞的扩展目录develop 路径自己改
git clone https://ghproxy.com/https://github.com/ufuckee/jd_cookie.git ##拉扩展库
exit ##退出容器操作

下载dev.go文件并将dev.go文件放至sillyGirl目录下 下载地址:https://cloud.189.cn/web/share?code=uQVva2y6Jbia
接下来执行下面的命令

cd /ql/sillyGirl && go build ##cd回sillyGirl目录并编译
chmod 777 sillyGirl ##给权限,不给好像也能用
./sillyGirl ##首次运行并生成配置文件

此时会弹出二维码,扫码绑定的是你的qqbot。
注意 这里不要使用你的管理QQ绑定,去用个小号 专门接收COOKIE用的

第三步、配置傻妞
1.打开青龙的系统设置——应用设置——添加应用

名称随便写  权限全部选择

随后会看到你的应用已建立完成  记下 Client ID和 Client Secret  下面会用到

2. 打开QQ  给自己发消息  不会给自己消息的点这里看教程

set qq masters qq  ##设置qq管理员 
set qq masters qq1&qq2  ##设置qq管理员 可以多个,用&连接,请注意空格
set tg token xxxxx  ##设置tgbot
set tg masters id1&id2 ##设置tg管理员 可以多个,用&连接,请注意空格
##对接青龙
set qinglong host http://xxxxxx:xx ##一定要加"http://",并且后面一定不能带/
set qinglong client_id xxxxxx ##第一步创建青龙应用获取的,直接复制粘贴
set qinglong client_secret xxxxx ##第一步创建青龙应用获取的,直接复制粘贴

初始化配置后,在ssh工具中按键盘ctrl+c退出,重新输入命令./sillyGirl启动,查看一下连接青龙状态。

[[email protected] sillyGirl]# ./sillyGirl
2021/09/25 10:37:13.109 [I] 解析配置文件/ql/sillyGirl/conf/config.yaml
2021/09/25 10:37:13.109 [W] 任务^升级$添加成功
[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- using env: export GIN_MODE=release
- using code: gin.SetMode(gin.ReleaseMode)
2021/09/25 10:37:13.109 [W] 任务^ql\s+cron\s+hide\s+duplicate$添加成功
2021/09/25 10:37:13.120 [I] 青龙已连接
2021/09/25 10:37:13.120 [W] 任务^资产推送$添加成功
2021/09/25 10:37:13.121 [W] 任务^更新狗东账号添加成功
[GIN-debug] POST /cookie --> github.com/cdle/sillyGirl/develop/jd_cookie.init.6.func1 (1 handlers)
[GIN-debug] Listening and serving HTTP on :8080
2021/09/25 10:37:13.643 [W] 未提供telegram机器人token
2021/09/25 10:37:13.644 [Q] 开始尝试登录并同步消息...
2021/09/25 10:37:13.644 [Q] 使用协议: iPad
2021/09/25 10:37:16.639 [Q] 登录成功 欢迎使用: 管家已退休
2021/09/25 10:37:17.205 [Q] 信息数据库初始化完成.

出现 信息数据库初始化完成 一般就说明安装成功了

./sillyGirl -d  ##傻妞静默后台运行命令 所有配置完之后  只需要使用这个就可以了

玩法简介:

一、来自官方傻妞教学
1、傻妞禁用自己回复自己三个步骤:(给qqbot发)
①.升级
②.set qq onself false
③.重启 (自动静默运行)

2、sillyGirl注销qq命令:
delete qq session.token ###重新运行扫码重新即可。

3、./sillyGirl -d 等于重启并静默运行
4、sillyGirl telegram bot 代理命令,set tg url xxxxx

 

二、JD相关
1、JD账号绑定qq号码
set pinQQ pt_pin qq号码,🌰:set pinQQ jd_xxxxxx 123456

2、取消JD账号绑定qq号码
delete pinQQ pt_pin,🌰:delete pinQQ jd_xxxxxx

3、解绑im账号 对应的所有京东账号:
jd unbind im,🌰:jd unbind 10000

4、常用命令
查询:命令”查询 1″,注意空格,顺序为青龙的ck排序
资产推送:命令”资产推送”,会根据绑定的qq一对一推送
三、其他命令:直接给qqot发送”命令”,你就获得了所有。
1、设置qq群
set qq groupCode 群号,🌰:set qq groupCode  你的群号码

四、其他玩法
1、杀掉sillyGirl 进程
ps -A|grep sillyGirl ##显示进程号
kill -9 xxxxxx ##杀掉进程,精准打击👊

2、安装boltbrowser 可用于查看管理 sillyGirl.cache
go install github.com/br0xen/[email protected]
使用命令:boltbrowser filename:boltbrowser sillyGirl.cache,按键盘ctrl+c即可退出查看管理。

如遇到”File sillyGirl.cache is locked. Make sure it’s not used by another app and try again”,按照第1点,杀掉sillyGirl,再使用命令即可打开。
3、傻妞一些自动回复的api文件
群里面捞的,感兴趣的自己可以捡一点用。
下载地址:https://cloud.189.cn/web/share?code=EVjyEbVF36Vn

赞(2)
版权声明:本文采用知识共享 署名4.0国际许可协议 [BY-NC-SA] 进行授权
文章名称:《服务器安装青龙面板+傻妞sillyGirl教程含已安装青龙面板的处理办法》
文章链接:https://www.ddayh.com/2408.html
本站资源仅供个人学习交流,请于下载后24小时内删除,不允许用于商业用途,否则法律问题自行承担。

评论 11

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
  1. #0

    大佬 信息数据库初始化完成,青龙一直登陆失败是哪里的问题,,还有打开QQ下面一串的set是在哪里设置

    AZ4天前回复
    • 用自己的QQ给自己回复

      冬冬2天前回复
  2. #0

    api如何添加使用 有没有一个教程

    白鹤6天前回复
    • 打开青龙的系统设置——应用设置——添加应用

      名称随便写 权限全部选择

      随后会看到你的应用已建立完成 记下 Client ID和 Client Secret 下面会用到
      ##对接青龙
      set qinglong host http://xxxxxx:xx ##一定要加”http://”,并且后面一定不能带/
      set qinglong client_id xxxxxx ##第一步创建青龙应用获取的,直接复制粘贴
      set qinglong client_secret xxxxx ##第一步创建青龙应用获取的,直接复制粘贴

      冬冬4天前回复
  3. #0

    阿东不行啦,更改登录提示指令,set jd_cookie tip ?怎么回事

    popo1周前 (10-20)回复
    • 单独用阿东吧 或者单独用傻妞 两个对接总会出险奇奇怪怪的问题

      冬冬1周前 (10-20)回复
  4. #0

    你好 小姐姐,为啥我的傻妞总是解析配置文件失败呢,查看配置文件没有内容

    青椒炒肉2周前 (10-16)回复
    • 那啥 我不是小姐姐 小姐姐是科技玩家的

      冬冬1周前 (10-19)回复
  5. #0

    有问题就留言吧 实在不想在改教程了

    冬冬1个月前 (09-25)回复