Install elasticsearch6.2.4 under Windows

Source: Internet
Author: User

Install Elasticsearch under Window

Environment to build the environment1, JDK Environment 2, ELASTICSEARCH3, GIT Environment 4, node installation package Second, the construction of the environment1, Decompression Elasticsearch compression package 2, window under the Bin directory, open the Elasticsearch.bat file
3, this time explains Elasticsearch environment construction success
4, will download the good node installs, the strength does not put in the Elasticsearch directory 5, adds node to the environment variable 6, grunt is a very convenient construction tool, can carry on the packing compression, the test, the execution and so on work, The 5.0-in head plugin was launched through grunt. So you need to install Grunt: note: To switch to the directory of node to manipulate the steps
NPM install-g GRUNT-CLI
-G represents a global installation. The installation path is C:\USERS\YOURNAME\APPDATA\ROAMING\NPM and the path variable is automatically added. After the installation is complete, check:
7, test grunt whether the installation is successful grunt-version8, from git download the head of the source git clone Git://github.com/mobz/elasticsearch-head.git9, modify the information inside the head

10, start Elasticsearch11, execute NPM install statement in the Head directory (time will be a bit long, the error is re-executed again) 12, the last in the head directory to start Nodejs, perform grunt service, 13, visit the Web http://localhost:9100

Finally ES was built successfully. added in Elasticsearch.yml, Local is available


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

Install elasticsearch6.2.4 under 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.