Elasticsearch
安装步骤
下载
从这个地址下载软件包 https://www.elastic.co/downloads/elasticsearch
windows用户下载 zip包
linux用户下载 tar.gz包
安装
将下载下来的软件包解压缩,然后运行下面的命令
windows
.\bin\elasticsearch.bat
linux
./bin/elasticsearch
检验
打开浏览器,输入网址 http://localhost:9200/
如果可以看到如下内容,则表示安装成功了
// 20180124142946 // http://localhost:9200/ { "name": "E0sU1-6", "cluster_name": "elasticsearch", "cluster_uuid": "UKXSnV8UT8yxrIF3zzU0qg", "version": { "number": "6.1.2", "build_hash": "5b1fea5", "build_date": "2018-01-10T02:35:59.208Z", "build_snapshot": false, "lucene_version": "7.1.0", "minimum_wire_compatibility_version": "5.6.0", "minimum_index_compatibility_version": "5.0.0" }, "tagline": "You Know, for Search" }
注意事项
JDK
ES需要JDK支持,如果本机没有JDK环境,可以到这里下载
下载地址 http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html