Browse Source

[doc] Refine the deployment documentation (#11361)

3.1.0-release
insist777 2 years ago committed by GitHub
parent
commit
e9ccaffbe0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      docs/docs/en/guide/installation/pseudo-cluster.md
  2. 2
      docs/docs/en/guide/start/docker.md
  3. 3
      docs/docs/zh/guide/installation/pseudo-cluster.md
  4. 2
      docs/docs/zh/guide/start/docker.md

3
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 ## Modify Configuration
After completing the preparation of the basic environment, you need to modify the configuration file according to the 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 <ENV_NAME>=<VALUE>`. The configuration files are located in directory `bin/env` as `install_env.sh` and `dolphinscheduler_env.sh`.
### Modify `install_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 # 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" ips="localhost"
sshPort="22"
masters="localhost" masters="localhost"
workers="localhost:default" workers="localhost:default"
alertServer="localhost" alertServer="localhost"

2
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. start servers.
After installed docker-compose, it is recommended to modify some configurations for better experience. We highly recommended 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 - Mac:Click `Docker Desktop -> Preferences -> Resources -> Memory` modified it
- Windows Docker Desktop: - Windows Docker Desktop:

3
docs/docs/zh/guide/installation/pseudo-cluster.md

@ -73,7 +73,7 @@ chmod 600 ~/.ssh/authorized_keys
### 修改 `install_env.sh` 文件 ### 修改 `install_env.sh` 文件
文件 `install_env.sh` 描述了哪些机器将被安装 DolphinScheduler 以及每台机器对应安装哪些服务。您可以在路径 `bin/env/install_env.sh` 中找到此文件,配置详情如下。 文件 `install_env.sh` 描述了哪些机器将被安装 DolphinScheduler 以及每台机器对应安装哪些服务。您可以在路径 `bin/env/install_env.sh` 中找到此文件,可通过以下方式更改env变量,export <ENV_NAME>=<VALUE>配置详情如下。
```shell ```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 # 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" ips="localhost"
sshPort="22"
masters="localhost" masters="localhost"
workers="localhost:default" workers="localhost:default"
alertServer="localhost" alertServer="localhost"

2
docs/docs/zh/guide/start/docker.md

@ -32,7 +32,7 @@ $ docker run --name dolphinscheduler-standalone-server -p 12345:12345 -p 25333:2
服务重启的时候保留元数据(如需要挂载到本地路径需要做指定)。他更健壮,能保证用户体验更加完整的 DolphinScheduler 服务。这种方式需要先安装 服务重启的时候保留元数据(如需要挂载到本地路径需要做指定)。他更健壮,能保证用户体验更加完整的 DolphinScheduler 服务。这种方式需要先安装
[docker-compose](https://docs.docker.com/compose/install/),链接适用于 Mac,Linux,Windows。 [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` 调整内存大小 - Mac:点击 `Docker Desktop -> Preferences -> Resources -> Memory` 调整内存大小
- Windows Docker Desktop: - Windows Docker Desktop:

Loading…
Cancel
Save