From 2084c451c7d6612cd5149704ecc7a391bd025856 Mon Sep 17 00:00:00 2001 From: yihong0618 Date: Mon, 4 Nov 2024 13:27:16 +0800 Subject: [PATCH] doc: update the link by the cloudberry code base dir changed Signed-off-by: yihong0618 --- docs/cbdb-linux-compile.md | 8 ++++---- docs/cbdb-macos-compile.md | 4 ++-- .../current/cbdb-linux-compile.md | 6 +++--- .../current/cbdb-macos-compile.md | 4 ++-- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/cbdb-linux-compile.md b/docs/cbdb-linux-compile.md index 7f62e0511..a4feea084 100644 --- a/docs/cbdb-linux-compile.md +++ b/docs/cbdb-linux-compile.md @@ -8,7 +8,7 @@ import TabItem from '@theme/TabItem'; # Compile and Install Cloudberry Database on Linux :::info -The source of this document is from the GitHub repository [`cloudberrydb/cloudberrydb`](https://github.com/cloudberrydb/cloudberrydb/blob/main/readmes/README.Linux.md). +The source of this document is from the GitHub repository [`cloudberrydb/cloudberrydb`](https://github.com/cloudberrydb/cloudberrydb/blob/main/deploy/build/README.Linux.md). ::: This document shares how to compile and install Cloudberry Database on Linux systems (CentOS 7, RHEL, and Ubuntu). Note that this document is for developers to try out Cloudberry Database in a single-node environments. DO NOT use this document for production environments. @@ -38,7 +38,7 @@ Enter the repository and install dependencies according to your operating system The following steps work on CentOS 7. For other CentOS versions, these steps might work but are not guaranteed to work. -1. Run the Bash script `README.CentOS.bash` in the `readmes` directory of the `cloudberrydb/cloudberrydb` repository. To run this script, password is required. Then, some required dependencies will be automatically downloaded. +1. Run the Bash script `README.CentOS.bash` in the `deploy/build` directory of the `cloudberrydb/cloudberrydb` repository. To run this script, password is required. Then, some required dependencies will be automatically downloaded. ```bash cd cloudberrydb/deploy/build @@ -97,11 +97,11 @@ The following steps work on CentOS 7. For other CentOS versions, these steps mig -1. Install dependencies by running the `README.Ubuntu.bash` script in the `readmes` directory. +1. Install dependencies by running the `README.Ubuntu.bash` script in the `deploy/build` directory. ```shell ## You need to enter your password to run. - sudo ~/cloudberrydb/readmes/README.Ubuntu.bash + sudo ~/cloudberrydb/deploy/build/README.Ubuntu.bash ``` :::info diff --git a/docs/cbdb-macos-compile.md b/docs/cbdb-macos-compile.md index db0b3b577..fe831c616 100644 --- a/docs/cbdb-macos-compile.md +++ b/docs/cbdb-macos-compile.md @@ -5,7 +5,7 @@ title: On macOS # Compile and Install Cloudberry Database on macOS :::info -The source of this document is from the GitHub repository [`cloudberrydb/cloudberrydb`](https://github.com/cloudberrydb/cloudberrydb/blob/main/readmes/README.macOS.md). +The source of this document is from the GitHub repository [`cloudberrydb/cloudberrydb`](https://github.com/cloudberrydb/cloudberrydb/blob/main/deploy/build/README.macOS.md). ::: This document shares how to build, compile, and install Cloudberry Database on macOS (single node) for development and trial purposes. Follow the steps below. @@ -93,7 +93,7 @@ source $(cd ~; pwd)/install/cbdb/greenplum_path.sh # 4. Install the Python dependencies. -pip3 install --user -r readmes/python-dependencies.txt +pip3 install --user -r python-dependencies.txt # 5. Start a demo cluster. diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/cbdb-linux-compile.md b/i18n/zh/docusaurus-plugin-content-docs/current/cbdb-linux-compile.md index 6b3792da2..ea57fe235 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/cbdb-linux-compile.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/cbdb-linux-compile.md @@ -8,7 +8,7 @@ import TabItem from '@theme/TabItem'; # 在 Linux 系统上编译和安装 Cloudberry Database :::info -本文档来自 GitHub 仓库 [`cloudberrydb/cloudberrydb`](https://github.com/cloudberrydb/cloudberrydb/blob/main/readmes/README.Linux.md). +本文档来自 GitHub 仓库 [`cloudberrydb/cloudberrydb`](https://github.com/cloudberrydb/cloudberrydb/blob/main/deploy/build/README.Linux.md). ::: 本文档分享如何在 Linux 系统(CentOS 7、RHEL 和 Ubuntu)上编译和安装 Cloudberry Database。请注意,本文档仅供开发人员在单节点环境中尝试 Cloudberry Database。**请勿将本文档用于生产环境**。 @@ -38,7 +38,7 @@ git clone https://github.com/cloudberrydb/cloudberrydb.git 以下步骤在 CentOS 7 上测试通过。对于其他版本的 CentOS,这些步骤可能有效,但不能保证有效。 -1. 执行 `cloudberrydb/cloudberrydb` 仓库下 `readmes` 目录中的 `README.CentOS.bash` 脚本。执行此脚本需要输入密码。然后,系统会自动下载一些必要的依赖项。 +1. 执行 `cloudberrydb/cloudberrydb` 仓库下 `deploy/build` 目录中的 `README.CentOS.bash` 脚本。执行此脚本需要输入密码。然后,系统会自动下载一些必要的依赖项。 ```bash cd cloudberrydb/deploy/build @@ -97,7 +97,7 @@ git clone https://github.com/cloudberrydb/cloudberrydb.git -1. 执行 `readmes` 目录下的 `README.Ubuntu.bash` 脚本,以安装依赖项。 +1. 执行 `deploy/build` 目录下的 `README.Ubuntu.bash` 脚本,以安装依赖项。 ```shell # 执行该脚本需要输入密码。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/cbdb-macos-compile.md b/i18n/zh/docusaurus-plugin-content-docs/current/cbdb-macos-compile.md index 643ecfa8f..00a6f24da 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/cbdb-macos-compile.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/cbdb-macos-compile.md @@ -5,7 +5,7 @@ title: 在 macOS 上 # 在 macOS 上编译和安装 Cloudberry Database :::info 提示 -本文档来自 GitHub 仓库 [`cloudberrydb/cloudberrydb`](https://github.com/cloudberrydb/cloudberrydb/blob/main/readmes/README.macOS.md)。 +本文档来自 GitHub 仓库 [`cloudberrydb/cloudberrydb`](https://github.com/cloudberrydb/cloudberrydb/blob/main/deploy/build/README.macOS.md)。 ::: 本文档分享了如何在 macOS 上(单节点)构建、编译和安装 Cloudberry Database 以供开发测试使用。请按照以下步骤操作。 @@ -93,7 +93,7 @@ source $(cd ~; pwd)/install/cbdb/greenplum_path.sh # 4. 安装 Python 依赖。 -pip3 install --user -r readmes/python-dependencies.txt +pip3 install --user -r python-dependencies.txt # 5. 开启示例集群。