代码改变世界

随笔档案-2017年01月

elasticsearch 5.1 认证过期 (your license has expired)

2017-01-22 12:55 by DillGao, 8507 阅读, 收藏,
摘要: 首先说一下License过期后的状况: license更新方法: 详细更新信息见官网:https://www.elastic.co/guide/en/x-pack/current/installing-license.html#installing-license 阅读全文

Heka GeoIpDecoder 配置

2017-01-16 14:11 by DillGao, 373 阅读, 收藏,
摘要: Prepare: 配置文件举例: 1 [accesslogs] 2 type = "LogstreamerInput" 3 log_directory = "/home/dill/workspace/test/log/" 4 file_match = 'json\.log' 5 decoder = 阅读全文

Heka 编译安装后 运行报错 panic: runtime error: cgo argument has Go pointer to Go pointer

2017-01-16 10:38 by DillGao, 1555 阅读, 收藏,
摘要: Heka 编译安装后 运行报错 panic: runtime error: cgo argument has Go pointer to Go pointer 解决办法: 1. Start hekad with the GODEBUG variable exported in its environ 阅读全文

github.com/oschwald/maxminddb-golang 安装报错

2017-01-10 17:34 by DillGao, 1402 阅读, 收藏,
摘要: dill@ubuntu-vm:~/workspace/go/src/github.com$ go get github.com/oschwald/maxminddb-golang package golang.org/x/sys/unix: unrecognized import path "gol 阅读全文

Vim 8.0 版本安装方法及添加Python支持

2017-01-10 09:30 by DillGao, 21152 阅读, 收藏,
摘要: 利用Git安装 最简单也是最有效的方法 1. 获取Vim仓库: git clone https://github.com/vim/vim.git 2. 升级到最新的版本: cd vim git pull 3. 安装: cd src make distclean #如果你以前编译过Vim make s 阅读全文

error in config file "/etc/rabbitmq/rabbitmq.config"

2017-01-03 18:22 by DillGao, 3360 阅读, 收藏,
摘要: 记录一次RabbitMQ配置文件配置错误 error信息: dill@ubuntu-vm:/usr/share/doc/rabbitmq-server$ sudo /usr/lib/rabbitmq/bin/rabbitmq-server {"could not start kernel pid", 阅读全文

RabbitMQ模拟器使用方法

2017-01-02 15:36 by DillGao, 1468 阅读, 收藏,
摘要: 同事推荐了一个很好玩的RabbitMQ模拟器,记录一下简要使用方法。 模拟器地址 http://tryrabbitmq.com/ 使用方法: 开始界面: 运行界面: 阅读全文