1

我用

brew install elasticsearch

elasticsearch-plugin install x-pack

x-pack路径是/usr/local/Cellar/elasticsearch/6.2.4/libexec/plugins/x-pack

但是,setup-passwords这条路上没有

☁  ~  ls /usr/local/Cellar/elasticsearch/6.2.4/libexec/plugins/x-pack
meta-plugin-descriptor.properties x-pack-graph                      x-pack-monitoring                 x-pack-watcher
x-pack-core                       x-pack-logstash                   x-pack-security
x-pack-deprecation                x-pack-ml                         x-pack-upgrade

我想使用生成默认密码

bin/x-pack/setup-passwords auto

4

1 回答 1

1

the path for setup-passwords command is:

/usr/local/Cellar/elasticsearch/6.2.4/libexec/bin/x-pack/setup-passwords

于 2018-06-01T06:07:45.250 回答