0.RocketMQ架构
1.修改/etc/hosts文件
[root@base-linux ~]# vi /etc/hosts
[root@base-linux ~]# systemctl restart network
[root@base-linux ~]# cat /etc/hosts
2.官网下载binary-release版本的安装包
3.上传至linux环境的/usr/local/packages/目录下
4.解压安装文件到当前文件夹,并重命名为apache-rocketmq
[root@base-linux ~]# cd /usr/local/packages/
[root@base-linux packages]# unzip rocketmq-all-4.3.2-bin-release.zip
[root@base-linux packages]# mv rocketmq-all-4.3.2-bin-release apache-rocketmq
5.把apache-rocketmq移动到/usr/local/src/目录下,并建立软链接
[root@base-linux ~]# cd /usr/local/packages/
#移动文件
[root@base-linux packages]# mv apache-rocketmq /usr/local/src/
[root@base-linux packages]# cd /usr/local/src/
#建立软链接
[root@base-linux src]# ln -s apache-rocketmq rocketmq
6.创建存储路径
[root@base-linux ~]# cd /usr/local/src/
[root@base-linux src]# cd rocketmq/
[root@base-linux rocketmq]# mkdir store
[root@base-linux rocketmq]#