ubuntu 22.04.2裸机安装TDEngine 3.0.5.0版本

ps:之前安装的版本是TDEngine 3.0.2.6 该版本的超级表的查询排序效率极低,据官方解释说,因为查询的是超级表,而超级表的ts是可能存在重复的,所以导致索引失效。

一直在等待官方版本更新,希望能解决这个问题,现在终于等来了3.0.5.0,赶紧安装试试,看看是不是解决了我关心的问题。

一、安装步骤

  1. 从官网下载3.0.5.0压缩包,并执行解压、install.sh执行:
    在这里插入图片描述
    解压:tar -zxvf TDengine-server-3.0.5.0-Linux-x64.tar.gz
    执行:执行 sh install.sh
    2.安装成功会提示如下信息:
To configure TDengine : edit /etc/taos/taos.cfg
To configure taos Adapter : edit /etc/taos/taosadapter.toml
To start TDengine     : sudo systemctl start taosd
To start taos Adapter : sudo systemctl start taosadapter 
To access TDengine    : taos -h appsvr1 to login into TDengine server

3.为服务器配置FQDN
1)首先确认服务器的hostname:

appadm@appsvr1:~$ hostname
appsvr1
#如果hostname不是你想要的,需要修改/etc/hostname文件,命令如下:
vim /etc/hostname
#将内容改成appsvr1

2)为appsvr1服务器配置FQDN:

# 修改/etc/hosts 文件:
vim /etc/hosts
#添加以下代码
192.168.124.160 appsvr1
# 如果有多个节点,那就要将内网/外网ip都列在hosts文件中

4.测试taos是否安装成功

root@appsvr1:/home/appadm# taos -h appsvr1
Welcome to the TDengine Command Line Interface, Client Version:3.0.5.0
Copyright (c) 2022 by TDengine, all rights reserved.

  ********************************  Tab Completion  ************************************
  *   The TDengine CLI supports tab completion for a variety of items,                 *
  *   including database names, table names, function names and keywords.              *
  *   The full list of shortcut keys is as follows:                                    *
  *    [ TAB ]        ......  complete the current word                                *
  *                   ......  if used on a blank line, display all supported commands  *
  *    [ Ctrl + A ]   ......  move cursor to the st[A]rt of the line                   *
  *    [ Ctrl + E ]   ......  move cursor to the [E]nd of the line                     *
  *    [ Ctrl + W ]   ......  move cursor to the middle of the line                    *
  *    [ Ctrl + L ]   ......  clear the entire screen                                  *
  *    [ Ctrl + K ]   ......  clear the screen after the cursor                        *
  *    [ Ctrl + U ]   ......  clear the screen before the cursor                       *
  **************************************************************************************

Server is Community Edition.

taos> 

如果弹出上面的内容,则代表安装成功,然后就可以配置客户端、进行开发操作了

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值