创建data目录 复制zoo_sample.cfg为zoo.cfg 修改confg/zoo.cfg中dataDir=**/data
dataDir=**/data
./zkServer.sh start//开启 ./zkServer.sh stop//关闭 ./zkServer.sh status//状态
./zkServer.sh start
./zkServer.sh stop
./zkServer.sh status