Tutorial on setting up ElasticSearch in Window environment,

Source: Internet
Author: User
Tags kibana

Tutorial on setting up ElasticSearch in Window environment,

I. Prepare tools

1. JDK 1.8 and later development kits (no need to build them)

2. elasticsearch-6.0.0

3. elasticsearch-head-master

4. kibana-6.0.0

5. elasticsearch-analysis-ik-6.0.0 (temporarily unavailable)

2. Install Elasticsearch-6.0.0

1. after downloading the elasticsearch-6.0.0, run elasticsearch in the Bin directory. bat file, enable the elasticsearch service, and access https: // localhost: 9200 /. the following subtitles are displayed, indicating that the environment is set up correctly and elasticsearch can run successfully.

{  "name" : "RBtD-6e",  "cluster_name" : "elasticsearch",  "cluster_uuid" : "LTDdW2_hQBircM1tgQCwyg",  "version" : {    "number" : "6.0.0",    "build_hash" : "8f0685b",    "build_date" : "2017-11-10T18:41:22.859Z",    "build_snapshot" : false,    "lucene_version" : "7.0.1",    "minimum_wire_compatibility_version" : "5.6.0",    "minimum_index_compatibility_version" : "5.0.0"  },  "tagline" : "You Know, for Search"}

2. To facilitate cross-origin access of clusters or other plug-ins, modify the elasticsearch. yml file in the config directory and add

http.cors.enabled: truehttp.cors.allow-origin: "*"

3. Install elasticsearch-head-master and manage ElasticSearch on the webpage

After the hosts file is created, https: // localhost: 9200/is automatically connected.

4. Installation of kibana-6.0.0 for index data visualization and Analysis

1. After downloading the kibana-6.0.0, you cannot directly use it. You also need to modify the configuration file to enable the Kibana service. Modify the kibana. yml In the config directory to modify the color font in the figure below.

2. After modifying the configuration file, you can directly start the Kibana service and run the kibana. bat file as an administrator. Access https: // 5601

5. Install the elasticsearch-analysis-ik-6.0.0 for indexing word segmentation (not installed)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.