openwrt通过opkg安装rsync | rsync基本用法介绍教程

安装 rsync 是 remote sync 的意思,本文讨论的使用场景还是在本地拷贝文件,用来替代 cp 和 mv。如果需要通过 rsync 同步其他服务器中的文件,请看文末的引用文章。 rsync - 3.2.3-3 - rsync is a program that allows files to be copied to and from remote machines in much the same way as rcp. It has many more options than rcp, and uses the rsync remote-update protocol... 阅读全文 »

docker安装bitwardenrs并配置ssl,设置cloudflare反向代理 cdn加速 再设置禁用新用户注册并隐藏首页注册按钮

更新 2021-08-24 12:34:36 update 官方的 bitwardenrs docker image 移步了。最新的是:https://hub.docker.com/r/vaultwarden/server 原来的 https://hub.docker.com/r/bitwardenrs/server is deprecated 原文 首先docker的安装没什么好说的,我本次是在centos7 vps上进行的安装。web服务器是nginx。bitwardenrs和bitwarden的区别你也肯定知道,不知道搜一下就行了,我们选择拉取 bitwardenrs 镜像。 ... 阅读全文 »

贝壳云P1 armbian 安装 docker

first, curl -fsSL https://get.docker.com -o get-docker.sh and second, sh get-docker.sh --mirror Aliyun armbian 和 ubuntu 一样都是基于 debian。然后你就可以使用 systemctl 管理 docker 了 比如 systemctl start docker systemctl status docker systemctl restart docker end. 阅读全文 »

一次狗东薅羊毛提现到微信钱包失败引发的排查记录,“无效的openId,当前pin尚未绑定微信”错误

一开始的错误日志是这样的: 省钱大赢家之翻翻乐 【京东账号1】xxx 4点:0.32现金 提现至微信钱包失败 详情:{"success":true,"code":0,"errMsg":"success","data":{"status":"50053","message":"无效的openId,当前pin尚未绑定微信"}} 【京东账号2】yyy 4点:0.32现金 提现至微信钱包失败 详情:{"success":true,"code":0,"errMsg":"success","data":{"status":"50053","message":"无效的openId,当前pin尚未绑... 阅读全文 »

写shell脚本监测vps上的frps进程是否存在,不存在自动重启

写下面文本到文件 /home/sftp/check_frps.sh #!/bin/bash # author: hellodk # time: 2021-05-28 16:14:26 # script feature description: check if frps is running, if not, start it function check_frps(){ time3=$(date "+%Y-%m-%d %H:%M:%S") frpsCount=`ps aux | grep "/usr/local/frp/frps -c /usr/local/frp/... 阅读全文 »