Install elastic under windows

The only requirement to install Elasticsearch is to install the official new version of Java, address: www.java.com

Create a new user environment variable JAVA_HOME and set the variable value to: C:\Program Files\Java\jdk1.8.0_121

Note: In the Windows system, the meaning of the usage of "% environment variable name%" is to obtain the value of the specified environment variable and create the JAVA_HOME environment variable because the installation of ElasticSearch needs to refer to the Java SE development package.

 Download the latest version of Elasticsearch from  elasticsearch.org\/download .

decompress

Double-click to execute elasticsearch.bat, the script file executes the ElasticSearch installer, wait for a while, open the browser, enter http://localhost:9200, the following appears, the installation is complete

Construction of elasticsearch-head

Unzip the already downloaded elasticsearch-head-master.zip , and install the downloaded node-v9.3.0-x64.msi  at the same time  , cmd->node -v to confirm whether nodejs is safe and successful.

Switch to the unzipped folder of elasticsearch-head-master.

cd c:\elasticsearch-head-master<br>npm install<br>npm start

Open it with a browser, http://localhost:9100/, as long as the following interface appears, it will prove successful.

 

 

 

 

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325767126&siteId=291194637