下载dubbo-admin
地址: https://github.com/alibaba/dubbo
进入dubbo-admin目录下进行编译,指令如下:
mvn package -Dmaven.skip.test=true
运行结果是:
Results :
Tests run: 50, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] --- maven-war-plugin:2.2:war (default-war) @ dubbo-admin ---
[INFO] Packaging webapp
[INFO] Assembling webapp [dubbo-admin] in [/Users/yuliangliang/dubbo/dubbo/dubbo-admin/target/dubbo-admin-2.5.8]
[INFO] Processing war project
[INFO] Copying webapp resources [/Users/yuliangliang/dubbo/dubbo/dubbo-admin/src/main/webapp]
[INFO] Webapp assembled in [1030 msecs]
[INFO] Building war: /Users/yuliangliang/dubbo/dubbo/dubbo-admin/target/dubbo-admin-2.5.8.war
[INFO] WEB-INF/web.xml already added, skipping
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 49.960 s
[INFO] Finished at: 2018-01-08T17:18:04+08:00
[INFO] Final Memory: 15M/157M
[INFO] ------------------------------------------------------------------------
运行结束后,将编译出来的war包,copy到webapp下
启动zookeeper,启动tomcat,如果修改端口,则修改tomcat下面server.xml