dubbo部署
1、安装jdk,并且配置环境变量(*)
https://blog.51cto.com/guoshaoliang789/2106678
2、安装zookeeper
https://blog.51cto.com/guoshaoliang789/2121701
3、安装apache-tomcat-8.5.32
wget http://mirror.bit.edu.cn/apache/tomcat/tomcat-8/v8.5.32/bin/apache-tomcat-8.5.32.tar.gz
4、下载dubbo的war包
git clone https://github.com/dubbo/dubbo-ops.git /var/tmp/dubbo-ops
pushd /var/tmp/dubbo-ops
mvn clean package 需要安装maven
popd
unzip /var/tmp/dubbo-ops/dubbo-admin/target/dubbo-admin-2.0.0.war -d webapps/ROOT
5、修改dubbo的配置文件
vim dubbo.properties
dubbo.registry.address=zookeeper://127.0.0.1:2181
dubbo.admin.root.password=root
dubbo.admin.guest.password=guest
注意:这里zookeeper://127.0.0.1:2181这个地址正在被使用安装的zookeeper地址
转载于:https://blog.51cto.com/guoshaoliang789/2136555