一、官方安装文档
http://rocketmq.apache.org/docs/quick-start/
下载地址
https://github.com/apache/rocketmq/releases
###环境需求
jdk1.8以上
maven
二、安装
wget https://github.com/apache/rocketmq/archive/rocketmq-all-4.3.0.tar.gz
tar xf rocketmq-rocketmq-all-4.3.0.tar.gz -C /usr/local/
ln -s /usr/local/rocketmq-rocketmq-all-4.3.0 /usr/local/rocketmq
cd /usr/local/rocketmq
mvn -Prelease-all -DskipTests clean install -U
三、启动
##启动服务
nohup sh bin/mqnamesrv & ##启动Broker
nohup sh bin/mqbroker -n localhost: &