1. Download and unzip
Download: https://www.elastic.co/cn/downloads/elasticsearch
2. Run
Run elasticsearch \ bin \ elasticsearch.bat file
When starting a log tells us that we need a version java11.
Since ES is built java, need corresponding jdk version, ES built JDK version \ jdk \ directory elasticsearch.
My local development environment version 1.8, there is not Java_Home modify environment variables, you can modify the configuration file in the ES directory.
Open elasticsearch.bat, adding SET JAVA_HOME = E behind @echo off: \ Java \ elasticsearch-7.3.2 \ jdk
Access HTTP: // localhost: 9200 / , the following message appears on behalf of the successful operation!
* ES supported operating system versions, and JDK version https://www.elastic.co/cn/support/matrix