阿里云linux下安装zookeeper
下载zookeeper注册中心,下载地址:http://www.apache.org/dyn/closer.cgi/zookeeper/linux下你直接可以 wget http://mirrors.hust.edu.cn/apach ... keeper-3.4.6.tar.gz
解压tar -xzvfzookeeper-3.4.6.tar.gz
将zookeeper-3.4.6/conf目录下的zoo_sample.cfg文件拷贝一份,命名为为zoo.cfg
cp zoo_sample.cfg zoo.cfg
切换到 zookeeper-3.4.6/bin目录下
启动./zkServer.sh start
出现一下信息 说明启动成功
JMX enabled by default
Using config: /usr1/zookeeper/bin/../conf/zoo.cfg
Starting zookeeper ... STARTED
http://archive.apache.org/dist/zookeeper/zookeeper-3.4.6/
页:
[1]