Dubbo-admin Management Platform Construction

Source: Internet
Author: User

First, preface

Dubbo use, in fact, only need to have a registration center, consumers, the provider of these three can be used, but can not see which consumers and providers, in order to better debug, find problems, solve problems, so introduced dubbo-admin. Consumers and providers can be managed through dubbo-admin.

Second, download and configuration packaging

Dubbo-admin download, can go to the official website to download: Https://github.com/alibaba/dubbo
Of course, here the small Bao also uploaded to the csdn, ape friends can download here, more convenient and fast oh:
http://download.csdn.net/detail/u013142781/9375988

Download down is such a directory structure:

But here we only care about dubbo-admin this folder.

In fact, the following so-called configuration is to get the war package, the war package on the Internet, but there are a lot of downloads will be problematic, the reason may be everyone's computer JDK version or other environment is different, so we pack a war.

Pack the war package and go to dubbo-admin this file directory to run the command:

-Dmaven.skip.test=true
    • 1
    • 1

If you see the following results, the package is successful:

If the package is not successful, then directly download the blogger's war try it, pay attention to the blogger's JDK is 1.7, download link:

http://download.csdn.net/detail/u013142781/9376337

After the package is successful, you will find that Dubbo-admin has a target folder, open the target folder, and found that there is a war package:

Third, installation Dubbo-admin

In the second step we get Dubbo-admin-2.5.4-snapshot.war, and we'll deploy this war package to Tomcat.

Put the Dubbo-admin-2.5.4-snapshot.war in the Tomcat WebApps directory:

Then open the Server.xml file in Tomcat's conf directory and change the boot port to 8090, because zookeeper uses 8080 by default to avoid collisions:

Start Tomcat and let it unzip the war.

If you have been prompted unable to open the service ' tomcat* ', then reinstall a Tomcat (note be sure to use the Tomcat installation package, reinstall, not unzip the available kind), here is a window installation package download:/http download.csdn.net/detail/u013142781/9376343

There will be more of this folder in Tomcat's WebApps:

And then you can stop Tomcat.

Open the dubbo.properties that just Tomcat decompression generated, my under Tomcat 7.0\webapps\dubbo-admin-2.5.4-snapshot\web-inf:

The content is:

dubbo.registry.address=zookeeper://127.0.0.1:2181dubbo.admin.root.password=rootdubbo.admin.guest.password=guest
    • 1
    • 2
    • 3
    • 1
    • 2
    • 3

Know the root password: root,guest password: Guest, log in for later

Four, run below

If you have not configured zookeeper, please refer to another blog article configuration: http://blog.csdn.net/u013142781/article/details/50395650

Start zookeeper first, and then start Tomcat, Access address: http://localhost:8090/dubbo-admin-2.5.4-SNAPSHOT/

Enter the username root and password root:

Dubbo-admin Management Platform Construction

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.