Install on a Linux host
Prerequisites
Section titled “Prerequisites”- Use Linux x64 or arm64. Host mode requires root.
- All-in-One and IDMP require glibc 2.28 or later. x86_64 All-in-One also requires AVX2; ARM64 does not.
- Have
curl,tar, and at least 20 GB of free disk space. - Port checks require one of
ss,lsof, ornetstat;ssis preferred. - The built-in single-node configuration uses
transport: localand does not need an SSH server. Remote or multi-node deployments require SSH access and credentials.
Install All-in-One
Section titled “Install All-in-One”curl -fsSL https://downloads.tdengine.com/apex/latest/install.sh | bash -s -- -m apexChoose another profile
Section titled “Choose another profile”APEX_DEPLOY_PROFILE='TSDB-Enterprise' bash install.sh -m apexAPEX_DEPLOY_PROFILE='IDMP-Enterprise' APEX_IDMP_ENDPOINT='127.0.0.1:6041' bash install.sh -m apexThe installer downloads the release package, installs the CLI, syncs manifests and scripts, prepares artifacts, and invokes deployment. To run the workflow in separate steps:
apex check -f deployment.yamlapex validate -f deployment.yaml --manifests "$APEX_HOME/manifests"apex prepare -f deployment.yaml --manifests "$APEX_HOME/manifests"apex apply -f deployment.yaml --manifests "$APEX_HOME/manifests"For dynamic versions, save the resolved Deployment emitted by validate and pass it to prepare and apply.
Remote SSH deployment
Section titled “Remote SSH deployment”Remote nodes need a host, platform, and SSH authentication settings. Check the deployment and SSH connectivity:
apex check -f deployment.yamlssh -i ~/.ssh/id_ed25519 -p 22 root@192.168.1.122 trueUse transport: local for a single-node deployment instead of configuring loopback SSH.
Verify and manage components
Section titled “Verify and manage components”apex versionapex-component-status.shapex-component-start.sh tsdb,idmpapex-component-stop.sh tdgptUse apex deploy -f deployment.yaml --yes to redeploy a non-default Deployment, or run ~/.apex/deploy-scripts/linux/deploy.sh for the default deployment.