Tag: linux
-

How to Resize an AWS EBS Volume Without Downtime
A step-by-step guide to expanding AWS EBS volumes on a live EC2 instance — no downtime, no reboots, just three clean commands.
-

How to Add Floating IP to Ubuntu and Debian Servers with Netplan
Learn how to configure floating IP addresses on Ubuntu and Debian servers using Netplan for high availability and seamless failover. This comprehensive guide covers YAML configuration, troubleshooting, security best practices, and automation scripts for production environments.
-

Piping Bash
Pipe a script into bash and its read prompts skip straight past without waiting for input. Here’s why piping behaves differently, and a fix using /dev/tty.
-

Rootless docker
How I set up rootless Docker and Docker Compose on Ubuntu with no root access, plus fixes for slow networking and binding to ports below 1024.
-

AH shit here we go again !
Forgot sudo again? Instead of retyping the command, type sudo !! to rerun your previous command as root. The !! trick works well beyond sudo too.
-

Finding the user
Want to know who is logged in to your Linux server right now? The who and w commands show who is in, what they are doing and when they logged in.
-

Power to you.
You don’t always need access, just access to something that has it. A script with no execute permission still runs when you hand it to /bin/bash.
-

WordPress and Nginx (OpenResty)
Running WordPress on OpenResty Nginx: the file structure, two ways to install (manual or WP-CLI), a basic Nginx config, and fixes for broken CSS and PHP dependencies.
-

Linux Saviours
Linux basics that save time on Ubuntu: where to find help, the file system layout, permissions, pipes, text tools like grep and sed, networking and processes.
-

OpenResty SSL Setup: Install and Secure Site withNginx with Let’s Encrypt on Ubuntu
OpenResty SSL setup on Ubuntu: install OpenResty, get a Let’s Encrypt certificate with Certbot, add an HTTPS server block and renew it automatically.
-

Step-by-Step Guide to Configuring Nginx and PHP-FPM on Ubuntu
Configure Nginx and PHP-FPM on Ubuntu: add index.php, pass PHP files to PHP-FPM with fastcgi_pass over a Unix socket or TCP, then restart both services.

