Command-line application
Server Bootstrap CLI
Server Bootstrap CLI is a Go application for preparing a clean server for connecting sites. It performs an agreed sequence of configuration steps and verifies the actual result, including after a reboot.
What it configures
- The administrator account, SSH access and its protection rules.
- Package sources, nftables network rules and private administration through WireGuard.
- The server directory layout and access permissions.
- PHP-FPM, MySQL, Redis, Elasticsearch and Nginx in a supported configuration.
- Service startup, required kernel parameters and verification of the next boot.
The workflow
The operator first verifies the SSH host key and prepares protected files containing access credentials and parameters. The setup run command performs preparation after explicit confirmation of the operation. In the supported unattended mode, the sequence runs without manual input between steps.
The setup review command reads the saved state and explains where execution stopped. Uncertain operations are not retried automatically: they may continue only in the way defined for them.
Examples of read commands
server-bootstrap-cli --help
server-bootstrap-cli --version
server-bootstrap-cli setup review --state /path/to/private/setup-state
Replace the example path with your own protected state directory. These are command examples, not application installation instructions or a ready-to-use server profile.
Auditing an existing server
The server audit command does not require the server's preparation history. It reads the current configuration and compares it with a pinned expectations file. The result distinguishes match, differs and not_recorded. The audit does not change configuration, although sudo calls may leave the usual entries in the authentication log.
Verified scope and limitations
The supported scenario has been verified on Debian 13, Linux amd64. The current sequence contains 98 steps. A clean end-to-end run completed for the 88-step edition; subsequent additions were accepted on the same server, including checks after a reboot.
Connecting a particular site, its application database, domain and certificate is a separate task. The tool does not promise support for arbitrary operating systems, universal repairs or upgrades of any existing server.
Application access
The code and documentation are hosted in GitLab. A public download channel, license terms and a separate versioned release have not yet been announced. The public description does not grant repository access and contains no operational keys, passwords or profiles.