Zookeeper + Dubbo control center installation

 

1, Zookeeper installation

 

Step 1: Install jdk

Step two: Unpack zookeeper archive

The third step: the conf file folder zoo_sample.cfg copy, renamed zoo.cfg

Step Four: modify the configuration dataDir attribute that specifies a real directory (enter zookeeper unzip directory, create data directory: mkdir data)

 

 

the fifth step:

Start ZooKeeper : bin / zkServer.sh Start

Close ZooKeeper : bin / STOP zkServer.sh

View zookeeper status: bin / zkServer.sh Status

 

2, Dubbo (Monitor) monitoring center

 

 

After using the registry, we can easily use Monitor to monitor the center. Monitoring center is actually a web application, we directly use the Tomcat deployment to

 

Configure monitor method:

 

1., the dubbo-admin.war uploaded to the linux server

 

 2, mounting tomcat after (decompression can ), the war deployment package to tomcat in.

 

[root@itcast-01 webapps]# pwd

 

/usr/local/web/tomcat/webapps

 

 3, modify /dubbo-admin/WEB-INF/dubbo.properties properties file.

 

dubbo.registry.address=zookeeper://127.0.0.1:2181

 

Registered in the actual address.

 

 4, start Tomcat ,

 

Access http://192.168.37.161:8080

 

Guess you like

Origin www.cnblogs.com/wumingxiaozi/p/11297164.html