Previous work: Three servers that are not natively deployed are the most pseudo-clustered zookeeper environments, and three are starting up for service.
Then there is the following work.
1. First, Zkui project address: Https://github.com/DeemOpen/zkui
Download the project, you can choose to use Git clone, or download the package directly in the browser, and finally to understand the folder after the press.
2. Packaging work
CMD console switch to project folder root record, use mvn clean install, need to install Java environment before execution, MAVEN environment,
After successful execution, a jar file is generated that is in the target folder of the project root folder.
3. Copy the config.cfg to the same directory as the jar file generated in the previous step, and then modify the zookeeper address in the configuration file.
At the beginning of this configuration file in the project folder root directory, copy it to target.
The first red line is configured for my own Zookeeper server address, a pseudo-cluster of three local servers.
Ip:port IP address is the same, the port is 2181,2182,2183, this is my own zookeeper situation, actually please according to your own zookeeper server configuration to modify.
The second red line does not need to be changed, the default login username and password are indicated.
User:admin Password:manager
4. Execute the jar. Notice the & in the back, which means no exit.
In the Windows environment, the CMD console is cut into the target folder and then executed Java-jar Zkui-2.0-snapshot-jar-with-dependencies.jar &
Linux environment: Nohup Java-jar Zkui-2.0-snapshot-jar-with-dependencies.jar &
5. Test, http://localhost:9090, if you can see the following page on behalf of zookeeper installation operation is normal.
Reference Blog: https://www.cnblogs.com/ASPNET2008/p/5622005.html
Installing and enabling the Zkui Web graphical interface in a Windows environment