Recently, the company developed the use of Ali's Dubbo framework, to use the zookeeper, did not know zookeeper is what, so in the online search, Baidu Encyclopedia explained as follows: Zookeeper is a distributed, open source distributed application coordination Services, Google's chubby is an open source implementation that is an important component of Hadoop and HBase. It is a software that provides consistent services for distributed applications, including configuration maintenance, name services, distributed synchronization, group services, and so on. The next step is to describe how you installed zookeeper on Windows.
The first step, go to Zookeeper's official website to download the required documents, Http://www.apache.org/dyn/closer.cgi/zookeeper.
The second step, after downloading the required files, unzip, I put in the computer's D disk, extracted after the directory
In the con directory, after extracting a zoo_sample.cfg file, the configuration file will be loaded when you change it to zoo.cfg,zookeeper boot.
The third step, go to the bin directory to execute Zkserver.cmd, the following information appears to indicate that zookeeper started successfully.
Fourth step, you can connect zookeeper service, test whether the service started successfully, also into the bin directory, execute the following command Zkcli.cmd-server 127.0.0.1:2181, view the log input, if as
Indicates that the zookeeper service has been successfully connected, where the IP address of the command is a native address, and 2181 of the ports are specified in the configuration file.
To this end, the standalone installation of zookeeper in a Windows environment is successful.
Zookeeper installing and configuring on Windows