Skip to content

Instantly share code, notes, and snippets.

View tiopex's full-sized avatar
💭
Custodial engineer

tiopex

💭
Custodial engineer
  • Poland
  • 21:35 (UTC +01:00)
View GitHub Profile
@tiopex
tiopex / reinstall_VPS_from_inside.sh
Created January 16, 2023 13:08 — forked from dotsh/reinstall_VPS_from_inside.sh
DIY install debian on Oracle Cloud Infrastructure ( Free Tier )
# should works on any cloud-init enabled hypervisor (openstack.. )
# start from a ubuntu minimal install
# we need to shrink down the used space to move it in a tmpfs of 700MB
# make sure we are on the highest kernel, so we can delete all the others ...
sudo apt update && sudo apt upgrade -y && reboot
# ... reconnect
sudo apt install lsof