A single binary that turns a bare Ubuntu or Debian server into a tuned, hardened WordPress host — nginx, PHP-FPM and MariaDB or MySQL — sized for the machine it's running on.
sudo ./ngxsetup setup
sudo ngxsetup site add example.com --wordpress --tls --admin-email you@example.comNo agent, no runtime dependencies, no configuration management server. Every template it needs is embedded in the binary. Sizes the stack from a real memory budget, isolates every site at the kernel level (its own user, its own PHP-FPM service, its own mount namespace), and re-applies idempotently — a second run with nothing changed does, and reloads, nothing.
curl -fLO https://github.com/mevijays/ngxsetup/releases/latest/download/ngxsetup-linux-amd64
chmod +x ngxsetup-linux-amd64
sudo ./ngxsetup-linux-amd64 setuparm64 builds are published too. See
Installation for
checksums, building from source, and choosing MySQL over the default
MariaDB.
Full docs: mevijays.github.io/ngxsetup
- Getting started
- Architecture
- CLI reference
- Tuning
- Security
- Backups — local database dumps and off-box, encrypted Borg backups, including pairing with ngxborg
Issues and pull requests are welcome. See CONTRIBUTING.md for dev setup, running tests, and what makes a good PR — it's a short read.