> CentOS > CentOS教程 >

centos 安装alibaba-rocketmq

alibaba-rocketmq-3.2.6.tar.gz 
Centos 6.5+; 
下载地址:https://github.com/alibaba/RocketMQ/releases 
1.2.安装 
1.2.1.将alibaba-rocketmq-3.2.6.tar.gz文件拷贝在/usr/local目录下 
1.2.2. 解压alibaba-rocketmq-3.2.6.tar.gz 
tar -zxvf alibaba-rocketmq-3.2.6.tar.gz 
1.2.3.启动nameserver 
进入bin目录下 
cd /usr/local/alibaba-rocketmq/bin 
执行 nohup sh mqnamesrv & 启动 
1.2.4.启动broker 
nohup sh mqbroker -n “192.168.0.134:9876” & 
1.2.5.关闭nameserver或broker 
sh ./mqshutdown 
Useage: mqshutdown broker | namesrv (责任编辑:IT)