Pressctl: WordPress Infrastructure From Your Terminal

·

Pressctl: WordPress Infrastructure From Your Terminal

Managing WordPress hosting usually means bouncing between panels, scripts, docs, and server tabs you’d rather forget. I built pressctl to make that whole mess feel boring—in the best way.

pressctl is a CLI for automating WordPress hosting on Ubuntu servers. With it, you can provision servers, create sites, manage domains, and issue SSL certificates from your terminal. The idea is simple: fewer manual steps, less DevOps overhead, and a workflow that’s friendly to both humans and agents.

Why I built it

WordPress is still one of the most practical ways to ship a site fast, but the hosting side often gets ugly. You need Nginx, PHP, MariaDB, Redis, SSL, firewall rules, user isolation, and a setup that doesn’t fall apart the moment you add a second site.

I wanted something that:

  • keeps the setup controlled and repeatable
  • works from the terminal
  • is scriptable in pipelines
  • is easy enough for AI agents to use safely
  • avoids shared-resource chaos between sites

That’s what pressctl is for.

What pressctl does

Pressctl helps you run production-style WordPress hosting on Ubuntu 24.04 with a clean, opinionated stack:

  • Nginx
  • PHP 8.3
  • MariaDB
  • Redis
  • Let’s Encrypt SSL
  • UFW firewall
  • Fail2ban
  • site-level isolation

Each site gets its own Linux user, dedicated PHP-FPM pool, isolated permissions, and separate configuration. That means less cross-site mess and a setup that’s easier to reason about.

Typical workflow

curl -fsSL https://raw.githubusercontent.com/shariffff/pressctl/main/install.sh | bash
press server add
press server provision myserver
press site create
press domain ssl

You can also list servers, manage sites, add domains, and inspect config from the same CLI.

Built for real-world use

Pressctl isn’t trying to be a giant hosting panel replacement. It’s meant to be a practical tool for people who want control without hand-rolling the same stack over and over.

A few things I focused on:

  • predictable commands
  • structured output
  • safe defaults
  • automation-friendly design
  • minimal friction for repeat deployments

That makes it useful for solo developers, small teams, and anyone who’d rather spend time building than babysitting servers.

Who it’s for

Pressctl is a good fit if you:

  • host WordPress sites on your own VPSes
  • want a repeatable deployment process
  • prefer terminal workflows over control panels
  • need isolated per-site setups
  • want something scriptable for automation or AI-assisted workflows

Try it

curl -fsSL https://raw.githubusercontent.com/shariffff/pressctl/main/install.sh | bash

If you want the source, docs, or implementation details, check out the project on GitHub.

Final thoughts

I built pressctl because WordPress hosting should feel more like running a tool and less like surviving a ritual.

If you’ve ever wanted a cleaner, more controlled way to provision and manage WordPress infrastructure from the terminal, this is for you.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *