SKDBLOG

Tag · 7 items

DevOps

Content that mentions this tag in frontmatter.

Articles

How to Enable PostgreSQL Remote Connections on Ubuntu (Safely)
DevOps06 MIN
DevOps·Jan 1, 2025

How to Enable PostgreSQL Remote Connections on Ubuntu (Safely)

Walk through PostgreSQL remote access on Ubuntu without pretending every IP is friendly: listen_addresses, pg_hba.conf allow-lists, restarts, listening checks on 5432, and firewall habits that match the rest of your VPS baselines.

Read article

Free SSL with Certbot and Nginx on Ubuntu
DevOps05 MIN
DevOps·Oct 26, 2024

Free SSL with Certbot and Nginx on Ubuntu

Stop chasing browser warnings: install python3-certbot-nginx on Ubuntu, issue a Let's Encrypt certificate with HTTP validation, redirect HTTP to HTTPS, and confirm systemd renewal hooks with a dry run before traffic spikes.

Read article

Nginx Reverse Proxy: Map Your Domain to a Localhost App
DevOps04 MIN
DevOps·Oct 25, 2024

Nginx Reverse Proxy: Map Your Domain to a Localhost App

When your app already listens on a port but your domain still shows the default Nginx page, a small reverse-proxy server block fixes it. Here is the config I paste first, how each line earns its keep, and the exact commands to enable and reload safely.

Read article

Linux Crontab Scheduling: Automate Recurring Scripts and Cron Jobs
Scripting05 MIN
Scripting·Sep 16, 2024

Linux Crontab Scheduling: Automate Recurring Scripts and Cron Jobs

Linux crontab is the pragmatic way to repeat backups, updates, and small scripts across one box or many. This walkthrough covers crontab -e, the five schedule fields, sudo vs. user cron files, shortcuts like @daily, and the commands to list or clear jobs.

Read article

Install and Configure Apache2 on Ubuntu EC2
DevOps04 MIN
DevOps·Sep 14, 2024

Install and Configure Apache2 on Ubuntu EC2

I use Apache when I want a straightforward HTTP daemon on a small Ubuntu box without rewriting every tutorial path. Here is the exact apt flow, the UFW profile I enable alongside SSH, and the security-group edit people forget after locking the host down.

Read article

Install Nginx on Ubuntu Server: apt, UFW, systemd, welcome page
DevOps05 MIN
DevOps·Sep 14, 2024

Install Nginx on Ubuntu Server: apt, UFW, systemd, welcome page

Follow apt install nginx on Ubuntu Server, align UFW application profiles with whether you want port 80 only or port 443 too, use systemctl status nginx for quick verification, then hit the welcome page so you know HTTP reaches Nginx—not only localhost.

Read article

Snippets

Copy-paste only: update packages, install Nginx, open UFW for Nginx, check status and reload. Pairs with the full walkthrough post.

# Packages and service
sudo apt-get update && sudo apt-get upgrade
sudo apt install nginx
sudo systemctl status nginx
sudo systemctl reload nginx   # after config edits (e.g. new server blocks)

# Firewall (Ubuntu UFW) — "Nginx Full" = ports 80 + 443

The newsletter

New articles in your inbox.

Occasional articles on engineering, tooling, and software development practices. No marketing, no fluff — just the article, when it's ready.

Unsubscribe with one click. Your email never leaves the list.