Fedora nach der Installation: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(Die Seite wurde neu angelegt: „=Install Chrome and Thunderbird= *sudo dnf install google-chrome-stable thunderbird =Install Gnome Stuff= *sudo dnf install -y gnome-extensions-app gnome-twea…“) |
|||
| (13 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
| − | = | + | == Fedora 43 Neuinstallation – ThinkPad T16 Gen3 (Arbeitsplatz) == |
| − | *sudo dnf install google-chrome-stable thunderbird | + | |
| − | + | Diese Seite dokumentiert die Schritte zur Neuinstallation von Fedora auf dem Gen3, um Altlasten zu bereinigen. | |
| − | *sudo dnf install -y gnome-extensions-app | + | |
| − | *flatpak install flathub com.mattjakeman.ExtensionManager | + | === Basis-Installation === |
| + | |||
| + | ;Fedora Workstation installieren | ||
| + | *Aktuelles Fedora-ISO herunterladen und auf USB-Stick schreiben | ||
| + | *Installation durchführen, Verschlüsselung nach Bedarf aktivieren | ||
| + | *System vollständig aktualisieren | ||
| + | |||
| + | <syntaxhighlight lang="bash"> | ||
| + | sudo dnf upgrade --refresh -y | ||
| + | sudo reboot | ||
| + | </syntaxhighlight> | ||
| + | |||
| + | === Paketinstallation === | ||
| + | |||
| + | ;Chrome und Thunderbird | ||
| + | * sudo dnf install google-chrome-stable thunderbird | ||
| + | |||
| + | ;Gnome Zubehör | ||
| + | * sudo dnf install -y gnome-extensions-app gnome-tweaks | ||
| + | * flatpak install flathub com.mattjakeman.ExtensionManager | ||
| + | |||
| + | ;Diverses | ||
| + | * sudo dnf install -y wireshark terminator remmina | ||
| + | |||
| + | ;Zusätzliche Netzwerk- und Security-Tools | ||
| + | * sudo dnf install -y nmap nmap-ncat openssl filezilla keepassxc | ||
| + | |||
| + | ;Terminal und Produktivität | ||
| + | * sudo dnf install -y tmux git htop btop vim neovim | ||
| + | |||
| + | ;Sonstiges | ||
| + | * sudo dnf install -y vlc obs-studio gimp flameshot libreoffice tcpdump | ||
| + | |||
| + | === VirtualBox === | ||
| + | |||
| + | ;Oracle Key importieren | ||
| + | * wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc | ||
| + | * rpm --import oracle_vbox_2016.asc | ||
| + | |||
| + | ;Repo hinzufügen | ||
| + | * sudo wget -q https://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo -O /etc/yum.repos.d/virtualbox.repo | ||
| + | |||
| + | ;Abhängigkeiten und VirtualBox installieren | ||
| + | * sudo dnf install kernel-devel kernel-headers dkms VirtualBox-7.2 | ||
| + | |||
| + | ;User in Gruppe hinzufügen | ||
| + | * sudo usermod -aG vboxusers $USER | ||
| + | |||
| + | ;VirtualBox Kernel Module bauen | ||
| + | * sudo /sbin/vboxconfig | ||
| + | |||
| + | ;DKMS Status prüfen | ||
| + | * sudo dkms status | ||
| + | |||
| + | ;Secure Boot Hinweis | ||
| + | *Falls Secure Boot aktiviert ist, muss das vboxdrv-Kernelmodul signiert werden (akmods/MOK-Enrollment) | ||
| + | *Bei Fehlern beim Laden des Moduls: MOK-Sign-Schritt durchführen | ||
| + | |||
| + | === Dummy Bridge mit NAT === | ||
| + | |||
| + | ;Bugfix für noarp | ||
| + | * vi /etc/NetworkManager/dispatcher.d/pre-up.d/dummy.sh | ||
| + | |||
| + | <pre> | ||
| + | #!/bin/bash | ||
| + | if test "$1" = "dummy0" | ||
| + | then | ||
| + | ip link set dummy0 arp on | ||
| + | fi | ||
| + | </pre> | ||
| + | |||
| + | * chmod +x /etc/NetworkManager/dispatcher.d/pre-up.d/dummy.sh | ||
| + | |||
| + | ;Modul laden und persistent machen | ||
| + | * sudo modprobe dummy | ||
| + | * echo "dummy" | sudo tee /etc/modules-load.d/dummy.conf | ||
| + | |||
| + | ;Netzwerkbrücke erstellen | ||
| + | * sudo nmcli con add type bridge autoconnect yes con-name br0 ifname br0 | ||
| + | * sudo nmcli con modify br0 ipv4.addresses 192.168.16.254/24 ipv4.method manual | ||
| + | * sudo nmcli con up br0 | ||
| + | |||
| + | ;Dummy-Device zur Brücke hinzufügen | ||
| + | * sudo nmcli con add type dummy con-name dummy0 ifname dummy0 master br0 | ||
| + | * sudo nmcli con up dummy0 | ||
| + | |||
| + | ;IP-Forwarding aktivieren | ||
| + | * echo "net.ipv4.ip_forward = 1" | sudo tee -a /etc/sysctl.conf | ||
| + | * sudo sysctl -p | ||
| + | |||
| + | ;Firewall | ||
| + | * sudo firewall-cmd --permanent --zone=FedoraWorkstation --add-masquerade | ||
| + | * sudo firewall-cmd --permanent --zone=FedoraWorkstation --add-interface=vmbr0 | ||
| + | * sudo firewall-cmd --reload | ||
| + | |||
| + | ;Autostart sicherstellen | ||
| + | * sudo nmcli connection modify br0 connection.autoconnect yes | ||
| + | * sudo nmcli connection modify dummy0 connection.autoconnect yes | ||
| + | |||
| + | === DNS und DHCP mit dnsmasq === | ||
| + | |||
| + | ;Konfiguration | ||
| + | * vi /etc/dnsmasq.conf | ||
| + | |||
| + | <pre> | ||
| + | interface=br0 | ||
| + | bind-interfaces | ||
| + | dhcp-range=192.168.16.100,192.168.16.110,255.255.255.0,12h | ||
| + | dhcp-option=3,192.168.16.254 | ||
| + | dhcp-option=6,192.168.16.254 | ||
| + | server=8.8.8.8 | ||
| + | log-queries | ||
| + | log-dhcp | ||
| + | </pre> | ||
| + | |||
| + | ;Firewall für DNS und DHCP | ||
| + | * sudo firewall-cmd --permanent --zone=FedoraWorkstation --add-service=dns | ||
| + | * sudo firewall-cmd --permanent --zone=FedoraWorkstation --add-service=dhcp | ||
| + | * sudo firewall-cmd --reload | ||
| + | |||
| + | ;Starten und Enablen | ||
| + | * systemctl enable dnsmasq --now | ||
| + | |||
| + | === Multi Monitor === | ||
| + | |||
| + | ;Monitore anzeigen | ||
| + | * xrandr | ||
| + | * xrandr | grep connected | ||
| + | |||
| + | === Fingerprint Reader === | ||
| + | |||
| + | ;Installation | ||
| + | * sudo dnf install -y fprintd | ||
| + | |||
| + | ;Einrichten | ||
| + | * fprintd-enroll | ||
| + | |||
| + | === Offene Punkte === | ||
| + | |||
| + | *Dotfiles / Terminator-Konfiguration aus Backup wiederherstellen | ||
| + | *Remmina-Verbindungsprofile neu anlegen oder importieren | ||
| + | *Thunderbird-Profile/Mail-Konten neu einrichten | ||
| + | *Chrome-Erweiterungen über Extension Manager wiederherstellen | ||
| + | |||
| + | [[Kategorie:System-Setup]] | ||
| + | [[Kategorie:ThinkPad]] | ||
Aktuelle Version vom 5. August 2026, 09:20 Uhr
Fedora 43 Neuinstallation – ThinkPad T16 Gen3 (Arbeitsplatz)
Diese Seite dokumentiert die Schritte zur Neuinstallation von Fedora auf dem Gen3, um Altlasten zu bereinigen.
Basis-Installation
- Fedora Workstation installieren
- Aktuelles Fedora-ISO herunterladen und auf USB-Stick schreiben
- Installation durchführen, Verschlüsselung nach Bedarf aktivieren
- System vollständig aktualisieren
sudo dnf upgrade --refresh -y
sudo reboot
Paketinstallation
- Chrome und Thunderbird
- sudo dnf install google-chrome-stable thunderbird
- Gnome Zubehör
- sudo dnf install -y gnome-extensions-app gnome-tweaks
- flatpak install flathub com.mattjakeman.ExtensionManager
- Diverses
- sudo dnf install -y wireshark terminator remmina
- Zusätzliche Netzwerk- und Security-Tools
- sudo dnf install -y nmap nmap-ncat openssl filezilla keepassxc
- Terminal und Produktivität
- sudo dnf install -y tmux git htop btop vim neovim
- Sonstiges
- sudo dnf install -y vlc obs-studio gimp flameshot libreoffice tcpdump
VirtualBox
- Oracle Key importieren
- wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc
- rpm --import oracle_vbox_2016.asc
- Repo hinzufügen
- sudo wget -q https://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo -O /etc/yum.repos.d/virtualbox.repo
- Abhängigkeiten und VirtualBox installieren
- sudo dnf install kernel-devel kernel-headers dkms VirtualBox-7.2
- User in Gruppe hinzufügen
- sudo usermod -aG vboxusers $USER
- VirtualBox Kernel Module bauen
- sudo /sbin/vboxconfig
- DKMS Status prüfen
- sudo dkms status
- Secure Boot Hinweis
- Falls Secure Boot aktiviert ist, muss das vboxdrv-Kernelmodul signiert werden (akmods/MOK-Enrollment)
- Bei Fehlern beim Laden des Moduls: MOK-Sign-Schritt durchführen
Dummy Bridge mit NAT
- Bugfix für noarp
- vi /etc/NetworkManager/dispatcher.d/pre-up.d/dummy.sh
#!/bin/bash if test "$1" = "dummy0" then ip link set dummy0 arp on fi
- chmod +x /etc/NetworkManager/dispatcher.d/pre-up.d/dummy.sh
- Modul laden und persistent machen
- sudo modprobe dummy
- echo "dummy" | sudo tee /etc/modules-load.d/dummy.conf
- Netzwerkbrücke erstellen
- sudo nmcli con add type bridge autoconnect yes con-name br0 ifname br0
- sudo nmcli con modify br0 ipv4.addresses 192.168.16.254/24 ipv4.method manual
- sudo nmcli con up br0
- Dummy-Device zur Brücke hinzufügen
- sudo nmcli con add type dummy con-name dummy0 ifname dummy0 master br0
- sudo nmcli con up dummy0
- IP-Forwarding aktivieren
- echo "net.ipv4.ip_forward = 1" | sudo tee -a /etc/sysctl.conf
- sudo sysctl -p
- Firewall
- sudo firewall-cmd --permanent --zone=FedoraWorkstation --add-masquerade
- sudo firewall-cmd --permanent --zone=FedoraWorkstation --add-interface=vmbr0
- sudo firewall-cmd --reload
- Autostart sicherstellen
- sudo nmcli connection modify br0 connection.autoconnect yes
- sudo nmcli connection modify dummy0 connection.autoconnect yes
DNS und DHCP mit dnsmasq
- Konfiguration
- vi /etc/dnsmasq.conf
interface=br0 bind-interfaces dhcp-range=192.168.16.100,192.168.16.110,255.255.255.0,12h dhcp-option=3,192.168.16.254 dhcp-option=6,192.168.16.254 server=8.8.8.8 log-queries log-dhcp
- Firewall für DNS und DHCP
- sudo firewall-cmd --permanent --zone=FedoraWorkstation --add-service=dns
- sudo firewall-cmd --permanent --zone=FedoraWorkstation --add-service=dhcp
- sudo firewall-cmd --reload
- Starten und Enablen
- systemctl enable dnsmasq --now
Multi Monitor
- Monitore anzeigen
- xrandr
- xrandr | grep connected
Fingerprint Reader
- Installation
- sudo dnf install -y fprintd
- Einrichten
- fprintd-enroll
Offene Punkte
- Dotfiles / Terminator-Konfiguration aus Backup wiederherstellen
- Remmina-Verbindungsprofile neu anlegen oder importieren
- Thunderbird-Profile/Mail-Konten neu einrichten
- Chrome-Erweiterungen über Extension Manager wiederherstellen