Skip to content

Instantly share code, notes, and snippets.

View AceroM's full-sized avatar
🥭

Miguel Acero AceroM

🥭
View GitHub Profile
@rameerez
rameerez / postgres-production-setup.sh
Last active May 17, 2025 16:21
PostgreSQL Production Server Setup - Set up a new Ubuntu Server 24.04 LTS machine to run a production Postgres server
#!/bin/bash
# This script takes a clean Ubuntu Server 24.04 LTS image and installs and configures
# everything needed to deploy a production-ready PostgreSQL server.
set -euo pipefail
# --- AESTHETICS ---
GREEN='\033[0;32m'