Start Elasticsearch on windows
-
Install JDK, at least 1.8.0_73 or later, java -version
-
Download and decompress Elasticsearch installation package elasticsearch-5.2.0.zip, and understand the directory structure
-
Start Elasticsearch: bin \ elasticsearch.bat,
One of the characteristics es itself is out of the box, if it is small and medium sized applications, data less, the operation is not very complicated, you can use the direct boot
-
ES check whether a successful start: HTTP: // localhost:? 9200 / Pretty
name: node名称 cluster_name: 集群名称(默认的集群名称就是elasticsearch) version.number: 5.2.0,es版本号 { "name" : "4onsTYV", "cluster_name" : "elasticsearch", "cluster_uuid" : "nKZ9VK_vQdSQ1J0Dx9gx1Q", "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" }
-
Change the cluster name: elasticsearch.yml
-
Download and decompress the installation package kibana-5.2.0-windows-x86.zip Kibana
Use the inside of the development interface, to operate elasticsearch, as a primary interface we learn es knowledge entry
-
启动 Kibana: bin \ kibana.bat
-
Dev Tools interface to enter
-
GET _cluster/health
{ "cluster_name": "elasticsearch", "status": "yellow", "timed_out": false, "number_of_nodes": 1, "number_of_data_nodes": 1, "active_primary_shards": 1, "active_shards": 1, "relocating_shards": 0, "initializing_shards": 0, "unassigned_shards": 1, "delayed_unassigned_shards": 0, "number_of_pending_tasks": 0, "number_of_in_flight_fetch": 0, "task_max_waiting_in_queue_millis": 0, "active_shards_percent_as_number": 50 }
GIHUB:https://github.com/zq99299/note-book/blob/master/docs/elasticsearch-core/index.md