Mac 安装 ElasticSearch

安装包下载 写道
https://www.elastic.co/downloads/elasticsearch
解压运行 cd到安装目录启动 写道
sudo bin/elasticsearch
浏览器中访问http://localhost:9200/,看到一个json结果集,表明安装成功:
{
  "name" : "The Destroyer",
  "cluster_name" : "elasticsearch",
  "version" : {
     "number" : "2.3.2",
     "build_hash" :        "b9e4a6acad4008027e4038f6abed7f7dba346f94",
     "build_timestamp" : "2016-04-21T16:03:47Z",
     "build_snapshot" : false,
     "lucene_version" : "5.5.0"
  },
  "tagline" : "You Know, for Search"
}
 

插件安装

这里推荐使用elasticsearch-head
sudo bin/plugin install mobz/elasticsearch-head
重启ES,浏览器中访问http://localhost:9200/_plugin/head/,验证是否成功:

相关推荐