centoss単独版のインストール

1038 ワード

1.wgethttps://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.6.7.tar.gz
2.ストレス解消
3.chown-R hncl elastic search-5.0.7
4./bin/elasticsearch起動
5.入力http://localhost:9200/?pretty
centos es单机版安装_第1张图片
または
 
curl -XGET 'localhost:9200' 
{
  "name" : "Shadow-Hunter",
  "cluster_name" : "elasticsearch",
  "version" : {
    "number" : "2.3.1",
    "build_hash" : "bd980929010aef404e7cb0843e61d0665269fc39",
    "build_timestamp" : "2016-04-04T12:25:05Z",
    "build_snapshot" : false,
    "lucene_version" : "5.5.0"
  },
  "tagline" : "You Know, for Search"
}