Debian 12

🎯 Goal: Install Debian 12 and the main dependencies to have a ready-to-use OS, accessible via SSH.

picture

Installation


  1. BIOS Setup
  2. Download Debian Image
  3. Create Bootable USB (Rufus)
  4. Install Debian and Set Up SSH
  5. 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 the sudo command to execute commands with administrative privileges.
  6. Everything About Remote Console Access (SSH)
  7. Optional - UPS Client in Case of Power Outage / also here
  8. Optional - Wake up after power outage → configure BIOS S0 state
  9. 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:

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