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
11 of 243 guides

Security · Services & Applications

Fix Certbot AuthorizationError and failed ACME challenges

Diagnose Certbot AuthorizationError and failed ACME challenges without retrying blindly. Separate public DNS, IPv6, HTTP-01 routing, redirects, CAA, DNSSEC, DNS-01 propagation, and multi-origin failures before issuing or renewing a certificate.
Save to collectionCreate a collection in the sidebar first.
caution75 minintermediate11 stepsUbuntu Server

Services & Applications · Security

Install Apache on Ubuntu with a production baseline

Install Apache 2.4, replace the default page, constrain the listener, set a server identity, open only required firewall ports, and prove restart safety.
Save to collectionCreate a collection in the sidebar first.
caution35 minbeginner8 stepsUbuntu Server

Services & Applications · Security

Configure Apache logs and diagnose 403 Forbidden or 500 Internal Server Error

Diagnose Apache 403 Forbidden and 500 Internal Server Error from correlated virtual-host, error and application logs. Then, when a planned logging change is needed, configure useful request fields, protected destinations and safe rotation.
Save to collectionCreate a collection in the sidebar first.
caution60 minintermediate11 stepsApache HTTP Server

Services & Applications · Networking & DNS

Configure Apache name-based virtual hosts

Serve multiple domains from isolated document roots, select an intentional default host, validate host matching, and keep separate access and error logs.
Save to collectionCreate a collection in the sidebar first.
caution45 minintermediate8 stepsUbuntu Server

Services & Applications · Security

Connect Apache to a dedicated PHP-FPM pool

Replace embedded mod_php with a versioned FPM socket, isolate the application pool, configure Apache's FastCGI handler, and verify both execution and static-file behavior.
Save to collectionCreate a collection in the sidebar first.
caution55 minadvanced8 stepsUbuntu Server

Networking & DNS · Services & Applications

Configure Apache as an HTTP and WebSocket reverse proxy

Proxy a private application through Apache with explicit timeouts, forwarded headers, WebSocket upgrades, health checks, and no accidental forward-proxy exposure.
Save to collectionCreate a collection in the sidebar first.
caution50 minadvanced8 stepsApache HTTP Server

Security · Services & Applications

Harden Apache security headers and TLS policy

Deploy scoped response headers and modern TLS settings, validate application compatibility, prevent duplicate headers, and retain a fast rollback.
Save to collectionCreate a collection in the sidebar first.
caution55 minadvanced8 stepsApache HTTP Server

Security · Services & Applications

Protect SSH and web authentication with Fail2ban

Use local jail overrides, verify filters against real logs, test bans safely, and retain an unban path.
Save to collectionCreate a collection in the sidebar first.
caution35 minintermediate8 stepsUbuntu Server

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 · 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

Databases & Data · Security

Install and secure phpMyAdmin behind Apache

Install from a trusted package or verified upstream release, isolate configuration secrets, add TLS and network authentication gates, disable dangerous defaults, and test database TLS.
Save to collectionCreate a collection in the sidebar first.
caution60 minadvanced8 stepsphpMyAdmin