Windows installation ElasticSearch and ElasticSearch-head plug

Elasticsearch is based on open source Apache Lucene ™ search engine. Whether in the field of open source or proprietary, Lucene can be considered to be by far the most advanced, highest performance, most versatile search engine library.

1. Install ElasticSearch

Prerequisites must be installed on the computer jdk1.8

download

Download: https://www.elastic.co/cn/downloads/elasticsearch
select the version: according to their own system

installation

Unzip the package will be downloaded to the installation directory
Here Insert Picture Descriptionelasticsearch.yml editing config files in the directory
add the following code

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

start up

Click the bin directory elasticsearch.bat
start elasticsearch

In the Server Address http: localhost: 9200 to see the result of initiating
Here Insert Picture Descriptiona successful start

2. Installation ElasticSearch-head plug

download

Download: https://github.com/mobz/elasticsearch-head

installation

The downloaded archive into the installation directory
Here Insert Picture Descriptionopen cmd run npm install install command in the extracted directory
Here Insert Picture Descriptionand then run npm run start
Here Insert Picture Descriptionto open on the page http: localhost: 9100 you can see the cluster information ElasticSearch
Here Insert Picture Description

Published 27 original articles · won praise 9 · views 20000 +

Guess you like

Origin blog.csdn.net/I_Demo/article/details/100563638