Debian 12
🎯 Goal: Install Debian 12 and the main dependencies to have a ready-to-use OS, accessible via SSH.
Installation
- BIOS Setup
- Download Debian Image
- Create Bootable USB (Rufus)
- Install Debian and Set Up SSH
- Install sudo and add a user to the sudo group for administrative privileges.
Log in as root:
su -
Enter your password, then type:apt install sudo
Add the user to the sudo group:adduser <username> sudo
Next time the user logs in, they will be able to use thesudo
command to execute commands with administrative privileges. - Everything About Remote Console Access (SSH)
- Optional - UPS Client in Case of Power Outage / also here
- Optional - Wake up after power outage → configure BIOS S0 state
- Optional - Wake Server Remotely (WoW - WoL)
Must-Have CLI Apps
Some essential apps you’ll likely need at some point, so might as well install them early:
sudo apt update
sudo apt upgrade
sudo apt install vim btop ranger git duf neofetch samba cifs-utils tree unzip ufw
Additionally:
- gping - Graphical ping tool
- lazydocker - CLI Docker container manager
Useful Features
Firewall
Samba Sharing (Access a Remote Network Disk)
File Transfer via rsync
sudo rsync -avhHSP /source /destination
- Add
--exclude @eaDir
if the source is a Synology NAS