Skip to content

Install on a Linux host

  • 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, or netstat; ss is preferred.
  • The built-in single-node configuration uses transport: local and does not need an SSH server. Remote or multi-node deployments require SSH access and credentials.
Terminal window
curl -fsSL https://downloads.tdengine.com/apex/latest/install.sh | bash -s -- -m apex
Terminal window
APEX_DEPLOY_PROFILE='TSDB-Enterprise' bash install.sh -m apex
APEX_DEPLOY_PROFILE='IDMP-Enterprise' APEX_IDMP_ENDPOINT='127.0.0.1:6041' bash install.sh -m apex

The installer downloads the release package, installs the CLI, syncs manifests and scripts, prepares artifacts, and invokes deployment. To run the workflow in separate steps:

Terminal window
apex check -f deployment.yaml
apex 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 nodes need a host, platform, and SSH authentication settings. Check the deployment and SSH connectivity:

Terminal window
apex check -f deployment.yaml
ssh -i ~/.ssh/id_ed25519 -p 22 root@192.168.1.122 true

Use transport: local for a single-node deployment instead of configuring loopback SSH.

Terminal window
apex version
apex-component-status.sh
apex-component-start.sh tsdb,idmp
apex-component-stop.sh tdgpt

Use apex deploy -f deployment.yaml --yes to redeploy a non-default Deployment, or run ~/.apex/deploy-scripts/linux/deploy.sh for the default deployment.