Skip to main content

Download and Install

The standard TDengine server package includes taosd, taosAdapter, taosc, the taos shell, taosdump, taosBenchmark, TDinsight installation scripts, and example code. A Lite package is also available when you only need the server and C/C++ client support.

TDengine provides Deb and RPM packages for Linux, a generic tar.gz package, an apt-get repository, a Windows client installer, and macOS packages.

Requirements

The minimum Linux runtime requirements are:

  1. Linux kernel 3.10.0-1160.83.1.el7.x86_64 or later.
  2. GLIBC 2.17 or later on x64, or 2.27 or later on ARM.

Building from source additionally requires CMake 3.26.4 or later and GCC 9.3.1 or later.

Install

note
  • Starting with TDengine v3.0.6.0, taosTools is no longer distributed separately. Its tools are included in the TDengine server package.
  • When installing the first node, leave the Enter FQDN: prompt empty. For later nodes, enter the FQDN of any available node in the existing cluster, or configure it before starting the new node.
  1. Download the generic Linux package:

    • Extract and install it:

      tar -zxvf tdengine-tsdb-oss-{{VERSION}}-linux-x64.tar.gz
      sudo ./install.sh

    Use ./install.sh -e no for a non-interactive installation, or ./install.sh -h to list all options.

    Start Services

    Start the installed services with systemctl:

    sudo systemctl start taosd
    sudo systemctl start taosadapter
    sudo systemctl start taoskeeper
    sudo systemctl start taos-explorer

    You can also run start-all.sh. Use systemctl stop, restart, or status to manage an individual service. If systemd is unavailable, run /usr/local/taos/bin/taosd directly.

    Customize taosd Startup with a systemd Drop-in

    Use a drop-in file to preserve custom startup settings across upgrades. This example changes the startup retry accounting window to 60 seconds:

    sudo mkdir -p /etc/systemd/system/taosd.service.d
    sudo tee /etc/systemd/system/taosd.service.d/60-retry.conf >/dev/null <<'EOF'
    [Service]
    StartLimitInterval=60s
    EOF
    sudo systemctl daemon-reload
    sudo systemctl restart taosd

    The drop-in only needs to contain overridden or additional fields.

    Installation Layout

    The default Linux installation creates the following paths:

    PathPurpose
    /usr/local/taos/binTDengine executables
    /usr/local/taos/driverDynamic libraries
    /usr/local/taos/examplesConnector examples
    /usr/local/taos/includePublic C headers
    /etc/taos/taos.cfgDefault configuration file
    /var/lib/taosDefault data directory
    /var/log/taosDefault log directory

    The executables include taosd, taos, taosdump, taosBenchmark, taosadapter, and maintenance scripts such as remove.sh and set_core.sh.

    For IPv4 and IPv6 configuration, see Network and FQDN Configuration.