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-zxvfapache-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
9. Explore http://192.168.3.71:8080/
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/81/FB/wKiom1dGo0WRIioUAAC7OFfFv6o400.png "title=" Control console 1.png "alt=" Wkiom1dgo0wriiouaac7offfv6o400.png "/>
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 "11642765" blog, please be sure to keep this source http://11652765.blog.51cto.com/11642765/1783478
Installing the Dubbo Management Console