diff --git a/README.md b/README.md index f5bcf4a0c8db1b69cef2514b677e3663a793c43f..ada2d8df6bc7ff5f6397fbdae592c2622aae1c0b 100644 --- a/README.md +++ b/README.md @@ -23,12 +23,27 @@ For user manual, system design and architecture, engineering blogs, refer to [TD # Building At the moment, TDengine only supports building and running on Linux systems. You can choose to [install from packages](https://www.taosdata.com/en/getting-started/#Install-from-Package) or from the source code. This quick guide is for installation from the source only. -To build TDengine, use [CMake](https://cmake.org/) 2.8 or higher versions in the project directory: +To build TDengine, use [CMake](https://cmake.org/) 2.8 or higher versions in the project directory. +Install CMake for example on Ubuntu: +``` +sudo apt-get install -y cmake build-essential +``` + +Build TDengine: ```cmd + mkdir build && cd 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. + # Running To start the TDengine server, run the command below in terminal: -​```cmd +```cmd ./build/bin/taosd -c test/cfg ``` In another terminal, use the TDengine shell to connect the server: @@ -55,13 +70,6 @@ In another terminal, use the TDengine shell to connect the server: ./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. ```cmd