To quickly start a TDengine server after building, run the command below in terminal:
```bash
./build/bin/taosd -ctest/cfg
```
In another terminal, use the TDengine shell to connect the server:
```bash
./build/bin/taos -ctest/cfg
```
option "-c test/cfg" specifies the system configuration file directory.
# Installing
# Installing
After building successfully, TDengine can be installed by:
After building successfully, TDengine can be installed by:
```bash
```bash
sudo make install
sudo 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. Since version 2.0, installing from source code will also configure service management for TDengine.
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. Since version 2.0, installing from source code will also 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.
Users can also choose to [install from packages](https://www.taosdata.com/en/getting-started/#Install-from-Package) for it.
...
@@ -193,6 +182,20 @@ taos
...
@@ -193,6 +182,20 @@ taos
If TDengine shell connects the server successfully, welcome messages and version info are printed. Otherwise, an error message is shown.
If TDengine shell connects the server successfully, welcome messages and version info are printed. Otherwise, an error message is shown.
## 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:
```bash
./build/bin/taosd -ctest/cfg
```
In another terminal, use the TDengine shell to connect the server:
```bash
./build/bin/taos -ctest/cfg
```
option "-c test/cfg" specifies the system configuration file directory.
# Try TDengine
# Try TDengine
It is easy to run SQL commands from TDengine shell which is the same as other SQL databases.
It is easy to run SQL commands from TDengine shell which is the same as other SQL databases.