Build a JEESZ distributed architecture 5-install the Dubbo console and jeesz5-dubbo

Source: Internet
Author: User

Build a JEESZ distributed architecture 5-install the Dubbo console and jeesz5-dubbo

Dubbo console Installation

1. Dubbo Console: Control Dubbo services

Note:The Dubbo console can manage the services or service consumers registered to the zookeeper registration center. The operations of the Dubbo console have no impact on Dubbo services, so the Console does not require high availability, can be deployed on a Single Node.

2. The open source part of the dubbo console mainly includes:

Providers, routing rules, dynamic configuration, access control, weight adjustment, Server Load balancer, owner, etc.

3. Management console version

Current stable edition: dubbo-admin-2.5.3.war (available this edition)

Other versions: https://github.com/alibaba/dubbo (users can download it by themselves)

 

4. Dubbo console Installation Process

Environment preparation: apache-tomcat-7

Server: xxx. xxx

Port 8080

Note: You have downloaded and installed Tomcat 7 before. Do not describe it in detail (Brief Introduction ), if you do not understand the installation, please refer to the previous build JEESZ distributed architecture 2 -- install Tomcat 7 under CentOs (Environment preparation)

1.Unzip and install tomcat
Use sshto upload the apache-tomcat-7.0.61.tar.gz file to/usr/local and perform the following operations:

[Root @ cloud/] # cd/usr/local

[Root @ cloud/] # tar -zxvfapache-atat-7.0.61.tar.gz

[Root @ cloud/] # mv apache-tomcat-7.0.61/home/jeesz/dubbo-admin-tomcat

2. Remove all files in the/home/jeesz/dubbo-admin-tomcat/webapps directory:

[Root @ cloudWebapps/] # Rm-rf *

3. Upload the Dubbo Management Console dubbo-admin-2.5.3.war to the/home/jeesz/dubbo-admin-tomcat/webapps directory through SSH

4. decompress the package and name the directory ROOT:

[Root @ cloudWebapps# Unzipdubbo-admin-2.5.3.war-d ROOT

5. Configure the dubbo. properties file:

[Root @ cloudWebapps/] # Vi ROOT/WEB-INF/dubbo. properties

Dubbo. registry. address = zookeeper: // xxx. xxx: 2181

Dubbo. admin. root. password = jeesz

Dubbo. admin. guest. password = jeesz

6.Open firewall port 8080

[Root @ cloud/] # vi +/etc/sysconfig/iptables

# Add the following code
# Dubbo-admin-tomcat: 8080
-A input-m state -- state NEW-m tcp-p tcp -- dport 8080-j ACCEPT

7.Restart Firewall
[Root @ cloud/] # service iptables restart

8. Configure the Dubbo console to start Tomcat at startup:

Go to the/etc/rc. local file and add

[Root @ cloud/] # vi/etc/rc. local

Su-root-c '/home/jeesz/dubbo-admin-tomcat/bin/startup. Sh'

9. Start Tomat7

[Root @ cloud/] #/home/jeesz/dubbo-admin-tomcat/bin/startup. sh

10. Access dubbo console is normal: http://xxx.xxx.xxx.xxx: 8080/

 

So far, dubbo console has been installed successfully ~~

5. Service Provider

 

 

6. service consumers:

 

7. Service Application List:

 

8. Add routing rules

 

9. Add dynamic configuration:

For more information, see the API

For more details, click the Source Code address to obtain:Mingli

If you are interested, you can go to the ball ~ Sharing learning technologies: 2042849237

Please keep an eye on building a distributed architecture 6 -- ZooKeeper cluster Installation

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.