map/docs/deploy/tdengine3.md
2024-10-24 13:52:50 +08:00

63 lines
1.0 KiB
Markdown
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.

# TDEngine3 安装部署
> 当前版本: 3.3.2.0
## 安装包确认
请确认安装包是否已经在`/das/install`目录下
`TDengine-server-3.3.2.0-Linux-x64.tar.gz` - TDEngine 3.3.2.0 官方安装包
`td3.3.2.13_openeuler_patch.tar.gz` - TDEngine 3.3.2.13 OpenEuler补丁包
## TDEngine3安装
1. 先解压TDEngine3官方安装包
```shell
cd /das/install/
tar zxvf TDengine-server-3.3.2.0-Linux-x64.tar.gz
```
2. 运行安装脚本
```shell
cd TDengine-server-3.3.2.0
./install.sh
```
![alt text](asserts/image1.png)
这里输入服务器的IP地址。
![alt text](asserts/image2.png)
这里直接回车即可。
![alt text](asserts/image.png)
继续回车。
![alt text](asserts/image-1.png)
看到上图的内容TDEngine官方安装包就安装完毕了下面运行补丁。
```shell
cd /das/install
tar zxvf td3.3.2.13_openeuler_patch.tar.gz
```
执行补丁脚本
```shell
cd patch
./apply_patch.sh
```
> PS. 此脚本会更改TDEngine的默认数据目录为/das/data/tddata
这样就完成了TDEngine3.3.2.13的安装。