git clone <https://github.com/DeemOpen/zkui.git>
# 或者直接下载zip源码包
mvn clean install
完成后会有target包
Copy the config.cfg to the folder with the jar file. Modify it to point to the zookeeper instance. Multiple zk instances are coma separated. eg: server1:2181,server2:2181. First server should always be the leader.
将config.cfg复制到有jar文件的文件夹中(即target文件夹)。修改它以指向zookeeper实例。多个zk实例用逗号分隔。例如:server1:2181,server2:2181。第一个服务器应该永远是领导者。
nohup java -jar zkui-2.0-SNAPSHOT-jar-with-dependencies.jar &
#nohup 英文全称 no hang up(不挂起),用于在系统后台不挂断地运行命令,退出终端不会影响程序的运行。