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