摘要: ClickHouse常用函数统计 阅读全文
posted @ 2020-10-16 17:09 为什么昵称都叫没了 阅读(640) 评论(0) 推荐(0) 编辑
摘要: REDIS 删除指定库里的数据 redis-cli -n “db” -h “ip” -p “port” keys ‘xxx*’ -a “password” | redis-cli -n “db” -h 192.168.179.127 -p “port” keys ‘xxx*’ -a “passwor 阅读全文
posted @ 2020-06-08 14:27 为什么昵称都叫没了 阅读(504) 评论(0) 推荐(0) 编辑
摘要: 一、查询 find方法 db.collection_name.find(); 查询所有的结果: select * from users; db.users.find(); 指定返回那些列(键): select name, skills from users; db.users.find({}, {' 阅读全文
posted @ 2020-06-06 14:10 为什么昵称都叫没了 阅读(1006) 评论(0) 推荐(0) 编辑
摘要: 当您使用以下运行docker容器时: docker run -d -v /var/lib/mongo:/data/db -v /home/user/mongo.conf:/etc/mongo.conf -p port:port image_name /var/lib/mongo是Host的mongo 阅读全文
posted @ 2020-05-26 19:02 为什么昵称都叫没了 阅读(633) 评论(0) 推荐(0) 编辑
摘要: 安装:yum install firewalld 1、firewalld的基本使用 启动: systemctl start firewalld 查看状态: systemctl status firewalld 禁用,禁止开机启动: systemctl disable firewalld 停止运行: 阅读全文
posted @ 2020-05-07 15:07 为什么昵称都叫没了 阅读(522) 评论(0) 推荐(0) 编辑
摘要: 简介 go module公共代理仓库,代理并缓存go模块。你可以利用该代理来避免DNS污染导致的模块拉取缓慢或失败的问题,加速你的构建 地址 https://goproxy.baidu.com/ 使用帮助 1.使用go1.11以上版本并开启go module机制 export GOPROXY=htt 阅读全文
posted @ 2020-04-30 15:37 为什么昵称都叫没了 阅读(1434) 评论(0) 推荐(0) 编辑
摘要: 使用go get github.com/gin-gonic/gin时候遇到的,由于一些你懂的原因,找不到google.golang.org/protobuf/proto unrecognized import path "google.golang.org/protobuf/encoding/pro 阅读全文
posted @ 2020-04-30 11:51 为什么昵称都叫没了 阅读(3846) 评论(0) 推荐(0) 编辑
摘要: 检查是否已安装docker(docker version)root@VM-32-248-ubuntu:~# docker versionClient: Version: 1.13.1 API version: 1.26 Go version: go1.6.2 Git commit: 092cba3  阅读全文
posted @ 2020-04-01 14:43 为什么昵称都叫没了 阅读(1014) 评论(0) 推荐(0) 编辑