标签:strong apach put develop dev stat apache server 安装包
1、环境准备
2、上传
①上传zookeeper : alt+p put d:/Develop/apache-zookeeper-3.5.8-bin.tar.gz
②打开 opt目录: cd /opt
③创建zooKeeper目录 : mkdir zooKeeper
④将zookeeper安装包移动到 /opt/zooKeeper : mv apache-zookeeper-3.5.8-bin.tar.gz /opt/zookeeper/
3、解压
tar -zxvf apache-ZooKeeper-3.5.6-bin.tar.gz
1、配置zoo.cfg
修改存储目录:dataDir=/opt/zookeeper/zkdata
2、启动ZooKeeper
cd / opt/zooKeeper/apache-zooKeeper-3.5.8-bin/bin/
3、查看ZooKeeper状态
./zkServer.sh status
zookeeper启动成功。standalone代表zk没有搭建集群,现在是单节点
标签:strong apach put develop dev stat apache server 安装包
原文地址:https://www.cnblogs.com/HeroIT/p/14128824.html