栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 前沿技术 > 大数据 > 大数据系统

ElasticSearch 8.x 默认密码

ElasticSearch 8.x 默认密码

下载WINDOWS版本ES8 解压缩后 使用第一次运行elasticSearch时 会自动进行安全配置
这事在控制台中可以看到有password

-> Elasticsearch security features have been automatically configured!
-> Authentication is enabled and cluster connections are encrypted.

->  Password for the elastic user (reset with `bin/elasticsearch-reset-password -u elastic`):
  RGiwCn4abvxC4CYHNqvU

->  HTTP CA certificate SHA-256 fingerprint:
  d19444a525f78eb2d2cc54dd176a5ba19d622d6f140e172c86efeaccdac3fd3b

->  Configure Kibana to use this cluster:
* Run Kibana and click the configuration link in the terminal when Kibana starts.
* Copy the following enrollment token and paste it into Kibana in your browser (valid for the next 30 minutes):
  eyJ2ZXIiOiI4LjAuMCIsImFkciI6WyIxNzIuMTkuNTEuNjU6OTIwMCIsIjE5Mi4xNjguMzEuMTE6OTIwMCIsIjE5Mi4xNjguMTA2LjE6OTIwMCIsIjE5Mi4xNjguMjMuMTo5MjAwIl0sImZnciI6ImQxOTQ0NGE1MjVmNzhlYjJkMmNjNTRkZDE3NmE1YmExOWQ2MjJkNmYxNDBlMTcyYzg2ZWZlYWNjZGFjM2ZkM2IiLCJrZXkiOiJ6TGhPOTM0QlBfcEVPS3pnVlhocTpNUmg0TnFqcVJvNm45R1ZHSFNPRllnIn0=

->  Configure other nodes to join this cluster:
* On this node:
  - Create an enrollment token with `bin/elasticsearch-create-enrollment-token -s node`.
  - Uncomment the transport.host setting at the end of config/elasticsearch.yml.
  - Restart Elasticsearch.
* On other nodes:
  - Start Elasticsearch with `bin/elasticsearch --enrollment-token `, using the enrollment token that you generated.

如果你已经不是第一次启动,请在log日志中查找即可

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/743016.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号