欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

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

程序员文章站 2022-07-14 08:45:05
...

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的数据查看客户端:

  1.   cd /home/eric/bigdata/ELK/elasticsearch-2.3.4/bin
  2.   ./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/

执行命令及效果如图:

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

 

 

转载于:https://my.oschina.net/sunmin/blog/708217