OneLinersCommand workbench
Guides
Operational guides

Complete procedures with a way back.

Searchable, versioned procedures with prerequisites, verification, concrete output, and rollback.

Guides
243
Favorites
0
243 launch guides · 2601 reviewed steps
10 of 243 guides

Services & Applications · Databases & Data

Install a production LAMP stack on Ubuntu

Build Apache, MariaDB, PHP-FPM, TLS, application identity, database credentials, health checks, and backups as one verified stack.
Save to collectionCreate a collection in the sidebar first.
caution90 minadvanced8 stepsUbuntu Server

Services & Applications · Databases & Data

Install a production LEMP stack on Ubuntu

Build nginx, MariaDB, PHP-FPM, TLS, isolated application paths, FastCGI safety rules, health checks, and backups.
Save to collectionCreate a collection in the sidebar first.
caution90 minadvanced8 stepsUbuntu Server

Services & Applications · Security

Configure a dedicated PHP-FPM pool for one application

Separate Unix identity, socket, resource limits, logs, environment, and health checks for an application instead of sharing the default pool.
Save to collectionCreate a collection in the sidebar first.
caution45 minadvanced8 stepsPHP-FPM

Security · Services & Applications

Harden PHP-FPM with systemd service controls

Measure the current unit, add compatible filesystem and privilege restrictions, validate application paths, and roll out hardening without breaking package upgrades.
Save to collectionCreate a collection in the sidebar first.
caution50 minadvanced8 stepssystemd

Security · Services & Applications

Configure a production PHP INI baseline

Separate CLI and FPM settings, hide unsafe disclosure, bound resources, secure sessions, centralize errors, and verify effective values through the web SAPI.
Save to collectionCreate a collection in the sidebar first.
caution40 minintermediate8 stepsPHP

Services & Applications · DevOps & CI/CD

Run multiple PHP versions behind nginx with isolated FPM pools

Install versioned runtimes, create distinct sockets and services, route each server block explicitly, and upgrade one application at a time.
Save to collectionCreate a collection in the sidebar first.
caution60 minadvanced8 stepsPHP

Observability & Monitoring · Services & Applications

Configure and verify PHP OPcache for production

Measure script inventory, size OPcache deliberately, choose a deployment invalidation strategy, enable observability, and prove cache health.
Save to collectionCreate a collection in the sidebar first.
caution30 minintermediate8 stepsPHP

Services & Applications · Security

Configure PHP upload and request limits end to end

Align PHP, FPM, nginx or Apache, reverse-proxy, temporary storage, and application limits; then test accepted and rejected uploads.
Save to collectionCreate a collection in the sidebar first.
caution35 minintermediate8 stepsPHP

Services & Applications · Packages & Updates

Install PHP 8.5 from Remi on RHEL, AlmaLinux, or Rocky Linux

Enable EPEL, CRB or CodeReady Builder, and the official Remi repository; switch the system PHP module to 8.5; install FPM and verify the exact runtime.
Save to collectionCreate a collection in the sidebar first.
caution35 minintermediate8 stepsRHEL

Services & Applications · Packages & Updates

Install PHP 8.5 in parallel with the system PHP using Remi SCL

Keep the distribution PHP unchanged while adding Remi's php85 Software Collection, its FPM service, isolated configuration, and an explicit application handler.
Save to collectionCreate a collection in the sidebar first.
caution45 minadvanced8 stepsEnterprise Linux