使用方法:
curl -o- https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/soft/zookeeper/install-zookeeper.sh | bash
脚本会下载解压 zookeeper 到 /opt/zookeeper 路径下。
/opt/zookeeper