一、安装准备
下载安装jdk、apache-tomcat、zookeeper及dubboadmin对应系统版本
二、安装步骤
1.安装完jdk、tomcat、zookeeper依赖软件环境(安装步骤,参加其链接)
2.解压dubboadmin.tar.gz安装包,改名为ROOT
[root@localhost setupsoftware]# tar -zxvf dubboadmin.tar.gz@b@[root@localhost setupsoftware]# mv dubboadmin ROOT
3.删除tomcat目录原有的ROOT目录,移动之前dubboadmin改名后的ROOT
[root@localhost setupsoftware]# rm -fr /usr/local/tomcat1/webapps/ROOT@b@ [root@localhost setupsoftware]# mv ROOT /usr/local/tomcat1/webapps/
4.修改dubbo.properties(/WEB-INF/dubbo.properties)配置文件
#dubbo.registry.address=zookeeper://127.0.0.1:2181@b@dubbo.registry.address=zookeeper://dubbo3.zookeeper.db.wx:2181?backup=dubbo1.zookeeper.db.wx:2181,dubbo2.zookeeper.db.wx:2181@b@dubbo.admin.root.password=bgsoa@b@dubbo.admin.guest.password=guest
改为(zookeeper端口根据实际情况配置)
dubbo.registry.address=zookeeper://127.0.0.1:2181@b@#dubbo.registry.address=zookeeper://dubbo3.zookeeper.db.wx:2181?backup=dubbo1.zookeeper.db.wx:2181,dubbo2.zookeeper.db.wx:2181@b@dubbo.admin.root.password=****@b@dubbo.admin.guest.password=guest
5.访问结果如下,点击在线体验,登陆账号/密码 - guest/guest