消息中间件:rocketmq控制台安装部署

搭建图形化界面

  • 安装Maven
#1. 获取Maven安装包(进入 /opt目录操作 cd /opt)
wget https://mirrors.tuna.tsinghua.edu.cn/apache/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz
#2. 解压缩Maven压缩包
tar -zxvf apache-maven-3.6.3-bin.tar.gz
#3. 设置环境变量
vi ~/.bash_profile
export PATH=$PATH:/opt/apache-maven-3.6.3/bin
#4. 使环境变量生效
source ~/.bash_profile
#5. 检测并查看java版本
mvn -version
#1. 获取安装包
wget https://codeload.github.com/apache/rocketmq-externals/tar.gz/refs/tags/rocketmq-console-1.0.0
#2. 解压缩
tar -zxvf rocketmq-console-1.0.0
#3. 编译源码
cd rocketmq-externals-rocketmq-console-1.0.0/rocketmq-console/
mvn clean package -Dmaven.test.skip=true
nohup java -jar \
    -Drocketmq.config.namesrvAddr=192.168.1.219:9876 \
    -Drocketmq.config.isVIPChannel=false \
    target/rocketmq-console-ng-1.0.0.jar &
#4. 访问
http://192.168.1.219:8080/#/

 

posted on 2022-05-27 11:31  惊涛随笔  阅读(281)  评论(0编辑  收藏  举报

导航