centos 6.5 安装 zookeeper
从zookeeper官方网站下载安装包:zookeeper-3.4.9.tar.gz,解压安装
tar xvf zookeeper-3.4.9.tar.gz -C /usr/java cd /usr/java/zookeeper-3.4.9/conf cp zoo_sample.cfg zoo.cfg
启动zookeeper,zoo.cfg配置了启动端口等信息,默认:2181
cd /usr/java/zookeeper-3.4.9/bin ./zkServer.sh start