RocketMQ

 ·  ☕ 1  · 👀...

介绍

技术 特性 适用场景 说明
RocketMQ - 官网
- Quick Start
- Doc
- 下载
- Github

运维

安装

安装准备

  • 安装jdk
    参考 {% post_link jdk安装 %}

CentOS 7

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 下载
cd /usr/local/
$ wget https://archive.apache.org/dist/rocketmq/4.4.0/rocketmq-all-4.4.0-bin-release.zip

# 解压
$ unzip rocketmq-all-4.4.0-bin-release.zip

# 创建软链
$ ln -s rocketmq-all-4.4.0-bin-release rocketmq

# start name server
$ cd /rocketmq
$ nohup sh bin/mqnamesrv &
$ tail -f ~/logs/rocketmqlogs/namesrv.log

# start broker
$ nohup sh bin/mqbroker -n localhost:9876 &
$ tail -f ~/logs/rocketmqlogs/broker.log

# shutdown servers
$ sh bin/mqshutdown broker
$ sh bin/mqshutdown namesrv

参考


Wanglibing
Wanglibing
Engineer,Lifelong learner