Skip to content

Instantly share code, notes, and snippets.

View leosantosw's full-sized avatar
🚀
Let's code

Leo santos leosantosw

🚀
Let's code
View GitHub Profile
@itxtoledo
itxtoledo / wg-easy-setup-oracle-vm.sh
Last active September 26, 2025 23:35
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