Inhalt
Vorbereitung & Download
Ubuntu Versionen
Ubuntu Desktop
Für Arbeitsplätze und Entwicklung
- • Grafische Benutzeroberfläche (GNOME)
- • Office-Anwendungen
- • Multimedia-Support
- • Einfache Installation
Ubuntu Server
Für Server und Cloud-Deployment
- • Minimale Installation
- • Keine GUI (optional)
- • Optimiert für Server-Workloads
- • Containerd, Docker Support
Download
Ubuntu 24.04 LTS (Empfohlen)
Long Term Support bis 2034
wget https://releases.ubuntu.com/24.04/ubuntu-24.04-desktop-amd64.isoUbuntu Server 24.04 LTS
Für Server-Installationen
wget https://releases.ubuntu.com/24.04/ubuntu-24.04-live-server-amd64.isoSystemanforderungen
Desktop Minimum:
- • 4 GB RAM
- • 25 GB Speicher
- • 2 GHz Dual-Core Prozessor
- • DVD-Laufwerk oder USB-Port
Server Minimum:
- • 1 GB RAM (2 GB empfohlen)
- • 2.5 GB Speicher
- • 1 GHz Prozessor
- • Netzwerkverbindung
Bootmedium erstellen
Windows (Rufus)
- 1Rufus herunterladen:
https://rufus.ie/ - 2USB-Stick einsetzen (mindestens 4 GB)
- 3Rufus starten und Ubuntu ISO auswählen
- 4Partitionsschema: GPT, Zielsystem: UEFI
Linux (dd)
USB-Gerät identifizieren:
sudo fdisk -l
# USB-Stick meist /dev/sdb oder /dev/sdcISO auf USB schreiben:
sudo dd if=ubuntu-24.04-desktop-amd64.iso of=/dev/sdX bs=4M status=progress
sudo syncAchtung: Ersetze /dev/sdX mit dem korrekten USB-Gerät!
Desktop Installation
Installation Schritt-für-Schritt
1
Boot vom USB
F12/F2/Del beim Start drücken → Boot-Menü → USB auswählen
2
Sprache wählen
Deutsch oder English auswählen
3
Tastaturlayout
Deutsch (Deutschland) für deutsche Tastaturen
4
Netzwerk konfigurieren
WLAN oder Ethernet einrichten für Updates
5
Installationstyp
- • Normale Installation: Vollständiges System
- • Minimale Installation: Basis-System
- • Updates während Installation herunterladen
- • Software von Drittanbietern installieren
Festplatten-Partitionierung
Einfach (Empfohlen für Anfänger)
„Festplatte löschen und Ubuntu installieren" - Automatische Partitionierung
Erweitert (Manuelle Partitionierung)
PartitionGrößeDateisystem
/boot/efi512 MBFAT32
/20-50 GBext4
/homeRestext4
swap= RAMswap
Server Installation
Server-spezifische Schritte
1
Netzwerk-Konfiguration
Statische IP für Server empfohlen:
IP: 192.168.1.100
Netzmaske: 255.255.255.0
Gateway: 192.168.1.1
DNS: 8.8.8.8, 1.1.1.12
SSH Server
OpenSSH Server installieren für Remote-Zugriff
3
Snap Packages
Docker, LXD und andere Dienste auswählen
Post-Installation (Server)
# System aktualisieren
sudo apt update && sudo apt upgrade -y
# Firewall konfigurieren
sudo ufw enable
sudo ufw allow ssh
sudo ufw allow 80/tcp
sudo ufw allow 443/tcp
# SSH härtung
sudo nano /etc/ssh/sshd_config
# PermitRootLogin no
# PasswordAuthentication no (nach SSH-Keys)
# Docker installieren (optional)
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
# Benutzer zu docker Gruppe hinzufügen
sudo usermod -aG docker $USERPost-Installation Setup
Desktop Optimierung
# System aktualisieren
sudo apt update && sudo apt upgrade -y
# Zusätzliche Software
sudo apt install -y \
curl wget git vim \
htop neofetch tree \
software-properties-common
# Multimedia Codecs
sudo apt install ubuntu-restricted-extras
# Flatpak (alternative App-Quelle)
sudo apt install flatpak
sudo flatpak remote-add --if-not-exists \
flathub https://flathub.org/repo/flathub.flatpakrepo
# GNOME Tweaks
sudo apt install gnome-tweaksServer Essentials
# Server Tools installieren
sudo apt install -y \
htop iotop iftop \
fail2ban ufw \
nginx certbot \
nodejs npm \
python3-pip
# Monitoring Tools
sudo apt install -y \
netdata prometheus \
grafana
# Database (optional)
sudo apt install -y \
postgresql postgresql-contrib \
# oder
mariadb-server
# Backup Tools
sudo apt install -y \
rsync borgbackupSicherheit & Härtung
Essential Security Setup
Firewall (UFW)
sudo ufw --force reset
sudo ufw default deny incoming
sudo ufw default allow outgoing
sudo ufw allow ssh
sudo ufw enableFail2Ban (SSH Protection)
sudo apt install fail2ban
sudo systemctl enable fail2ban
sudo systemctl start fail2banSSH Key Authentication
# Auf Client-System:
ssh-keygen -t ed25519 -C "your_email@example.com"
ssh-copy-id username@server-ip
# Auf Server (nach Key-Test):
sudo nano /etc/ssh/sshd_config
# PasswordAuthentication no
sudo systemctl restart sshAutomatic Updates
sudo apt install unattended-upgrades
sudo dpkg-reconfigure -plow unattended-upgradesTroubleshooting
Häufige Probleme
Boot-Probleme
- • UEFI/Legacy Boot Mode überprüfen
- • Secure Boot deaktivieren
- • Boot-Reihenfolge im BIOS anpassen
WLAN-Probleme
# WLAN-Adapter anzeigen
lspci | grep -i wireless
# oder
lsusb | grep -i wirelessGrafik-Probleme
# NVIDIA-Treiber
sudo ubuntu-drivers autoinstall
# oder AMD
sudo apt install amdgpu-proRescue Modi
GRUB Rescue
ls
set root=(hd0,gpt2)
linux /vmlinuz root=/dev/sda2
initrd /initrd.img
bootRecovery Mode
# Boot-Menü: Advanced Options
# → Recovery Mode
# → Root Shell
mount -o remount,rw /
# Reparaturen durchführen