From e9ccaffbe07158c68e999e65186ea37d6ed33ab0 Mon Sep 17 00:00:00 2001 From: insist777 <84278047+insist777@users.noreply.github.com> Date: Tue, 9 Aug 2022 19:35:49 +0800 Subject: [PATCH] [doc] Refine the deployment documentation (#11361) --- docs/docs/en/guide/installation/pseudo-cluster.md | 3 ++- docs/docs/en/guide/start/docker.md | 2 +- docs/docs/zh/guide/installation/pseudo-cluster.md | 3 ++- docs/docs/zh/guide/start/docker.md | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/docs/en/guide/installation/pseudo-cluster.md b/docs/docs/en/guide/installation/pseudo-cluster.md index bd13bb273..b01602e1d 100644 --- a/docs/docs/en/guide/installation/pseudo-cluster.md +++ b/docs/docs/en/guide/installation/pseudo-cluster.md @@ -70,7 +70,7 @@ Go to the ZooKeeper installation directory, copy configure file `zoo_sample.cfg` ## Modify Configuration After completing the preparation of the basic environment, you need to modify the configuration file according to the -environment you used. The configuration files are both in directory `bin/env` and named `install_env.sh` and `dolphinscheduler_env.sh`. +environment you used. Change the environment configurations via `export =`. The configuration files are located in directory `bin/env` as `install_env.sh` and `dolphinscheduler_env.sh`. ### Modify `install_env.sh` @@ -83,6 +83,7 @@ each machine. You could find this file in the path `bin/env/install_env.sh` and # --------------------------------------------------------- # Due to the master, worker, and API server being deployed on a single node, the IP of the server is the machine IP or localhost ips="localhost" +sshPort="22" masters="localhost" workers="localhost:default" alertServer="localhost" diff --git a/docs/docs/en/guide/start/docker.md b/docs/docs/en/guide/start/docker.md index b2585eb63..b09d63b0f 100644 --- a/docs/docs/en/guide/start/docker.md +++ b/docs/docs/en/guide/start/docker.md @@ -38,7 +38,7 @@ DolphinScheduler in a long term. You have to install [docker-compose](https://do start servers. After installed docker-compose, it is recommended to modify some configurations for better experience. We highly recommended -modify docker-compose's memory up to 4 GB. +modify docker-compose's free memory up to 4 GB. - Mac:Click `Docker Desktop -> Preferences -> Resources -> Memory` modified it - Windows Docker Desktop: diff --git a/docs/docs/zh/guide/installation/pseudo-cluster.md b/docs/docs/zh/guide/installation/pseudo-cluster.md index 09a419e63..6fb20f630 100644 --- a/docs/docs/zh/guide/installation/pseudo-cluster.md +++ b/docs/docs/zh/guide/installation/pseudo-cluster.md @@ -73,7 +73,7 @@ chmod 600 ~/.ssh/authorized_keys ### 修改 `install_env.sh` 文件 -文件 `install_env.sh` 描述了哪些机器将被安装 DolphinScheduler 以及每台机器对应安装哪些服务。您可以在路径 `bin/env/install_env.sh` 中找到此文件,配置详情如下。 +文件 `install_env.sh` 描述了哪些机器将被安装 DolphinScheduler 以及每台机器对应安装哪些服务。您可以在路径 `bin/env/install_env.sh` 中找到此文件,可通过以下方式更改env变量,export =,配置详情如下。 ```shell # --------------------------------------------------------- @@ -81,6 +81,7 @@ chmod 600 ~/.ssh/authorized_keys # --------------------------------------------------------- # Due to the master, worker, and API server being deployed on a single node, the IP of the server is the machine IP or localhost ips="localhost" +sshPort="22" masters="localhost" workers="localhost:default" alertServer="localhost" diff --git a/docs/docs/zh/guide/start/docker.md b/docs/docs/zh/guide/start/docker.md index 4666558fa..6ac446d9a 100644 --- a/docs/docs/zh/guide/start/docker.md +++ b/docs/docs/zh/guide/start/docker.md @@ -32,7 +32,7 @@ $ docker run --name dolphinscheduler-standalone-server -p 12345:12345 -p 25333:2 服务重启的时候保留元数据(如需要挂载到本地路径需要做指定)。他更健壮,能保证用户体验更加完整的 DolphinScheduler 服务。这种方式需要先安装 [docker-compose](https://docs.docker.com/compose/install/),链接适用于 Mac,Linux,Windows。 -安装完成 docker-compose 后我们需要修改部分配置以便能更好体验 DolphinScheduler 服务,我们需要配置不少于 4GB 的内存: +安装完成 docker-compose 后我们需要修改部分配置以便能更好体验 DolphinScheduler 服务,我们需要配置不少于 4GB 的空闲内存: - Mac:点击 `Docker Desktop -> Preferences -> Resources -> Memory` 调整内存大小 - Windows Docker Desktop: -- GitLab