diff --git a/Docs/02-getting-started/quick-deploy-in-docker.md b/Docs/02-getting-started/quick-deploy-in-docker.md index 9de774651..3953d5d18 100644 --- a/Docs/02-getting-started/quick-deploy-in-docker.md +++ b/Docs/02-getting-started/quick-deploy-in-docker.md @@ -14,7 +14,7 @@ The username and password for login are **root** and **stonedb123**. ### 1. Pull the image Run the following command: ```bash -docker pull stoneatom/stonedb:v0.1 +docker pull stoneatom/stonedb:v1.0.2 ``` ### 2. Run the image Run the following command: diff --git a/Docs/02-getting-started/quick-deployment/deploy-stonedb-with-deb.md b/Docs/02-getting-started/quick-deployment/deploy-stonedb-with-deb.md index 94ab0b41c..0c75f572c 100644 --- a/Docs/02-getting-started/quick-deployment/deploy-stonedb-with-deb.md +++ b/Docs/02-getting-started/quick-deployment/deploy-stonedb-with-deb.md @@ -10,12 +10,7 @@ sidebar_position: 3.14 wget https://github.com/stoneatom/stonedb/releases/download/5.7-v1.0.2-GA/stonedb-ce-5.7_v1.0.2.ubuntu.amd64.deb ``` -2. Map dependent libraries. -```sql -source /opt/stonedb57/install/bin/sourceenv -``` - -3. Use the DPKG command to install the DEB package. +2. Use the DPKG command to install the DEB package. ```sql dpkg -i stonedb-ce-5.7_v1.0.2.ubuntu.amd64.deb ``` @@ -23,6 +18,12 @@ dpkg -i stonedb-ce-5.7_v1.0.2.ubuntu.amd64.deb If this step fails, run `ldd /opt/stonedb57/install/bin/mysqld | grep 'not found'` to check whether any dependent libraries are missing. If yes, run `source /opt/stonedb57/install/bin/sourceenv` and then retry this step. ::: +3. Map dependent libraries. +```sql +source /opt/stonedb57/install/bin/sourceenv +``` + + 4. Initialize the database. ```sql /opt/stonedb57/install/bin/mysqld --defaults-file=/opt/stonedb57/install/my.cnf --initialize --user=mysql diff --git a/Docs/02-getting-started/quick-deployment/deploy-stonedb-with-rpm.md b/Docs/02-getting-started/quick-deployment/deploy-stonedb-with-rpm.md index 25e34303e..cb743ff05 100644 --- a/Docs/02-getting-started/quick-deployment/deploy-stonedb-with-rpm.md +++ b/Docs/02-getting-started/quick-deployment/deploy-stonedb-with-rpm.md @@ -11,12 +11,7 @@ sidebar_position: 3.15 wget https://github.com/stoneatom/stonedb/releases/download/5.7-v1.0.2-GA/stonedb-ce-5.7-v1.0.2.el7.x86_64.rpm ``` -2. Map dependent libraries. -```sql -source /opt/stonedb57/install/bin/sourceenv -``` - -3. Install the RPM package. +2. Install the RPM package. ```sql rpm -ivh stonedb-ce-5.7-v1.0.2.el7.x86_64.rpm ``` @@ -24,6 +19,12 @@ rpm -ivh stonedb-ce-5.7-v1.0.2.el7.x86_64.rpm If this step fails, run `ldd /opt/stonedb57/install/bin/mysqld | grep 'not found'` to check whether any dependent libraries are missing. If yes, run `source /opt/stonedb57/install/bin/sourceenv` and then retry this step. ::: +3. Map dependent libraries. +```sql +source /opt/stonedb57/install/bin/sourceenv +``` + + 4. Initialize the database. ```sql /opt/stonedb57/install/bin/mysqld --defaults-file=/opt/stonedb57/install/my.cnf --initialize --user=mysql diff --git a/Docs/02-getting-started/quick-deployment/quick-deployment-57.md b/Docs/02-getting-started/quick-deployment/quick-deployment-57.md index aa8c247da..5f0056b28 100644 --- a/Docs/02-getting-started/quick-deployment/quick-deployment-57.md +++ b/Docs/02-getting-started/quick-deployment/quick-deployment-57.md @@ -5,14 +5,14 @@ sidebar_position: 3.12 # Quick Deploy StoneDB-5.7 ## 1. Download the installation package -Click [here](https://static.stoneatom.com/custom/stonedb-ce-5.7-v1.0.1.el7.x86_64.tar.gz) to download the latest installation package of StoneDB. +Click [here](https://static.stoneatom.com/custom/stonedb-ce-5.7-v1.0.2.el7.x86_64.tar.gz) to download the latest installation package of StoneDB. :::info To simplify deployment, the installation package provided here is pre-compiled to include all required dependencies. ::: ## 2. Upload and decompress the TAR package ```shell cd / -tar -zxvf stonedb-ce-5.7-v1.0.1.el7.x86_64.tar.gz +tar -zxvf stonedb-ce-5.7-v1.0.2.el7.x86_64.tar.gz ``` You can upload the installation package to the server. The name of the folder extracted from the package is **stonedb57**. In this topic, **/stonedb57** is used as the installation package. ## 3. Check dependencies diff --git a/website/i18n/zh/docusaurus-plugin-content-docs/current/02-getting-started/quick-deploy-in-docker.md b/website/i18n/zh/docusaurus-plugin-content-docs/current/02-getting-started/quick-deploy-in-docker.md index b2fe02d7a..5c584687e 100644 --- a/website/i18n/zh/docusaurus-plugin-content-docs/current/02-getting-started/quick-deploy-in-docker.md +++ b/website/i18n/zh/docusaurus-plugin-content-docs/current/02-getting-started/quick-deploy-in-docker.md @@ -11,7 +11,7 @@ sidebar_position: 3.2 默认登录账号密码为 root,stonedb123 ### 1、docker pull ```bash -docker pull stoneatom/stonedb:v0.1 +docker pull stoneatom/stonedb:v1.0.2 ``` ### 2、docker run 参数说明: diff --git a/website/i18n/zh/docusaurus-plugin-content-docs/current/02-getting-started/quick-deployment/deploy-stonedb-with-deb.md b/website/i18n/zh/docusaurus-plugin-content-docs/current/02-getting-started/quick-deployment/deploy-stonedb-with-deb.md index 6ae2eb4fa..7c6c5b587 100644 --- a/website/i18n/zh/docusaurus-plugin-content-docs/current/02-getting-started/quick-deployment/deploy-stonedb-with-deb.md +++ b/website/i18n/zh/docusaurus-plugin-content-docs/current/02-getting-started/quick-deployment/deploy-stonedb-with-deb.md @@ -7,7 +7,8 @@ sidebar_position: 3.14 ## 步骤 1:安装 StoneDB 1. 下载 StoneDB 软件包。您可以通过以下两种方式进行下载: - - GitHub 下载 + +- GitHub 下载 ```sql wget https://github.com/stoneatom/stonedb/releases/download/5.7-v1.0.2-GA/stonedb-ce-5.7_v1.0.2.ubuntu.amd64.deb ``` @@ -17,12 +18,7 @@ wget https://github.com/stoneatom/stonedb/releases/download/5.7-v1.0.2-GA/stone wget https://gitee.com/StoneDB/stonedb/releases/download/5.7-v1.0.2-GA/stonedb-ce-5.7_v1.0.2.ubuntu.amd64.deb ``` -2. 映射依赖包。 -```sql -source /opt/stonedb57/install/bin/sourceenv -``` - -3. 使用 DPKG 命令进行安装。 +2. 使用 DPKG 命令进行安装。 ```sql dpkg -i stonedb-ce-5.7_v1.0.2.ubuntu.amd64.deb ``` @@ -30,6 +26,11 @@ dpkg -i stonedb-ce-5.7_v1.0.2.ubuntu.amd64.deb 如该步骤执行失败,请执行 `ldd /opt/stonedb57/install/bin/mysqld | grep 'not found'` 命令,检查是否缺少依赖。如是,请执行 `source /opt/stonedb57/install/bin/sourceenv` 问题后重试。 ::: +3. 映射依赖包。 +```sql +source /opt/stonedb57/install/bin/sourceenv +``` + 4. 初始化数据库。 ```sql /opt/stonedb57/install/bin/mysqld --defaults-file=/opt/stonedb57/install/my.cnf --initialize --user=mysql diff --git a/website/i18n/zh/docusaurus-plugin-content-docs/current/02-getting-started/quick-deployment/deploy-stonedb-with-rpm.md b/website/i18n/zh/docusaurus-plugin-content-docs/current/02-getting-started/quick-deployment/deploy-stonedb-with-rpm.md index dc6e492ac..2e300be8b 100644 --- a/website/i18n/zh/docusaurus-plugin-content-docs/current/02-getting-started/quick-deployment/deploy-stonedb-with-rpm.md +++ b/website/i18n/zh/docusaurus-plugin-content-docs/current/02-getting-started/quick-deployment/deploy-stonedb-with-rpm.md @@ -7,22 +7,19 @@ sidebar_position: 3.15 ## 步骤 1:安装 StoneDB 1. 下载 StoneDB 软件包。您可以通过以下两种方式进行下载: - - GitHub 下载 + +- GitHub 下载 ```sql wget https://github.com/stoneatom/stonedb/releases/download/5.7-v1.0.2-GA/stonedb-ce-5.7-v1.0.2.el7.x86_64.rpm ``` - - Gitee 下载 +- Gitee 下载 ```sql wget https://gitee.com/StoneDB/stonedb/releases/download/5.7-v1.0.2-GA/stonedb-ce-5.7-v1.0.2.el7.x86_64.rpm -``` -2. 映射依赖包。 -```sql -source /opt/stonedb57/install/bin/sourceenv ``` -3. 安装 RPM 包。 +2. 安装 RPM 包。 ```sql rpm -ivh stonedb-ce-5.7-v1.0.2.el7.x86_64.rpm ``` @@ -30,6 +27,12 @@ rpm -ivh stonedb-ce-5.7-v1.0.2.el7.x86_64.rpm 如该步骤执行失败,请执行 `ldd /opt/stonedb57/install/bin/mysqld | grep 'not found'` 命令,检查是否缺少依赖。如是,请执行 `source /opt/stonedb57/install/bin/sourceenv` 问题后重试。 ::: +3. 映射依赖包。 +```sql +source /opt/stonedb57/install/bin/sourceenv +``` + + 4. 初始化数据库。 ```sql /opt/stonedb57/install/bin/mysqld --defaults-file=/opt/stonedb57/install/my.cnf --initialize --user=mysql diff --git a/website/i18n/zh/docusaurus-plugin-content-docs/current/02-getting-started/quick-deployment/quick-deployment-57.md b/website/i18n/zh/docusaurus-plugin-content-docs/current/02-getting-started/quick-deployment/quick-deployment-57.md index 13076defc..6fd3dd97b 100644 --- a/website/i18n/zh/docusaurus-plugin-content-docs/current/02-getting-started/quick-deployment/quick-deployment-57.md +++ b/website/i18n/zh/docusaurus-plugin-content-docs/current/02-getting-started/quick-deployment/quick-deployment-57.md @@ -6,11 +6,11 @@ sidebar_position: 3.12 # 快速部署 StoneDB-5.7 为方便用户快速上手,安装包是已经编译好的,只需要检查自己的环境是否缺少依赖。 ## 下载安装包 -点击 [此处](https://static.stoneatom.com/custom/stonedb-ce-5.7-v1.0.1.el7.x86_64.tar.gz)下载最新的安装包。 +点击 [此处](https://static.stoneatom.com/custom/stonedb-ce-5.7-v1.0.2.el7.x86_64.tar.gz)下载最新的安装包。 ## 上传tar包并解压 ```shell cd / -tar -zxvf stonedb-ce-5.7-v1.0.1.el7.x86_64.tar.gz +tar -zxvf stonedb-ce-5.7-v1.0.2.el7.x86_64.tar.gz ``` 用户可根据安装规范将安装包上传至服务器,解压出来的目录是 stonedb57,示例中的安装路径是 /stonedb57。 # 检查依赖文件