Installation von Debian.
Bezieht sich auf Debian 10 Buster.
Inhalt
Grundinstallation
Debian Netinst-Image herunterladen und installieren:
https://www.debian.org/CD/netinst/
Partitionierung
Ist nach Maschine und System individuell.
Erfahrungsgemäß kann es sehr sinnvoll sein, für /var eine separate Partition anzulegen. Viele Logdateien werden mit root-Rechten geschrieben und diese könnten die Festplatte vollmüllen und damit das System benutzungsunfähig machen.
Paketauswahl mit tasksel
Eine Grundinstallation nur mit Systemwerkzeugen (Auswahl mittels "tasksel") erfordert ca. 1 GB Festplattenspeicher.
Empfohlene Grafikumgebung: XFCE, erfordert zusätzlich ca. 3 GB Speicherplatz
Installation weiterer Pakete
Empfehlung wesentlicher Werkzeuge für ein Grundsystem:
aptitude screen unattended-upgrades vim locate gnupg2 man-db curl wget ufw vlc inkscape graphviz ffmpeg cifs-utils task-spooler ntp htop nload
Optionale Pakete, z. B. Videobearbeitung:
Für Debian 10:
(flowblade 2.2 von Hand aus Repository installieren, siehe flowblade Webseite)
octave
Für Debian 11:
octave flowblade darktable torbrowser-launcher
Backports
https://backports.debian.org/Instructions/
Konfiguration des Systems
Shell: Zeit für Prozessaufruf anzeigen
In .bashrc einfügen:
# Beautiful timing for every command
function t_now {
date +%s%3N
}
function t_start {
t_start=${t_start:-$(t_now)}
}
function t_stop {
local d_ms=$(($(t_now) - $t_start))
local d_s=$((d_ms / 1000))
local ms=$((d_ms % 1000))
local s=$((d_s % 60))
local m=$(((d_s / 60) % 60))
local h=$((d_s / 3600))
if ((h > 0)); then t_show=${h}h${m}m
elif ((m > 0)); then t_show=${m}m${s}s
elif ((s >= 10)); then t_show=${s}.$((ms / 100))s
elif ((s > 0)); then t_show=${s}.$((ms / 10))s
else t_show=${ms}ms
fi
unset t_start
}
set_prompt ()
{
t_stop
}
trap 't_start' DEBUG
PROMPT_COMMAND='set_prompt'
PS1='$? ($t_show) '"$PS1"
Siehe auch