Hadoop入门(二):ZooKeeper单机安装

 

ZooKeeper安装


1下载解压

cd /usr/local/src

wget http://mirror.bit.edu.cn/apache/zookeeper/zookeeper-3.4.5/zookeeper-3.4.5.tar.gz

tar zxvf zookeeper-3.4.5.tar.gz


2配置

cd zookeeper-3.4.5

cp conf/zoo_sample.cfg conf/zoo.cfg

 

export ZOOKEEPER_HOME=/usr/local/src/zookeeper-3.4.5

export PATH=$ZOOKEEPER_HOME/bin:$PATH


3启动

zkServer.sh start


4测试

zkCli.sh -server 127.0.0.1:2181


参考资料

1 CentOS下安装单机版zookeeper

http://blog.csdn.net/lkernel/article/details/8116415

 

http://jbowles.github.io/blog/2013/02/09/zookeeper-on-centos/

 

 

你可能感兴趣的:(zookeeper)