1、去官网下载elasticsearch-6.6.1
官网地址:https://www.elastic.co/cn/downloads/elasticsearch
2、解压安装
解压文件进入到bin/目录下执行elasticsearch.bat
执行完后访问http://localhost:9200/验证是否安装成功
到此成功安装完。
附:
使用sense插件请求时出现的问题
{“error”:”Content-Type header [application/x-www-form-urlencoded] is not supported”,”status”:406}#
可以采用下面的插件,下面的插件是某位博主自己对插件进行封装过的。详情见:
https://blog.youkuaiyun.com/xieshanwu/article/details/78667881
sense插件 https://pan.baidu.com/s/1bo3SlQJ