doc: change readme doc
This commit is contained in:
parent
2e9068806e
commit
e8d63b170c
18
README-CN.md
18
README-CN.md
|
@ -246,24 +246,6 @@ nmake install
|
||||||
sudo make install
|
sudo make install
|
||||||
```
|
```
|
||||||
|
|
||||||
安装成功后,如果想以服务形式启动,先配置 `.plist` 文件,在终端中执行:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
sudo cp ../packaging/macOS/com.taosdata.tdengine.plist /Library/LaunchDaemons
|
|
||||||
```
|
|
||||||
|
|
||||||
在终端中启动 TDengine 服务:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
sudo launchctl load /Library/LaunchDaemons/com.taosdata.tdengine.plist
|
|
||||||
```
|
|
||||||
|
|
||||||
在终端中停止 TDengine 服务:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
sudo launchctl unload /Library/LaunchDaemons/com.taosdata.tdengine.plist
|
|
||||||
```
|
|
||||||
|
|
||||||
## 快速运行
|
## 快速运行
|
||||||
|
|
||||||
如果不希望以服务方式运行 TDengine,也可以在终端中直接运行它。也即在生成完成后,执行以下命令(在 Windows 下,生成的可执行文件会带有 .exe 后缀,例如会名为 taosd.exe ):
|
如果不希望以服务方式运行 TDengine,也可以在终端中直接运行它。也即在生成完成后,执行以下命令(在 Windows 下,生成的可执行文件会带有 .exe 后缀,例如会名为 taosd.exe ):
|
||||||
|
|
18
README.md
18
README.md
|
@ -273,24 +273,6 @@ After building successfully, TDengine can be installed by:
|
||||||
sudo make install
|
sudo make install
|
||||||
```
|
```
|
||||||
|
|
||||||
To start the service after installation, config `.plist` file first, in a terminal, use:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
sudo cp ../packaging/macOS/com.taosdata.tdengine.plist /Library/LaunchDaemons
|
|
||||||
```
|
|
||||||
|
|
||||||
To start the service, in a terminal, use:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
sudo launchctl load /Library/LaunchDaemons/com.taosdata.tdengine.plist
|
|
||||||
```
|
|
||||||
|
|
||||||
To stop the service, in a terminal, use:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
sudo launchctl unload /Library/LaunchDaemons/com.taosdata.tdengine.plist
|
|
||||||
```
|
|
||||||
|
|
||||||
## Quick Run
|
## Quick Run
|
||||||
|
|
||||||
If you don't want to run TDengine as a service, you can run it in current shell. For example, to quickly start a TDengine server after building, run the command below in terminal: (We take Linux as an example, command on Windows will be `taosd.exe`)
|
If you don't want to run TDengine as a service, you can run it in current shell. For example, to quickly start a TDengine server after building, run the command below in terminal: (We take Linux as an example, command on Windows will be `taosd.exe`)
|
||||||
|
|
Loading…
Reference in New Issue