elasticsearch 5.1.1无法安装elasticsearch-head?

elastic search 5.1.1 unable to install elasticsearch-head?

我刚刚使用 brew install elasticsearch 在我的 mac 上安装了最新的 elasticseach,它可以 运行 我可以看到来自 localhost:9200.[=15= 的内容]

但我尝试为其安装网络浏览器。所以堆栈溢出说 elasticsearch/bin 文件夹下有一个 "plugin" 命令。但似乎这是对非常旧版本的 Elasticsearch 的回答。现在只有一个/usr/local/Cellar/elasticsearch/5.1.1/libexec/bin/elasticsearch-plugin,而我失败了:

elasticsearch-plugin install mobz/elasticsearch-head

没有成功。但是如何实现呢? 非常感谢。

ES 5.x 不再支持

elasticsearch-head。在这里查看更多详细信息:https://github.com/mobz/elasticsearch-head#running-as-a-plugin-of-elasticsearch-deprecated

for Elasticsearch 5.x: site plugins are not supported. Run as a standalone server

并且您需要将其与 standalone server option 一起使用。

除了 Andrei 所说的之外,您还可以安装另一个名为 cerebro 的独立工具:https://github.com/lmenezes/cerebro

它出自当时为以前的 ES 版本(2.x 及之后)开发 kopf plugin 的同一作者。

基本上,UI 与 Kopf 插件完全相同,但作为独立的 Scala 应用程序。