参考:https://github.com/alibaba/dubbo
1.Install the git and maven command line:
yum install git cd ~ wget http://www.apache.org/dist//maven/binaries/apache-maven-3.2.2-bin.tar.gz tar zxvf apache-maven-3.2.2-bin.tar.gz vi .bash_profile append: export PATH=$PATH:~/apache-maven-2.2.1/bin source .bash_profile2、Checkout the dubbo source code:
2.Checkout the dubbo source code:
cd ~ git clone https://github.com/alibaba/dubbo.git dubbo git checkout master
3.Build the dubbo binary package:
cd ~/dubbo mvn clean install -Dmaven.test.skip cd dubbo/target ls
4.将dubbo-admin-2.5.4-SNAPSHOT.war放到tomcat的ROOT 目录下 编辑配置文件WEB-INF/dubbo.properties
dubbo.registry.address=zookeeper://127.0.0.1:2181
dubbo.admin.root.password=root
dubbo.admin.guest.password=guest