您的位置:首页 > 其它

elasticsearch 与相关插件安装配置最新版本

2016-07-08 00:00 483 查看
摘要: elasticsearch 插件 安装配置 最新版本

1. elasticsearch安装

下载最新版本

https://www.elastic.co/downloads/elasticsearch

解压到: /home/eric/bigdata/ELK/elasticsearch-2.3.4

启动: cd /home/eric/bigdata/ELK/elasticsearch-2.3.4/

执行命令:bin/elasticsearch

关闭:curl -XPOST localhost:9200/_shutdown

2.插件安装(head)

head,一款H5的数据查看客户端:

cd /home/eric/bigdata/ELK/elasticsearch-2.3.4/bin

./plugin install mobz/elasticsearch-head

执行命令及效果如图:

bin  ./plugin install mobz/elasticsearch-head
-> Installing mobz/elasticsearch-head...
Trying https://github.com/mobz/elasticsearch-head/archive/master.zip ...
Downloading ......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................DONE
Verifying https://github.com/mobz/elasticsearch-head/archive/master.zip checksums if available ...
NOTE: Unable to verify checksum for downloaded plugin (unable to find .sha1 or .md5 file to verify)
Installed head into /home/eric/bigdata/ELK/elasticsearch-2.3.4/plugins/head

浏览器敲入: http://localhost:9200/_plugin/head/
执行命令及效果如图:

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息