1.dubbo下载及编译
tomcat下载地址:
dubbo下载地址:https://codeload.github.com/alibaba/dubbo/zip/master
zookeeper下载地址:http://apache.fayea.com/zookeeper/stable/zookeeper-3.4.8.tar.gz
apache-maven下载地址:http://apache.opencas.org/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.zip
2.依次解压apache-maven,zookeeper,dubbo压缩文件
apache-maven:
1)配置系统环境变量,MAVEN-HOME=MAVEN路径,设置path=*;%MAVEN-HOME%/bin
2)命令行校验 mvn -v,若命令行有打印信息则配置成功。
zookeeper:
解压后,进入该文件conf目录,新建zoo.cfg文件,将zoo_sample.cfg文件中内容复制到zoo.cfg,并对zoo.cfg做如下修改:
dataDir=D:/zookeeper-3.4.8/data
dubbo:
1.命令行进入dubbo解压目录,输入mvn install -Dmaven-test-skip=true命令,编译dubbo项目
2.(本人tomcat是7.0版本)先启动zookeeper,通过tomcat导入dubbo-admin项目target文件下dubbo-admin.war包
3.访问后台http://localhost:8080/dubbo-admin-2.5.4-SNAPSHOT