Tutorials for Developers & Sysadmins

Step-by-step guides for the work we actually do — Laravel, PHP, WordPress, MySQL, Linux servers, and the occasional rabbit hole. Every command has been run on a real machine; nothing is theoretical.

How to Set Up MySQL Primary-Replica Replication on Ubuntu (Production Guide)

Set up MySQL primary-replica replication on Ubuntu in 30 minutes. GTID-based config, replication user, snapshot transfer, monitoring, and failover prep.

how7o

How to Install MariaDB 11.4 LTS on Ubuntu 24.04 (Fresh Install, Secured)

Install MariaDB 11.4 LTS on Ubuntu 24.04 from the official repo. Secure setup, UTF8MB4 defaults, my.cnf tuning, and migration from…

how7o

How to Install fail2ban on Ubuntu (SSH, nginx, and WordPress Filters)

Install fail2ban on Ubuntu and configure SSH, nginx, and WordPress jails. Tested commands, jail.local config, and unban how-to for 2026.

how7o

How to Set Up SSH Key Authentication on Ubuntu (Without Locking Yourself Out)

Set up SSH key authentication on Ubuntu and safely disable password login. ed25519 keys, ssh-copy-id, sshd_config — no lockout, ten-minute…

how7o

How to Run Laravel Queue Workers in Production with Supervisor

Run Laravel queue workers reliably with Supervisor: config file, numprocs, graceful restart via queue:restart, multi-queue setup, log rotation, and Horizon…

how7o

How to Set Up Nginx as a Reverse Proxy for Node.js on Ubuntu

Front a Node.js app with Nginx as a reverse proxy on Ubuntu — proxy_pass, WebSocket upgrade, PM2 or systemd for…

how7o

How to Install and Configure Redis on Ubuntu (for Laravel & WordPress)

Install Redis on Ubuntu, secure it with a password, install php-redis, and wire it into Laravel as cache/session/queue or WordPress…

how7o

How to Harden a Fresh Ubuntu VPS: UFW + Fail2Ban + SSH Key Auth

New-VPS hardening checklist for Ubuntu: non-root sudo user, SSH key auth, disabled root/password login, UFW firewall, Fail2Ban, and unattended security…

how7o

How to Set Up Let’s Encrypt SSL with Certbot on Ubuntu (Apache & Nginx)

Install Let's Encrypt SSL on Ubuntu with Certbot — Apache and Nginx, auto-renewal via systemd timer, force-HTTPS redirect, wildcard certs,…

how7o

Fix: Terminal Won’t Open in Ubuntu on VirtualBox

Fix the Ubuntu-on-VirtualBox bug where the terminal launcher flashes and disappears — toggle Region & Language (or run locale-gen from…

how7o