All articles
Everything on LEMP Field Notes, organised by topic.
Stack Guides
- How to Install a LEMP Stack on Ubuntu 24.04 (Step by Step) — To install a LEMP stack on Ubuntu 24.04, run sudo apt update, then install each component from the default repositories: sudo apt install nginx, sudo apt.
- Nginx vs Apache: Performance, Config, and When to Use Each — Nginx and Apache are both mature, production-grade web servers; the core difference is architecture.
Security & TLS
- How to Secure Nginx with Let's Encrypt (Certbot Tutorial) — To secure Nginx with Let's Encrypt, install Certbot (sudo snap install --classic certbot on Ubuntu), then run sudo certbot --nginx -d yourdomain.com.
Nginx & PHP
- Nginx Server Blocks: Host Multiple Sites on One Server — Nginx server blocks are configuration sections — each a server { } block — that let one Nginx instance host multiple websites on a single server.