Installing the Daemon
On this page 7 sections
The QSCS bootstrap installer sets up the native daemon, initial configuration and systemd service on a 64-bit x86 Linux host. The steps below use apt, as available on Debian and Ubuntu.
Prerequisites
- A 64-bit x86 Linux host with
apt,systemdandsudoaccess, such as Debian or Ubuntu. - TCP ports 8080 for the public listener and 4443 for inter-node traffic, unless you choose different ports.
- Outbound HTTPS (port 443) to
spooksystems.organdmonitoring.spooksystems.org. - Your verified control-panel account for licensing after installation.
On nodes with less than 1 GB RAM, we recommend disabling snapd if it is installed and no required applications depend on it. This reduces background memory use and activity that can compete with QSCS. See small-node guidance before disabling it.
Add the apt repository
sudo apt-get update
sudo apt-get install -y ca-certificates curl gnupg
sudo install -d -m 755 /usr/share/keyrings
curl -fsSL https://spooksystems.org/apt/qscs-archive-keyring.asc \
| sudo gpg --dearmor -o /usr/share/keyrings/qscs-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/qscs-archive-keyring.gpg] https://spooksystems.org/apt stable main" \
| sudo tee /etc/apt/sources.list.d/qscs.list
sudo apt-get update
Install the QSCS bootstrap service
sudo apt-get install qscs-bootstrap
The bootstrap installer sets up:
/opt/qscs/bin/qscs, the daemon binary./etc/qscs/qscs.conf, a starter configuration file./etc/systemd/system/qscs.service, a systemd unit./opt/qscs/pages/, built-in static error / probe pages.
Activate the license
sudo qscs license <username>
This binds the node to your control plane and creates a stable UUID under /opt/qscs/spook.identities.db. Keep that file around, it is part of the node's identity and survives upgrades.
Open the ports
If your host has a firewall (cloud security groups, ufw, nftables…) allow inbound TCP 8080 for public traffic and TCP 4443 for cluster traffic. If you change either port in qscs.conf, allow the new value instead.
Next steps
You now have an unsubscribed daemon. Continue to Joining a Cluster to wire it up to a domain.
Nodes with less than 1 GB RAM
On nodes with less than 1 GB RAM, we recommend disabling snapd if it is installed and no required applications depend on it. This reduces background memory use and activity that can compete with QSCS. Actual memory savings depend on the host and installed services.
If snapd is present, run snap list to review installed Snap applications. Keep snapd enabled if you rely on any of them, including management agents or certificate-renewal tools. Otherwise, stop the daemon and disable its normal boot and socket activation:
sudo systemctl disable --now snapd.service snapd.socket
This leaves installed Snap packages in place, but Snap management and automatic updates are unavailable while snapd is stopped. To restore normal operation:
sudo systemctl enable --now snapd.socket snapd.service
Upgrading
Subsequent versions are released through the same repository. Upgrade with:
sudo apt-get update
sudo apt-get install --only-upgrade qscs-bootstrap
sudo systemctl restart qscs
Review the upgrade guidance before changing versions.