2.6 KiB
navigation, title, main
navigation | title | main | ||
---|---|---|---|---|
true | Debian 12 |
|
:ellipsis{left=0px width=40rem top=10rem blur=140px}
Debian 12
::alert{type="info"} 🎯 Goal: Install Debian 12 and the main dependencies to have a ready-to-use OS, accessible via SSH. ::
Installation
-
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. -
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
::alert{type="info" icon="exclamation-circle"} :::list{type="info"}
- Add
--exclude @eaDir
{lang=shell} if the source is a Synology NAS ::: ::