In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces Elasticsearch 7.x how to set user name and password to enable x-pack authentication, the content is very detailed, interested friends can refer to, hope to be helpful to you.
[warm reminder] Cluster is also applicable. You only need to set the password for one of them.
1. Modify elasticsearch configuration file
# enter the config directory under the es installation directory to configure X-Packhttp.cors.enabled: truehttp.cors.allow-origin: "*" http.cors.allow-headers: Authorizationxpack.security.enabled: truexpack.security.transport.ssl.enabled: true
2. Restart the elasticsearch service
Need to set password for elastic, kibana, logstash_system, beats_system
# enter the bin directory cd / usr/local/elasticsearch-7.9.0/bin# to execute the command (not required in the case of windows. /). / elasticsearch-setup-passwords interactive
Modify the kibana configuration file and add the account password
# enter the kibana installation directory cd / usr/local/kibana-7.9.0-linux-x86_64/config# to modify the configuration file vi kibana.yml# to add the configuration elasticsearch.username: "elastic" elasticsearch.password: "123xxx"
Restart the kibana service, log in, and enter the password you just configured
About Elasticsearch 7.x how to set user name and password to enable x-pack authentication to share here, I hope the above content can be of some help to you, you can learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.