ElasticSearch安装
下载
地址:https://www.elastic.co/cn/downloads/elasticsearch
下载MACOS版本
解压
tar -vxf elasticsearch-7.12.0-darwin-x86_64.tar.gz
启动
cd elasticsearch-7.12.0/bin
./elasticsearch
访问
访问本地9200端口,http://127.0.0.1:9200/,返回一下数据,则安装成功
{
"name" : "MacBook-Pro.local",
"cluster_name" : "elasticsearch",
"cluster_uuid" : "KixjVYVsQ9aO2m7YCcFYrA",
"version" : {
"number" : "7.12.0",
"build_flavor" : "default",
"build_type" : "tar",
"build_hash" : "78722783c38caa7098222b5b042074cde5d3b3a",
"build_date" : "2021-03-18T06:17:15.410153305Z",
"build_snapshot" : false,
"lucene_version" : "8.8.0",
"minimum_wire_compatibility_version" : "6.8.0",
"minimum_index_compatibility_version" : "6.0.0-beta1"
},
"tagline" : "You Know, for Search"
}