Guides
Ubuntu 24.04
Guides
-

How to use rsync to copy and sync files between servers
Copy and sync folders locally or between servers with rsync: the options you need, the trailing slash rule, dry runs, deletes, backups and migrations.
-

How to renew a Let’s Encrypt certificate with Certbot
Check that Certbot renews on its own, test renewal safely, force one when needed, reload your web server, and fix the usual reasons renewal…
-

How to back up a Linux server
Dump the databases, copy the files to another machine every night with rsync and cron, and prove the backup works by restoring it.
-

How to turn on automatic security updates
Have the server install security patches by itself every day, on Ubuntu with unattended-upgrades and on RHEL-based systems with dnf-automatic.
-

How to set up a firewall on Linux
Block everything except SSH and the web with UFW on Ubuntu or firewalld on RHEL-based systems, without locking yourself out.
-

How to get a free SSL certificate with Let’s Encrypt
Issue a trusted HTTPS certificate in one command with Certbot, redirect HTTP to HTTPS, and make sure it renews by itself.
-

How to install Nginx on Ubuntu
Install Nginx, serve your first site from its own folder, and learn the three commands you will use every time you change its configuration.
-

How to set up SSH keys
Replace passwords with a key pair, log in without typing a password, and then switch password login off for good.
-

How to connect to a server with SSH
Open a secure command line on a remote server from Windows, macOS or Linux, and understand the host key prompt you see the first…
-

How to flush your DNS cache
Make your computer forget old DNS answers after a site move or record change. Commands for Windows, macOS, Linux and every major browser.