1. 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 ......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................DONEVerifying 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/
执行命令及效果如图: