66 lines
1.9 KiB
Markdown
66 lines
1.9 KiB
Markdown
# 🚀 MYP SUPER-ANLEITUNG
|
|
|
|
## Das EINZIGE Skript für ALLES!
|
|
|
|
Du musst nur **ein einziges intelligentes Super-Skript** ausführen und ALLE Probleme werden automatisch erkannt und behoben:
|
|
|
|
### Auf dem Raspberry Pi:
|
|
|
|
```bash
|
|
# 1. Ins MYP-Verzeichnis wechseln
|
|
cd /opt/myp
|
|
|
|
# 2. Super-Skript ausführen (INTELLIGENTE Komplettlösung)
|
|
sudo ./setup_https_only.sh
|
|
```
|
|
|
|
**Das war's!** Das Skript ist intelligent! 🎉
|
|
|
|
## Was das Super-Skript automatisch macht:
|
|
|
|
🔥 **INTELLIGENTE PROBLEMERKENNUNG** - erkennt und behebt alle Probleme automatisch
|
|
✅ **ERR_SSL_KEY_USAGE_INCOMPATIBLE** behebt
|
|
✅ **"graphical session target not found"** behebt
|
|
✅ **"connection refused"** automatisch repariert
|
|
✅ **Port 5000 komplett blockiert** (nur HTTPS Port 443)
|
|
✅ **Kiosk intelligent konfiguriert** (Desktop/Headless automatisch erkannt)
|
|
✅ **SSL-Zertifikate automatisch** generiert und geprüft
|
|
✅ **Firewall intelligent** konfiguriert
|
|
✅ **Alle Services automatisch** repariert
|
|
✅ **Port-Konflikte** automatisch gelöst
|
|
✅ **Service-Dependencies** automatisch korrigiert
|
|
|
|
## Nach dem Setup:
|
|
|
|
- **Zugriff nur über**: https://localhost oder https://m040tbaraspi001.de040.corpintra.net
|
|
- **Kiosk startet automatisch** mit HTTPS
|
|
- **Browser-Zertifikat-Warnung** ist normal (einfach akzeptieren)
|
|
|
|
## Bei Problemen:
|
|
|
|
```bash
|
|
# EINFACH: Super-Skript nochmal ausführen (behebt ALLES automatisch)
|
|
sudo ./setup_https_only.sh
|
|
|
|
# Status prüfen:
|
|
sudo systemctl status myp-production myp-kiosk
|
|
|
|
# Logs anzeigen:
|
|
sudo journalctl -u myp-production -f
|
|
|
|
# Verbindung testen:
|
|
curl -k -v https://localhost
|
|
```
|
|
|
|
**💡 Das Super-Skript erkennt und behebt automatisch:**
|
|
- ✅ "graphical session target not found"
|
|
- ✅ "connection refused"
|
|
- ✅ SSL-Probleme
|
|
- ✅ Service-Probleme
|
|
- ✅ Port-Konflikte
|
|
- ✅ Firewall-Probleme
|
|
- ✅ Kiosk-Konfiguration
|
|
|
|
---
|
|
|
|
**🎯 Ein Befehl - alles erledigt!** |