Installation¶
This section explains every supported way to install QubeSight, how to choose between them, and what to do after the installation. All methods install the same product: the same container stack, the same configuration files and the same defaults.
Community Enterprise
One installation engine¶
Every method ends up running the same installation engine, install.sh, in the QubeSight release directory:
- The web installer (
./setup.shornpm run setup) collects your choices in a browser and runsinstall.shfor you. - The terminal installer is
install.shitself, asking its questions in the terminal. - Unattended installation is
install.sh --yeswith command-line options and environment variables. - The AWS and Azure images run
install.shunattended on the first boot of the virtual machine. - Restore from a backup is
install.sh --restore-from, also offered as Restore from backup in the web installer.
The only exception is the offline setup wizard qubesight-setup, a self-contained program for air-gapped sites that deploys the same stack without Node.js. See Offline (air-gapped) installation.
Because there is one engine, every installation can be re-run safely: existing secrets and data are never overwritten, and a re-run only applies the options you change and starts missing services.
Choose a method¶
| Your situation | Recommended method | Page |
|---|---|---|
| A Linux server with internet access, and you prefer a guided, visual installation | Web installer | Web installer (recommended) |
| A server without Node.js, or you prefer a terminal | Terminal installer | Terminal installer (install.sh) |
| Scripted or repeatable installations (configuration management, CI, golden images) | Unattended install.sh --yes |
Unattended installation |
| A server with no internet access | The offline bundle qubesight-<version>-offline.tar.gz: unpack it and run ./install.sh --web or ./install.sh |
Offline (air-gapped) installation |
| You run on Amazon Web Services | AMI with a CloudFormation template | AWS (AMI and CloudFormation) |
| You run on Microsoft Azure | Marketplace image or the Deploy to Azure template | Microsoft Azure |
| A previous QubeSight server is lost and you have its backup location and backup passphrase | Restore from backup | Restore from a backup |
| You already run QubeSight and want high availability | Add nodes and a witness in the product | Add cluster nodes and a witness |
| You want a standby server at a second site | Disaster-recovery site | Set up a disaster-recovery site |
flowchart TB
A{Cloud VM on AWS or Azure?} -->|AWS| AWS[AWS AMI + CloudFormation]
A -->|Azure| AZ[Azure image / Deploy to Azure]
A -->|No, own server| B{Restoring a lost system?}
B -->|Yes| R[Restore from backup]
B -->|No| C{Internet access on the server?}
C -->|No| O[Offline bundle: unpack, then ./install.sh --web]
C -->|Yes| D{Scripted / repeatable?}
D -->|Yes| U[install.sh --yes with options]
D -->|No| E{Node.js 20+ acceptable?}
E -->|Yes| W[Web installer]
E -->|No| T[Terminal install.sh]
Before you start¶
Check the following for every method except the cloud images (which bring their own operating system and container engine):
- A supported host and enough resources: see System requirements and sizing.
install.shwarns when Docker has less than 6,000,000,000 bytes of memory (about 5.6 GiB; the web installer warns below 6 GiB) or the installation directory has less than about 10 GiB free. - Docker Engine with Docker Compose v2 (
docker compose versionmust work), or Podman with Docker CLI emulation and a Compose v2 provider. The user running the installer must berootor a member of thedockergroup. bash,openssl,iproute2(ip),awk,sed,grepanddf.python3is optional (only for the sizing recommendation).arpingis optional (only for checking a virtual IP).- Node.js 20 or newer, only for the web installer.
- Free ports for the web interface (3000/tcp), syslog (5140/tcp), Kafka (9092/tcp) and SNMP traps (162/udp), plus local-only management ports. See Network, ports and firewall.
- For a build from source: outbound access to Docker Hub, GitHub and the package registries. Without it, install from the offline bundle, which needs no build and no internet access; see Offline (air-gapped) installation.
Known issues of 2.0.107, fixed in 2.0.109¶
The following problems of release 2.0.107 are fixed in 2.0.109. Install the current release (2.0.109 or later) where you can. The notes below are for installations that still use the 2.0.107 bundle or images.
| Problem in 2.0.107 | Fixed in 2.0.109 | If you still install 2.0.107 |
|---|---|---|
./install.sh with no options stops at the embedded-model question on a new server (read_or_fail: command not found, exit status 127). |
The no-options installation runs through. | Use the web installer (./install.sh --web, sudo ./setup.sh or npm run setup) or an unattended run (./install.sh --yes …). If it already stopped, remove the partial installation with sudo ./uninstall.sh before you try again. |
| A re-run after a half-finished first installation is treated as an existing installation, so the new-installation defaults are skipped: the ingest allowlist stays off and the backup questions are not asked. | A .qs-new-install marker stays until the installation finishes; a re-run without data continues as a new installation. |
If an installation stopped half-way and was completed later, check Data Sources → Stream Sources → Access allowlist (Syslog/SNMP) and the backup location. |
RHEL, Rocky or Oracle Linux with SELinux enforcing: services do not start. The data directory keeps the host label, Redpanda restarts with Permission denied and the installation stays at Starting services; afterwards Vector cannot read its configuration. |
When SELinux is enabled, install.sh labels the data directory and pipeline/vector as container_file_t before any container starts (semanage fcontext and restorecon, otherwise chcon with a warning). Nothing changes when SELinux is off. |
Label the directories by hand (see below). |
| Settings → Notifications: the outgoing mail server cannot be saved on a new installation. | The unconfigured Guardium SNMPv3 profile that shares the record is no longer validated. | Upgrade to 2.0.109 before you configure mail. |
GUI cluster join on a first node installed from the AWS or Azure image fails at Transfer images (qubesight/keepalived:2 … unrecognized image format). |
The images contain every image a join transfers. | See Add cluster nodes. |
| The access manager cannot open Identity and access → Directory and SSO; Test connection in the LDAP and SSO dialogs discards unsaved edits. | The tab opens for the access manager; a test keeps your edits. | Configure the directory as an administrator. |
SELinux workaround for 2.0.107 (verified on RHEL 9 with podman 5.8 and the web installer):
# when the installation hangs at "Starting services" (data directory /data/qubesight in this example)
sudo chcon -R -t container_file_t /data/qubesight
# when the installation has finished but the vector container keeps restarting
sudo chcon -R -t container_file_t <release directory>/pipeline/vector
chcon labels are lost if the file system is relabelled later; 2.0.109 adds persistent rules with semanage fcontext.
What every installation produces¶
| Item | Where | Notes |
|---|---|---|
.env |
Release directory, mode 0600 | Settings and generated secrets. Never committed or shared. Back up GUARDIUM_SECRET_KEY. |
secrets/ |
Release directory, mode 0700 | PostgreSQL passwords, the HTTPS seed certificate (secrets/tls/) and, when Kafka authentication is on, kafka_rpk.env. |
| Data directories | clickhouse_data/, clickhouse_cold/, redpanda_data/, archive_drop/ (and minio_data/ with local cold storage) |
Kept by docker compose down. |
| Named volumes | PostgreSQL data, backups, control-plane secrets, the web certificate store, update-service state, restore MySQL | Removed only by docker compose down -v or ./uninstall.sh. |
The installation summary prints the web interface address, the certificate fingerprint, the administrator user name and, on a new installation only, the generated first password. See After installation for the first sign-in.