141 lines
8.8 KiB
Plaintext
141 lines
8.8 KiB
Plaintext
=================================================================
|
||
MYP Installation Log - 2025-06-03 13:52:05
|
||
Script Version: 4.1.0
|
||
System: Linux raspberrypi 6.1.0-37-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.140-1 (2025-05-22) x86_64 GNU/Linux
|
||
=================================================================
|
||
|
||
[0;32m[2025-06-03 13:52:05] === MODUS: ROBUSTE ABHÄNGIGKEITEN-INSTALLATION FÜR MANUELLES TESTEN ===[0m
|
||
[0;32m[2025-06-03 13:52:05] ✅ Root-Berechtigung bestätigt[0m
|
||
[0;32m[2025-06-03 13:52:05] === SYSTEM-RESSOURCEN PRÜFUNG ===[0m
|
||
[0;35m[FORTSCHRITT] Prüfe RAM...[0m
|
||
[0;35m[FORTSCHRITT] Verfügbarer RAM: 24031MB[0m
|
||
[0;36m[ERFOLG] ✅ Ausreichend RAM verfügbar (24031MB)[0m
|
||
[0;35m[FORTSCHRITT] Prüfe Festplattenplatz...[0m
|
||
[0;35m[FORTSCHRITT] Verfügbarer Festplattenplatz: 12,5GB (12825MB)[0m
|
||
[0;36m[ERFOLG] ✅ Ausreichend Festplattenplatz verfügbar (12,5GB)[0m
|
||
[0;35m[FORTSCHRITT] Prüfe CPU...[0m
|
||
[0;35m[FORTSCHRITT] CPU: 8 Kern(e) - 11th Gen Intel(R) Core(TM) i7-11850H @ 2.50GHz[0m
|
||
[0;36m[ERFOLG] ✅ CPU-Information erfolgreich ermittelt[0m
|
||
[0;32m[2025-06-03 13:52:05] ✅ System-Ressourcen-Prüfung abgeschlossen[0m
|
||
[0;35m[FORTSCHRITT] Prüfe Debian/Raspbian-System...[0m
|
||
[0;34m[DEBUG] Debian erkannt über /etc/debian_version: 12.11[0m
|
||
[0;32m[2025-06-03 13:52:05] ✅ Debian/Raspbian-basiertes System erkannt (Version: 12.11)[0m
|
||
[0;35m[FORTSCHRITT] Prüfe Raspberry Pi Hardware...[0m
|
||
[0;34m[INFO] 💻 Standard-PC/Server System (kein Raspberry Pi)[0m
|
||
[0;34m[DEBUG] Kein Raspberry Pi erkannt. Hardware-Info:[0m
|
||
[0;34m[DEBUG] - Device Tree: nicht verfügbar[0m
|
||
[0;34m[DEBUG] - CPU Hardware: nicht verfügbar[0m
|
||
[0;35m[FORTSCHRITT] Prüfe System-Architektur...[0m
|
||
[0;34m[INFO] 📐 System-Architektur: x86_64[0m
|
||
[0;34m[INFO] → 64-Bit x86 Architektur erkannt[0m
|
||
[0;35m[FORTSCHRITT] Prüfe Kernel-Version...[0m
|
||
[0;34m[INFO] 🐧 Kernel-Version: 6.1.0-37-amd64[0m
|
||
[0;34m[DEBUG] Vollständige Kernel-Info: Linux raspberrypi 6.1.0-37-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.140-1 (2025-05-22) x86_64 GNU/Linux[0m
|
||
[0;32m[2025-06-03 13:52:06] ✅ System-Analyse abgeschlossen[0m
|
||
[0;35m[FORTSCHRITT] Prüfe Internetverbindung (erweiterte Methoden)...[0m
|
||
[0;35m[FORTSCHRITT] Teste DNS-Auflösung...[0m
|
||
[0;34m[DEBUG] DNS-Test Details: Teste DNS für 8.8.8.8: Erfolg mit nslookup. [0m
|
||
[0;36m[ERFOLG] ✅ Internetverbindung verfügbar[0m
|
||
[0;34m[INFO] 🔍 Erkannt via: DNS-Auflösung (nslookup: 8.8.8.8)[0m
|
||
[0;35m[FORTSCHRITT] Ermittle externe IP-Adresse...[0m
|
||
[0;34m[INFO] 🌐 Externe IP: 163.116.178.31[0m
|
||
[0;34m[DEBUG] Externe IP ermittelt über ifconfig.me: 163.116.178.31[0m
|
||
[0;32m[2025-06-03 13:52:06] === KONFIGURIERE HOSTNAME ===[0m
|
||
[0;32m[2025-06-03 13:52:06] ✅ Hostname bereits korrekt: 'raspberrypi'[0m
|
||
[0;32m[2025-06-03 13:52:06] ✅ Hostname-Auflösung funktioniert: raspberrypi -> 127.0.1.1[0m
|
||
[0;32m[2025-06-03 13:52:06] === ROBUSTE SYSTEM-UPDATE ===[0m
|
||
[0;35m[FORTSCHRITT] Konfiguriere APT für bessere Zuverlässigkeit...[0m
|
||
[0;35m[FORTSCHRITT] Validiere APT-Repositories...[0m
|
||
[0;32m[2025-06-03 13:52:06] ✅ Source-Repositories deaktiviert (nicht benötigt)[0m
|
||
[0;35m[FORTSCHRITT] Aktualisiere Paketlisten mit Retry...[0m
|
||
[0;35m[FORTSCHRITT] Führe System-Upgrade durch...[0m
|
||
[0;35m[FORTSCHRITT] Installiere essenzielle System-Tools...[0m
|
||
[0;35m[FORTSCHRITT] Installiere Pakete: ca-certificates[0m
|
||
[0;35m[FORTSCHRITT] Installiere Pakete: gnupg[0m
|
||
[0;35m[FORTSCHRITT] Installiere Pakete: curl[0m
|
||
[0;35m[FORTSCHRITT] Installiere Pakete: wget[0m
|
||
[0;35m[FORTSCHRITT] Installiere Pakete: git[0m
|
||
[0;35m[FORTSCHRITT] Installiere Pakete: nano[0m
|
||
[0;35m[FORTSCHRITT] Installiere Pakete: htop[0m
|
||
[0;35m[FORTSCHRITT] Installiere Pakete: rsync[0m
|
||
[0;35m[FORTSCHRITT] Installiere Pakete: unzip[0m
|
||
[0;35m[FORTSCHRITT] Installiere Pakete: sudo[0m
|
||
[0;35m[FORTSCHRITT] Installiere Pakete: systemd[0m
|
||
[0;35m[FORTSCHRITT] Installiere Pakete: lsb-release[0m
|
||
[0;35m[FORTSCHRITT] Installiere Pakete: apt-transport-https[0m
|
||
[0;35m[FORTSCHRITT] Installiere Pakete: software-properties-common[0m
|
||
[0;35m[FORTSCHRITT] Installiere Pakete: bc[0m
|
||
[0;35m[FORTSCHRITT] Installiere Pakete: dbus[0m
|
||
[0;35m[FORTSCHRITT] Installiere Pakete: systemd-timesyncd[0m
|
||
[0;35m[FORTSCHRITT] Synchronisiere Systemzeit...[0m
|
||
[0;32m[2025-06-03 13:52:15] ✅ Robustes System-Update abgeschlossen[0m
|
||
[0;32m[2025-06-03 13:52:15] === KONFIGURIERE ROBUSTE NETZWERK-SICHERHEIT ===[0m
|
||
[0;35m[FORTSCHRITT] Deaktiviere IPv6 (robust)...[0m
|
||
[0;35m[FORTSCHRITT] Deaktiviere IPv6 in GRUB...[0m
|
||
[0;34m[INFO] IPv6 bereits in GRUB deaktiviert[0m
|
||
[0;35m[FORTSCHRITT] Erstelle robuste sysctl-Konfiguration...[0m
|
||
[0;36m[ERFOLG] ✅ Basis-sysctl-Konfiguration erstellt[0m
|
||
[0;34m[DEBUG] sysctl-Konfiguration erstellt: /etc/sysctl.d/99-myp-security.conf[0m
|
||
[0;35m[FORTSCHRITT] Wende sysctl-Einstellungen an (non-blocking)...[0m
|
||
[0;35m[FORTSCHRITT] Versuche komplette sysctl-Datei anzuwenden...[0m
|
||
[0;36m[ERFOLG] ✅ MYP sysctl-Einstellungen erfolgreich angewendet[0m
|
||
[0;34m[DEBUG] Überspringe system-weites sysctl -p (zu riskant)[0m
|
||
[0;35m[FORTSCHRITT] Deaktiviere IPv6 in Netzwerk-Interfaces (vorsichtig)...[0m
|
||
[0;34m[DEBUG] systemd-networkd nicht aktiv - überspringe[0m
|
||
[0;34m[DEBUG] NetworkManager nicht aktiv - überspringe[0m
|
||
[0;34m[DEBUG] IPv6 Einträge in /etc/hosts auskommentiert[0m
|
||
[0;32m[2025-06-03 13:52:15] ✅ Robuste Netzwerk-Sicherheit konfiguriert:[0m
|
||
[0;32m[2025-06-03 13:52:15] 🚫 IPv6 Deaktivierung konfiguriert[0m
|
||
[0;32m[2025-06-03 13:52:15] 🛡️ Netzwerk-Sicherheitsregeln gesetzt[0m
|
||
[0;32m[2025-06-03 13:52:15] 🔒 Basis-Firewall-Schutz aktiviert[0m
|
||
[0;32m[2025-06-03 13:52:15] 📝 Sysctl-Konfiguration erstellt: /etc/sysctl.d/99-myp-security.conf[0m
|
||
[0;32m[2025-06-03 13:52:15] 🔧 Netzwerk-Services entsprechend konfiguriert[0m
|
||
[0;32m[2025-06-03 13:52:15] ⚙️ Einstellungen werden beim nächsten Boot aktiv[0m
|
||
[0;34m[DEBUG] Alternative sysctl-Anwendung:[0m
|
||
[0;34m[DEBUG] - Manuell: sysctl -p /etc/sysctl.d/99-myp-security.conf[0m
|
||
[0;34m[DEBUG] - Automatisch: Beim nächsten Neustart aktiv[0m
|
||
[0;34m[DEBUG] - Verifikation: sysctl net.ipv6.conf.all.disable_ipv6[0m
|
||
[0;32m[2025-06-03 13:52:15] === ROBUSTE PYTHON-INSTALLATION ===[0m
|
||
[0;35m[FORTSCHRITT] Installiere Python 3 und Build-Abhängigkeiten...[0m
|
||
[0;35m[FORTSCHRITT] Installiere Pakete: python3[0m
|
||
[0;35m[FORTSCHRITT] Installiere Pakete: python3-pip[0m
|
||
[0;35m[FORTSCHRITT] Installiere Pakete: python3-dev[0m
|
||
[0;35m[FORTSCHRITT] Installiere Pakete: python3-setuptools[0m
|
||
[0;35m[FORTSCHRITT] Installiere Pakete: python3-venv[0m
|
||
[0;35m[FORTSCHRITT] Installiere Pakete: python3-wheel[0m
|
||
[0;35m[FORTSCHRITT] Installiere Pakete: build-essential[0m
|
||
[0;35m[FORTSCHRITT] Installiere Pakete: libssl-dev[0m
|
||
[0;35m[FORTSCHRITT] Installiere Pakete: libffi-dev[0m
|
||
[0;35m[FORTSCHRITT] Installiere Pakete: libbz2-dev[0m
|
||
[0;35m[FORTSCHRITT] Installiere Pakete: libreadline-dev[0m
|
||
[0;35m[FORTSCHRITT] Installiere Pakete: libsqlite3-dev[0m
|
||
[0;35m[FORTSCHRITT] Installiere Pakete: libncurses5-dev[0m
|
||
[0;35m[FORTSCHRITT] Installiere Pakete: libncursesw5-dev[0m
|
||
[0;35m[FORTSCHRITT] Installiere Pakete: zlib1g-dev[0m
|
||
[0;35m[FORTSCHRITT] Installiere Pakete: sqlite3[0m
|
||
[0;35m[FORTSCHRITT] Validiere Python-Installation...[0m
|
||
[0;32m[2025-06-03 13:52:22] ✅ Python Version: 3.11.2[0m
|
||
[0;35m[FORTSCHRITT] Konfiguriere pip für bessere Zuverlässigkeit...[0m
|
||
[0;35m[FORTSCHRITT] Erstelle systemweite pip-Konfiguration...[0m
|
||
[0;35m[FORTSCHRITT] Konfiguriere pip für alle Benutzer...[0m
|
||
[0;32m[2025-06-03 13:52:22] ✅ pip konfiguriert für Benutzer: user[0m
|
||
[0;35m[FORTSCHRITT] Aktualisiere pip mit Retry...[0m
|
||
[0;32m[2025-06-03 13:52:23] ✅ pip Version: 25.1.1[0m
|
||
[0;32m[2025-06-03 13:52:23] ✅ Robuste Python-Umgebung installiert[0m
|
||
[0;32m[2025-06-03 13:52:23] === ROBUSTE NODE.JS UND NPM INSTALLATION ===[0m
|
||
[0;35m[FORTSCHRITT] Bereinige alte Node.js-Installationen...[0m
|
||
[0;35m[FORTSCHRITT] Installiere Node.js mit Fallback-Strategie...[0m
|
||
[0;35m[FORTSCHRITT] Verwende Debian Repository als Fallback...[0m
|
||
[0;35m[FORTSCHRITT] Installiere Pakete: nodejs npm[0m
|
||
[0;32m[2025-06-03 13:53:55] ✅ Node.js via Debian Repository installiert[0m
|
||
[0;35m[FORTSCHRITT] Validiere Node.js Installation...[0m
|
||
[0;32m[2025-06-03 13:53:55] ✅ Node.js Version: v18.19.0[0m
|
||
[0;32m[2025-06-03 13:53:56] ✅ npm Version: 9.2.0[0m
|
||
[0;35m[FORTSCHRITT] Optimiere npm-Konfiguration...[0m
|
||
[0;32m[2025-06-03 13:53:57] ✅ Node.js und npm erfolgreich installiert[0m
|
||
[0;32m[2025-06-03 13:53:57] === ROBUSTE SSL-ZERTIFIKATE KONFIGURATION ===[0m
|
||
[0;35m[FORTSCHRITT] Installiere SSL-Grundkomponenten...[0m
|
||
[0;35m[FORTSCHRITT] Installiere Pakete: ca-certificates openssl[0m
|
||
[0;35m[FORTSCHRITT] Aktualisiere CA-Zertifikate...[0m
|
||
[0;35m[FORTSCHRITT] Installiere Mercedes Corporate Zertifikate (robust)...[0m
|