Build dubbo and zookeeper environment under Windows

Posted Jun 27, 20202 min read

Build dubbo and zookeeper environment under Windows

Download dubbo and war packages and jar packages

dubbo Baidu cloud extraction code of a big brother:cx7w

zookeeper download address

Insert picture description here
Download the version you need

Start zookeeper

Unzip it first, then change the zoo_sample.cfg file to the conf folder to the zoo.cfg file, and then go to the bin directory and start zkServer.cmd(double-click)

Insert picture description here

If an error is reported

Error:Cannot find or load main class org.apache.zookeeper.server.quorum.QuorumPeerMain

Insert picture description here

Solution:

Insert picture description here
Unzip this and copy the following lib package to apache-zookeeper-3.5.8 and then start it

Insert picture description here

Start dubbo

Copy the dubbo war package to the tomcat webapp

Start tomcat

My tomcat port is 8081 and the default is 8080
Access address http://localhost :8081/dubbo-admin-2.5.4

Insert picture description here

Then log in. The default password and account are both root
Insert picture description here