Ubuntu server configuration guides
Build and repair Ubuntu server stacks with web servers, PHP, databases, TLS, reverse proxies, and production checks.
Curated guides
Ubuntu server setup guides
31 matched guides, best match first. Page 1 of 3.

How to Install WordPress with Nginx on Ubuntu 26.04, 24.04 and 22.04
Nginx is usually the better fit when you want WordPress on Ubuntu without the extra Apache layer, especially on a VPS where memory use and straightforward request handling...

How to Configure PHP-FPM on Ubuntu 26.04, 24.04 and 22.04
A reliable PHP stack depends on one small handoff: Nginx must send PHP requests to the PHP-FPM socket that matches Ubuntu's default PHP branch. To configure PHP-FPM on...

How to Install phpMyAdmin on Ubuntu 26.04, 24.04 and 22.04
Install phpMyAdmin on Ubuntu with a LEMP stack when you want browser-based database administration on an Nginx server. This setup works well for MariaDB or MySQL administration, WordPress...

How to Install ModSecurity and OWASP CRS with Apache on Ubuntu 26.04, 24.04 and 22.04
A web application firewall becomes useful when it blocks bad requests before they reach WordPress, phpMyAdmin, APIs, or other code running behind Apache. You can install ModSecurity with...

How to Upgrade Apache on Ubuntu 26.04, 24.04 and 22.04
Ubuntu's Apache packages are stable, but production sites sometimes need a newer upstream point release before it reaches the Ubuntu archive. To upgrade Apache on Ubuntu without building...

How to Install MariaDB 11.4 on Ubuntu 26.04, 24.04 and 22.04
MariaDB 11.4 is the Ubuntu install target when an application stack needs a long-maintenance MariaDB LTS branch instead of the older Ubuntu defaults on 24.04 and 22.04. Ubuntu...

Secure Apache with Let’s Encrypt on Ubuntu 26.04, 24.04 and 22.04
An HTTP-only Apache site exposes logins, cookies, and form submissions before they reach your Ubuntu server. The fastest way to secure Apache with Let's Encrypt on Ubuntu is...

How to Install PostgreSQL 18 on Ubuntu 26.04, 24.04 and 22.04
Installing PostgreSQL 18 on Ubuntu is now a package-source decision. Ubuntu 26.04 ships PostgreSQL 18 in the default archive, and the official PostgreSQL Apt Repository also supports Ubuntu...

How to Install PHP-Imagick on Ubuntu 26.04, 24.04 and 22.04
Image uploads, thumbnail generation, and PDF previews usually fail in PHP applications when the Imagick extension is missing. To install PHP-Imagick on Ubuntu, use the php-imagick package from...

How to Install PHP 8.2 on Ubuntu 26.04, 24.04 and 22.04
Install PHP 8.2 on Ubuntu when an application still requires the 8.2 runtime, extension ABI, or compatibility behavior before you move it to a newer PHP branch. Ubuntu...

How to Install PHP 8.3 on Ubuntu 26.04, 24.04 and 22.04
PHP 8.3 is the branch many production applications still target when they need modern language features without moving to the newest PHP line. To install PHP 8.3 on...

How to Install PHP 8.4 on Ubuntu 26.04, 24.04 and 22.04
Install PHP 8.4 on Ubuntu when your application targets property hooks, asymmetric visibility, the #[\Deprecated] attribute, or a PHP 8.4 compatibility window before moving to a newer branch....