Skip to main content

Install on a server

Qubix runs on your own server — one install command brings up the whole stack (database, backend, web server, helper services). You need a clean Linux server with SSH access and Docker, and the license activation code from your account on qubix.pro.

Server requirements​

The installer checks the server before it starts and refuses to continue on a machine that is clearly too small. What Qubix needs:

ResourceMinimumRecommended
CPU4 coresmore for heavy traffic — see Choosing your server
RAM16 GB64 GB
Disk60 GB SSDtwo 512 GB NVMe disks

Below the minimum the installer warns — for example, that the database will be slow on busy days — and asks whether to continue. It asks in an interactive terminal; without one the installation stops at that point. On a server with a 60 GB disk the disk check passes without a question: the installer asks only when less than 40 GB is free, both where Qubix is installed and where Docker keeps its images. There is a hard floor of 12 GB of free disk — below it the install stops.

On a server with less memory Qubix still installs, but search by meaning may stay off: its model needs 8 GB on top of the database. The Search by meaning settings then say why.

The memory is shared by the database, the Qubix server, the search-by-meaning model and its vector store. The vector store may use up to an eighth of the RAM: its limit is never below 1 GB or above 8 GB, so on a 16 GB server it is about 2 GB. The limit is a ceiling, not memory taken up front.

Take an SSD: the database is disk-bound, and the installer measures the disk speed and warns about an HDD-class disk. 60 GB holds the platform with all its parts — the local search-by-meaning engine included — its logs and an update, and leaves room for your data. For how much traffic and how many creatives fit, see Choosing your server.

Hard requirements:

  • A 64-bit Linux server, not a personal computer or shared hosting.
  • A 64-bit x86 CPU with the SSE4.2 instruction set — the x86-64-v2 baseline. Without it the database won't start — it crashes with "Illegal instruction". The installer checks for it up front and stops with a clear message before anything is downloaded, so you never have to hunt for the cause of a mysterious container crash. A CPU that also has AVX2 — the x86-64-v3 baseline, met by any Intel (Haswell, 2013 and later) or AMD (Zen, 2017 and later) server processor — gets the faster build of the databases. On a CPU without AVX2 the installer checks that the Qubix release being installed has the universal build of the databases, and stops if it does not. If the check fails, ask your hosting provider for a server with a more modern processor.
  • Docker with the docker compose plugin (V2). The old standalone docker-compose (V1) is not supported — the installer detects it and stops.
  • Outbound HTTPS so the server can pull the Qubix images.
A clean server

Install Qubix on a server dedicated to it alone. The stack expects ports 80, 443 (and 8443 for the Cloudflare option) to be free. If another web server already holds them, free them first or choose the Cloudflare option later in the setup wizard.

Installation​

  1. Connect to the server over SSH as root.

  2. Run the install command:

    Bash
    curl -sSL https://qubix.pro/install.sh | bash

    (or wget -qO- https://qubix.pro/install.sh | bash)

    the installer banner and the stack starting in the terminal

  3. The installer shows the Qubix banner and asks for the install folder and the setup wizard's port. Then it checks the server and asks for the license activation code from your account on qubix.pro: the Qubix images are given out to a license, so the code comes before they are downloaded; a re-run in the same folder uses the license already stored there. After that it asks which network interface to publish on, pulls the images, activates the license and starts the stack. Wait until it reports that everything is up.

Do not interrupt the installation

Let the installer finish. Stopping it midway can leave a partially configured stack — in that case the safest option is to remove the install folder and run the command again on a clean server.

What you get​

The installer brings up a small set of containers that make up Qubix: the analytics database, the Qubix backend, the web server, the vector store for search by meaning, and the SSL certificate and AI services. There is no separate update service: the Qubix backend installs updates itself. You don't manage these by hand — Qubix does it for you. The vector store's data lives in the install folder, in its own folder under data (with the default install folder — /opt/qubix/data).

Finishing the setup in the browser​

When the stack is up, the installer prints a link like:

http://<your-server-ip>:7000/install?k=…

Open that full link in a browser (the ?k=… key is required). It leads to the setup wizard: there you pick between restoring from a backup and starting from scratch, choose where Qubix will open, create the first administrator and decide where data is processed.

the terminal line with the wizard link

You can reload the wizard page: what you entered is kept, while the password and keys are deliberately not saved by the wizard — it takes you back to the right step for them by itself. More in If you reload the wizard page.

The link works once

The setup wizard is available only until you finish it. After the first administrator is created, the link stops working — this is expected behavior. From then on you log in at your panel's own address.

What's next​