安装步骤:

一、下载地址:https://www.elastic.co/downloads  Elasticsearch的所有版本都有四种打包格式:ZIP、TAR、DEB、RPM,我们使用ZIP就可以了。 

二、

bin:可以执行文件 
config:配置文件 
data:es存放数据的文件 
lib:运行所需类库 
logs:日志文件 
modules:加载模块列表(其实是必要插件) 
plugins:插件文件(需要自定义安装)

注:刚解压的ES并没有这么多目录,只有bin、config、lib、modules,其他都是在第一次运行之后自动生成的。

 

  1. Download and unzip the latest Elasticsearch distribution

    下载最新Elasticsearch版本,解压到指定目录。

    在环境变量中新建    系统变量ES_HOME 这个是解压的地址 和 在Path中 添加&ES_HOME&\bin

  2. Run bin/elasticsearch on Unix or bin\elasticsearch.bat on Windows

    在Unix上运行bin/elasticsearch或者在Windows上运行bin\elasticsearch.bat(命令行,进入 cd E:\ES\elasticsearch-2.3.1\bin 目录或者直接双击elasticsearch.bat运行)

     

    看到这就差不多了

     

     

  3. 在浏览器中输入  http://localhost:9200/ 此时就算完成了

 

 

如果还是搞不定就参考这个https://www.elastic.co/guide/en/elasticsearch/reference/current/zip-windows.html#install-windows