Skip to content
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
2 changes: 1 addition & 1 deletion Docs/02-getting-started/quick-deploy-in-docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,20 @@ 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
```
:::info
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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,20 @@ 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
```
:::info
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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
参数说明:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand All @@ -17,19 +18,19 @@ 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
```
:::info
如该步骤执行失败,请执行 `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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,32 @@ 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
```
:::info
如该步骤执行失败,请执行 `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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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。
# 检查依赖文件
Expand Down