Documentation Index
Fetch the complete documentation index at: https://docs.quanux.org/llms.txt
Use this file to discover all available pages before exploring further.
quanuxctl habitat equip is the first step in deploying a QuanuX execution node. It takes a virgin Linux server and transforms it into a conditioned node ready to receive the C++ engine — installing all required build tools, native libraries, and writing the /etc/quanux/habitat.env file that binds the node to the QuanuX VPC. Until habitat runs successfully, the nest drop command will refuse to execute.
Synopsis
What habitat provisions
Runninghabitat equip installs the following on the remote server:
| Package | Purpose |
|---|---|
g++-11, cmake, ninja-build | C++20 compilation toolchain |
libssl-dev | Native TLS/SSL acceleration |
libzmq3-dev | Native ZeroMQ message multiplexing |
flatbuffers | Memory-mapped struct schema compilation |
duckdb.hpp / libduckdb.so | In-memory analytical storage for backtesting and settlement |
Target groups
TheTARGET_GROUP argument maps to a group of servers in your node inventory. The inventory is resolved from your live infrastructure — never from static IP lists.
| Target group | Description |
|---|---|
edge_nodes | Execution nodes positioned physically closest to exchange matching engines |
The habitat.env contract
The most important output ofquanuxctl habitat equip is the file /etc/quanux/habitat.env written to the remote server. This file binds the node to the QuanuX internal network by pinning NATS_URL to the internal NATS instance, resolved dynamically from your infrastructure state at deploy time.
Example /etc/quanux/habitat.env written to the execution node:
nest drop command reads this file at startup. If the file is absent or malformed, the engine will not start.
Example
Error handling
Habitat is designed to fail completely and loudly if any dependency cannot be met. This is intentional. The correct recovery sequence is:Correct the root cause
Fix the underlying issue — network access, package availability, or infrastructure state — then re-run the command.
Reprovision if necessary
If the server is in an unknown or partially provisioned state, destroy it via your infrastructure provider and recreate it from scratch before re-running habitat.
Next step
Once habitat completes successfully, proceed tonest drop to compile and install the C++ engine: