提交 97920a1d 编写于 作者: H Hongze Cheng

fix readme confusion

上级 d6b21dad
...@@ -36,32 +36,9 @@ Build TDengine: ...@@ -36,32 +36,9 @@ Build TDengine:
mkdir build && cd build mkdir build && cd build
cmake .. && cmake --build . cmake .. && cmake --build .
``` ```
# Installing
After building successfully, TDengine can be installed by:
```cmd
make install
```
Users can find more information about directories installed on the system in the [directory and files](https://www.taosdata.com/en/documentation/administrator/#Directory-and-Files) section. It should be noted that installing from source code does not configure service management for TDengine.
Users can also choose to [install from packages](https://www.taosdata.com/en/getting-started/#Install-from-Package) for it.
# Quick run
# Running To quickly start a TDengine server after building, run the command below in terminal:
<!-- TDengine uses _/etc/taos/taos.cfg_ as the default configuration file. This behavior can be changed with _-c_ option. For a quick start, we will make directories structured as:
```
test/
+--data/
|
+--log/
|
+--cfg/
|
+--taos.cfg
```
Then fill the configuration file _test/cfg/taos.cfg_:
```
echo -e "dataDir $(pwd)/test/data\nlogDir $(pwd)/test/log" > test/cfg/taos.cfg
​``` -->
To start the TDengine server, run the command below in terminal:
```cmd ```cmd
./build/bin/taosd -c test/cfg ./build/bin/taosd -c test/cfg
``` ```
...@@ -70,8 +47,15 @@ In another terminal, use the TDengine shell to connect the server: ...@@ -70,8 +47,15 @@ In another terminal, use the TDengine shell to connect the server:
./build/bin/taos -c test/cfg ./build/bin/taos -c test/cfg
``` ```
# Installing
After building successfully, TDengine can be installed by:
```cmd
make install
```
Users can find more information about directories installed on the system in the [directory and files](https://www.taosdata.com/en/documentation/administrator/#Directory-and-Files) section. It should be noted that installing from source code does not configure service management for TDengine.
Users can also choose to [install from packages](https://www.taosdata.com/en/getting-started/#Install-from-Package) for it.
Start the service in the terminal. To start the service after installation, in a terminal, use:
```cmd ```cmd
taosd taosd
``` ```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册