Elasticsearch 6.0:如何安装许可证插件
Elasticsearch 6.0: how to install license plugin
我全新安装了 Elasticsearch 运行ning,并安装了 X-pack。我正在尝试从 Getting Started with Sheild 安装 sheild。如果我从 /usr/local/elasticsearch
(OS X) 运行 bin/plugin install license
,我得到 No such file or directory
。的确,没有bin/plugin
目录。
如果我按照 Installing Plugins,从 sudo bin/elasticsearch-plugin install [plugin_name]
,我得到一个命令和选项列表,但它看起来不像任何安装。
Shield 入门部分确实提到了 ES_HOME
,但没有解释这是什么。
如何将许可证插件安装到 Elasticsearch 中?
据我所知,Shield 现在是 X-pack 的一部分,您不需要安装它。但仅通过 license endpoint:
获得许可
curl -XPUT -u elastic 'http://<host>:<port>/_xpack/license' -H "Content-Type: application/json" -d @license.json
我全新安装了 Elasticsearch 运行ning,并安装了 X-pack。我正在尝试从 Getting Started with Sheild 安装 sheild。如果我从 /usr/local/elasticsearch
(OS X) 运行 bin/plugin install license
,我得到 No such file or directory
。的确,没有bin/plugin
目录。
如果我按照 Installing Plugins,从 sudo bin/elasticsearch-plugin install [plugin_name]
,我得到一个命令和选项列表,但它看起来不像任何安装。
Shield 入门部分确实提到了 ES_HOME
,但没有解释这是什么。
如何将许可证插件安装到 Elasticsearch 中?
据我所知,Shield 现在是 X-pack 的一部分,您不需要安装它。但仅通过 license endpoint:
获得许可curl -XPUT -u elastic 'http://<host>:<port>/_xpack/license' -H "Content-Type: application/json" -d @license.json