Skip to content

Tutorial: install a single node

In this tutorial you install QubeSight on one Linux server with the browser-based web installer and sign in for the first time. It follows one path with the recommended defaults. When you finish, you have a working Community installation with a locked cold store on the same server.

Community Enterprise

Time required: about 20–30 minutes, most of it waiting for images to build or load.

Other ways to install

This tutorial covers the recommended path only. For every option see Web installer (recommended). For a terminal-only installation see Terminal installer (install.sh); for a server without internet access see Offline (air-gapped) installation; for the cloud see AWS and Microsoft Azure.

What you need

  • A server running Ubuntu Server 22.04 or 24.04 LTS on x86_64 (amd64). For this tutorial Docker needs at least 6 GiB of memory and the installation directory at least 10 GiB of free disk; the installer warns below these values. A production server needs more: see System requirements and sizing.
  • Docker Engine with the Compose v2 plugin (docker compose version must work). Your user must be root or a member of the docker group.
  • Node.js 20 or newer to run the web installer. Ubuntu's own nodejs package is too old; install Node.js from nodejs.org or NodeSource.
  • The QubeSight installation package unpacked in a directory on the server, for example /opt/qubesight.
  • Internet access from the server if the images are built from source. Without internet access, load the images first as described in Offline (air-gapped) installation.
  • A workstation with a current browser that can reach the server on TCP port 3000.

Example values

This tutorial uses the server address 192.0.2.10. Replace it with your server's address.

Step 1: check the prerequisites

  1. Sign in to the server and go to the installation directory:

    cd /opt/qubesight
    
  2. Run the prerequisite check. It checks Node.js, npm, Docker Engine and Compose v2, and on Ubuntu or Debian offers to fix what is missing:

    ./setup.sh --check-only
    

    Fix anything it reports before you continue. Run ./setup.sh without --check-only to let it install the missing packages after your confirmation.

Step 2: start the web installer

  1. Start the installer:

    npm run setup
    

    The command prints an HTTPS address and a SHA-256 certificate fingerprint, for example https://192.0.2.10:3000/#.... On a server without a desktop the installer listens on all interfaces so that you can open it from your workstation. If port 3000 is busy it tries 3001 to 3010.

  2. Open the printed address in your workstation's browser. Copy the whole address, including the part after #: it carries a one-time key that only this browser session can use.

  3. The browser warns about a self-signed certificate. Compare the fingerprint in the warning with the one printed in the terminal (it is also shown at the bottom of the installer page). If they match, continue to the page.

Warning

Do not continue if the fingerprints differ. Another system could be intercepting the connection.

Web installer, first page (Type) with New installation selected.

Step 3: walk through the installer steps

The steps appear across the top of the page: Type, System, Admin, Network, Components, Retention, Load, Summary, Install, Done.

  1. Type. Select New installation and continue.

  2. System. The installer checks Docker, Compose v2, the memory and CPUs available to Docker, free disk space, Python and the default ports. Each line is green, yellow (warning) or red (blocking). Fix anything red, then press Check again.

  3. Admin. Keep the username admin and select Generate a strong password (recommended). The password is shown once at the end of the installation.

  4. Network.

    • Server address: click your server's address in the row of buttons under the field (here 192.0.2.10). Log shippers use this address, and Kafka advertises it.
    • Virtual IP for log intake (recommended): leave it empty for this tutorial. In production you can set a free address in the same subnet now, so that sources never need to be reconfigured when you later build a cluster.
    • Access: keep Reachable over the network (0.0.0.0) — recommended.
    • Ports: keep the defaults. The web interface (3000) and the API (8085) are shown; syslog 5140/TCP, Kafka 9092, SNMP trap 162/UDP and the two ClickHouse ports are under Advanced ports. The installer marks each port free or in use.
    • Time zone: select the time zone used for report and dashboard times.
  5. Components. The core services are always installed. The update service is one of them, so there is no toggle for it. Keep Guardium archive restore on. Leave ClickHouse S3 tier (MinIO, advanced) off. Turn Embedded language model (Gemma 3 4B) on only if the page says the server is large enough (at least 11 GiB of memory and 4 cores for Docker). Keep Build the images from source on unless the images are already loaded.

  6. Retention.

    • Hot data limit: keep Disk usage with Disk usage limit (%) at 85.
    • Cold storage: keep Local MinIO on this server (Community).
    • Lock period (years): keep 5, or choose the period your retention policy requires.
    • Backup location: keep Locked store (cold storage).
    • Backup passphrase: enter a passphrase of at least 12 characters and store it in your password manager. You need it to restore this installation on another server.

    Locked data cannot be deleted

    Every file written to the cold store is locked with Object Lock in COMPLIANCE mode for the lock period. Until the period ends, nobody, administrators included, can delete or change the files, and the bucket cannot be removed. Plan the disk capacity of the server for this.

  7. Load. Optionally enter the number of events per second you expect, the ingest path and the SQL type. The installer shows the recommended resources and whether this machine is large enough. Leave it empty for this tutorial; you can measure the real rate later under Platform → System and Cluster → Capacity.

  8. Summary. Review the choices and press Start installation.

Web installer Retention step: Disk usage 85 %, Local MinIO on this server (Community).

Step 4: wait for the installation

The Install step lists the stages as they run: Docker and environment check, Configuration and secrets, Port check, Building images, Starting services, Waiting for services to become healthy, Setting the backup passphrase (because you entered one), Verifying the API and the administrator sign-in and Starting the web interface. If you turned on the embedded language model, Downloading and verifying the embedded language model runs before the verification. The installer's output streams into Detailed output below the list; expand it to follow along.

  • Building the images from source takes several minutes the first time.
  • If a stage fails, the page names the stage and shows a hint (for example a busy port or a full disk). Fix the cause and press Try again; existing data and secrets are kept.

When the verification stage is green, the Done step opens. Starting the web interface runs later, when you press Open QubeSight in Step 5.

Step 5: save the sign-in details

The Done step shows:

  • Sign-in details: the username and the generated password. Copy the password into your password manager now. It is shown only on this page.
  • Addresses: the web interface, the syslog input (TCP), Kafka, the SNMP trap port and the management API (this machine only).
  • HTTPS certificate: the fingerprint of the certificate the product uses. It is the same certificate as the installer's, so the browser does not warn again.

Press Open QubeSight. The installer releases port 3000 and the product opens at the same address within a few seconds.

Web installer Done step: sign-in details with the password hidden, the addresses and the certificate fingerprint.

Step 6: sign in for the first time

  1. On the sign-in page, enter admin and the password you saved.
  2. The Activity Overview page opens. It is empty because no source sends data yet.
  3. Check the platform status: open Platform → System and Cluster → Status. All components should be healthy. Components that you did not install (for example the separate S3 tier) are shown as idle, not as failed.
  4. Check the hot-data limit: open Platform → Data and Backup → Retention. It shows Disk usage with 85 %, the choice you made in the installer.

Platform → System and Cluster → Status right after installation, all components healthy, signed in as admin.

Step 7: secure the installation

Do these three things before you connect real sources:

  1. Back up the key file. The .env file in the installation directory contains GUARDIUM_SECRET_KEY, which encrypts stored integration passwords. Copy .env to a safe place. If the key is lost, stored integration passwords cannot be decrypted.
  2. Note the access manager account. On a new installation QubeSight also creates the account accessmgr with a random password, which must be changed at first sign-in. Read the password on the server:

    docker compose exec control-plane cat /var/lib/qubesight/secrets/accessmgr_password
    

    Hand it to the person who will manage users. See Users, roles and permissions. 3. Plan your own certificate. The product uses a self-signed certificate. Replace it under Settings → Web certificate (HTTPS); see Web certificate (HTTPS).

What you have now

  • All QubeSight services running on one server, behind HTTPS on port 3000.
  • A locked cold store (local MinIO) and a backup location in the same store, protected by your backup passphrase.
  • An admin account and an accessmgr account.

Single-server protection

A local MinIO on the same server protects the archive against application and database administrators, not against someone with root access to the server or against the loss of the server. For full protection, keep the cold store on another server (the installer's Install a MinIO vault on another server (Enterprise) option, or your own Object Lock store, also Enterprise) and backups on another server or an SFTP location. See Deployment architectures.

Next step

Continue with Tutorial: connect your first source.