Elasticsearch

Elasticsearch官方教程,Elasticsearch教程,Elasticsearch视频教程,Elasticsearch学习笔记,Elasticsearch电子书

基于windows环境部署Elasticseach

2017-10-08| 发布: | 浏览: 34 |保存PDF

下载:

https://www.elastic.co/downloads

https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.2.0.zip


1、安装JDK,至少1.8.0_73以上版本,java -version

C:\Users\huangyineng>Java -version

java version "1.8.0_121"

Java(TM) SE Runtime Environment (build 1.8.0_121-b13)

Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)


2、下载和解压缩Elasticsearch安装包

如:E:\dev\program\elasticsearch\elasticsearch-5.2.0


3、启动Elasticsearchbin\elasticsearch.bates本身特点之一就是开箱即用,如果是中小型应用,数据量少,操作不是很复杂,直接启动就可以用了


4、检查ES是否启动成功:http://localhost:9200/?pretty

{

 "name" : "WXLHHlf",

 "cluster_name" : "elasticsearch",

 "cluster_uuid" : "i2yIcystQ4umjaJHvHRR0w",

 "version" : {

   "number" : "5.2.0",

   "build_hash" : "24e05b9",

   "build_date" : "2017-01-24T19:52:35.800Z",

   "build_snapshot" : false,

   "lucene_version" : "6.4.0"

 },

 "tagline" : "You Know, for Search"

}


name: node名称

cluster_name: 集群名称(默认的集群名称就是elasticsearch

version.number: 5.2.0es版本号


5可对conf/elasticsearch.yml修改集群配置


系列教程

大家都在看

热门访问