基本情况:
安装教程
具体如下:
#3 wget https://github.com/DeemOpen/zkui/archive/master.zip unzip zkui-master.zip #4 cd zkui-master/ mvn clean install #5 mkdir /export/servers/zkui #6 cp config.cfg target/zkui-2.0-SNAPSHOT-jar-with-dependencies.jar /export/servers/zkui #7 vim /export/servers/zkui/config.cfg #8 nohup java -jar zkui-2.0-SNAPSHOT-jar-with-dependencies.jar &
#7步配置情况
#Server Port serverPort=9090 //启动端口 #Comma seperated list of all the zookeeper servers zkServer=10.10.10.10:2181,10.30.3.3:2181 // 连接ZK的地址 #Specific roles for ldap authenticated users. Ignore if using file based authentication. #如下配置有初始登录密码 ldapRoleSet={"users": [{ "username":"domain//user1" , "role": "ADMIN" }]} userSet = {"users": [{ "username":"admin" , "password":"manager","role": "ADMIN" },{ "username":"appconfig" , "password":"appconfig","role": "USER" }]}
界面展示