Taosi Data TDengine Call for Papers-Nanny-Level Tutorial TDengine Client Server Installation Tutorial

Taosi Data TDengine Call for Papers – Nanny-Level Tutorial TDengine Client Server Installation Tutorial

  • Introduction to TDengine
  • 1. Install the server on CentOS
    • 1.1 Obtain the installation package
    • 1.2 Install server package
    • 1.3 Installation verification
  • 2. Install the client on CentOS
  • 3. Install the client on Windows
    • 3.1 Obtain the installation package
    • 3.2 Fool-like installation

This article is participating in the “Embracing Open Source | Taosi Data TDengine Prize-winning Contribution
Event address: https://marketing.csdn.net/p/0ada836ca30caa924b9baae0fd33857c

TDengine Introduction

TDengine Introduction
TDengine is a big data platform specially designed and optimized by Taosi Data for the Internet of Things, Internet of Vehicles, Industrial Internet, IT operation and maintenance, etc. In addition to the core time series database function that is more than 10 times faster, it also provides functions such as caching, data subscription, and streaming computing to minimize the complexity of R&D and operation and maintenance. The core code, including cluster functions, are all open source (open source agreement, AGPL v3.0).

1. Install the server on CentOS

1.1 Obtaining the installation package

Open the Taosi Data official website and find the server installation package: (TDengine-server-2.1.3.0-Linux-x64.tar.gz (4.9M))

  • .rpm package: suitable for CentOS system
  • .deb package: suitable for Ubuntu system
  • .tar.gz: binary package supported by both systems

After clicking the link, a download prompt will pop up, requiring you to enter an email address. Then you will receive an official email, click the link in the email to download directly:

1.2 Install server package

Unzip the downloaded .tar.gz, and then enter the folder. The subfolder directory structure is as follows, then right-click to open the terminal:

Switch root user: When opening the terminal, the prompt is “$”, indicating that the user is an ordinary user. At this time, directly enter su, press Enter, enter the root password, and press Enter to switch to Under the root user, the prompt at this time changes to “#”.
PS: The terminal will not be displayed when entering the password, and this process must be gone through every time you switch to the root user.

Then enter ls to view the directory. The displayed information is consistent with the directory seen under the folder, as shown below:

Then execute the install.sh command to start the installation. The command is as follows

sudo ./install.sh

Note: During the execution of the install.sh installation script, it will ask for some configuration information through the command line interactive interface. If you want a non-interactive installation, you can use the -e no parameter to execute the install.sh script. Run the ./install.sh -h command to view detailed information about all parameters.

When prompted whether to join an existing cluster, just press Enter to skip. After skipping, it shows that the installation was successful, and the results are as follows:

1.3 Installation Verification

Use systemctl to start taosb and enter the following command:

sudo systemctl start taosd

Verify taosb status:

sudo systemctl status taosd

When you see the picture below, it is already in the active state, indicating that it has been started successfully.

At this point, the installation of TDengine server on CentOS has been completed.

Second, install the client on CentOS

The steps are basically the same as step 1. First, open the Taosi Data official website and find the client installation package: (Download TDengine-client-2.1.3.0-Linux-x64.tar.gz (3.6M))

Then unzip and open the folder. The directory structure is as follows:

Right-click on the directory –> open a terminal and switch to the root account:

Then execute the install_client.sh command to start the installation. The command is as follows

sudo ./install_client.sh

At this point, the TDengine client is successfully installed on CentOS!

3. Install the client on Windows

3.1 Obtaining the installation package

Open the Taosi Data official website and find the client installation package: (Download TDengine-client-2.1.3.0-Windows-x64.exe(3.7M))

Depending on the computer system you are using, just choose to download the installation package you need. Here I choose to download “TDengine-client-2.1.3.0-Windows-x64.exe(3.7M)”; for students who are not sure about the computer configuration, You can open Control Panel –> System View:

After clicking the link, a download prompt will pop up, requiring you to enter an email address. Then you will receive an official email. Click the link in the email to download it directly (the same way as downloading the server package). After the download is successful, you will get an .exe file.

3.2 Installation for fools

Double-click the .exe file to install:

After clicking “Next”, the following interface will pop up, then click “Install” to install:

Wait for the progress bar to complete, click “Finish” to complete the installation:

Then you can see the “TDengine” folder on the C drive, the directory is as follows:

At this point, the installation of the TDengine client on Windos is complete.

This article is participating in the “Embracing Open Source | Taosi Data TDengine Prize-winning Contribution
Event address: https://marketing.csdn.net/p/0ada836ca30caa924b9baae0fd33857c