Install Elasticsearch under Windows

Source: Internet
Author: User

Prior to the installation, configuration and example of Linux under Elasticsearch, this article installs Elasticserach in a Windows environment. 1. Download

Elasticsearch-2.3.3.zip

2. The JDK environment is required and is not introduced here.

To see if there is a Java environment:

java -version
    • 1
    • 1

3. Unzip

Unzip the elasticsearch2.3.3 to a directory, such as D:\softwares_diy\elasticsearch-2.3.3.

4. Installation

Installation and Startup methods (1)

Enter the D:\softwares_diy\elasticsearch-2.3.3\bin directory, double-click Execute elasticsearch.bat ,

Enter http://localhost:9200 and the following page appears, indicating that the installation was successful.

The name of the JSON on the page is the names of the nodes, the cluster name is Elasticsearch, and other version information.

If you want to stop, CTRL + C

Installation Method (2)

Enter the D:\softwares_diy\elasticsearch-2.3.3\bin directory and execute

start
    • 1
    • 2
    • 1
    • 2

Also open http://localhost:9200 Browse.

To stop the Elasticsearch service, execute service stop to turn off Elasticsearch.

stop
    • 1
    • 1
5. Install the head plugin

Install the head plugin to manage and monitor the status of the cluster on the Web page.

(1) Open the CMD Command Line window of Windows, enter D:\softwares_diy\elasticsearch-2.3.3\bin, execute

d:cd softwares_diy\elasticsearch-2.3.3\binplugin install mobz/elasticsearch-head
    • 1
    • 2
    • 3
    • 1
    • 2
    • 3

As shown,

Browse http://localhost:9200/_plugin/head/, appear,

OK, modify the cluster name, node name, add node, new index, delete index, etc., refer to the article at the beginning of this article.

Install Elasticsearch under Windows

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.