Standort-Server installieren
Voraussetzungen
- Windows 10/11 (64-Bit) oder Debian/Ubuntu Linux
- .NET 8 Runtime (im Installer enthalten)
- Mosquitto MQTT-Broker (im Installer enthalten / via apt)
- MariaDB (lokal)
- Statische IP im LAN
Installation (Windows)
- Installer
ProfiPOS.Server.Setup.exeherunterladen (EV-codesigned, Inno Setup) - Doppelklick, Standard-Pfad
C:\Program Files\Profipos\Server - Installer richtet automatisch ein:
- .NET 8 Runtime
- Mosquitto-Service auf 1883/8883
- MariaDB-Service
- Windows-Service
ProfiposServer - Firewall-Regeln (UDP/34567, TCP/34568, TCP/8443, TCP/1883)
- Nach Setup oeffnet sich der Browser auf
https://localhost:8443fuer das initiale Standort-Pairing mit der Cloud.
Installation (Linux)
curl -L https://github.com/freezweb/de.profipos.server/releases/latest/download/install.sh | sudo bash
Das Skript:
- Installiert
dotnet-runtime-8.0,mosquitto,mariadb-server - Legt User
profiposan - Kopiert Binaries nach
/opt/profipos/server - Erstellt systemd-Unit
profipos-server.service - Oeffnet Ports in
ufw
Erst-Konfiguration
Beim ersten Start zeigt der Server in den Logs:
========================================================
ProfiPOS Standort-Server v6.0.0
Pairing-Code: 7G3-K9F-2H8
URL zur Cloud-Freischaltung:
https://profipos.de/backoffice/standorte
========================================================
Im Backoffice unter "Standorte" wird der Code eingegeben, der Standort
gewaehlt, und der Server bekommt seine standort_uuid + Datenbank-
Initial-Snapshot.
Update
sudo systemctl stop profipos-server
sudo /opt/profipos/server/update.sh
sudo systemctl start profipos-server
Auto-Update via AutoUpdate-Sektion in appsettings.json aktivierbar.