Dubbo-控制台
Posted luliang888
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Dubbo-控制台相关的知识,希望对你有一定的参考价值。
一. 旧版:
1. 下载地址:git clone https://github.com/GITluliang/dubbo-ops.git
2. cd dubbo-ops/dubbo-admin
3. 修改注册中心地址:
》dubbo-admin\\src\\main\\resources\\application.properties
dubbo.registry.address=zookeeper://192.168.28.219:2181?backup=192.168.28.220:2181,192.168.28.221:2181 //集群 #dubbo.registry.address=zookeeper://192.168.28.219:2181 //单机
》dubbo-admin\\src\\main\\resources\\dubbo-admin.xml
<dubbo:registry address="zookeeper://192.168.28.219:2181?backup=192.168.28.220:2181,192.168.28.221:2181"/>
4. 在dubbo-admin下进行maven编译打包:mvn clear install package
5. 在dubbo-admin\\target下运行jar文件:java -jar dubbo-admin-0.0.1-SNAPSHOT.jar
6. 浏览器进行访问:http://localhost:7001/
用户名:root、密码:root
二. 新版:
1. 下载地址:git clone https://github.com/apache/dubbo-admin.git
2. cd dubbo-admin
3. 修改注册中心地址:dubbo-admin/dubbo-admin-server/src/main/resource/application.properties
admin.registry.address=zookeeper://192.168.28.219:2181?backup=192.168.28.220:2181,192.168.28.221:2181 admin.config-center=zookeeper://192.168.28.219:2181?backup=192.168.28.220:2181,192.168.28.221:2181 admin.metadata-report.address=zookeeper://192.168.28.219:2181?backup=192.168.28.220:2181,192.168.28.221:2181
4. 在dubbo-admin进行maven打包编译:mvn clear install package
5. 在dubbo-admin\\dubbo-admin-server\\target下运行jar文件:java -jar dubbo-admin-server-0.1.jar
6. 浏览器进行访问:http://localhost:8080/#/
以上是关于Dubbo-控制台的主要内容,如果未能解决你的问题,请参考以下文章
dubbo学习之dubbo管理控制台装配及集成zookeeper集群部署