Dubbo The control console can manage the services or service consumers registered with the Zookeeper registry, but the control console is not affected by the Dubbo service, and the console does not need to be highly available, so it can be deployed on a single node.
IP: 192.168.3.71
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:
$ TAR-ZXVF apache-tomcat-7.0.57.tar.gz
$ mv apache-tomcat-7.0.57 Dubbo-admin-tomcat
3 . Remove all files from the/home/wusc/dubbo-admin-tomcat/webapps directory:$ RM-RF *
4. uploading the Dubbo Management Console program Dubbo-admin-2.5.3.war
To/home/wusc/dubbo-admin-tomcat/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/wusc/tools directory backup
$ MV Dubbo-admin-2.5.3.war/home/wusc/tools
6. Configuration dubbo.properties :
$ VI root/web-inf/dubbo.properties
dubbo.registry.address=zookeeper://192.168.3.71:2181
dubbo.admin.root.password=wusc.123
dubbo.admin.guest.password=wusc.123
(The above password before the formal production to be modified)
7. Firewall on port 8080, with the root user to modify the/etc/sysconfig/iptables,
# Vi/etc/sysconfig/iptables
Increase:
# # dubbo-admin-tomcat: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/wusc/dubbo-admin-tomcat/bin/startup.sh
browse http://192.168.3.71:8080/ , &NB Sp 650) this.width=650; "Src=" http://static.oschina.net/uploads/space/2016/0129/ 141655_byic_2619923.jpg "style=" padding:0px;margin:10px 0px;border:1px solid RGB (221,221,221); Background:rgb ( 244,247,249); "alt=" 141655_byic_2619923.jpg "/>
10. Configure the Tomcat boot boot with the Dubbo console deployed:
To edit the/etc/rc.local file in the virtual host, add:
Su-wusc-c '/home/wusc/dubbo-admin-tomcat/bin/startup.sh '
This article is from the Dragon Fruit Institute "based on Dubbo Distributed System Architecture Video Tutorial" Foundation--No. 06 Section--dubbo Management Console installation
More course information can be logged Dubbo Video Tutorial official website:http://www.roncoo.com
This article is from the "11132517" blog, please be sure to keep this source http://11142517.blog.51cto.com/11132517/1739957
Dubbo Management Console Installation