Skip to content

Instantly share code, notes, and snippets.

@bernhardkaindl
Last active October 23, 2023 18:14
Show Gist options
  • Save bernhardkaindl/ce77e48f762ec97145f85ba5b735136d to your computer and use it in GitHub Desktop.
Save bernhardkaindl/ce77e48f762ec97145f85ba5b735136d to your computer and use it in GitHub Desktop.
Reinstall Oracle Cloud Instance with Debian 12
Reinstaller for Debian: https://github.com/bohanyang/debi
wget -O debi.sh https://raw.githubusercontent.com/bohanyang/debi/master/debi.sh
chmod a+rx debi.sh
./debi.sh --ssh-port 543 --hostname HostName --user bkaindl --password PASS --ethx --bbr --cloud-kernel --timezone Europe/Vienna
reboot -f
# Source:
# https://lowendtalk.com/discussion/171061/oracle-cloud-free-tier-reinstalling-of-os
# until ssh -v $host.kaindl.dev;do sleep 10;done
# Afterwards:
sudo apt install unattended-upgrades
# Optional configuration of unattened-upgrades
# and use CroudsSec bouncr for pro-active IP address blocking:
# https://www.youtube.com/watch?v=Ly22ZKPGxXs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment