目的
适合任何版本
本地搭建es集群,适合任何版本
下载地址
选择 Linux64(TAR) - No JDK 6.8.4
https://elasticsearch.cn/download/
步骤
参考 https://www.elastic.co/guide/en/elasticsearch/reference/6.8/getting-started-install.html
启动
sh /Users/red/tools/elasticsearch-6.8.4/bin/elasticsearch
sh /Users/red/tools/elasticsearch-6.8.4/bin/elasticsearch -Epath.data=data2 -Epath.logs=log2
sh /Users/red/tools/elasticsearch-6.8.4/bin/elasticsearch -Epath.data=data3 -Epath.logs=log3
访问
curl -X GET localhost:9200/_cat/health?v
系统与版本说明
系统:MAC
ZK版本:elasticsearch-6.8.4