配置zookeeper
时间: 2023-09-12 16:11:05 浏览: 107
要Zookeeper,你可以按照以下步骤进行操作:
. 首先,关闭ookeeper服务器,可以使用以下命令:
```
cd zookeeper/apache-zookeeper-3.7.0-bin/
bin/zkServer.sh stop
```
2. 接下来,创建一个用于存储Zookeeper数据的文件夹。你可以使用以下命令在指定的路径下创建一个名为"zkdatas"的文件夹:
```
cd zookeeper/apache-zookeeper-3.7.0-bin/
mkdir zkdatas
```
3. 然后,启动Zookeeper服务器,可以使用以下命令:
```
cd zookeeper/apache-zookeeper-3.7.0-bin/
bin/zkServer.sh start
```
通过按照以上步骤进行操作,你就可以成功配置Zookeeper。请确保在每一步骤完成后验证操作是否成功。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* *3* [zookeeper的安装配置(详细步骤)](https://blog.csdn.net/qq_58768870/article/details/123613564)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 100%"]
[ .reference_list ]
阅读全文