In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "how to set the access account password in kibana". Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Now let the editor take you to learn "how to set the access account password in kibana"!
Step 1: install nginx on the virtual machine
[avatar@search3.es.test.bj1 ~] $sudo yum install nginx has been installed: nginx.x86_64 0virtual 1.6.2-23.el6.art is installed as a dependency: GeoIP.x86_ 64 0 1.el6 GeoIP-GeoLite-data.noarch 1.6.5-2.el6 GeoIP-GeoLite-data-extra.noarch 014 2015.04-2.el6 geoipupdate.x86_64 0 2.el6 geoipupdate.x86_64 2.2.1-2.el6 over!
Step 2: view the nginx version
[avatar@search3.es.test.bj1 ~] $nginx-vnginx version: nginx/1.6.2
Step 3: install password Manager
[avatar@search3.es.test.bj1 ~] $sudo yum install httpd-tools has been installed: httpd-tools.x86_64 0VR 2.2.15-69.el6.centos is over!
Step 4: generate a password
[avatar@search3.es.test.bj1 ~] $sudo htpasswd-c / etc/nginx/htpasswd.users demo_userNew password: Re-type new password: Adding password for user demo_user
Step 5: configure the nginx proxy kibana and log in to verify
[avatar@search3.es.test.bj1 ~] $sudo vim / etc/nginx/conf.d/default.conf server {listen 80; # Open port 80 server_name _; # charset koi8-r; # access_log logs/host.access.log main; location / {# root / usr/share/nginx/html; # index index.html index.htm; # example # ModSecurityEnabled on # ModSecurityConfig / etc/nginx/modsecurity.conf; auth_basic "Please input password"; auth_basic_user_file / etc/nginx/htpasswd.users; proxy_pass http://10.1.34.104:5601; # here is configured as the address you need to visit: proxy_read_timeout 90; proxy_connect_timeout 90; proxy_set_header Host $host Proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Proxy ";} error_page 404 / 404.html; location = / 404.html {root / usr/share/nginx/html;}}
Step 6: restart the nginx service to implement login verification
[avatar@search3.es.test.bj1 ~] $sudo service nginx restart
Step 7: visit kibana
Http://10.1.34.104/app/monitoring#/overview?_g=(cluster_uuid:A0o2TYolT8e1985bybup5A)
Step 8: end
Note:
Shut down the kibana5601 port
Direct access without port number
At this point, I believe you have a deeper understanding of "how to set the access account password in kibana". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
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.