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