Skip to content

Instantly share code, notes, and snippets.

View diogo-czervinski's full-sized avatar

Diogo Czervinski diogo-czervinski

View GitHub Profile
@diogo-czervinski
diogo-czervinski / wg-easy-setup-oracle-vm.sh
Created September 26, 2025 22:56 — forked from itxtoledo/wg-easy-setup-oracle-vm.sh
Optimized script to install wg-easy on Oracle Linux (Oracle Cloud) in a VPS with 1 GB of RAM
#!/bin/bash
# Check if running as root
if [[ $EUID -ne 0 ]]; then
echo "Error: This script must be run as root. Use sudo."
exit 1
fi
# Initial settings
set -euo pipefail