You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@eventmesh.apache.org by ch...@apache.org on 2023/02/16 15:06:34 UTC

[incubator-eventmesh-site] branch master updated: polish pull rocketmq docker image

This is an automated email from the ASF dual-hosted git repository.

chenguangsheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-eventmesh-site.git


The following commit(s) were added to refs/heads/master by this push:
     new a18008d1 polish pull rocketmq docker image
     new 3b0d226f Merge pull request #63 from mxsm/eventmesh-rocketmq
a18008d1 is described below

commit a18008d1a2519fa8f42f935d2280131543dfef69
Author: mxsm <lj...@gmail.com>
AuthorDate: Sat Feb 11 23:20:59 2023 +0800

    polish pull rocketmq docker image
---
 docs/instruction/01-store-with-docker.md           | 32 +---------------------
 docs/instruction/01-store.md                       |  6 ++--
 .../current/instruction/01-store-with-docker.md    | 10 +++----
 .../current/instruction/01-store.md                |  6 ++--
 4 files changed, 11 insertions(+), 43 deletions(-)

diff --git a/docs/instruction/01-store-with-docker.md b/docs/instruction/01-store-with-docker.md
index 2f8e98d1..f8f577b6 100644
--- a/docs/instruction/01-store-with-docker.md
+++ b/docs/instruction/01-store-with-docker.md
@@ -10,40 +10,12 @@ Gradle 7.0+, we recommend 7.0.*
 If you choose standalone mode, you could skip this file and go to the next step: Start Eventmesh-Runtime; if not, you could choose RocketMQ as the store layer.
 ```
 
-
-## Download
-
-Download the Binary code (recommended: 4.9.*) from [RocketMQ Official](https://rocketmq.apache.org/dowloading/releases/). Here we take 4.9.4 as an example.
-
-```
-unzip rocketmq-all-4.9.4-bin-release.zip
-cd rocketmq-4.9.4/
-```
-
-## Deploy
-
-- #### Start Name Server
-
-```
-nohup sh bin/mqnamesrv &
-tail -f ~/logs/rocketmqlogs/namesrv.log
-```
-
-- #### Start Broker
-
-```
-nohup sh bin/mqbroker -n localhost:9876 &
-tail -f ~/logs/rocketmqlogs/broker.log
-```
-
-The deployment of eventmesh-store has finished, please go to the next step: [Start Eventmesh-Runtime](02-runtime.md)
-
 ## Deploy
 
 Pull RocketMQ image from Docker Hub:
 
 ```shell
-#Get RocketMQ image
+#Pull rocketmq image
 sudo docker pull apache/rocketmq:4.9.4
 ```
 
@@ -59,10 +31,8 @@ sudo docker run -d -p 10911:10911 -p 10909:10909 -v `pwd`/data/broker/logs:/root
 
 Please note that the **rocketmq-broker ip** is **pod ip**. If you want to modify this ip, you can set it your custom value in **broker.conf**。
 
-
 By now, the deployment of eventmesh-store has finished, please go to the next step: [Start Eventmesh-Runtime Using Docker](02-runtime-with-docker.md)
 
-
 ## Reference
 
 For more details about RocketMQ,please refer to <https://rocketmq.apache.org/docs/quick-start/>
diff --git a/docs/instruction/01-store.md b/docs/instruction/01-store.md
index f409d652..89cf87c1 100644
--- a/docs/instruction/01-store.md
+++ b/docs/instruction/01-store.md
@@ -12,11 +12,11 @@ If you choose standalone mode, you could skip this file and go to the next step:
 
 ## Download
 
-Download the Binary code (recommended: 4.9.*) from [RocketMQ Official](https://rocketmq.apache.org/dowloading/releases/). Here we take 4.9.2 as an example.
+Download the Binary code (recommended: 4.9.*) from [RocketMQ Official](https://rocketmq.apache.org/download/). Here we take 4.9.4 as an example.
 
 ```
-unzip rocketmq-all-4.9.2-bin-release.zip
-cd rocketmq-4.9.2/
+unzip rocketmq-all-4.9.4-bin-release.zip
+cd rocketmq-4.9.4/
 ```
 
 ## Deploy
diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/instruction/01-store-with-docker.md b/i18n/zh/docusaurus-plugin-content-docs/current/instruction/01-store-with-docker.md
index 539c81cd..68125625 100644
--- a/i18n/zh/docusaurus-plugin-content-docs/current/instruction/01-store-with-docker.md
+++ b/i18n/zh/docusaurus-plugin-content-docs/current/instruction/01-store-with-docker.md
@@ -14,20 +14,18 @@ eventmesh在非standalone模式下,依赖RocketMQ作为存储层;若采用st
 在命令行输入如下命令直接从 docker hub 上获取 RocketMQ 镜像:
 
 ```shell
-#获取 namesrv 镜像
-sudo docker pull rocketmqinc/rocketmq-namesrv:4.5.0-alpine
-#获取 broker 镜像
-sudo docker pull rocketmqinc/rocketmq-broker:4.5.0-alpine
+#获取 rocketmq 镜像
+sudo docker pull apache/rocketmq:4.9.4
 ```
 
 在命令行输入以下命令运行namerv容器和broker容器
 
 ```shell
 #运行 namerv 容器
-sudo docker run -d -p 9876:9876 -v `pwd`/data/namesrv/logs:/root/logs -v `pwd`/data/namesrv/store:/root/store --name rmqnamesrv  rocketmqinc/rocketmq-namesrv:4.5.0-alpine sh mqnamesrv
+sudo docker run -d -p 9876:9876 -v `pwd`/data/namesrv/logs:/root/logs -v `pwd`/data/namesrv/store:/root/store --name rmqnamesrv  apache/rocketmq:4.9.4 sh mqnamesrv
 
 #运行 broker 容器
-sudo docker run -d -p 10911:10911 -p 10909:10909 -v `pwd`/data/broker/logs:/root/logs -v `pwd`/data/broker/store:/root/store --name rmqbroker --link rmqnamesrv:namesrv -e "NAMESRV_ADDR=namesrv:9876" rocketmqinc/rocketmq-broker:4.5.0-alpine sh mqbroker -c ../conf/broker.conf
+sudo docker run -d -p 10911:10911 -p 10909:10909 -v `pwd`/data/broker/logs:/root/logs -v `pwd`/data/broker/store:/root/store --name rmqbroker --link rmqnamesrv:namesrv -e "NAMESRV_ADDR=namesrv:9876" apache/rocketmq:4.9.4 sh mqbroker -c ../conf/broker.conf
 ```
 
 请注意 **rocketmq-broker ip** 是 **pod ip**, 如果你想修改这个ip, 可以通过挂载容器中 **broker.conf** 文件的方式并修改文件中的 **brokerIP1** 配置项为自定义值
diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/instruction/01-store.md b/i18n/zh/docusaurus-plugin-content-docs/current/instruction/01-store.md
index 7317e3ad..6d520fb0 100644
--- a/i18n/zh/docusaurus-plugin-content-docs/current/instruction/01-store.md
+++ b/i18n/zh/docusaurus-plugin-content-docs/current/instruction/01-store.md
@@ -13,11 +13,11 @@ eventmesh在非standalone模式下,依赖RocketMQ作为存储层;若采用st
 
 ## 下载
 
-从[RocketMQ官方网站](https://rocketmq.apache.org/dowloading/releases/) 下载Binary代码(推荐使用4.9.*版本),这里以4.9.2为例
+从[RocketMQ官方网站](https://rocketmq.apache.org/download/) 下载Binary代码(推荐使用4.9.*版本),这里以4.9.4为例
 
 ```
-unzip rocketmq-all-4.9.2-bin-release.zip
-cd rocketmq-4.9.2/
+unzip rocketmq-all-4.9.4-bin-release.zip
+cd rocketmq-4.9.4/
 ```
 
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: commits-help@eventmesh.apache.org