_linux_install.mdx 1.4 KB
Newer Older
D
danielclow 已提交
1
import PkgListV3 from "/components/PkgListV3";
2

D
danielclow 已提交
3
1. Download the client installation package
4
  
D
danielclow 已提交
5
  <PkgListV3 type={1} sys="Linux" />
6

D
danielclow 已提交
7
   [All Downloads](../../releases)
8 9 10 11 12 13 14 15 16 17 18 19 20

2. Unzip

   Download the package to any directory the current user has read/write permission. Then execute `tar -xzvf TDengine-client-VERSION.tar.gz` command.
   The VERSION should be the version of the package you just downloaded.
3. Execute the install script

   Once the package is unzipped, you will see the following files in the directory:
   - _ install_client.sh_: install script
   - _ taos.tar.gz_: client driver package
   - _ driver_: TDengine client driver
   - _examples_: some example programs of different programming languages (C/C#/go/JDBC/MATLAB/python/R)
   You can run `install_client.sh`  to install it.
D
danielclow 已提交
21
4. configure taos.cfg
22 23 24 25 26 27 28 29 30

   Edit `taos.cfg` file (full path is `/etc/taos/taos.cfg` by default), modify `firstEP` with actual TDengine server's End Point, for example `h1.tdengine.com:6030`

:::tip

1. If the computer does not run the TDengine service but installs the TDengine client driver, then you need to config `firstEP` in  `taos.cfg` only, and there is no need to configure `FQDN`;
2. If you encounter the "Unable to resolve FQDN" error, please make sure the FQDN in the `/etc/hosts` file of the current computer is correctly configured, or the DNS service is correctly configured.

:::