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 37380fd add nohup start server doc
37380fd is described below
commit 37380fd1c8007f0744c8e5ec1a8b39ac94363b12
Author: qiaojialin <[email protected]>
AuthorDate: Mon Jun 1 13:30:21 2020 +0800
add nohup start server doc
---
README.md | 4 +++-
README_ZH.md | 4 +++-
docs/Development/VoteRelease.md | 2 +-
docs/UserGuide/Get Started/QuickStart.md | 4 +++-
docs/UserGuide/Server/Config Manual.md | 2 +-
docs/UserGuide/Server/Single Node Setup.md | 4 +++-
docs/zh/Development/VoteRelease.md | 2 +-
docs/zh/UserGuide/Get Started/QuickStart.md | 4 +++-
docs/zh/UserGuide/Server/Config Manual.md | 2 +-
docs/zh/UserGuide/Server/Single Node Setup.md | 4 +++-
10 files changed, 22 insertions(+), 10 deletions(-)
diff --git a/README.md b/README.md
index 972b078..66e7723 100644
--- a/README.md
+++ b/README.md
@@ -147,7 +147,9 @@ Users can start IoTDB by the start-server script under the
sbin folder.
```
# Unix/OS X
-> sbin/start-server.sh -c <conf_path> -rpc_port <rpc_port>
+> nohup sbin/start-server.sh >/dev/null 2>&1 &
+or
+> nohup sbin/start-server.sh -c <conf_path> -rpc_port <rpc_port> >/dev/null
2>&1 &
# Windows
> sbin\start-server.bat -c <conf_path> -rpc_port <rpc_port>
diff --git a/README_ZH.md b/README_ZH.md
index b1e1bb4..523f667 100644
--- a/README_ZH.md
+++ b/README_ZH.md
@@ -143,7 +143,9 @@ git checkout release/x.x.x
```
# Unix/OS X
-> sbin/start-server.sh -c <conf_path> -rpc_port <rpc_port>
+> nohup sbin/start-server.sh >/dev/null 2>&1 &
+or
+> nohup sbin/start-server.sh -c <conf_path> -rpc_port <rpc_port> >/dev/null
2>&1 &
# Windows
> sbin\start-server.bat -c <conf_path> -rpc_port <rpc_port>
diff --git a/docs/Development/VoteRelease.md b/docs/Development/VoteRelease.md
index 6cc1f96..b7598e5 100644
--- a/docs/Development/VoteRelease.md
+++ b/docs/Development/VoteRelease.md
@@ -130,7 +130,7 @@ Compared with the corresponding .sha512, the same is fine.
* Verify that it starts and the sample statements execute correctly
```
-./sbin/start-server.sh
+nohup ./sbin/start-server.sh >/dev/null 2>&1 &
./sbin/start-client.sh
diff --git a/docs/UserGuide/Get Started/QuickStart.md b/docs/UserGuide/Get
Started/QuickStart.md
index e34ae5d..498844e 100644
--- a/docs/UserGuide/Get Started/QuickStart.md
+++ b/docs/UserGuide/Get Started/QuickStart.md
@@ -84,7 +84,9 @@ Users can start IoTDB by the start-server script under the
sbin folder.
```
# Unix/OS X
-> sbin/start-server.sh -c <conf_path> -rpc_port <rpc_port>
+> nohup sbin/start-server.sh >/dev/null 2>&1 &
+or
+> nohup sbin/start-server.sh -c <conf_path> -rpc_port <rpc_port> >/dev/null
2>&1 &
# Windows
> sbin\start-server.bat -c <conf_path> -rpc_port <rpc_port>
diff --git a/docs/UserGuide/Server/Config Manual.md
b/docs/UserGuide/Server/Config Manual.md
index f869a57..ec6adb9 100644
--- a/docs/UserGuide/Server/Config Manual.md
+++ b/docs/UserGuide/Server/Config Manual.md
@@ -581,7 +581,7 @@ For performance tuning, you may want to collect the GC info.
To enable GC log, just add a paramenter "printgc" when you start the server.
```bash
-sbin/start-server.sh printgc
+nohup sbin/start-server.sh printgc >/dev/null 2>&1 &
```
Or
```bash
diff --git a/docs/UserGuide/Server/Single Node Setup.md
b/docs/UserGuide/Server/Single Node Setup.md
index b21dcb5..8931b81 100644
--- a/docs/UserGuide/Server/Single Node Setup.md
+++ b/docs/UserGuide/Server/Single Node Setup.md
@@ -25,7 +25,9 @@ Users can start IoTDB by the start-server script under the
sbin folder.
```
# Unix/OS X
-> sbin/start-server.sh -c <conf_path> -rpc_port <rpc_port>
+> nohup sbin/start-server.sh >/dev/null 2>&1 &
+or
+> nohup sbin/start-server.sh -c <conf_path> -rpc_port <rpc_port> >/dev/null
2>&1 &
# Windows
> sbin\start-server.bat -c <conf_path> -rpc_port <rpc_port>
diff --git a/docs/zh/Development/VoteRelease.md
b/docs/zh/Development/VoteRelease.md
index de56b54..107064c 100644
--- a/docs/zh/Development/VoteRelease.md
+++ b/docs/zh/Development/VoteRelease.md
@@ -130,7 +130,7 @@ shasum -a512 apache-iotdb-0.9.0-incubating-bin.zip
* 验证是否能启动以及示例语句是否正确执行
```
-./sbin/start-server.sh
+nohup ./sbin/start-server.sh >/dev/null 2>&1 &
./sbin/start-client.sh
diff --git a/docs/zh/UserGuide/Get Started/QuickStart.md
b/docs/zh/UserGuide/Get Started/QuickStart.md
index b6f9b66..fec6656 100644
--- a/docs/zh/UserGuide/Get Started/QuickStart.md
+++ b/docs/zh/UserGuide/Get Started/QuickStart.md
@@ -86,7 +86,9 @@ IoTDB支持多种安装途径。用户可以使用三种方式对IoTDB进行安
Linux系统与MacOS系统启动命令如下:
```
-> sbin/start-server.sh -c <conf_path> -rpc_port <rpc_port>
+> nohup sbin/start-server.sh >/dev/null 2>&1 &
+or
+> nohup sbin/start-server.sh -c <conf_path> -rpc_port <rpc_port> >/dev/null
2>&1 &
```
Windows系统启动命令如下:
diff --git a/docs/zh/UserGuide/Server/Config Manual.md
b/docs/zh/UserGuide/Server/Config Manual.md
index ff9c177..1d3ca93 100644
--- a/docs/zh/UserGuide/Server/Config Manual.md
+++ b/docs/zh/UserGuide/Server/Config Manual.md
@@ -524,7 +524,7 @@ GC日志默认是关闭的。为了性能调优,用户可能会需要手机GC
若要打开GC日志,则需要在启动IoTDB Server的时候加上"printgc"参数:
```bash
-sbin/start-server.sh printgc
+nohup sbin/start-server.sh printgc >/dev/null 2>&1 &
```
或者
diff --git a/docs/zh/UserGuide/Server/Single Node Setup.md
b/docs/zh/UserGuide/Server/Single Node Setup.md
index 17874dc..b710f5b 100644
--- a/docs/zh/UserGuide/Server/Single Node Setup.md
+++ b/docs/zh/UserGuide/Server/Single Node Setup.md
@@ -25,7 +25,9 @@
```
# Unix/OS X
-> sbin/start-server.sh -c <conf_path> -rpc_port <rpc_port>
+> nohup sbin/start-server.sh >/dev/null 2>&1 &
+or
+> nohup sbin/start-server.sh -c <conf_path> -rpc_port <rpc_port> >/dev/null
2>&1 &
# Windows
> sbin\start-server.bat -c <conf_path> -rpc_port <rpc_port>