Windows 下安装 Elasticsearch 2.0.0
1. 下载 elasticsearch-2.0.0
2. 解压并安装
解压后运行 bin 目录下的 elasticsearch.bat
3. 打开首页
安装后打开 http://localhost:9200/ 会显示如下信息
js
{
"name" : "Blackwulf",
"cluster_name" : "elasticsearch",
"version" : {
"number" : "2.0.0",
"build_hash" : "de54438d6af8f9340d50c5c786151783ce7d6be5",
"build_timestamp" : "2015-10-22T08:09:48Z",
"build_snapshot" : false,
"lucene_version" : "5.2.1"
},
"tagline" : "You Know, for Search"
}
4. 安装 head 插件
新打开一个 cmd 窗口 cd 到 bin 目录(或者从 https://github.com/mobz/elasticsearch-head 下载后解压把文件复制到 plugins/head 目录)
bash
plugin install mobz/elasticsearch-head
5. 查看 head 插件效果
打开 http://localhost:9200/_plugin/head/ 查看效果