diff --git a/docs/deploy/README.md b/docs/deploy/README.md index 121bbfcb..4230c3d2 100644 --- a/docs/deploy/README.md +++ b/docs/deploy/README.md @@ -27,6 +27,8 @@ `/das` - 系统根目录 +`/das/install` - 系统安装包存放目录 + `/das/data` - 系统数据目录 `/das/data/tddata` - TDEngine3数据目录 diff --git a/docs/deploy/asserts/image-1.png b/docs/deploy/asserts/image-1.png new file mode 100644 index 00000000..e1ab7c4b Binary files /dev/null and b/docs/deploy/asserts/image-1.png differ diff --git a/docs/deploy/asserts/image.png b/docs/deploy/asserts/image.png new file mode 100644 index 00000000..0f02a11a Binary files /dev/null and b/docs/deploy/asserts/image.png differ diff --git a/docs/deploy/asserts/image1.png b/docs/deploy/asserts/image1.png new file mode 100644 index 00000000..a9108e93 Binary files /dev/null and b/docs/deploy/asserts/image1.png differ diff --git a/docs/deploy/asserts/image2.png b/docs/deploy/asserts/image2.png new file mode 100644 index 00000000..518787dd Binary files /dev/null and b/docs/deploy/asserts/image2.png differ diff --git a/docs/deploy/tdengine3.md b/docs/deploy/tdengine3.md index c5eb53e6..93a1cf31 100644 --- a/docs/deploy/tdengine3.md +++ b/docs/deploy/tdengine3.md @@ -2,3 +2,62 @@ > 当前版本: 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的安装。 \ No newline at end of file