RocketMQ 单机版安装并测试

一、安装maven

1、下载maven,http://maven.apache.org/download.cgi,并解压;

tar -zvxf apache-maven-3.6.1-bin.tar.gz

2、修改系统环境变量,并验证;

vim /etc/profile
export M2_HOME=/home/rocketmq/apache-maven-3.6.1
export PATH=$M2_HOME/bin:$PATH
source /etc/profile
mvn -v

Apache Maven 3.5.3 (3383c37e1f9e9b3bc3df5050c29c8aff9f295297; 2018-02-25T03:49:05+08:00)

 

二、下载rocketmq,并安装,社区链接:https://github.com/apache/rocketmq;

git clone https://github.com/apache/rocketmq.git  
cd rocketmq
mvn -Prelease-all -DskipTests clean install -U

 

posted @ 2019-04-17 16:39  蘇氏加多寶  阅读(424)  评论(0编辑  收藏  举报