1.9 KiB
title | sidebar_label |
---|---|
Quick Start Guide | Quick Start Guide |
Get Started with Docker
This document describes how to get started with TDgpt in Docker.
Start TDgpt
If you have installed Docker, pull the latest TDengine container:
docker pull tdengine/tdengine:latest
You can specify a version if desired:
docker pull tdengine/tdengine:3.3.3.0
Then run the following command:
docker run -d -p 6030:6030 -p 6041:6041 -p 6043:6043 -p 6044-6049:6044-6049 -p 6044-6045:6044-6045/udp -p 6060:6060 tdengine/tdengine
Note: TDgpt runs on TCP port 6090. TDgpt is a stateless analytics agent and does not persist data. It only saves log files to local disk
Confirm that your Docker container is running:
docker ps
Enter the container and run the bash shell:
docker exec -it <container name> bash
You can now run Linux commands and access TDengine.
Get Started with an Installation Package
Obtain the Package
- Download the tar.gz package from the list:
- Open the directory containing the downloaded package and decompress it.
- Open the directory containing the decompressed package and run the
install.sh
script.
Note: Replace <version>
with the version that you downloaded.
tar -zxvf TDengine-TDgpt-<version>-Linux-x64.tar.gz
Decompress the file, open the directory created, and run the install.sh
script:
sudo ./install.sh
Deploy TDgpt
See Installing TDgpt to prepare your environment and deploy TDgpt.
Get Started in TDengine Cloud
You can use TDgpt with your TDengine Cloud deployment. Register for a TDengine Cloud account, ensure that you have at least one instance, and register TDgpt to your TDengine Cloud instance as described in the documentation. See the TDengine Cloud documentation for more information.
Create a TDgpt instance, and then refer to Installing TDgpt to manage your anode.