From 8894fed2ad4ed110c366f21b7d0d65c10c9c4180 Mon Sep 17 00:00:00 2001 From: change Date: Tue, 3 Sep 2019 22:23:59 +0800 Subject: [PATCH] start multi-nodes Cluster add -d --- .../README.md" | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git "a/part-1/2.1-Elasticsearch\347\232\204\345\256\211\350\243\205\344\270\216\347\256\200\345\215\225\351\205\215\347\275\256/README.md" "b/part-1/2.1-Elasticsearch\347\232\204\345\256\211\350\243\205\344\270\216\347\256\200\345\215\225\351\205\215\347\275\256/README.md" index 6e44b36..5a8fcae 100644 --- "a/part-1/2.1-Elasticsearch\347\232\204\345\256\211\350\243\205\344\270\216\347\256\200\345\215\225\351\205\215\347\275\256/README.md" +++ "b/part-1/2.1-Elasticsearch\347\232\204\345\256\211\350\243\205\344\270\216\347\256\200\345\215\225\351\205\215\347\275\256/README.md" @@ -13,10 +13,10 @@ bin/elasticsearch-plugin list GET http://localhost:9200/_cat/plugins?v #start multi-nodes Cluster -bin/elasticsearch -E node.name=node0 -E cluster.name=geektime -E path.data=node0_data -bin/elasticsearch -E node.name=node1 -E cluster.name=geektime -E path.data=node1_data -bin/elasticsearch -E node.name=node2 -E cluster.name=geektime -E path.data=node2_data -bin/elasticsearch -E node.name=node3 -E cluster.name=geektime -E path.data=node3_data +bin/elasticsearch -E node.name=node0 -E cluster.name=geektime -E path.data=node0_data -d +bin/elasticsearch -E node.name=node1 -E cluster.name=geektime -E path.data=node1_data -d +bin/elasticsearch -E node.name=node2 -E cluster.name=geektime -E path.data=node2_data -d +bin/elasticsearch -E node.name=node3 -E cluster.name=geektime -E path.data=node3_data -d #查看集群 GET http://localhost:9200