######前几天操作失误,导致配置文件重置 配置文件从备份恢复方法: 在设置页面定时设定里增加下面一行,保存后会自动更新,:
######更新时间为每小时的第22分钟 ######手动恢复:下载putty 登陆后输入 cd config/bak 然后输入 ls 察看最后的config.sh文件备份,如config.sh_2021-9-6-6-23-164 ##然后输入命令:cp ######/root/jd/config/bak/config.sh_2021-9-6-6-23-164 /root/jd/config/config.sh -f 回车即可恢复手动恢复:
简单说明 xianyu或pdd 买一个fei xun 的N1盒子,大约140左右, 要求卖家装上openwrt系统, 只要电源线盒子即可,网线自备,然后电脑通过网线连盒子,盒子可以连无线路由器. 电脑下载putty,用putty连接盒子 地址192.168.1.1 端口 22 输入下面命令,按提示操作
jd-shell 一键安装命令:
wget https://gitee.com/xr2021/jd-shell/raw/v3/install_scripts/docker_install_jd.sh -O docker_install_jd.sh && chmod +x docker_install_jd.sh && bash docker_install_jd.sh
建议所有选项选默认,完成后
进控制面板 盒子ip:5678 通常 192.168.1.1:5678 用户名密码 admin/admin5678 添加cookie 设定运行时间,运行后获得互助码,通过设置自行填写好互助码。
如果控制面板无法进入,需要额外设置, 可以手动进入容器: docker exec -it jd /bin/bash 然后输入命令打开 面板 bash jd.sh panelon
##############请通过面板将自己需要互助的助力码填写好,内置助力码,未填写会给内置助力码助力!!!!!!#############
回浏览器输入192.168.1.1:5678 用户名密码 admin/admin5678 前面的版本是admin/amdinadmin 添加cookie 设定运行时间,
为方便管理,建议安装portainer,用下面命令安装,:
docker pull portainer/portainer
docker run -d -p 9000:9000 -v /root/portainer:/data -v /var/run/docker.sock:/var/run/docker.sock --name dev-portainer portainer/portainer
完成后输入IP地址:9000 进入portainer