How to install elasticsearch5.0.2 in Windows

Source: Internet
Author: User


First, install the Elasticsearch
Download the tarball and unzip it
HttpsArtifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.0.2.zip


Bin\elasticsearch. bat
Note: By default at least2G of memory, if the computer memory is not enough,
Edit CONFIG/JVM. In the options
-xms2g
-xmx2g
For
-xms1g
-xmx1g



Open View
httpLocalhost:9200/


Second, installation Kibana
Download the tarball and unzip it
HttpsArtifacts.elastic.co/downloads/kibana/kibana-5.0.2-windows-x86.zip


Edit File Config/kibana. In Yml
ElasticsearchThe. URL points to the Elasticsearch instance, which is set to http:localhost:9200

Bin\kibana. bat

Open View Kibana
httplocalhost:5601


Third, install X-pack

1. Online Installation:

Bin/elasticsearch-plugin Install X-pack

Start Elasticsearch (Skip this step if you have already started)
Bin/elasticsearch


Bin/kibana-plugin Install X-pack

Start Kibana (Skip this step if you have already started)
Bin/kibana


2 Offline installation X-pack
Offline
HttpsWww.elastic.co/guide/en/x-pack/5.0/installing-xpack.html#xpack-installing-offline

Bin/elasticsearch-plugin Install File:Path/to/file/x-pack-5.0.2.zip

Bin/kibana-plugin Install File:Path/to/file/x-pack-5.0.2.zip



3. Upgrade X-pack

Stop Elasticsearch

Uninstall the old X-pack
Bin/elasticsearch-plugin Remove X-pack

Install the new X-pack
Bin/elasticsearch-plugin install X-pack

Start elasticsearch

Remove X-pack
bin/from Kibana Kibana-plugin remove X-pack

Install Kibana in X-pack
Bin/kibana-plugin install X -pack


4. Uninstall X- Pack
Stop Elasticsearch

Uninstall X-pack
Bin/elasticsearch -plugin remove X-pack

Start Elasticsearch

Remove X-pack
Bin/kibana-plugin remove X-pack

Start Kibana

elasticsearch5.0.2 How to install in Windows

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.