Skip to content

Instantly share code, notes, and snippets.

View lucaslims's full-sized avatar
🎯
Focusing

Lucas Lima lucaslims

🎯
Focusing
View GitHub Profile
@lucaslims
lucaslims / wg-easy-setup-oracle-vm.sh
Created August 8, 2025 18:23 — 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