You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by qi...@apache.org on 2020/04/10 12:43:28 UTC

[incubator-iotdb] branch master updated: add some instructions (#1023)

This is an automated email from the ASF dual-hosted git repository.

qiaojialin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git


The following commit(s) were added to refs/heads/master by this push:
     new f2482b9  add some instructions (#1023)
f2482b9 is described below

commit f2482b932a6cac8e066e9b9e0c8b64cda1f32eb4
Author: HouliangQi <ne...@163.com>
AuthorDate: Fri Apr 10 20:43:18 2020 +0800

    add some instructions (#1023)
---
 README.md                                         |  9 +++++++--
 README_ZH.md                                      |  8 ++++++--
 docs/UserGuide/0-Get Started/1-QuickStart.md      |  9 +++++++--
 docs/UserGuide/3-Server/2-Single Node Setup.md    | 10 +++++++---
 docs/zh/UserGuide/0-Get Started/1-QuickStart.md   |  8 ++++++--
 docs/zh/UserGuide/3-Server/2-Single Node Setup.md | 11 ++++++++---
 6 files changed, 41 insertions(+), 14 deletions(-)

diff --git a/README.md b/README.md
index 93051a2..af53312 100644
--- a/README.md
+++ b/README.md
@@ -146,12 +146,17 @@ Users can start IoTDB by the start-server script under the sbin folder.
 
 ```
 # Unix/OS X
-> sbin/start-server.sh
+> sbin/start-server.sh -c <conf_path> -rpc_port <rpc_port>
 
 # Windows
-> sbin\start-server.bat
+> sbin\start-server.bat -c <conf_path> -rpc_port <rpc_port>
 ```
 
+- "-c" and "-rpc_port" are optional.
+- option "-c" specifies the system configuration file directory.
+- option "-rpc_port" specifies the rpc port.
+- if both option specified, the *rpc_port* will overrides the rpc_port in *conf_path*.
+
 
 ### Use IoTDB
 
diff --git a/README_ZH.md b/README_ZH.md
index fe704a8..a1f0fcf 100644
--- a/README_ZH.md
+++ b/README_ZH.md
@@ -143,11 +143,15 @@ git checkout release/x.x.x
 
 ```
 # Unix/OS X
-> sbin/start-server.sh
+> sbin/start-server.sh -c <conf_path> -rpc_port <rpc_port>
 
 # Windows
-> sbin\start-server.bat
+> sbin\start-server.bat -c <conf_path> -rpc_port <rpc_port>
 ```
+- "-c" and "-rpc_port" 都是可选的。
+- 选项 "-c" 指定了配置文件所在的文件夹。
+- 选项 "-rpc_port" 指定了启动的 rpc port。
+- 如果两个选项同时指定,那么*rpc_port*将会覆盖*conf_path*下面的配置。
 
 ### 使用 IoTDB
 
diff --git a/docs/UserGuide/0-Get Started/1-QuickStart.md b/docs/UserGuide/0-Get Started/1-QuickStart.md
index 89a1b02..6a8b1fe 100755
--- a/docs/UserGuide/0-Get Started/1-QuickStart.md	
+++ b/docs/UserGuide/0-Get Started/1-QuickStart.md	
@@ -84,12 +84,17 @@ Users can start IoTDB by the start-server script under the sbin folder.
 
 ```
 # Unix/OS X
-> sbin/start-server.sh
+> sbin/start-server.sh -c <conf_path> -rpc_port <rpc_port>
 
 # Windows
-> sbin\start-server.bat
+> sbin\start-server.bat -c <conf_path> -rpc_port <rpc_port>
 ```
 
+- "-c" and "-rpc_port" are optional.
+- option "-c" specifies the system configuration file directory.
+- option "-rpc_port" specifies the rpc port.
+- if both option specified, the *rpc_port* will overrides the rpc_port in *conf_path*.
+
 if you want to use JMX to connect IOTDB, you may need to add 
 
 ```
diff --git a/docs/UserGuide/3-Server/2-Single Node Setup.md b/docs/UserGuide/3-Server/2-Single Node Setup.md
index 4cd994f..b21dcb5 100644
--- a/docs/UserGuide/3-Server/2-Single Node Setup.md	
+++ b/docs/UserGuide/3-Server/2-Single Node Setup.md	
@@ -25,8 +25,12 @@ Users can start IoTDB by the start-server script under the sbin folder.
 
 ```
 # Unix/OS X
-> sbin/start-server.sh
+> sbin/start-server.sh -c <conf_path> -rpc_port <rpc_port>
 
 # Windows
-> sbin\start-server.bat
-```
\ No newline at end of file
+> sbin\start-server.bat -c <conf_path> -rpc_port <rpc_port>
+```
+- "-c" and "-rpc_port" are optional.
+- option "-c" specifies the system configuration file directory.
+- option "-rpc_port" specifies the rpc port.
+- if both option specified, the *rpc_port* will overrides the rpc_port in *conf_path*.
\ No newline at end of file
diff --git a/docs/zh/UserGuide/0-Get Started/1-QuickStart.md b/docs/zh/UserGuide/0-Get Started/1-QuickStart.md
index 134c21a..941910e 100755
--- a/docs/zh/UserGuide/0-Get Started/1-QuickStart.md	
+++ b/docs/zh/UserGuide/0-Get Started/1-QuickStart.md	
@@ -86,14 +86,18 @@ IoTDB支持多种安装途径。用户可以使用三种方式对IoTDB进行安
 Linux系统与MacOS系统启动命令如下:
 
 ```
-> sbin/start-server.sh
+> sbin/start-server.sh -c <conf_path> -rpc_port <rpc_port>
 ```
 
 Windows系统启动命令如下:
 
 ```
-> sbin\start-server.bat
+> sbin\start-server.bat -c <conf_path> -rpc_port <rpc_port>
 ```
+- "-c" and "-rpc_port" 都是可选的。
+- 选项 "-c" 指定了配置文件所在的文件夹。
+- 选项 "-rpc_port" 指定了启动的 rpc port。
+- 如果两个选项同时指定,那么*rpc_port*将会覆盖*conf_path*下面的配置。
 
 
 ### 操作IoTDB
diff --git a/docs/zh/UserGuide/3-Server/2-Single Node Setup.md b/docs/zh/UserGuide/3-Server/2-Single Node Setup.md
index ad520fb..17874dc 100644
--- a/docs/zh/UserGuide/3-Server/2-Single Node Setup.md	
+++ b/docs/zh/UserGuide/3-Server/2-Single Node Setup.md	
@@ -25,8 +25,13 @@
 
 ```
 # Unix/OS X
-> sbin/start-server.sh
+> sbin/start-server.sh -c <conf_path> -rpc_port <rpc_port>
 
 # Windows
-> sbin\start-server.bat
-```
\ No newline at end of file
+> sbin\start-server.bat -c <conf_path> -rpc_port <rpc_port>
+```
+
+- "-c" and "-rpc_port" 都是可选的。
+- 选项 "-c" 指定了配置文件所在的文件夹。
+- 选项 "-rpc_port" 指定了启动的 rpc port。
+- 如果两个选项同时指定,那么*rpc_port*将会覆盖*conf_path*下面的配置。
\ No newline at end of file