Since starting dubbo 2.6.1, dubbo-admin is split out separately, 2.6 or higher package does not Dubbo-Admin, so to deploy a separate download.
Environmental Information:
CentOS 7.6 (192.168.7.11)
JDK 1.8
Zookeeper 3.5.5
IDEA 2019.2
1. Dubbo-Admin from a remote repository clone (clone) code to local
Git Address: https://github.com/apache/dubbo-admin
IDEA :File --> New --> Project from Version Control... --> Git -->clone
If the slow GitHub from Clone words, in the first GitHub Fork down to the cloud code, upper right corner point number after landing + ---> GitHub introduced from the warehouse, fast
After the success of the directory structure of 2.Clone
|-dubbo-admin
|-dubbo-monitor-simple
|-dubbo-registry-simple
|-.girignore
|-.travisyml
|-README.md
|-pom.xml
3. Modify application.properties dubbo-admin springboot project
# dubbo-adming run port server.port = 7001 #velocity template engine configuration spring.velocity.cache = false spring.velocity.charset = UTF-8 spring.velocity.layout-url = / Templates / default.vm # internationalization configuration file # set whether to return to the system locale, if not found specific locale file spring.messages.fallback-to-system-locale = false # internationalization of files stored in any folder location, where is on i18n folder below spring.messages.basename = i18n / the Message # administrator / guest password spring.root.password = root spring.guest.password = 123456 # registry address dubbo.registry.address = zookeeper: //192.168.7.11 : 2181
4.IDEA import dubbo-admin project, the project will sprinboot dubbo-admin labeled jar package
After successfully packaged in target directory
The upload operation CentOS deployment =
[Root @ yyj springbootApplication] # java -jar ./dubbo-admin-0.0.1-SNAPSHOT.jar & # & represent the background
6. The browser access dubbo-admin (192.168.7.11:7001)