1. Install elasticsearch 6.2.4
Before installing es, you must first configure the JDK environment. The author is that jdk1.8 can support most of the current es versions. If you are interested, you can also check it out: https://www.elastic.co/cn/support/matrix# matrix_jvm
2. Download and install es
1. Go to the official website of es and download the corresponding version by yourself. The author chooses es6.2.4
https://www.elastic.co/cn/downloads/past-releases#elasticsearch
2. After decompression, enter the es directory of Click elasticsearch.bat, enter http://127.0.0.1:9200 in the browser , the following screen appears to indicate successful installation, the author installs the JSON-handle plug-in can automatically parse the JSON string, very easy to use, it is also recommended to use
3. Install IK participle
1. Select the same IK download source code as the es version, the website https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v6.2.4/elasticsearch-analysis-ik-6.2.4.zip
or directly Find on git: https://github.com/medcl/elasticsearch-analysis-ik/releases
2. Copy the decompressed ik to the plugins directory of
es 3. Restart es, see the startup log with the following information as Successful installation
4. Install the head plugin
1. Head plugin download address, https://github.com/mobz/elasticsearch-head
unzip to any directory, but it must be distinguished from the installation directory of elasticsearch , you can also like the author
2. Because grunt is required to run the head plugin Command, while the grunt command needs to be in an environment with node.js. So need to configure node.js and grunt environment.
3.node.js download https://nodejs.org/en/download/ I choose windows 64bit msi here
4. After node installation is complete, use node -v name to check whether the installation is successful,
install grunt command: npm install -g grunt-cli, after the installation is complete, use the command: grunt -version to check whether the installation is successful. It
takes a long time to configure the node environment, and you need to wait patiently
5. After the installation is complete, press and hold shift in the head directory and right-click to open it dodc command line, enter grunt server or npm run start to run the head plugin