From f32fb057fa78f3a9059cce55786682fa4da34870 Mon Sep 17 00:00:00 2001 From: John Zhuang Date: Wed, 31 Jul 2019 16:20:19 +0800 Subject: [PATCH 1/2] update README --- README.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index f5bcf4a0c8..d9c6cf9c47 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,14 @@ To build TDengine, use [CMake](https://cmake.org/) 2.8 or higher versions in the 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 +63,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 From 095497209b9cc52e2e6490b1512e59f925e6c73c Mon Sep 17 00:00:00 2001 From: John Zhuang Date: Wed, 31 Jul 2019 16:30:31 +0800 Subject: [PATCH 2/2] Update README for building error: No CMAKE_CXX_COMPILER could be found --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d9c6cf9c47..ada2d8df6b 100644 --- a/README.md +++ b/README.md @@ -23,9 +23,16 @@ 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 . ```