homework-jianmu/docs/zh/08-connector/_linux_install.mdx

31 lines
1.3 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import PkgListV3 from "/components/PkgListV3";
1. 下载客户端安装包
<PkgListV3 type={1} sys="Linux" />
[所有下载](../../releases/tdengine)
2. 解压缩软件包
将软件包放置在当前用户可读写的任意目录下,然后执行下面的命令:`tar -xzvf TDengine-client-VERSION.tar.gz`
其中 VERSION 需要替换为实际版本的字符串。
3. 执行安装脚本
解压软件包之后,会在解压目录下看到以下文件(目录)
- _ install_client.sh_安装脚本用于应用驱动程序
- _ taos.tar.gz_应用驱动安装包
- _ driver_TDengine 应用驱动 driver
- _examples_: 各种编程语言的示例程序(c/C#/go/JDBC/MATLAB/python/R)
运行 install_client.sh 进行安装。
4. 配置 taos.cfg
编辑 `taos.cfg` 文件(默认路径/etc/taos/taos.cfg将 `firstEP` 修改为 TDengine 服务器的 End Point例如`h1.tdengine.com:6030`
:::tip
1. 如本机没有部署 TDengine 服务,仅安装了应用驱动,则 `taos.cfg` 中仅需配置 `firstEP`,无需在本机配置 `FQDN`。
2. 为防止与服务器端连接时出现“Unable to resolve FQDN”错误建议确认本机的 `/etc/hosts` 文件已经配置了服务器正确的 FQDN 值,或配置好了 DNS 服务。
:::