windows安装rockermq

  1. 下载rockerMQ二进制文件http://rocketmq.apache.org/release_notes/release-notes-4.3.0/
  2. 配置ROCKETMQ_HOME路径
  3. 启动nameserver 命令 start mqnamesrv.cmd
  4. 启动broker start mqbroker.cmd -n 127.0.0.1:9876 autoCreateTopicEnable=true
  5. 下载rockermq插件部署(使用一个web工程访问 rockerMQ,类似于elasticsearch访问es-header)
  6. 地址 :https://github.com/apache/rocketmq-externals.git
  7. 使用git bash git clone git://github.com/apache/rocketmq-externals.git (下载较慢)
  8. 下载完成之后,进入‘rocketmq-externals\rocketmq-console\src\main\resources’文件夹,打开‘application.properties’进行配置。
    server.port=8088
server.contextPath=
server.port=8080
#spring.application.index=true
spring.application.name=rocketmq-console
spring.http.encoding.charset=UTF-8
spring.http.encoding.enabled=true
spring.http.encoding.force=true
logging.config=classpath:logback.xml
#if this value is empty,use env value rocketmq.config.namesrvAddr  NAMESRV_ADDR | now, you can set it in ops page.default localhost:9876
rocketmq.config.namesrvAddr=127.0.0.1:9876
#if you use rocketmq version < 3.5.8, rocketmq.config.isVIPChannel should be false.default true
rocketmq.config.isVIPChannel=
#rocketmq-console's data path:dashboard/monitor
rocketmq.config.dataPath=/tmp/rocketmq-console/data
#set it false if you don't want use dashboard.default true
rocketmq.config.enableDashBoardCollect=true

  1. 用CMD进入‘\rocketmq-externals\rocketmq-console’文件夹,执行‘mvn clean package -Dmaven.test.skip=true’,编译生成。
    编译成功之后,Cmd进入‘target’文件夹,执行‘java -jar rocketmq-console-ng-1.0.0.jar’,启动‘rocketmq-console-ng-1.0.0.jar’。
  2. 浏览器中输入‘127.0.0.1:配置端口’,成功后即可查看。
    eg:http://127.0.0.1:8080

你可能感兴趣的:(windows安装rockermq)