安装文档地址: https://www.cnblogs.com/supermarx/p/16207077.html

npm与yarn设置为国内源

安装过程中,给npm设置有效代理.

//// 查询源
npm config get registry

// 更换国内源
npm config set registry https://registry.npmmirror.com

// 恢复官方源
npm config set registry https://registry.npmjs.org

// 删除注册表
npm config delete registry

//代理
npm config set proxy http://registry.npm.taobao.org
npm config set https-proxy https://registry.npm.taobao.org 

启动命令行

//在dashborad所处目录进行启动
java -jar target/rocketmq-dashboard-1.0.1-SNAPSHOT.jar

 

 

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::                (v2.6.0)

[2023-06-14 18:55:04.655] INFO background-preinit - HV000001: Hibernate Validator 6.2.0.Final
[2023-06-14 18:55:04.667] INFO main - Starting App v1.0.1-SNAPSHOT using Java 12.0.1 on ZpfMac with PID 22710 (/usr/local/rocketmq-dashboard/rocketmq-dashboard/target/rocketmq-dashboard-1.0.1-SNAPSHOT.jar started by zhangpengfei in /usr/local/rocketmq-dashboard/rocketmq-dashboard)
[2023-06-14 18:55:04.669] INFO main - No active profile set, falling back to default profiles: default
[2023-06-14 18:55:06.141] INFO main - setNameSrvAddrByProperty nameSrvAddr=127.0.0.1:9876
[2023-06-14 18:55:06.352] INFO main - Tomcat initialized with port(s): 8080 (http)
[2023-06-14 18:55:06.363] INFO main - Initializing ProtocolHandler ["http-nio-8080"]
[2023-06-14 18:55:06.363] INFO main - Starting service [Tomcat]
[2023-06-14 18:55:06.364] INFO main - Starting Servlet engine: [Apache Tomcat/9.0.55]
[2023-06-14 18:55:06.410] INFO main - Initializing Spring embedded WebApplicationContext
[2023-06-14 18:55:06.410] INFO main - Root WebApplicationContext: initialization completed in 1682 ms
[2023-06-14 18:55:07.576] INFO main - Adding welcome page: class path resource [static/index.html]
[2023-06-14 18:55:07.875] INFO main - Exposing 1 endpoint(s) beneath base path '/actuator'
[2023-06-14 18:55:07.906] INFO main - Starting ProtocolHandler ["http-nio-8080"]
[2023-06-14 18:55:07.926] INFO main - Tomcat started on port(s): 8080 (http) with context path ''
[2023-06-14 18:55:07.944] INFO main - Started App in 3.8 seconds (JVM running for 4.35)

根据 “Tomcat started on port(s): 8080 (http) with context path ''”,启动的端口,进行浏览器访问即可。

浏览器地址: http://127.0.0.1:8080/#/

 

posted on 2023-06-14 19:02  黑熊一只  阅读(190)  评论(0编辑  收藏  举报