摘要:
crontab -e //系统命令 00 08 * * * root systemctl restart docker00 08 * * * root reboot //写入需要重启的东西 查看是否执行 cd /var/log cat -n cron | tail -n 500 阅读全文
摘要:
问题: Can't open the append-only file Permission denied 发现缺少文件:/data/缺少appendonly.aof,dump.rdb文件。 手动创建文件:appendonly.aof,dump.rdb 进行手动提权至666: 阅读全文
摘要:
制作微信支付发现回调有问题: docker-compose中接口要映射对应地址 然后再进行访问 阅读全文
摘要:
首先进入docker镜像: 然后添加curl命令 最后在使用 curl -d localhost:8090+路由 测试本地镜像映射是否可用 阅读全文
摘要:
游戏支付提交到微信的post: 微信: https://pay.weixin.qq.com/wiki/doc/api/micropay.php?chapter=23_4 错误信息: 解决方法: 跳过验证方法 阅读全文
摘要:
mac本地安装 https://www.jianshu.com/p/a2deaab7c0e1 修改文件用户写入权限 chown 1001.root appendonly.aof 查看用户 cat /etc/passwd 删除所有Key,可以使用Redis的flushdb和flushall命令 //删 阅读全文
摘要:
db.xxx.stats() 查看表的大小 db.xxx.remove({'endtime':{'$lte':ISODate('2018-10-01')}}) 删除小于等于固定时间的数据。 db.user.update({'name':'zhangsan'},{$set:{'age': 21}},{ 阅读全文
摘要:
临时修改: 永久修改 阅读全文
摘要:
vim /etc/docker/daemon.json 添加 { "insecure-registries":["hub.xxxxx.com"] } 重启 docker systemctl restart docker.service 1、redis服务没有起来,查看信息 查询网上信息,发现是权限不 阅读全文
摘要:
golang中windows交叉编译 打包镜像 Docker 中访问私人仓库 查看两个文件的Dockerfile制作镜像过程是否相同 docker history --no-trunc 5fb83f9048c8 阅读全文