紫鼠小窝 - DDNS
type: channel
link: https://www.puguying.cn/tag/DDNS/
items: 安卓旧手机利用，linuxdeploy使用教程
items: 常用脚本

安卓旧手机利用，linuxdeploy使用教程
type: item
date: 2023-03-07T00:59:00+08:00
description: 安装linuxdeploy下载地址作者镜像官方github配置linuxdeploy我选择的是debian，安装源使用的华为云https://mirrors.huaweicloud.com/debian/配置linux修改ssh秘钥和端口bash <(curl -fsSL wj.puguying.cn/key.sh) -p 22 -g xiayikechun -d注:-p为修改端口 -g为github用户秘钥 -d为关闭密码登录安装ddns动态域名解析mkdir /home/ddns wget https://jb.puguying.cn/ddns/ddns && chmod +x ddns && ./ddns -s install安装alist网盘目录使用官网脚本一键安装mkdir /home/alist # 安装 curl -fsSL "https://alist.nn.ci/v3.sh" | bash -s install /home/alist # 升级 curl -fsSL "https://alist.nn.ci/v3.sh" | bash -s update /home/alist # 卸载 curl -fsSL "https://alist.nn.ci/v3.sh" | bash -s uninstall /home/alist安装message-pusher消息推送mkdir /home/message wget wj.puguying.cn/message-pusher && chmod u+x message-pusher安装frpmkdir /home/frp wget https://wj.puguying.cn/frpc && chmod +x frpc配置frpc.ini[common] server_addr = frps ip server_port = frps 端口 log_file = /home/frp/frpc.log log_level = info log_max_days = 3 token = 密码 login_fail_exit = false [jg-http-al] privilege_mode = true type = http local_ip = 127.0.0.1 local_port = 5242 custom_domains = al.puguying.ml use_encryption = false use_compression = true [jg-hrrps-al] privilege_mode = true type = https local_ip = 127.0.0.1 local_port = 5243 custom_domains = al.puguying.ml use_encryption = false use_compression = true [jg-http-ddns] privilege_mode = true type = http local_ip = 127.0.0.1 local_port = 9874 custom_domains = ddns.puguying.ml use_encryption = false use_compression = true [jg-hrrps-ddns] privilege_mode = true type = https local_ip = 127.0.0.1 local_port = 9875 custom_domains = ddns.puguying.ml use_encryption = false use_compression = true [jg-http-ql] privilege_mode = true type = http local_ip = 127.0.0.1 local_port = 5701 custom_domains = ql.puguying.ml use_encryption = false use_compression = true [jg-hrrps-ql] privilege_mode = true type = https local_ip = 127.0.0.1 local_port = 5702 custom_domains = ql.puguying.ml use_encryption = false use_compression = true [jg-http-sp] privilege_mode = true type = http local_ip = 127.0.0.1 local_port = 4002 c…

常用脚本
type: item
date: 2023-02-14T01:06:00+08:00
description: 自用脚本备份1.来自stilleshan大佬的FRP脚本FRPS Linux 服务器 一键脚本安装本脚本目前同时支持 Linux X86 和 ARM 架构安装wget https://raw.githubusercontent.com/xiayikechun/jiaoben/frp/azfrpc.sh && chmod +x azfrpc.sh && ./azfrpc.sh以下为国内镜像wget https://jb.puguying.cn/frp/azfrpc.sh && chmod +x azfrpc.sh && ./azfrpc.sh使用vi /usr/local/frp/frpc.ini # 修改 frpc.ini 配置 sudo systemctl restart frpc # 重启 frpc 服务即可生效卸载wget https://raw.githubusercontent.com/xiayikechun/jiaoben/frp/xzfrpc.sh && chmod +x xzfrpc.sh && ./xzfrpc.sh以下为国内镜像wget https://jb.puguying.cn/frp/xzfrpc.sh && chmod +x xzfrpc.sh && ./xzfrpc.shFRPS安装wget https://raw.githubusercontent.com/xiayikechun/frp/azfrps.sh && chmod +x azfrps.sh && ./azfrps.sh以下为国内镜像wget https://jb.puguying.cn/frp/azfrps.sh && chmod +x azfrps.sh && ./azfrps.sh使用vi /usr/local/frp/frps.ini # 修改 frps.ini 配置 sudo systemctl restart frps # 重启 frps 服务即可生效卸载wget https://raw.githubusercontent.com/xiayikechun/frp/xzfrps.sh && chmod +x xzfrps.sh && ./xzfrps.sh以下为国内镜像wget https://jb.puguying.cn/frp/xzfrps.sh && chmod +x xzfrps.sh && ./xzfrps.shfrps相关命令sudo systemctl start frps # 启动服务 sudo systemctl enable frps # 开机自启 sudo systemctl status frps # 状态查询 sudo systemctl restart frps # 重启服务 sudo systemctl stop frps # 停止服务2.一键修改服务器秘钥登录bash <(curl -fsSL jb.puguying.cn/sshmy/key.sh) -g xiayikechun -dbash <(curl -fsSL https://raw.githubusercontent.com/xiayikechun/jiaoben/sshmy/key.sh) -g xiayikechun -d-o - 覆盖模式，必须写在最前面才会生效-g - 从 GitHub 获取公钥，参数为 GitHub 用户名-u - 从 URL 获取公钥，参数为 URL-f - 从本地文件获取公钥，参数为本地文件路径-p - 修改 SSH 端口，参数为端口号-d - 禁用密码登录3.DDNS-GOwget https://raw.githubusercontent.com/xiayikechun/ddns/ddns && chmod +x ddns && ./ddns -s install以下为国内镜像wget https://jb.puguying.cn/ddns/ddns && chmod +x ddns && ./ddns -s install