我用
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