dubbo-admin-2.0.0管理控制台安装
环境
- Maven: Apache Maven 3.3.3
- Server version: Apache Tomcat/9.0.6
- OS Name: Linux
- JVM Version: 1.8.0_161-b12
- OS Version: 3.10.0-514.26.2.el7.x86_64
- Dubbo admin: 2.0.0
1、在github上获得dubbo-admin源码
通过下面命令克隆dubbo-admin项目
git clone https://github.com/apache/incubator-dubbo-ops.git
2、将dubbo-admin编译并打包
进入incubator-dubbo-ops\dubbo-admin目录,输入下面命令
mvn clean package
打包成功之后将在incubator-dubbo-ops\dubbo-admin\target目录下生成dubbo-admin-2.0.0.war
3、部署
将dubbo-admin-2.0.0.war放入apache-tomcat-9.0.6-dubbo-admin/webapps目录下,
并启动tomcat,启动成功后,关闭tomcat
通过以下命令,删除对应的war包以及原来的ROOT目录,将dubbo-admin-2.0.0重命名为ROOT
rm -rf dubbo-admin-2.0.0.war
rm -rf ROOT
mv dubbo-admin-2.0.0 ROOT
4、修改配置文件
修改dubbo.properties配置文件
apache-tomcat-9.0.6-dubbo-admin/webapps/ROOT/WEB-INF/dubbo.properties
dubbo.registry.address=zookeeper://127.0.0.1:2181?backup=127.0.0.1:2182,127.0.0.1:2183
dubbo.admin.root.password=root
dubbo.admin.guest.password=guest
修改完成,再次启动tomcat
5、访问
通过http://127.0.0.1:8080进行dubbo-admin管理控制台进行访问
出现下面界面则说明成功了: