In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
In this trial, both es and kibana are version 6.6.2 (to prevent differences between different versions)
Docker run-d-- name es-p 9201 docker.elastic.co/elasticsearch/elasticsearch:6.6.2 9200-p 9301 discovery.type=single-node 9300-e
Test whether the es startup is successful on this machine
Curl localhost:9201
If the following json file appears, the startup is successful
{"name": "elasticsearch-0", "cluster_name": "search-app", "cluster_uuid": "FAeqYqKKTgCTd_r_OgYzrg", "version": {"number": "6.6.2", "build_flavor": "default", "build_type": "tar", "build_hash": "04711c2" "build_date": "2018-09-26T13:34:09.098244Z", "build_snapshot": false, "lucene_version": "7.4.0", "minimum_wire_compatibility_version": "5.6.0", "minimum_index_compatibility_version": "5.0.0"}, "tagline": "You Know" For Search "} docker run-it-d-e ELASTICSEARCH_URL=http:// Native ip:9201-- name kibana_test-p 5601 ELASTICSEARCH_URL=http:// 5601 docker.elastic.co/kibana/kibana:6.6.2
Add ELASTICSEARCH_URL environment variable (will overwrite the configuration in es's configuration file)
The native ip here refers to the ip of your docker host, which is not the ip of the container, nor can it be written as localhost,localhost will be resolved to the ip address in the container, which cannot be accessed.
Open a browser to access ip+5601
If there is a Kibana server is not ready yet, just visit it later. If it still doesn't work later, it should be that ELASTICSEARCH_URL is not written correctly.
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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.