centos 安裝alibaba-rocketmq
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
http://xxxxxx/Linuxjc/1184822.html TechArticle