Build Springmvc+dubbo Distributed Platform-dubbo Control console installation

Source: Internet
Author: User
Tags zookeeper

Installation of the Dubbo management console

1, Dubbo Management Console's main role: Service governance

2. The management console mainly includes:

Routing rules

Dynamic configuration

Service downgrade

Access control

Weight adjustment

Management functions such as load balancing

3. Management Console version:

Current stable version: Dubbo-admin-2.5.3.war (available to group 446855438 download)

Latest 2.5.4-snapshot version: https://Github.com/alibaba/dubbo

4. Install Dubbo Management Console

Dubbo Control console can be registered to the Zookeeper Registry Service or service consumers to manage, but the control console is normal to the Dubbo service has no impact, the control console also does not need to be highly available, so you can deploy a single node.

Deployment container: apache-tomcat-6, 7

Port: 8080

This way, take TOMCAT7 as an example. Deploy Dubbo Management Engineering

1, download the latest version of TOMCAT7:

$wget http://mirrors.hust.edu.cn/apache/tomcat/tomcat-7/v7.0.57/bin/apache-tomcat-7.0.57. tar.gz

2, Decompression:

$ TAR-ZXVF apache-tomcat-7.0.57.tar.gz

3. Remove all files from the/home/ant/apache-tomcat-7.0.57/webapps directory:

$ RM-RF *

4, Upload Dubbo Management Console program Dubbo-admin-2.5.3.war to

/home/ant/apache-tomcat-7.0.57/webapps

5. Unzip and name the directory Dubbo:

$ unzip dubbo-admin-2.5.3.war-d Dubbo

6, Configuration dubbo.properties:

$ VI root/web-inf/dubbo.properties

dubbo.registry.address=zookeeper://Local ip:2181

Dubbo.admin.root.password=xxx

Dubbo.admin.guest.password=ooo (the above password before the formal production to be modified)

7, firewall open 8080 port, with the root user to modify/etc/sysconfig/iptables

Vi/etc/sysconfig/iptables

Increase:

Apache-tomcat-7.0.57:8080-a input-m State--state new-m tcp-p TCP--dport 8080-j ACCEPT

To restart the firewall:

Service Iptables Restart

8. Start TOMAT7

$/home/ant/apache-tomcat-7.0.57/bin/startup.sh

10. Configure the Tomcat boot to deploy the Dubbo control console:


To edit the/etc/rc.local file in the virtual host, add:

Su-ant-c '/home/ant/apache-tomcat-7.0.57/bin/startup.sh '

Build Springmvc+dubbo Distributed Platform-dubbo Control console 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.