Installing the Dubbo Management Console

Source: Internet
Author: User

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.

ip:192.168.1.100
Deployment container: apache-tomcat-7.0.57
Port: 8080

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, unzip the Tomcat installation package, installed in the/home/jqlin/dev/
$ cd/home/jqlin/dev/
$ TAR-ZXVF apache-tomcat-7.0.57.tar.gz

3. Remove all files from the/home/jqlin/dev/apache-tomcat-7.0.57/webapps directory:
$ cd/home/jqlin/dev/apache-tomcat-7.0.57/webapps
$ RM-RF *

4, Upload Dubbo Management Console program Dubbo-admin-2.5.3.war to/home/jqlin/dev/apache-tomcat-7.0.57/webapps

5. Unzip and name the directory root:
$ unzip dubbo-admin-2.5.3.war-d ROOT

Move the Dubbo-admin-2.5.3.war to the/home/jqlin/dev/package directory backup
$ MV Dubbo-admin-2.5.3.war/home/jqlin/dev/package

6, Configuration dubbo.properties:
$ VI root/web-inf/dubbo.properties
dubbo.registry.address=zookeeper://192.168.1.100:2181
Dubbo.admin.root.password=dubbo
Dubbo.admin.guest.password=dubbo
Note: The above password to be modified before the official production

7, firewall open 8080 port, with the root user to modify the/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/jqlin/dev/apache-tomcat-7.0.57/bin/startup.sh

9. Browse http://192.168.1.100:8080/

10. Configure the Tomcat boot to deploy the Dubbo control console:
To edit the/etc/rc.local file in the virtual host, add:
Su-ljq-c '/home/jqlin/dev/apache-tomcat-7.0.57/bin/startup.sh '

Installing the Dubbo Management Console

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.