一. 旧版:
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
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/#/