In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
After Kibana version 5.5, authentication function is no longer supported, that is to say, you can manage it directly by opening the page. It is not safe to think about it, but the official X-Pack certification is provided, but there is a time limit. After all, X-Pack is a commercial version.
Below I'll show you how to use the Nginx reverse proxy to implement kibana authentication.
Prerequisites:
Centos 7 source code compilation installation Nginx
Install Apache Httpd Password Generator
$ yum install httpd-tools -y
Generate Kibana authentication password
$ mkdir -p /usr/local/nginx/conf/passwd$ htpasswd -c -b /usr/local/nginx/conf/passwd/kibana.passwd Userrenwolecom GN5SKorJAdding password for user Userrenwolecom
Configure Nginx Reverse Proxy
Add the following content to the Nginx configuration file (or include it in the new configuration file):
$ vim /usr/local/nginx/conf/nginx.confserver {listen 10.28.204.65:5601;auth_basic "Restricted Access";auth_basic_user_file /usr/local/nginx/conf/passwd/kibana.passwd;location / {proxy_pass http://10.28.204.65:5601;proxy_http_version 1.1;proxy_set_header Upgrade $http_upgrade;proxy_set_header Connection 'upgrade';proxy_set_header Host $host;proxy_cache_bypass $http_upgrade; }}
Configuring Kibana
Cancel the following comment:
$ vim /usr/local/kibana/config/kibana.ymlserver.host: "10.28.204.65"
Restart Kibana and Nginx services to take effect
$ systemctl restart kibana.service$ systemctl restart nginx.service
Next, the browser visits http://103.28.204.65:5601/ and prompts for verification pop-up window. Enter the user password generated above to log in.
The above is all the content of this article, I hope to help everyone's study, but also hope that everyone a lot of support.
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.