上一页 1 2 3 4 5 6 ··· 17 下一页
摘要: 使用mod模式的时候,怎么使用本地的项目,尤其是在使用微服务开发的时候,需要用到service中的pd文件 首先go mod init之后编辑生成的go.mod文件 使用replace替换掉就可以了 module demo/services/xxxxxx go 1.14 require ( demo 阅读全文
posted @ 2020-04-27 16:49 zhjahch 阅读(2173) 评论(0) 推荐(0) 编辑
摘要: go插件安装失败,好多帖子都说是帆樯的问题。 但是,经过测试并不是,其实是一个BUG,按照下面的步骤操作就可以安装了。 1. 在GOPATH中创建文件夹 GOPATH/src/golang.org/x/ 2. cd 进入GOPATH/src/golang.org/x/ 3. 执行命令 git clo 阅读全文
posted @ 2020-04-17 10:51 zhjahch 阅读(679) 评论(0) 推荐(0) 编辑
摘要: 安装一个php框架的时候提示不能在线解压缩 通过phpinfo查看没有加载zip扩展,安装开始。 先安装了一次发现不能make,,,什么情况!!! 提示这个错误,好吧解决。make: *** No targets specified and no makefile found. Stop. 安装这么 阅读全文
posted @ 2019-10-24 16:00 zhjahch 阅读(936) 评论(0) 推荐(0) 编辑
摘要: 相信使用phpstorm的人们都被缓存目录的大小困扰过。怎么修改到其它地方呢? 1. 找到 idea.properties 文件,配置信息都在此文件中,F:\Program Files\JetBrains\PhpStorm 2018.1.6\bin 按照自己的安装目录修改就可以。 2. 3. 图中红 阅读全文
posted @ 2019-09-30 10:44 zhjahch 阅读(3347) 评论(0) 推荐(0) 编辑
摘要: 但是这样会出现 400 Bad Request 错误。 解决方法:rewrite规则放到Directory中 重启apache,OK 阅读全文
posted @ 2019-03-27 15:07 zhjahch 阅读(763) 评论(0) 推荐(0) 编辑
摘要: 1. 修改 IKAnalyzer.cfg.xml 配置文件中的<entry key="remote_ext_dict">http://127.0.0.1/xxx.txt</entry> xxx.txt文件格式: remote_ext_dict该 http 请求需要返回两个头部(header),一个是 阅读全文
posted @ 2019-03-16 16:49 zhjahch 阅读(2059) 评论(0) 推荐(0) 编辑
摘要: 下面是head中操作的截图 #清空索引 POST quality_control/my_type/_delete_by_query?refresh&slices=5&pretty { "query": { "match_all": {} } } 阅读全文
posted @ 2018-12-06 14:49 zhjahch 阅读(33831) 评论(0) 推荐(0) 编辑
摘要: 影响score两种方式都要用到 function_score 1. field_value_factor 2. field_value_factor 阅读全文
posted @ 2018-10-10 13:59 zhjahch 阅读(2271) 评论(0) 推荐(0) 编辑
摘要: 一般这个漏洞都是下面文件,source/function/function_core.php 搜索下面代码: 在此行代码前增加下面代码: 加完代码以后效果: 上传文件,重新进行验证就可以解决。 阅读全文
posted @ 2018-10-10 13:51 zhjahch 阅读(628) 评论(0) 推荐(1) 编辑
摘要: 最近发现mysql总是无故退出,(vim /var/log/mysqld.log)查看日志报下面错误: InnoDB: mmap(68681728 bytes) failed; errno 12 开启swap解决,没办法机器内存太小 阅读全文
posted @ 2018-09-28 11:28 zhjahch 阅读(528) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 17 下一页