安装
rocketmq基于Java编写,首先需要jdk环境
1:可以下载source,编译。
https://mirror.bit.edu.cn/apache/rocketmq/4.7.1/rocketmq-all-4.7.1-source-release.zip
// 也可以直接下载bin文件
https://www.apache.org/dyn/closer.cgi?path=rocketmq/4.7.1/rocketmq-all-4.7.1-bin-release.zip
2:windows和linux都可以解压使用。
因为内存的问题,最好注意下内存的使用大小:
vi runbroker.cmd,需要注意最后的 set "JAVA_OPT=%JAVA_OPT% -cp "%CLASSPATH%"
@echo off
rem Licensed to the Apache Software Foundation (ASF) under one or more
rem contributor license agreements. See the NOTICE file distributed with
rem this work for additional information regarding copyright ownership.
rem The ASF licenses this file to You under the Apache License, Version 2.0
rem (the "License"); you may not use this file except in compliance with
rem the License. You may obtain a copy of the License at
rem
rem http://www.apache.org/licenses/LICENSE-2.0
rem
rem Unless required by applicable law or agreed to in writing, software
rem distributed under the License is distributed on an "AS IS" BASIS,
rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
rem See the License for the

本文详细介绍了如何在Windows和Linux环境下安装RocketMQ,包括源码编译和预设内存配置建议,以及启动namesrv和broker的步骤。还涉及了内存调整和console集成等内容。
最低0.47元/天 解锁文章
1577

被折叠的 条评论
为什么被折叠?



