一、环境:
- 3台部署nameserver,每台至少2G内存
- 4台部署broker(两组),每台至少2G内存,
- Producer、Consumer随具体业务部署,不在文档中说明
- Centos 7.x 64bit
- JDK 1.8 + 64bit
- RocketMQ-4.2.0
- rocektmq-console-ng-1.0.0
二、准备
关闭防火墙
systemctl stop firewalld.service
systemctl disable firewalld.service
firewall-cmd --state #确保结果为not running
下载安装包
RocketMQ:http://mirror.bit.edu.cn/apache/rocketmq/4.2.0/rocketmq-all-4.2.0-bin-release.zip
三、安装RocketMQ
解压程序包
#创建rocket