摘要: 1.设置模块代理:设置环境变量 GOPROXY 的值为代理网址,目前可用的模块公共代理网址有: https://goproxy.io https://goproxy.cn 我用的这个 七牛云提供的https://mirrors.aliyun.com/go... https://mirrors.clo 阅读全文
posted @ 2020-01-08 17:03 赵雪如 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 运行文件时报错 verifying github.com/mattn/go-isatty@v0.0.10-0.20190818123653-bf9a1dea1961/go.mod: github.com/mattn/go-isatty@v0.0.10-0.20190818123653-bf9a1de 阅读全文
posted @ 2020-01-06 17:55 赵雪如 阅读(861) 评论(0) 推荐(0) 编辑
摘要: 上网上找了好几个例子 都是自己写curl上传 感觉七牛这么多年了不应该sdk不提供一个方法 然后试 试 试 显示put 方式 上传上去 就是个字符串 后来换成文件上传方法 putFile 成了 不废话了贴代码 下面是我模拟给自己服务端请求的数据 阅读全文
posted @ 2019-11-29 16:54 赵雪如 阅读(535) 评论(0) 推荐(0) 编辑
摘要: 1.pack exceeds maximum allowed size 解决办法:git config http.postBuffer 52428800 阅读全文
posted @ 2019-10-28 17:44 赵雪如 阅读(614) 评论(0) 推荐(0) 编辑
摘要: 当前办法仅供参考 贴上报错 找了好久 根据网上办法也试了 没解决 最后 仔细读问题 觉得可能是 hiredis路径问题 终于解决了 解决办法: 进入你的安装包目录然后执行下面 mkdir /usr/lib/hirediscp libhiredis.so /usr/lib/hiredis #将动态连接 阅读全文
posted @ 2019-10-18 16:00 赵雪如 阅读(210) 评论(0) 推荐(0) 编辑
摘要: elasticsearch-head下载地址:https://github.com/mobz/elasticsearch-head 1.git下载 git clone git://github.com/mobz/elasticsearch-head.git 修改 Elasticsearch 配置文件 阅读全文
posted @ 2019-09-05 20:21 赵雪如 阅读(555) 评论(0) 推荐(0) 编辑
摘要: php7.2.9 centos7 nginx.1.16 swoole4.4.4 下载地址 链接:https://pan.baidu.com/s/14p7xIa0ZZigRuYvZxnMsYA 提取码:8qx3 阅读全文
posted @ 2019-08-09 21:22 赵雪如 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 之所以学习他是因为最近换了电脑 又要重新搭环境 很烦躁然后就有了然后 1.先安装 virtualbox2.安装 vagrant3.安装xshell4.重启5.下载系统镜像 (可以去vagrant官网下载)6.进入到镜像目录 执行 vagrant box add 名字 镜像名字7.查看有没有box v 阅读全文
posted @ 2019-08-09 10:32 赵雪如 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 打开 gedit /root/.bashrc ,在文件的末尾添加: source /etc/profile 然后执行更新:source /root/.bashrc 阅读全文
posted @ 2019-08-06 20:51 赵雪如 阅读(658) 评论(0) 推荐(0) 编辑
摘要: 我这里用pip安装的 curl安装一直失败 下面安装步骤如果有失败情况 就尝试在执行一遍命令 我的系统是ubuntu 1. 如果没有安装pip 请先安装pip: apt-get install python-pip 2. 安装docker-compose sudo pip install docke 阅读全文
posted @ 2019-07-07 18:17 赵雪如 阅读(719) 评论(0) 推荐(0) 编辑