Skip to content

Installation

Run the installer on the server as root:

bash
curl -fsSL https://fluxo.fottify.com/install.sh | sudo bash

Before changing the host, the script verifies the operating system, architecture, release artifact and provenance, installation mode, existing Fluxo service and SQLite schema, fluxo account, effective SSH port, and effective UFW state. Ambiguous legacy installations or inconsistent UFW state stop the installer without firewall changes. Current installers create a missing root-owned /run/sshd runtime directory before evaluating the SSH configuration; for the manual recovery required by older installers, see Troubleshooting.

Start with at least 1 GB of RAM and 20 GB of storage. This minimum supports one small low-traffic site and one local database engine when at least 1 GB of swap is configured. Use 2 GB or more for a more comfortable small production server and at least 4 GB for Node.js builds, Redis, multiple databases, or several active sites. See Requirements for detailed sizing guidance.

What the installer changes

The installer:

  1. Installs Nginx, PHP 8.4 and common extensions, Certbot, Composer, WP-CLI, Git, UFW, and Fail2Ban.
  2. Optionally installs the Node.js toolchain, Python application support, MariaDB/MySQL, PostgreSQL, and Redis.
  3. On a fresh server with inactive UFW, allows the detected SSH port, 80, 443, and 9595 before enabling it. The exact rules created by the installer are imported as Fluxo-managed rules. An existing installation's active or inactive UFW policy is preserved unchanged and is not claimed by Fluxo.
  4. Creates and validates the fluxo system user. SSH hardening is enabled only when explicitly requested or when maintaining an existing Fluxo hardening file.
  5. Installs the Fluxo binary at /usr/local/bin/fluxo.
  6. Creates and starts fluxo.service.
  7. Generates initial credentials and waits for exact healthy and matching-version API responses.

Composer and WP-CLI are installed globally. Their baseline versions are embedded in each Fluxo release, and the installer verifies their downloaded contents and reported versions before activating them. Node.js and Bun architecture hashes, npm integrity values for Corepack, pnpm, and Yarn, and architecture-specific uv hashes are embedded in the same signed release. Optional runtime package operations use noninteractive settings and finite command waits. Fluxo then schedules a weekly update to the latest stable Composer 2 release; WP-CLI and uv remain at their release-selected versions until a Fluxo upgrade. These command-line tools consume storage but no idle RAM.

Unattended installation

Pass flags after bash -s -- to avoid interactive component prompts:

bash
curl -fsSL https://fluxo.fottify.com/install.sh | sudo bash -s -- \
  --db-engine=mysql \
  --redis \
  --node \
  --python
FlagMeaning
--db-engine=mysqlInstall MariaDB/MySQL
--db-engine=postgresInstall PostgreSQL
--db-engine=bothInstall both database engines
--db-engine=noneDo not install a database engine
--redisInstall Redis
--no-redisSkip Redis
--nodeInstall Node.js, npm, pnpm, Yarn, Corepack, and Bun
--no-nodeSkip the Node.js toolchain
--pythonInstall Python, venv and build prerequisites, pip support, and verified uv
--no-pythonSkip Python application support
--harden-sshDisable root password authentication after validating an authorized key and the staged effective policy
--no-harden-sshDo not change SSH authentication policy
--management-cidr=<cidr>Restrict a newly created port 9595 rule, for example 203.0.113.4/32
--skip-release-attestationExplicitly trust a custom FLUXO_BINARY_URL that cannot carry Fluxo release provenance

If a component is skipped, install it later from the Runtime section of the dashboard. Creating a Node.js or Python site remains disabled until its runtime page reports ready. WordPress site creation requires MariaDB/MySQL.

Retry an interrupted installation

Answering yes to Node.js selects it for a later step; installation happens after Composer and WP-CLI have been downloaded and verified. If setup stops before that step, the next run can ask about Node.js again. When a Node.js executable is already available, Fluxo detects it and completes/verifies the toolchain instead of asking again.

Rerun the installer after resolving the reported error. An active PHP PPA for the current Ubuntu release is reused without registering it with Launchpad again. New repository registration has three attempts, each with a two-minute timeout. Dependency download failures identify the URL without its credentials/query parameters, the curl exit code, and the HTTP status. Signature and checksum checks still apply.

The failure output shows flags for reusing your Node.js and Python choices. For example, to select Node.js and skip Python without repeating those prompts:

bash
curl -fsSL https://fluxo.fottify.com/install.sh | sudo bash -s -- --node --no-python

Keep any other options from your original command. These flags repeat your choices; they do not indicate that the selected components were installed successfully. Do not run two installers simultaneously.

A resumed run performs the final daemon, configured panel-domain, and previously active managed Node.js application checks before reporting success. Missing upgrade snapshots or optional cleanup failures do not suppress the final summary. If first login is still pending, the installer displays the saved bootstrap token; if you already claimed the administrator account, it directs you to your existing login. If credentials cannot be read safely, the summary includes recovery guidance.

Install a specific release

Set FLUXO_VERSION to a published tag:

bash
curl -fsSL https://fluxo.fottify.com/install.sh | \
  FLUXO_VERSION=v0.4.32 sudo -E bash

Advanced installers can override FLUXO_GITHUB_REPO, FLUXO_BINARY_URL, and FLUXO_BINARY_SHA256_URL. A custom binary URL must be accompanied by a checksum URL and the explicit --skip-release-attestation acknowledgement. A local binary selected with --local-binary is treated as locally trusted.

For published releases from v0.4.10 onward, the installer downloads the release's public attestation bundle and enforces GitHub's cryptographically signed build provenance before executing the binary. It constrains the repository, tag, signing workflow, hosted runner, artifact digest, and transparency-log proof. No GitHub account or token is required. The temporary GitHub CLI verifier is not installed on the server; its exact version and Linux hashes are pinned in the installer. Older published releases remain available with checksum verification and a compatibility warning because no historical attestation exists.

After downloading a release asset manually, verify its provenance with the GitHub CLI:

bash
curl -fsSLO https://github.com/FabioTECH1/fluxo/releases/download/v0.4.32/fluxo-release-attestation.json
gh attestation verify fluxo-linux-amd64 \
  --repo FabioTECH1/fluxo \
  --bundle fluxo-release-attestation.json \
  --signer-workflow FabioTECH1/fluxo/.github/workflows/release.yml \
  --source-ref refs/tags/v0.4.32 \
  --deny-self-hosted-runners

Open the dashboard

After installation, visit:

text
https://YOUR_SERVER_IP:9595

Accept the initial self-signed certificate warning, then follow First login.

After signing in, you can connect a trusted HTTPS hostname from Settings > General > Panel Domain. Direct access through the server IP and existing dashboard port remains available as a recovery path.

The default newly created UFW rule allows dashboard access from any source so you can use Fluxo across your devices. Authentication, TLS, application rate limiting, and Fail2Ban still apply. To restrict a fresh server to one trusted network instead, pass --management-cidr, for example:

bash
curl -fsSL https://fluxo.fottify.com/install.sh | sudo bash -s -- \
  --management-cidr=203.0.113.4/32

This option applies only when the installer creates a new UFW policy. Fluxo refuses to rewrite an existing active policy.

Verify the service

bash
sudo systemctl status fluxo --no-pager
sudo journalctl -u fluxo -n 100 --no-pager
curl -k https://127.0.0.1:9595/api/v1/health

A healthy API returns exactly {"status":"ok"}. The installer also requires /api/v1/version to report the candidate release before committing an upgrade.

Keep SSH open

When using --harden-ssh, confirm a second key-authenticated root session works before running the installer and keep the first session open until installation completes. Without that flag, a fresh installation does not change SSH authentication. Fluxo always allows the effective SSH port before enabling a new UFW policy.

Fluxo website · Source-available under the BSL 1.1 License.