[doc] Refine the deployment documentation (#11361)
(cherry picked from commit e9ccaffbe0)
This commit is contained in:
parent
b9cc2639d0
commit
be37dd4886
|
|
@ -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 <ENV_NAME>=<VALUE>`. 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"
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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 <ENV_NAME>=<VALUE>,配置详情如下。
|
||||
|
||||
```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"
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue