w1w 发表于 2019-1-8 11:25:48

zookeeper install j脚本

  注意:在使用脚本之前需要安装jdk
#/bin/bash                              
#keeper install
cd /opt/soft
wget http://mirrors.hust.edu.cn/apache/zookeeper/zookeeper-3.4.10/zookeeper-3.4.10.tar.gz
tar xf zookeeper-3.4.10.tar.gz
mv zookeeper-3.4.10 /usr/local/
cd /usr/local
ln -s zookeeper-3.4.10 zookeeper
cd /usr/local/zookeeper/conf/
mv zoo_sample.cfg zoo.cfg
cat >/etc/profile
页: [1]
查看完整版本: zookeeper install j脚本