会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
大表哥
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
···
10
下一页
2018年12月13日
redis持久化文件问题
摘要: 问题: Can't open the append-only file Permission denied 发现缺少文件:/data/缺少appendonly.aof,dump.rdb文件。 手动创建文件:appendonly.aof,dump.rdb 进行手动提权至666:
阅读全文
posted @ 2018-12-13 19:24 liubiaos
阅读(1392)
评论(0)
推荐(0)
2018年11月28日
docker+nginx 微信支付回调
摘要: 制作微信支付发现回调有问题: docker-compose中接口要映射对应地址 然后再进行访问
阅读全文
posted @ 2018-11-28 21:13 liubiaos
阅读(697)
评论(0)
推荐(0)
2018年11月27日
golang+docker 进入镜像测试本地通信
摘要: 首先进入docker镜像: 然后添加curl命令 最后在使用 curl -d localhost:8090+路由 测试本地镜像映射是否可用
阅读全文
posted @ 2018-11-27 16:01 liubiaos
阅读(397)
评论(0)
推荐(0)
2018年11月26日
Golang微信支付跳过X509验证
摘要: 游戏支付提交到微信的post: 微信: https://pay.weixin.qq.com/wiki/doc/api/micropay.php?chapter=23_4 错误信息: 解决方法: 跳过验证方法
阅读全文
posted @ 2018-11-26 16:53 liubiaos
阅读(624)
评论(0)
推荐(0)
2018年11月15日
redis
摘要: mac本地安装 https://www.jianshu.com/p/a2deaab7c0e1 修改文件用户写入权限 chown 1001.root appendonly.aof 查看用户 cat /etc/passwd 删除所有Key,可以使用Redis的flushdb和flushall命令 //删
阅读全文
posted @ 2018-11-15 14:44 liubiaos
阅读(110)
评论(0)
推荐(0)
2018年10月9日
mongodb 指令
摘要: db.xxx.stats() 查看表的大小 db.xxx.remove({'endtime':{'$lte':ISODate('2018-10-01')}}) 删除小于等于固定时间的数据。 db.user.update({'name':'zhangsan'},{$set:{'age': 21}},{
阅读全文
posted @ 2018-10-09 16:19 liubiaos
阅读(177)
评论(0)
推荐(0)
2018年9月28日
修改linux服务器名称
摘要: 临时修改: 永久修改
阅读全文
posted @ 2018-09-28 15:07 liubiaos
阅读(8086)
评论(0)
推荐(0)
2018年9月25日
docker-compose 部分错误
摘要: vim /etc/docker/daemon.json 添加 { "insecure-registries":["hub.xxxxx.com"] } 重启 docker systemctl restart docker.service 1、redis服务没有起来,查看信息 查询网上信息,发现是权限不
阅读全文
posted @ 2018-09-25 12:08 liubiaos
阅读(1647)
评论(0)
推荐(1)
2018年8月31日
go 交叉编译
摘要: golang中windows交叉编译 打包镜像 Docker 中访问私人仓库 查看两个文件的Dockerfile制作镜像过程是否相同 docker history --no-trunc 5fb83f9048c8
阅读全文
posted @ 2018-08-31 20:21 liubiaos
阅读(233)
评论(0)
推荐(0)
2018年8月22日
go 编译protobuf
摘要: 编译go中的protobuf
阅读全文
posted @ 2018-08-22 17:19 liubiaos
阅读(1043)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
10
下一页
公告