🎉 Hinzugefügt: Vollständiges Setup-Skript für die Produktionsumgebung mit HTTPS-Only-Konfiguration, automatischer Kiosk-Start, verbesserter Firewall-Sicherheit und browser-kompatiblen SSL-Zertifikaten. 🚀🔒
This commit is contained in:
49
backend/EINFACHE_ANLEITUNG.md
Normal file
49
backend/EINFACHE_ANLEITUNG.md
Normal file
@ -0,0 +1,49 @@
|
||||
# 🚀 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!**
|
Reference in New Issue
Block a user