Install the control plane

Register, add your server IP, install the cdnca control plane with one command, and set up gateway ports, firewall and CDN.

  1. Sign up, open the licence centre and register your server’s public IP (unregistered IPs get 403 when downloading the installer).
  2. Copy the one-line command from the licence centre and run it as root on the server:
bash <(curl --proto '=https' --proto-redir '=https' -fsSL 'https://auth.cdnca.com/downloads/install-control.sh' || echo "echo '[cdnca-control] error: 无法下载安装脚本' >&2; exit 1") --licensing-server 'https://auth.cdnca.com'

Answer the prompts: control-plane domain (e.g. console.cdnca.com), HTTPS port (default 443), certificate e-mail and the first admin, or pass them as flags. The installer shows each step, overall progress and the estimated time left; the full output goes to /var/log/cdnca-install-control-*.log:

bash install-control.sh --licensing-server 'https://auth.cdnca.com' --master-host console.cdnca.com --certificate-email ops@example.com --admin-username admin --admin-email ops@example.com

Gateway and firewall

  • Open TCP 443, 80 and the two gateway ports (enrollment, channel) printed at the end of the install.
  • Behind a CDN, keep 443 public and set the origin port to the gateway port printed by the installer.

Check the install

systemctl is-active cdnca-control-api cdnca-agent-gateway cdnca-control-nats cdnca-control-web

Open https://console.cdnca.com and sign in as the first admin.

If an install fails, the safest path is to reinstall the OS and run it again.