https://www.elastic.co/downloads/elasticsearch
建議下載2.3.2版本,最新的5.0.0版本與可視化話工具elasticsearch-head可能不太兼容php
cd到安裝目錄
sudo bin/elasticsearchjson
瀏覽器中訪問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/,驗證是否成功:elasticsearch