1、保证jdk环境
下载elasticsearch
https://www.elastic.co/downloads/elasticsearch
解压2份,修改config/elasticsearch.yml的node.name节点
2、安装head插件
下载elasticsearch-head-master.zip,解压到elasticsearch/plugins下,重命名为head
或者安装marvel,下载marvel-1.3.1.zip,解压到elasticsearch/plugins下,重命名为marvel,从head下拷贝plugin-descriptor.properties在marvel目录下
3、启动,在bin目录下双击elasticsearch.bat