Installing and enabling the Zkui Web graphical interface in a Windows environment

Source: Internet
Author: User
Tags zookeeper

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.