Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: update the link by the cloudberry code base dir changed #169

Merged
merged 1 commit into from
Nov 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/cbdb-linux-compile.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -97,11 +97,11 @@ The following steps work on CentOS 7. For other CentOS versions, these steps mig
</TabItem>
<TabItem value="ubuntu-18.04" label="For Ubuntu 18.04 or later" default>

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
Expand Down
4 changes: 2 additions & 2 deletions docs/cbdb-macos-compile.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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。**请勿将本文档用于生产环境**。
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -97,7 +97,7 @@ git clone https://github.com/cloudberrydb/cloudberrydb.git
</TabItem>
<TabItem value="ubuntu-18.04" label="Ubuntu 18.04 或更新版本" default>

1. 执行 `readmes` 目录下的 `README.Ubuntu.bash` 脚本,以安装依赖项。
1. 执行 `deploy/build` 目录下的 `README.Ubuntu.bash` 脚本,以安装依赖项。

```shell
# 执行该脚本需要输入密码。
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 以供开发测试使用。请按照以下步骤操作。
Expand Down Expand Up @@ -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. 开启示例集群。
Expand Down