Skip to content

Commit

Permalink
fix issue 16655
Browse files Browse the repository at this point in the history
  • Loading branch information
SbloodyS committed Sep 26, 2024
1 parent f56a311 commit 9cdf072
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 41 deletions.
50 changes: 16 additions & 34 deletions docs/configs/docsdev.js
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,14 @@ export default {
title: 'Kubernetes Deployment',
link: '/en-us/docs/dev/user_doc/guide/installation/kubernetes.html',
},
{
title: 'General Setting',
link: '/en-us/docs/dev/user_doc/guide/howto/general-setting.html',
},
{
title: 'Datasource Setting',
link: '/en-us/docs/dev/user_doc/guide/howto/datasource-setting.html',
},
{
title: 'integration',
children: [
Expand Down Expand Up @@ -713,23 +721,6 @@ export default {
},
],
},
{
title: 'FAQ',
children: [
{
title: 'General Setting',
link: '/en-us/docs/dev/user_doc/guide/howto/general-setting.html',
},
{
title: 'Datasource Setting',
link: '/en-us/docs/dev/user_doc/guide/howto/datasource-setting.html',
},
{
title: 'Others',
link: '/en-us/docs/release/faq.html',
}
],
},
{
title: 'Older Versions',
children: [
Expand Down Expand Up @@ -1215,6 +1206,14 @@ export default {
title: 'Kubernetes部署(Kubernetes)',
link: '/zh-cn/docs/dev/user_doc/guide/installation/kubernetes.html',
},
{
title: '通用设置',
link: '/zh-cn/docs/dev/user_doc/guide/howto/general-setting.html',
},
{
title: '数据源设置',
link: '/zh-cn/docs/dev/user_doc/guide/howto/datasource-setting.html',
},
{
title: '集成',
children: [
Expand Down Expand Up @@ -1421,23 +1420,6 @@ export default {
},
],
},
{
title: 'FAQ',
children: [
{
title: '通用设置',
link: '/zh-cn/docs/dev/user_doc/guide/howto/general-setting.html',
},
{
title: '数据源设置',
link: '/zh-cn/docs/dev/user_doc/guide/howto/datasource-setting.html',
},
{
title: '其他',
link: '/zh-cn/docs/release/faq.html',
},
],
},
{
title: '历史版本',
children: [
Expand Down
2 changes: 1 addition & 1 deletion docs/configs/index.md.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ import docs317Config from '../../../site_config/docs3-1-7';
import docs318Config from '../../../site_config/docs3-1-8';
import docs319Config from '../../../site_config/docs3-1-9';
import docs320Config from '../../../site_config/docs3-2-0';
import docs310Config from '../../../site_config/docs3-2-1';
import docs321Config from '../../../site_config/docs3-2-1';
import docs322Config from '../../../site_config/docs3-2-2';
import docsDevConfig from '../../../site_config/docsdev';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ We here use MySQL as an example to illustrate how to configure an external datab
> NOTE: If you use MySQL, you need to manually download [mysql-connector-java driver][mysql] (8.0.16) and move it to the libs directory of DolphinScheduler
> which is `api-server/libs` and `alert-server/libs` and `master-server/libs` and `worker-server/libs`.
* First of all, follow the instructions in [datasource-setting](datasource-setting.md) `Pseudo-Cluster/Cluster Initialize the Database` section to create and initialize database
* First of all, follow the instructions in `Pseudo-Cluster/Cluster Initialize the Database` section to create and initialize database
* Set the following environment variables in your terminal with your database address, username and password for `{address}`, `{user}` and `{password}`:

```shell
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/docs/en/guide/installation/pseudo-cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export PATH=$HADOOP_HOME/bin:$SPARK_HOME/bin:$PYTHON_LAUNCHER:$JAVA_HOME/bin:$HI
## Initialize the Database

Follow the instructions in [datasource-setting](../howto/datasource-setting.md) `Pseudo-Cluster/Cluster Initialize the Database` section to create and initialize database
Follow the instructions in [datasource-setting](datasource-setting.md) `Pseudo-Cluster/Cluster Initialize the Database` section to create and initialize database

## Start DolphinScheduler

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/en/guide/installation/standalone.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ bash ./bin/dolphinscheduler-daemon.sh status standalone-server
## Database Configuration

Standalone server use H2 database as its metadata store, it is easy and users do not need to start database before they set up server.
But if user want to store metabase in other database like MySQL or PostgreSQL, they have to change some configuration. Follow the instructions in [datasource-setting](../howto/datasource-setting.md) `Standalone Switching Metadata Database Configuration` section to create and initialize database
But if user want to store metabase in other database like MySQL or PostgreSQL, they have to change some configuration. Follow the instructions in [datasource-setting](datasource-setting.md) `Standalone Switching Metadata Database Configuration` section to create and initialize database

> Note: DS uses the /tmp/dolphinscheduler directory as the resource center by default. If you need to change the directory of the resource center, change the resource items in the conf/common.properties file
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

> 如果使用 MySQL 需要手动下载 [mysql-connector-java 驱动][mysql] (8.0.16) 并移动到 DolphinScheduler 的每个模块的 libs 目录下,其中包括 `api-server/libs``alert-server/libs``master-server/libs``worker-server/libs`
* 首先,参照 [数据源配置](datasource-setting.md) `伪分布式/分布式安装初始化数据库` 创建并初始化数据库
* 首先,参照 `伪分布式/分布式安装初始化数据库` 创建并初始化数据库
* 在你的命令行设定下列环境变量,将 `{address}`, `{user}``{password}` 改为你数据库的地址, 用户名和密码

```shell
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/docs/zh/guide/installation/pseudo-cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export PATH=$HADOOP_HOME/bin:$SPARK_HOME/bin:$PYTHON_LAUNCHER:$JAVA_HOME/bin:$HI
## 初始化数据库

请参考 [数据源配置] `伪分布式/分布式安装初始化数据库` 创建并初始化数据库
请参考 [数据源配置](datasource-setting.md) `伪分布式/分布式安装初始化数据库` 创建并初始化数据库

## 启动 DolphinScheduler

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/zh/guide/installation/standalone.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ bash ./bin/dolphinscheduler-daemon.sh status standalone-server
## 配置数据库

Standalone server 使用 H2 数据库作为其元数据存储数据,这是为了上手简单,用户在启动服务器之前不需要启动数据库。但是如果用户想将元数据库存储在
MySQL 或 PostgreSQL 等其他数据库中,必须更改一些配置。请参考 [数据源配置](../howto/datasource-setting.md) `Standalone 切换元数据库` 创建并初始化数据库
MySQL 或 PostgreSQL 等其他数据库中,必须更改一些配置。请参考 [数据源配置](datasource-setting.md) `Standalone 切换元数据库` 创建并初始化数据库

> **_注意_**: DS默认使用本地模式的目录 /tmp/dolphinscheduler 作为资源中心, 如果需要修改资源中心目录, 请修改配置文件 conf/common.properties 中 resource 的相关配置项

0 comments on commit 9cdf072

Please sign in to comment.