ubuntu24安装TDengine社区版

0 阅读1分钟

下载

git clone https://github.com/taosdata/TDengine.git

cd TDengine/

git checkout -b ver-3.4.0.3 ver-3.4.0.3

准备

sudo apt update

sudo apt install -y pkg-config cmake build-essential git libssl-dev zlib1g-dev libjansson-dev libsnappy-dev liblzma-dev libcurl4-openssl-dev

sudo apt install build-essential cmake libssl-dev libtool autoconf automake

sudo apt install -y golang-go
go env -w GOPROXY=https://mirrors.aliyun.com/goproxy/,direct

编译

export TD_CONFIG=Release

./build.sh gen -DBUILD_KEEPER=false  -DWEBSOCKET=false

./build.sh bld -j$(nproc)

sudo ./build.sh install

./build.sh start

systemctl status taosd.service
systemctl status taosadapter.service