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
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
,
Also open http://localhost:9200 Browse.
To stop the Elasticsearch service, execute service stop to turn off Elasticsearch.
stop
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
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