Setting up your VPS

Initial setup of a VPS In this guide, I’ll be showing you how to get started with a brand new Debian 12 instance running in an AWS Lightsail container. We will be: Setting up a new user Adding SSH keys Establishing a firewall Unattended, automating updates Improving security Getting started Depending on your VPS provider, you may have to setup root user password with: passwd First things first, updates: sudo apt update sudo apt upgrade # some basic utilities I normally require from the start sudo apt install wget curl net-tools vim rsync git # sudo dpkg-reconfigure tzdata ## to setup timezone if in another region Setup a new user so that we don’t have to run as root. [Read More]