Debian/Ubuntu adjustments
sudo fallocate -l 2G /swapfilesudo chmod 600 /swapfilels -lh /swapfilesudo mkswap /swapfilesudo swapon /swapfilesudo cp /etc/fstab /etc/fstab.bakecho "/swapfile none swap sw 0 0" | sudo tee -a /etc/fstabapt-get updateapt-get upgradesudo apt install sudo ufw htop…