Deployment & Installation

Choose a CheeseWAF deployment path, prepare the host, and verify the first running service.

Use this page to choose a deployment path. For a fresh Linux server, start with the one-line installer or the verified release archive; systemd remains the path used by the quick start.

One-line installer or verified archive, a shared application root or FHS layout, and a systemd service.

Compose deployment for evaluation or environments already managed by Docker.

CLI, portable archive, or NSIS desktop installation with a local controller.

DMG desktop application or portable command-line archive.

Prepare

ItemMinimum or defaultWhy it matters
Operating systemSupported 64-bit Linux for the recommended pathThe release archive and systemd installer target Linux hosts.
CPU and memory1–2 cores and 2 GB RAM can run the lightweight profileThe setup wizard recommends a conservative profile on small hosts.
DiskSpace for the archive, Web assets, runtime data, and logsKeep runtime data outside the source/template directory.
Privilegeroot or an administrator with sudoThe installer creates the cheesewaf service account and systemd unit.
NetworkAdministration path to 9443; data-plane path to 8080Keep management and business traffic on separate access policies.
BrowserA browser that can reach the management listenerRequired for the Web setup wizard and Console.
Release integrityMatching archive and SHA256SUMS from the official source, with GitHub as the backup download sourceVerify before extracting or running the binary; stop on checksum or signature errors.

The one-line installer enables HTTPS and binds the management listener on all interfaces, then gates first setup with a one-time token and a generated security entry. Restrict 9443 to trusted administration networks before exposing it. The shipped configuration template and the setup wizard default to 0.0.0.0:9443 with server.admin_public: true; a configuration that omits the server keys falls back to the loader default 127.0.0.1:9443. A public listener still requires management TLS, a valid certificate, and a restricted source network.

On small hosts, use the lightweight profile: the setup wizard recommends low when the host has at most 2 logical cores or 2 GB RAM; a probe timeout, cancellation, or failure also falls back to low. storage.profile: production refuses to start until the production wiring is complete and does not silently fall back to SQLite.

Choose an installation mode

  • Setup / single node: the one-line installer, a verified archive with systemd, or Docker. Use this for a first deployment, evaluation, and a small self-hosted service.
  • Deploy / production: Start from the Linux or Docker guide, then add a trusted certificate, an external access policy, backups, log retention, and a tested upgrade path. See Operations.
  • Offline / air-gapped: Download the release archive, checksums, and signed resource packages on a connected machine, transfer them through your approved channel, and follow the offline section of the Linux guide.

Release files

Start with the official CheeseSec website for release downloads. The Linux installer prefers official release metadata and files, with GitHub Releases as the backup for failed downloads. Checksum or signature verification failures stop installation and must not trigger a source switch. Select the artifact that matches the target platform and architecture:

Artifact patternTarget
cheesewaf-amd64-linux-*.tar.gzLinux x86_64
cheesewaf-arm64-linux-*.tar.gzLinux ARM64
cheesewaf-loong64-linux-*.tar.gzLinux LoongArch
cheesewaf-amd64-darwin-* / cheesewaf-arm64-darwin-*macOS Intel / Apple Silicon
cheesewaf-*-windows-*Windows executable, ZIP, or setup package

Every Linux archive must include the cheesewaf binary, web/dist, configs/, the systemd unit, and install-linux.sh. Stop and download the archive again if one of these items is missing.

After installation

  1. Start the service and confirm the process owns the expected listener.
  2. Open the HTTPS setup URL printed by the installer, complete /setup, and create the first administrator.
  3. Add one test site and send test traffic through the data-plane listener.
  4. Keep the management port restricted to trusted administration networks until TLS, access control, backups, and upgrade procedures are verified.

Continue with Quick Start.

Linux Deployment (systemd)

Install CheeseWAF with the one-line installer or an offline release archive, then complete first setup through the HTTPS management entry.

Docker Compose Deployment

Deploy CheeseWAF with Docker Compose supporting read-only root filesystems and unprivileged container security.

Windows Deployment

Three Windows deployment modes: Single-file CLI, Portable Zip archive, and NSIS graphical installer, plus native Windows Service integration and a loopback-only local controller.

macOS Deployment

Install CheeseWAF on macOS via graphical DMG package or lightweight tar.gz command-line archive.