49 lines
1.1 KiB
Markdown
49 lines
1.1 KiB
Markdown
# 🚀 MYP EINFACHE ANLEITUNG
|
|
|
|
## Ein Skript für alles!
|
|
|
|
Du musst nur **ein einziges Skript** ausführen und alles wird automatisch konfiguriert:
|
|
|
|
### Auf dem Raspberry Pi:
|
|
|
|
```bash
|
|
# 1. Ins MYP-Verzeichnis wechseln
|
|
cd /opt/myp
|
|
|
|
# 2. HTTPS-Only Setup ausführen (macht ALLES automatisch)
|
|
sudo ./setup_https_only.sh
|
|
```
|
|
|
|
**Das war's!** 🎉
|
|
|
|
## Was das Skript automatisch macht:
|
|
|
|
✅ **ERR_SSL_KEY_USAGE_INCOMPATIBLE** behebt
|
|
✅ **Port 5000 komplett blockiert** (nur noch HTTPS Port 443)
|
|
✅ **Browser-kompatible SSL-Zertifikate** erstellt
|
|
✅ **Kiosk-Modus automatisch** konfiguriert
|
|
✅ **Firewall nur Port 443** öffnet
|
|
✅ **Alle Services** installiert und startet
|
|
|
|
## 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
|
|
# 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
|
|
```
|
|
|
|
---
|
|
|
|
**🎯 Ein Befehl - alles erledigt!** |