Back to Tdengine

Linux Install

docs/en/assets/resources/_linux_install.mdx

latest1.9 KB
Original Source

import PkgList from "/src/components/PkgList";

  1. Download the client installation package

    <PkgList productName="TDengine TSDB-Enterprise Client" platform="Linux-Generic" />
  2. Unzip the software package

    Place the package in any directory where the current user has read and write access, then execute the following command:

    shell
    tar -xzvf tdengine-tsdb-enterprise-client-{{VERSION}}-linux-x64.tar.gz
    
  3. Run the installation script

    After unzipping the package, you will see the following files (directories) in the unzipped directory:

    • install_client.sh: Installation script, used for applying the driver
    • package.tar.gz: Application driver installation package
    • driver: TDengine application driver
    • examples: Sample programs for various programming languages Run install_client.sh to install.
  4. Configure taos.cfg

    Edit the taos.cfg file (default path /etc/taos/taos.cfg), change firstEP to the End Point of the TDengine server, for example: h1.tdengine.com:6030

:::tip

  1. Starting from version 3.4.0.0, the Enterprise Edition is not fully compatible with the Community Edition. To avoid compatibility issues when the two are interconnected, please ensure that you install the client driver corresponding to the server. Using a Community Edition driver to connect to an Enterprise Edition server will fail with error "Edition not compatible", and vice versa.
  2. If the TDengine service is not deployed on this machine and only the application driver is installed, then only firstEP needs to be configured in taos.cfg, there is no need to configure FQDN on this machine.
  3. To prevent the "Unable to resolve FQDN" error when connecting to the server, it is recommended to ensure that the /etc/hosts file on your machine is configured with the correct FQDN value of the server, or that the DNS service is properly configured.

:::