Skip to content

Commit 70f1534

Browse files
authored
add root and TimechoDB@2021 to deployment document (#907)
1 parent 781b3b0 commit 70f1534

File tree

16 files changed

+306
-134
lines changed

16 files changed

+306
-134
lines changed

src/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -194,14 +194,25 @@ On each server, navigate to the `sbin` directory and start the DataNode:
194194
#### Option 1: Command-Based Activation
195195

196196
1. Enter the IoTDB CLI on any node of the cluster:
197-
- **For Table Model**:
198-
```SQL
199-
# For Linux or macOS
200-
./start-cli.sh -sql_dialect table
201-
202-
# For Windows
203-
./start-cli.bat -sql_dialect table
204-
```
197+
198+
**Linux** or **MacOS**
199+
200+
```Bash
201+
# Before version V2.0.6.x
202+
Shell> bash sbin/start-cli.sh -h 127.0.0.1 -p 6667 -u root -pw root -sql_dialect table
203+
# V2.0.6.x and later versions
204+
Shell > bash sbin/start-cli.sh -h 127.0.0.1 -p 6667 -u root -pw TimechoDB@2021 -sql_dialect table
205+
```
206+
**Windows**
207+
208+
```Bash
209+
# Before version V2.0.4.x
210+
Shell> sbin\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root -sql_dialect table
211+
# V2.0.4.x and later versions, before version V2.0.6.x
212+
Shell> sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root -sql_dialect table
213+
# V2.0.6.x and later versions
214+
Shell > sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw TimechoDB@2021 -sql_dialect table
215+
```
205216

206217
2. Run the following command to retrieve the machine code required for activation:
207218

src/UserGuide/Master/Table/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -161,14 +161,25 @@ Navigate to the `sbin` directory of IoTDB and start the DataNode:
161161
#### Option 1: Command-Based Activation
162162

163163
1. Enter the IoTDB CLI.
164-
- **For Table Model**:
165-
- ```SQL
166-
# For Linux or macOS
167-
./start-cli.sh -sql_dialect table
168-
169-
# For Windows
170-
./start-cli.bat -sql_dialect table
171-
```
164+
165+
**Linux** or **MacOS**
166+
167+
```Bash
168+
# Before version V2.0.6.x
169+
Shell> bash sbin/start-cli.sh -h 127.0.0.1 -p 6667 -u root -pw root -sql_dialect table
170+
# V2.0.6.x and later versions
171+
Shell > bash sbin/start-cli.sh -h 127.0.0.1 -p 6667 -u root -pw TimechoDB@2021 -sql_dialect table
172+
```
173+
**Windows**
174+
175+
```Bash
176+
# Before version V2.0.4.x
177+
Shell> sbin\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root -sql_dialect table
178+
# V2.0.4.x and later versions, before version V2.0.6.x
179+
Shell> sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root -sql_dialect table
180+
# V2.0.6.x and later versions
181+
Shell > sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw TimechoDB@2021 -sql_dialect table
182+
```
172183

173184
2. Run the following command to retrieve the machine code required for activation:
174185

src/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_timecho.md

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -197,15 +197,28 @@ cd sbin
197197

198198
1. Enter the IoTDB CLI on any node of the cluster:
199199

200-
- **For Tree Model**:
201-
202-
```SQL
203-
# For Linux or macOS
204-
./start-cli.sh
205-
206-
# For Windows
207-
./start-cli.bat
208-
```
200+
The Linux and MacOS system startup commands are as follows:
201+
202+
```shell
203+
# Before version V2.0.6.x
204+
Shell > bash sbin/start-cli.sh -h 127.0.0.1 -p 6667 -u root -pw root
205+
206+
# V2.0.6.x and later versions
207+
Shell > bash sbin/start-cli.sh -h 127.0.0.1 -p 6667 -u root -pw TimechoDB@2021
208+
```
209+
210+
The Windows system startup commands are as follows:
211+
212+
```shell
213+
# Before version V2.0.4.x
214+
Shell > sbin\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root
215+
216+
# V2.0.4.x and later versions, before version V2.0.6.x
217+
Shell > sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root
218+
219+
# V2.0.6.x and later versions
220+
Shell > sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw TimechoDB@2021
221+
```
209222

210223
2. Run the following command to retrieve the machine code required for activation:
211224

src/UserGuide/Master/Tree/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -159,14 +159,27 @@ Navigate to the `sbin` directory of IoTDB and start the DataNode:
159159

160160
1. Enter the IoTDB CLI.
161161

162-
- **For Tree Model**:
162+
The Linux and MacOS system startup commands are as follows:
163163

164-
```SQL
165-
# For Linux or macOS
166-
./start-cli.sh
164+
```shell
165+
# Before version V2.0.6.x
166+
Shell > bash sbin/start-cli.sh -h 127.0.0.1 -p 6667 -u root -pw root
167167
168-
# For Windows
169-
./start-cli.bat
168+
# V2.0.6.x and later versions
169+
Shell > bash sbin/start-cli.sh -h 127.0.0.1 -p 6667 -u root -pw TimechoDB@2021
170+
```
171+
172+
The Windows system startup commands are as follows:
173+
174+
```shell
175+
# Before version V2.0.4.x
176+
Shell > sbin\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root
177+
178+
# V2.0.4.x and later versions, before version V2.0.6.x
179+
Shell > sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root
180+
181+
# V2.0.6.x and later versions
182+
Shell > sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw TimechoDB@2021
170183
```
171184

172185
2. Run the following command to retrieve the machine code required for activation:

src/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -194,14 +194,25 @@ On each server, navigate to the `sbin` directory and start the DataNode:
194194
#### Option 1: Command-Based Activation
195195

196196
1. Enter the IoTDB CLI on any node of the cluster:
197-
- **For Table Model**:
198-
```SQL
199-
# For Linux or macOS
200-
./start-cli.sh -sql_dialect table
201-
202-
# For Windows
203-
./start-cli.bat -sql_dialect table
204-
```
197+
198+
**Linux** or **MacOS**
199+
200+
```Bash
201+
# Before version V2.0.6.x
202+
Shell> bash sbin/start-cli.sh -h 127.0.0.1 -p 6667 -u root -pw root -sql_dialect table
203+
# V2.0.6.x and later versions
204+
Shell > bash sbin/start-cli.sh -h 127.0.0.1 -p 6667 -u root -pw TimechoDB@2021 -sql_dialect table
205+
```
206+
**Windows**
207+
208+
```Bash
209+
# Before version V2.0.4.x
210+
Shell> sbin\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root -sql_dialect table
211+
# V2.0.4.x and later versions, before version V2.0.6.x
212+
Shell> sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root -sql_dialect table
213+
# V2.0.6.x and later versions
214+
Shell > sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw TimechoDB@2021 -sql_dialect table
215+
```
205216

206217
2. Run the following command to retrieve the machine code required for activation:
207218

src/UserGuide/latest-Table/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -161,14 +161,25 @@ Navigate to the `sbin` directory of IoTDB and start the DataNode:
161161
#### Option 1: Command-Based Activation
162162

163163
1. Enter the IoTDB CLI.
164-
- **For Table Model**:
165-
- ```SQL
166-
# For Linux or macOS
167-
./start-cli.sh -sql_dialect table
168-
169-
# For Windows
170-
./start-cli.bat -sql_dialect table
171-
```
164+
165+
**Linux** or **MacOS**
166+
167+
```Bash
168+
# Before version V2.0.6.x
169+
Shell> bash sbin/start-cli.sh -h 127.0.0.1 -p 6667 -u root -pw root -sql_dialect table
170+
# V2.0.6.x and later versions
171+
Shell > bash sbin/start-cli.sh -h 127.0.0.1 -p 6667 -u root -pw TimechoDB@2021 -sql_dialect table
172+
```
173+
**Windows**
174+
175+
```Bash
176+
# Before version V2.0.4.x
177+
Shell> sbin\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root -sql_dialect table
178+
# V2.0.4.x and later versions, before version V2.0.6.x
179+
Shell> sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root -sql_dialect table
180+
# V2.0.6.x and later versions
181+
Shell > sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw TimechoDB@2021 -sql_dialect table
182+
```
172183

173184
2. Run the following command to retrieve the machine code required for activation:
174185

src/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_timecho.md

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -197,15 +197,28 @@ cd sbin
197197

198198
1. Enter the IoTDB CLI on any node of the cluster:
199199

200-
- **For Tree Model**:
201-
202-
```SQL
203-
# For Linux or macOS
204-
./start-cli.sh
205-
206-
# For Windows
207-
./start-cli.bat
208-
```
200+
The Linux and MacOS system startup commands are as follows:
201+
202+
```shell
203+
# Before version V2.0.6.x
204+
Shell > bash sbin/start-cli.sh -h 127.0.0.1 -p 6667 -u root -pw root
205+
206+
# V2.0.6.x and later versions
207+
Shell > bash sbin/start-cli.sh -h 127.0.0.1 -p 6667 -u root -pw TimechoDB@2021
208+
```
209+
210+
The Windows system startup commands are as follows:
211+
212+
```shell
213+
# Before version V2.0.4.x
214+
Shell > sbin\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root
215+
216+
# V2.0.4.x and later versions, before version V2.0.6.x
217+
Shell > sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root
218+
219+
# V2.0.6.x and later versions
220+
Shell > sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw TimechoDB@2021
221+
```
209222

210223
2. Run the following command to retrieve the machine code required for activation:
211224

src/UserGuide/latest/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -160,14 +160,27 @@ Navigate to the `sbin` directory of IoTDB and start the DataNode:
160160

161161
1. Enter the IoTDB CLI.
162162

163-
- **For Tree Model**:
163+
The Linux and MacOS system startup commands are as follows:
164164

165-
```SQL
166-
# For Linux or macOS
167-
./start-cli.sh
165+
```shell
166+
# Before version V2.0.6.x
167+
Shell > bash sbin/start-cli.sh -h 127.0.0.1 -p 6667 -u root -pw root
168168
169-
# For Windows
170-
./start-cli.bat
169+
# V2.0.6.x and later versions
170+
Shell > bash sbin/start-cli.sh -h 127.0.0.1 -p 6667 -u root -pw TimechoDB@2021
171+
```
172+
173+
The Windows system startup commands are as follows:
174+
175+
```shell
176+
# Before version V2.0.4.x
177+
Shell > sbin\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root
178+
179+
# V2.0.4.x and later versions, before version V2.0.6.x
180+
Shell > sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root
181+
182+
# V2.0.6.x and later versions
183+
Shell > sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw TimechoDB@2021
171184
```
172185

173186
2. Run the following command to retrieve the machine code required for activation:

src/zh/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -192,15 +192,24 @@ cd sbin
192192

193193
- 进入集群任一节点 CLI,执行获取机器码的语句
194194

195-
- 表模型 CLI 进入命令:
196-
197-
```SQL
198-
# Linux或MACOS系统
199-
./start-cli.sh -sql_dialect table
200-
201-
# windows系统
202-
./start-cli.bat -sql_dialect table
203-
```
195+
```shell
196+
# Linux 系统与 MacOS 系统启动命令如下:
197+
# V2.0.6.x 版本之前
198+
Shell > bash sbin/start-cli.sh -h 127.0.0.1 -p 6667 -u root -pw root -sql_dialect table
199+
200+
# V2.0.6.x 版本及之后
201+
Shell > bash sbin/start-cli.sh -h 127.0.0.1 -p 6667 -u root -pw TimechoDB@2021 -sql_dialect table
202+
203+
# Windows 系统启动命令如下:
204+
# V2.0.4.x 版本之前
205+
Shell > sbin\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root -sql_dialect table
206+
207+
# V2.0.4.x 版本及之后, V2.0.6.x 版本之前
208+
Shell > sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root -sql_dialect table
209+
210+
# V2.0.6.x 版本及之后
211+
Shell > sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw TimechoDB@2021 -sql_dialect table
212+
```
204213

205214
- 执行以下内容获取激活所需机器码:
206215

src/zh/UserGuide/Master/Table/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -154,14 +154,24 @@ DataNode 配置
154154

155155
- 进入 IoTDB CLI
156156

157-
- 表模型 CLI 进入命令:
158-
```SQL
159-
# Linux或MACOS系统
160-
./start-cli.sh -sql_dialect table
161-
162-
# windows系统
163-
./start-cli.bat -sql_dialect table
164-
```
157+
```shell
158+
# Linux 系统与 MacOS 系统启动命令如下:
159+
# V2.0.6.x 版本之前
160+
Shell > bash sbin/start-cli.sh -h 127.0.0.1 -p 6667 -u root -pw root -sql_dialect table
161+
162+
# V2.0.6.x 版本及之后
163+
Shell > bash sbin/start-cli.sh -h 127.0.0.1 -p 6667 -u root -pw TimechoDB@2021 -sql_dialect table
164+
165+
# Windows 系统启动命令如下:
166+
# V2.0.4.x 版本之前
167+
Shell > sbin\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root -sql_dialect table
168+
169+
# V2.0.4.x 版本及之后, V2.0.6.x 版本之前
170+
Shell > sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root -sql_dialect table
171+
172+
# V2.0.6.x 版本及之后
173+
Shell > sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw TimechoDB@2021 -sql_dialect table
174+
```
165175

166176
- 执行以下内容获取激活所需机器码:
167177

0 commit comments

Comments
 (0)