Skip to main content

Debian Server

i personally go to debian 12 bookworm for my default servers

it just kinda works and i wanna write down what i usually do so i can look back on it later

install gui

Don't install anything except the SSH server and the standard system utilities.
Once you're in the terminal, do the following:

su - Login as root

apt update && apt upgrade -y  Update the base, ultra bare-bones system

cd /etc/apt/sources.list.d sudo touch debian.sources sudo nano debian.sources Navigate to and create the APT source files.

Types: deb deb-src
URIs: https://deb.debian.org/debian
Suites: trixie trixie-updates
Components: main contrib non-free non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg

Types: deb deb-src
URIs: https://security.debian.org/debian-security
Suites: trixie-security
Components: main contrib non-free non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg   

Add the following to the debian.sources file.

apt upgrade -y Update the system to the latest security specifications.

usermod -aG table sudo Add (myself) to the system administrators.

And we can move on from there!