Server
x86_64, at least 3 GiB RAM, 20 GiB free root-disk space, root or sudo access and working systemd.
Prepare DNS first, run one signed installer and finish with a private gateway listener behind managed HTTPS. These instructions match the current 30-day commercial flow and the latest signed release channel.
The accepted baseline is a clean Ubuntu 24.04 x86_64 server. Compatible Ubuntu or Debian hosts are checked before the installer changes anything.
x86_64, at least 3 GiB RAM, 20 GiB free root-disk space, root or sudo access and working systemd.
Outbound HTTPS plus inbound SSH, TCP 80 and TCP 443. Port 8090 must be free and remains loopback-only.
Create a lowercase hostname such as gateway.example.com. Point its A record to this server before installation.
Keep the valid 30-day key ready. Its first successful activation starts the license period.
Use an interactive SSH shell. Normal mode installs and configures local PostgreSQL, Redis, Nginx and the gateway without asking you to design the infrastructure.
curl -fsSL https://download.mfimail.eu/install.sh | sudo bash
The installer rejects WSL2 when Linux server mode is selected and verifies x64, systemd, memory, disk and required ports.
Keep it private. The key is used for activation and is not retained by default.
Choose the username, email and password. The password is requested twice and never printed.
Enter only the hostname, without https://, a path, port or raw IP. DNS must already point to this server.
Press Enter to reuse the administrator email for Let's Encrypt notices.
The license is activated after this confirmation and before packages or application files are changed.
Sign in with the new administrator and add provider accounts. No separate database setup is required in automatic mode.
Use 3-64 letters, digits, dots, underscores or dashes. Press Enter to use admin.
Use 8-64 characters with no spaces, tabs, newlines or other whitespace.
The installer prints the exact HTTPS panel URL. The gateway, provider workers, PostgreSQL, Redis, license state and public route should all report ready.
sudo mfi-ai-gateway statussudo mfi-ai-gateway doctorsudo mfi-ai-gateway updateType UPDATE when prompted. Admin, database, license, device identity and domain are preserved.
sudo mfi-ai-gateway domain new-name.example.com admin@example.comUpdate DNS first, then run doctor.
sudo mfi-ai-gateway renew-tlsRun doctor after certificate maintenance.
The WSL2 bootstrap supports Ubuntu 22.04 or 24.04 with systemd and opens a Windows-local panel URL. It does not create public DNS, Nginx TLS or public firewall rules. Clean Windows + WSL2 acceptance remains pending, so this path is still marked preview.
$p="$env:TEMP\mfi-install-wsl.ps1"; irm https://download.mfimail.eu/install-wsl.ps1 -OutFile $p; & $p
Customer-managed PostgreSQL and Redis are available behind the explicit --advanced installer flag. A custom reverse proxy can later take ingress ownership while the gateway listener remains loopback-only.
curl -fsSL https://download.mfimail.eu/install.sh | sudo bash -s -- --advanced
Start with status and doctor. Installer license or DNS preflight failures intentionally stop before application, PostgreSQL, Redis, Nginx or firewall changes.
Include OS/version, Linux or WSL2, the panel hostname and the exact final visible error.
Include status output and only failed doctor lines. Remove tokens and environment values.
Include the license ID or a short masked preview. Never send the full key.