Debian 12 - Server Éischt-Arichtung
En ëmfassenden Schrëtt-fir-Schrëtt Guide fir d'éischt Arichtung vun engem frësche Debian 12 Server mat de wichtegsten Konfiguratiounsschrëtt.
Setup Schrëtt
Generate UTF-8 locale
locale-gen C.UTF-8Update system locale
update-locale LANG=C.utf8 LC_ALL=C.utf8A restart may be required to fully apply the changes
Set timezone to Europe/Berlin
timedatectl set-timezone Europe/BerlinUse timedatectl list-timezones to see all available options
Update, upgrade and cleanup system
apt update && apt upgrade -y && apt autoremove -y && apt autoclean -yMore information can be found in the Debian Wiki on APT configuration
Edit cloud-init configuration (if present)
Set new hostname
sudo hostnamectl set-hostname server.chad.luRestart system for full application
rebootClear default MOTD file
sudo truncate -s 0 /etc/motdInstall hardware information tool
apt install inxi -yDisplay complete hardware information
inxi -FazDisplay CPU information
lscpuDisplay memory information
free -hDisplay disk information
df -hDisplay system version information
lsb_release -aDisplay kernel information
uname -aCheck systemd status
systemctl statusCheck available updates
apt list --upgradableZousätzlech Tipps
Nëtzlech Kommandoen an Tipps fir besser Gestioun
Arichtung ofgeschloss!
Äre Debian 12 Server ass elo grondsätzlech konfiguréiert a betribsbereet. Vergiess net weider sécherheetsrelevant Konfiguratiounen entspriechend Ären Ufuerderungen ze maachen.