centos7 單節點master rocketmq
阿新 • • 發佈:2017-08-14
per conf pac iba -a 測試 裝包 安裝 下載安裝
環境: centos7,jdk7
參考:
http://www.cnblogs.com/xiaodf/p/5075167.html
也可參考官網
http://rocketmq.incubator.apache.org/docs/quick-start/
1.下載安裝包
https://mirrors.cnnic.cn/apache/maven/maven-3/3.5.0/binaries/apache-maven-3.5.0-bin.tar.gz
2.解壓
tar -zxvf alibaba-rocketmq-3.2.6-alibaba-rocketmq.tar.gz -C /apps/installFile/rocketmq/
3.啟動NameServer
進入bin目錄 /apps/installFile/rocketmq/alibaba-rocketmq/bin ,執行
nohup sh mqnamesrv > /apps/sh/logs/namesrv.log 2>&1 &
4.啟動broker
nohup sh mqbroker -n 192.168.158.128:9876 -c ../conf/2m-noslave/broker-a.properties > /apps/sh/logs/bk.log 2>&1 &
5.測試
centos7 單節點master rocketmq