从 https://www.elastic.co/downloads 下载 elasticsearch-2.3.3.zip;而后解压到安装目录${ES_HOME},进入目录 ${ES_HOME}/bin,运elasticsearch.bat 启动es。在浏览器中输入: http://localhost:9200/ ,若是页面显示如下内容就表示安装成功了:html
{ "name" : "Glob", "cluster_name" : "elasticsearch", "version" : { "number" : "2.3.3", "build_hash" : "218bdf10790eef486ff2c41a3df5cfa32dadcfde", "build_timestamp" : "2016-05-17T15:40:04Z", "build_snapshot" : false, "lucene_version" : "5.5.0" }, "tagline" : "You Know, for Search" }
进入目录 ${ES_HOME}/bin,执行:git
plugin install mobz/elasticsearch-head
重启es, 而后在浏览器中输入:http://localhost:9200/_plugin/head/ ,若是安装成功,则能够看到:github
若是上述方法安装失败,或致使启动不了,可用如下方法安装:
1)从 https://github.com/mobz/elasticsearch-head 下载包装包、并解压。
2)将解压后的目录下的全部文件复制到 ${ES_HOME}/plugins/head/。浏览器
进入目录 ${ES_HOME}/bin,执行:elasticsearch
plugin install lukas-vlcek/bigdesk
重启es, 而后在浏览器中输入:http://localhost:9200/_plugin/bigdesk/ ,若是安装成功,则能够看到:ui
若是上述方法安装失败,或致使启动不了,可用如下方法安装:
1)从 https://github.com/lukas-vlcek/bigdesk 下载包装包、并解压。
2)将解压后的目录下的全部文件复制到 ${ES_HOME}/plugins/bigdesk/_site/ ,若是没有这个目录,则建立。
3)在${ES_HOME}/plugins/bigdesk/ 下建立文件“plugin-descriptor.properties”, 其内容可参考文件: ${ES_HOME}/plugins/head/plugin-descriptor.properties。.net
集群搭建1插件
集群搭建23d