赚钱宝3代

赚钱宝3代&玩客云&网心云 安装armbian docker 宝塔 青龙 openwrt

首先感谢 right 的小或,基本是按照这个流程来,但是中途我也遇到了很多问题,都是通过百度来解决的,这个帖子也是为了自己记录自己N多的过程编写。大家看看就好,如果有补充可以评论谢谢。

一、开始制作armbian
一、使用Aml Burn Tool软件烧录首选底包至固件。烧录完成后断开玩客云电源备用。(短路什么的其它教程很多我就不写了)
靠近hdmi的那个USB口
二、使用USBWriter软件将emmc底包或者5.88刷机包固件写入U盘。写入成功后,先将U盘插入玩客云靠近网线接口端的USB口,再接入电源。 玩客云通电后指示灯会先亮绿灯,再亮蓝灯,红蓝闪烁,最后蓝灯常亮。等到确定蓝灯常亮后,再拔掉U盘、电源。重要步骤!!!!!!最好蓝灯常亮后,启动一次玩客云,看看ssh是否正常
三、使用USBWriter写入armbian5.90固件。写入固件成功后,再次插入U盘至靠近网线一端的USB口,U盘插入后连接玩客云电源,及其网线。这时亮蓝灯 没什么反应直接等待十分钟后,(如果U盘读写慢的 建议等久一点),打开局域网查看工具找到玩客云IP。或路由器里面找名称以 aml 开头设备的局域网ip。(注意不要断电不要拔U盘)

使用PuTTY 或命令行,ssh连接至之前获取得局域网ip;(Ps:我刚开始用的FinalShell 老是一连接断开,如果有出现使用PuTTY 连接)
用户:root ;密码: 1234;(提示改密码改一下密码)
此固件默认不会刷入 eMMC,如需刷入eMMC请执行命令:
cd /boot/install/
sudo ./install.sh
1
2
完成后 就装好了 armbian5.9

二、 装docker
1.更换更新源。

nano /etc/apt/sources.list
deb https://mirrors.ustc.edu.cn/debian buster main contrib non-free
deb https://mirrors.ustc.edu.cn/debian buster-updates main contrib non-free
deb https://mirrors.ustc.edu.cn/debian buster-backports main contrib non-free
deb https://mirrors.ustc.edu.cn/debian-security buster/updates main contribnon-free
1
2
3
4
5
Ctrl+O保存,Ctrl+X退出。
原始源(备用)

deb http://mirrors.tuna.tsinghua.edu.cn/debian buster main contrib non-free
#deb-src http://mirrors.tuna.tsinghua.edu.cn/debian buster main contrib non-free

deb http://mirrors.tuna.tsinghua.edu.cn/debian buster-updates main contrib non-free
#deb-src http://mirrors.tuna.tsinghua.edu.cn/debian buster-updates main contrib non-free

deb http://mirrors.tuna.tsinghua.edu.cn/debian buster-backports main contrib non-free
#deb-src http://mirrors.tuna.tsinghua.edu.cn/debian buster-backports main contrib non-free

deb http://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates main contrib non-free
#deb-src http://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates main contrib non-free
1
2
3
4
5
6
7
8
9
10
11
(ps,如果这步操作不好就用FinalShell,登陆后有文件管理功能可以像记事本一样改目录 /etc/apt/sources.list )

2.更新

sudo apt-get update –allow-releaseinfo-change
sudo apt-get upgrade
1
2
3.使用docker安装脚本

curl -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh –mirror Aliyun
1
2
4.装可视面板

docker run –restart always –name fast -p 8081:8081 -d -v /var/run/docker.sock:/var/run/docker.sock wangbinxingkong/fast
1
2、安装完成后在浏览器访问 http://服务器IP地址或域名:8081 。
3、首次登录需要注册,注册成功后即可正常使用。

固件链接:https://cloud.189.cn/t/zuyMNn2Ubqa2 (访问码:1c15)

三、装宝塔
1.拉取镜像

docker pull centos:centos7
1
2.创建容器

docker run -tid –name baota -p 80:80 -p 8888:8888 –restart always centos:centos7
1
(ps :需要开放的端口自行拉回 -p 80:80 –name=OneCloud 其中OneCloud是容器名称,可以更改成你想要的,容器名称注意不要和其他容器一样,会冲突)
3.进入容器

docker exec -it baota /bin/bash
1
4.装宝塔

yum install -y wget && wget -O install.sh https://download.bt.cn/install/install.sh && sh install.sh
1
四、装青龙 (ssh里面执行)
1.拉取镜像

docker pull whyour/qinglong:2.10.13
1
(青龙2.11.1后面的版本中某BUG影响到了32位arm,这里推荐旧版本2.10.13)

2.创建容器

docker run -tid –name qinglong -p 5700:5700 –restart always whyour/qinglong:2.10.13
1
然后就可以通过http://ip:5700访问面板了
(如果打不开白屏就百度搜索 青龙面板白屏教程,简单的说就是cdn被墙了 )

docker exec -it qinglong bash
cp dist/index.html dist/index.html.bak
sed -i “s/cdn.jsdelivr.net/cdn.ravi.cool/g” /ql/dist/index.html
sed -i “s/darkreader.min.js/darkreader.js/g” /ql/dist/index.html
sed -i “s/codemirror.min.js/codemirror.js/g” /ql/dist/index.html
1
2
3
4
5
默认账号:admin 密码:admin

五、装openwrt(ssh里面执行)(未能成功安装)
1.拉取镜像

docker pull virking/openwrt:20.04
1
2。创建容器

docker run -tid –name openwrt -p 81:81 –restart always virking/openwrt:20.04
1
启动成功后使用IP访问即可 密码是 password
(ps :需要开放的端口自行设置 -p 81:81 –name=OneCloud 其中OneCloud是容器名称,可以更改成你想要的,容器名称注意不要和其他容器一样,会冲突)

六、装openwrt 20.04
docker装openwrt的教程(安装成功)
更新软件(非必要)

apt-get update && apt-get upgrade
1
打开网卡混杂模式

ip link set eth0 promisc on
1
创建网络

docker network create -d macvlan –subnet=192.168.2.0/24 –gateway=192.168.2.1 -o parent=eth0 macnet
1
[↑自己根据 玩客云 所在网段修改,如:玩客云IP:192.168.2.175,则192.168.1.0/24 改成 192.168.2.0/24,192.168.1.1改成主路由地址]
拉取 OpenWRT 镜像

docker pull virking/openwrt:20.04
1
创建容器

docker run -itd –name=OneCloud –restart=always –network=macnet –privileged=true virking/openwrt:20.04 /sbin/init
1
–name=OneCloud 其中OneCloud是容器名称,可以更改成你想要的,容器名称注意不要和其他容器一样,会冲突
根据主路由 DHCP 分配里找到一个主机名叫 OpenWRT 的,复制它的IPv4 地址粘贴到浏览器就能进入 OpenWRT 了
密码是 password

七、openwrt huilibing/OneCloud (安装成功)
原地址

固件包含的插件
┌ Hello World [ 支持多种主流协议和多种自定义视频分流服务,并直观的显示节点信息 ]
├ Openclash [ 根据灵活的规则配置实现策略代理 ]
├ DNSFilter [ 支持 AdGuardHome/Host/DNSMASQ/Domain 规则, 对广告进行过滤 ]
├ KMS Activator [ KMS 激活服务器,可用于激活 Windows 或 Office ]
└ NeteaseMusic [ 解锁网易云音乐灰色歌曲 ]
宿主机以及 Docker 相关设置
1
2
3
4
5
6
开启网卡混杂模式
ip link set eth0 promisc on
1
创建Docker虚拟网络
虚拟网络名称为 macnet,驱动为 macvlan 模式将 subnet 10.10.10.0 修改为你自己主路由的网段将 geteway 10.10.10.1 修改为你自己的主路由网关

docker network create -d macvlan –subnet=10.10.10.0/24 –gateway=10.10.10.1 -o parent=eth0 macnet
1
拉取镜像配置容器
将–ip 10.10.10.94修改为你自己主路由的网段IP

拉取 OpenWrt 镜像
docker pull w8ves/openwrt:onecloud
1
启动 OpenWrt 容器
docker run –restart always –name openwrt -d –network macnet –ip 10.10.10.94 –privileged w8ves/openwrt:onecloud /sbin/init
1
修改容器网络配置

查看运行中的容器

docker ps -a

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES

0bd53ac6f3e8 w8ves/openwrt “/sbin/init” 9 minutes ago Up 19 minutes openwrt

1
2
3
4
进入容器命令行
docker exec -it openwrt /bin/bash
1
修改网络配置
nano /etc/config/network
1

config interface ‘loopback’
option ifname ‘lo’
option proto ‘static’
option ipaddr ‘127.0.0.1’
option netmask ‘255.0.0.0’

config globals ‘globals’

config interface ‘lan’
option ifname ‘eth0’
option _orig_ifname ‘eth0’
option _orig_bridge ‘true’
option proto ‘static’
option ipaddr ‘10.10.10.94’ # 填写创建容器时的IP
option netmask ‘255.255.255.0’
option gateway ‘10.10.10.1’ # 修改为你自己主路由的IP
option dns ‘10.10.10.1’ # DNS 可填主路由IP 也可填公共DNS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
重启容器网络服务
/etc/init.d/network restart
1
下载 Clash内核
wget –no-check-certificate https://github.com/vernesong/OpenClash/releases/download/Clash/clash-linux-armv7.tar.gz
1
解压到 /etc/openclash/core/文件夹

tar xzf clash-linux-armv7.tar.gz
mv clash /etc/openclash/core
ll /etc/openclash/core/
1
2
3
退出容器
exit
1
docker重启后 某些项目无法打开可以根据以下方法重启即可
问题在这:
停掉docker服务的时候 同时也停掉了容器下面的相关软件(php apche nginx mysql等) 所以当然访问不了项目

解决思路:
重启一下这些停掉的软件就可以了

我用的宝塔面板装的docker 又在docker容器里面装的宝塔

所以当我停掉docker的时候连容器的宝塔都停掉了 所以先要重启容器下的宝塔 再到宝塔里面去启动相关的软件

[root@VM-16-15-centos ~]# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
b66e4768dd10 centos:7 “/bin/bash” 5 hours ago Up About a minute 0.0.0.0:211->21/tcp, 0.0.0.0:221->22/tcp, 0.0.0.0:801->80/tcp, 0.0.0.0:4431->443/tcp, 0.0.0.0:33061->3306/tcp, 0.0.0.0:8881->8888/tcp docker_test
[root@VM-16-15-centos ~]# sudo docker exec b66e4768dd10 /etc/init.d/bt start
Starting Bt-Panel…. done
Starting Bt-Tasks… done
[root@VM-16-15-centos ~]#
1
2
3
4
5
6
7
sudo docker exec 你的容器ID /etc/init.d/bt start

以上命令就已经重启了容器下面的宝塔 可以去登录宝塔 打开软件了

一个个打开就可以正常访问到项目了

当然你没用宝塔 或者不用想用宝塔 也可以直接在宿主机上直接输入命令重启这些软件是一样的 只要能启动这些服务就行

sudo docker exec 567cb5e101d4 /etc/init.d/bt start && sudo docker exec b66e4768dd10 /etc/init.d/httpd start && sudo docker exec b66e4768dd10 /etc/init.d/php-fpm-74 start && sudo docker exec b66e4768dd10 /etc/init.d/mysqld start
1
需要重启那些软件就在宿主机上运行相对应的代码就行

[root@VM-16-15-centos ~]# sudo docker exec b66e4768dd10 /etc/init.d/httpd start && sudo docker exec b66e4768dd10 /etc/init.d/php-fpm-74 start && sudo docker exec b66e4768dd10 /etc/init.d/mysqld start
start apache… done
Starting php-fpm [07-Jul-2022 16:49:55] ERROR: Another FPM instance seems to already listen on /tmp/php-cgi-74.sock
[07-Jul-2022 16:49:55] ERROR: FPM initialization failed
failed
[root@VM-16-15-centos ~]# sudo docker exec b66e4768dd10 /etc/init.d/mysqld startStarting MySQL SUCCESS!
[root@VM-16-15-centos ~]#
1
2
3
4
5
6
7
文章知识点与官方知识档案匹配,可进一步学习相关知识
————————————————
版权声明:本文为CSDN博主「hbwxszj」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/hbwxszj/article/details/126145257

linux目录及用途

/usr

系统级的目录,可以理解为 C:/Windows/ , /usr/lib 可理解为 C:/Windows/System32 。

/usr/local

用户级的程序目录,可以理解为 C:/Progrem Files/ 。用户自己编译的软件默认会安装到这个目录下。

/opt

用户级的程序目录,可以理解为 D:/Software , opt 有可选的意思,这里可以用于放置第三方大型软件(或游戏),当你不需要时,直接 rm -rf 掉即可。

在硬盘容量不够时,也可将 /opt 单独挂载到其他磁盘上使用。

源码放哪里?

/usr/src

系统级的源码目录。

/usr/local/src

用户级的源码目录。

拓展:

/opt

这里主要存放那些可选的程序。你想尝试最新的firefox测试版吗?那就装到/opt目录下吧,这样,当你尝试完,想删掉firefox的时候,你就可 以直接删除它,而不影响系统其他任何设置。安装到/opt目录下的程序,它所有的数据、库文件等等都是放在同个目录下面。

举个例子:刚才装的测试版firefox,就可以装到/opt/firefox_beta目录下,/opt/firefox_beta目录下面就包含了运 行firefox所需要的所有文件、库、数据等等。要删除firefox的时候,你只需删除/opt/firefox_beta目录即可,非常简单。

/usr/local

这里主要存放那些手动安装的软件,即不是通过“新立得”或apt-get安装的软件。它和/usr目录具有相类似的目录结构。让软件包管理器来管理/usr目录,而把自定义的脚本(scripts)放到/usr/local目录下面,我想这应该是个不错的主意。

常用目录及用途

/bin 存放二进制可执行文件(ls,cat,mkdir等),常用命令一般都在这里。

/etc 存放系统管理和配置文件

/home 存放所有用户文件的根目录,是用户主目录的基点,比如用户user的主目录就是/home/user,可以用~user表示

/usr 用于存放系统应用程序,比较重要的目录/usr/local 本地系统管理员软件安装目录(安装系统级的应用)。这是最庞大的目录,要用到的应用程序和文件几乎都在这个目录。

/usr/x11r6 存放x window的目录

/usr/bin 众多的应用程序  

/usr/sbin 超级用户的一些管理程序  

/usr/doc linux文档  

/usr/include linux下开发和编译应用程序所需要的头文件  

/usr/lib 常用的动态链接库和软件包的配置文件  

/usr/man 帮助文档  

/usr/src 源代码,linux内核的源代码就放在/usr/src/linux里  

/usr/local/bin 本地增加的命令  

/usr/local/lib 本地增加的库

/opt 额外安装的可选应用程序包所放置的位置。一般情况下,我们可以把tomcat等都安装到这里。

/proc 虚拟文件系统目录,是系统内存的映射。可直接访问这个目录来获取系统信息。

/root 超级用户(系统管理员)的主目录(特权阶级^o^)

/sbin 存放二进制可执行文件,只有root才能访问。这里存放的是系统管理员使用的系统级别的管理命令和程序。如ifconfig等。

/dev 用于存放设备文件。

/mnt 系统管理员安装临时文件系统的安装点,系统提供这个目录是让用户临时挂载其他的文件系统。

/boot 存放用于系统引导时使用的各种文件

/lib 存放跟文件系统中的程序运行所需要的共享库及内核模块。共享库又叫动态链接共享库,作用类似windows里的.dll文件,存放了根文件系统程序运行所需的共享文件。

/tmp 用于存放各种临时文件,是公用的临时文件存储点。

/var 用于存放运行时需要改变数据的文件,也是某些大文件的溢出区,比方说各种服务的日志文件(系统启动日志等。)等。

/lost+found 每个分区默认都有一个 lost+found 目录,用来存放 fsck 过程中部分修复的文件的。

 转载于:https://www.w3h5.com/post/336.html

QingLong-tips

方法一: 在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 即可打开使用了

pipinstall失败问题解决

结果error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools”: https://visualstudio.microsoft.com/visual-cpp-build-tools/

虽然网上有别人提高的办法。如安装证书,或者从Internet下载。参考链接https://blog.csdn.net/qq_15158911/article/details/107887490

然而我的都不可以。

我上网搜一下Microsoft C++ Build Tools。找到https://visualstudio.microsoft.com/zh-hant/visual-cpp-build-tools/。

这里有C++的编译器。想着会不会这样安装也可以。本着死马当活马医。下载了vs_buildtools

感动。终于可以了。

————————————————
版权声明:本文为CSDN博主「fartisan」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/vans05/article/details/116994443

TensorFlow

reffer:使用 pip 安装 TensorFlow (google.cn)

为方便学习,虚拟机安装。否则win系统极度渴望空间。

创建虚拟环境(推荐)

Python 虚拟环境用于将软件包安装与系统隔离开来。

创建一个新的虚拟环境,方法是选择 Python 解释器并创建一个 ./venv 目录来存放它:

1
python3 -m venv --system-site-packages ./venv

使用特定于 shell 的命令激活该虚拟环境:

1
source ./venv/bin/activate  # sh, bash, or zsh

当虚拟环境处于有效状态时,shell 提示符带有 (venv) 前缀。

在不影响主机系统设置的情况下,在虚拟环境中安装软件包。首先升级 pip

切换到新的环境

界面切换方法:

启动Anaconda Navigator->点击Enviorments->点击新建的环境->单击小箭头-> 选择Open Terninal

命令行切换方法:

1.查看已有环境:conda info -e(注意*代表当前选择的环境)

2.切换环境:conda activate $环境名
3.取消环境:conda deactivate

conda activate tensorflow2.0

C盘清理

方法:

​ 1、清理大文件

​ 2、映射

​ 3、磁盘清理(过于easy,不解释)

​ 1、C盘文件查找,筛选文件大小(win7+=默认支持,第三方工具亦可)

​ C:\Users\henry\AppData

​ Local LocalLow Roaming 删除的软件的文件,Temp可以清理,其他审慎

​ 2、发现了一个TMD大文件

​ C:\Recovery\Customizations\USMT.ppkg

​ 这个玩意貌似是什么动态加载啊什么的,搞不清楚

复制 Installer 目录到 D 盘:

robocopy “C:WindowsInstaller” “D:WindowsInstaller” /E /COPYALL /XJ

强制删除 Installer 目录:

rmdir “C:WindowsInstaller” /S /Q

创建 C 盘下的 User 的软件链接,链接到 D 盘 User 目录:

mklink /J “C:RecoveryCustomizations” “D:RecoveryCustomizations”

usmt.ppkg 处理方法同上!
————————————————
版权声明:本文为CSDN博主「weixin_39669163」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/weixin_39669163/article/details/111540657

不过后来我一看,这不系统回复用的吗?直接干掉呵呵呵。

再水一篇

,