在 Windows 上安装 elasticsearch-head

Installation elasticsearch-head on Windows

我安装了 Elasticsearch 5.6,当我安装 Web 前端 elasticsearch-head 时:

C:\elasticsearch\elasticsearch\bin>plugin -install mobz/elasticsearch-head

它return:

'plugin' n’est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes

知道安装了java。

请帮忙。 谢谢

Elastic's documentation for installing plugins

首先,您使用的语法适用于 5.x 之前的 Elastic 版本,因此您在此处使用的命令将不起作用。

Documentation for the plugin you're trying to install 明确声明不再支持将安装作为 ElasticSearch 的插件 5.x 及更高版本。

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

如果您打算使用 5.x,则需要使用插件的内置服务器 运行。插件文档 here.

尝试使用以下命令, elasticsearch-plugin -install mobz/elasticsearch-head