Elasticsearch_Installation_要求用户名和密码

Vai*_*lla 3 elasticsearch

安装 Elasticsearch 并运行elasticsearch.bat 命令后。我需要签入 https:localhost9200。在这里我收到一个提示,要求输入用户名和密码。

有默认的用户名或密码吗???

小智 5

您可以使用生成新密码

/usr/share/elasticsearch/elasticsearch-setup-passwords自动/交互式

交互式是您必须输入所有用户的密码的地方。

auto只会在 shell 上打印密码。

别的

您可以在elasticsearch.yml中关闭x-pack安全性