Back to Tdengine

Get Started with TDengine TSDB Using an Installation Package

docs/en/04-get-started/03-package.md

latest3.0 KB
Original Source

import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem"; import PkgList from "/src/components/PkgList"; import Getstarted from './_get_started.mdx';

You can install TDengine TSDB on Linux and Windows. To install TDengine TSDB in a Docker container instead of on your machine, see Get Started with TDengine TSDB in Docker.

Before You Begin

Procedure

<Tabs> <TabItem label="Linux" value="linux">
  1. Download the tar.gz installation package from the list below:
    <PkgList productName="TDengine TSDB-Enterprise" platform="Linux-Generic" />

  2. Navigate to the directory where the package is located and extract it using tar. For example, on an x64 architecture:

    bash
    tar -zxvf tdengine-tsdb-enterprise-{{VERSION}}-linux-x64.tar.gz
    
  3. After extracting the files, go into the subdirectory and run the install.sh script:

    bash
    sudo ./install.sh
    
</TabItem> <TabItem label="Windows" value="windows">
  1. Download the Windows installation package from the list below:
    <PkgList productName="TDengine TSDB-Enterprise" platform="Windows" />
  2. Run the installation package and follow the on-screen instructions to complete the installation of TDengine TSDB.
</TabItem> </Tabs>

For more package types and versions, visit the TDengine Download Center.

Start the Service

<Tabs> <TabItem label="Linux" value="linux">

After installation, execute the following command in your terminal to start all services:

bash
start-all.sh

All TDengine TSDB components are managed by systemd. You can check their service status with the following commands:

bash
sudo systemctl status taosd
sudo systemctl status taosadapter
sudo systemctl status taoskeeper
sudo systemctl status taos-explorer

If the output shows the status as Active: active (running) since ..., it means the services have started successfully.

</TabItem> <TabItem label="Windows" value="windows">

After installation, open a terminal as administrator and run the following command to start all services:

cmd
C:\TDengine\start-all.bat

You can check the status of each service using:

cmd
sc query taosd
sc query taosadapter
sc query taoskeeper
sc query taos-explorer

If the output shows RUNNING, it means the services have started successfully.

</TabItem> </Tabs> <Getstarted />