1、
下载地址::
https://rocketmq.apache.org/download/
2、
报错:安装rockerMQ报错ERROR:Please set the JAVA_HOME variable in your environment, We need java(x64)
修改rocketmy的配置文件
进入到解压后rocketMQ的bin目录,修改以下三个文件runbroker.sh、runserver.sh、tools.sh
修改为:
___________________________________________________
启动和停止命令。
http://t.zoukankan.com/dand-p-10183674.html
1、rocketmq的启动
进入rocketMQ解压目录下的bin文件夹
启动namesrv服务:nohup sh bin/mqnamesrv &
日志目录:{rocketMQ解压目录}/logs/rocketmqlogs/namesrv.log
启动broker服务:nohup sh bin/mqbroker &
日志目录:{rocketMQ解压目录}/logs/rocketmqlogs/broker.log
以上的启动日志可以在启动目录下的nohub.out中看到
2、rocketmq服务关闭
关闭namesrv服务:sh bin/mqshutdown namesrv
关闭broker服务 :sh bin/mqshutdown broker
sh bin/mqnamesrv &
sh bin/mqbroker -n 10.10.46.32:9876 autoCreateTopicEnable=true -c /opt/rocketmq-all-4.4.0-bin-release/conf/broker.conf &
---------------------
rocketMq服务的安装、启动与关闭
标签:bin,broker,centos7,sh,rocketMQ,namesrv,安装,目录,rocketmq From: https://blog.51cto.com/u_3369545/6595340