Bỏ qua để đến nội dung
macOS through a Linux VM Run the MZPanel agent on a Mac inside an Ubuntu 24.04 VM (OrbStack, Lima, UTM or Multipass) — create the VM, start it at login, keep the Mac awake and install with the homelab profile.

macOS through a Linux VM

Nội dung này hiện chưa có sẵn bằng ngôn ngữ của bạn.

The agent runs on Linux only. On a Mac it runs inside a Linux VM; MZPanel never touches macOS itself. This path is documented, not tested by us on every VM tool.

Any of these gives you an Ubuntu VM with systemd (on Apple Silicon it is arm64):

ToolCreate the VM
OrbStackorb create ubuntu:noble mzbox (a full Linux machine, not a container)
Limalimactl start --name=mzbox template://ubuntu-lts
Multipassmultipass launch 24.04 --name mzbox --cpus 4 --memory 8G --disk 40G
UTMnew VM from the Ubuntu Server 24.04 ARM64 ISO, 4 CPU, 8 GB RAM, 40 GB disk

Give it at least 4 GB RAM and 30 GB disk if you build apps there. Do not use Docker Desktop or OrbStack’s Docker engine for MZPanel: the agent installs Docker Engine inside the VM.

Open a shell in the VM (orb -m mzbox, limactl shell mzbox, multipass shell mzbox, or the UTM console) and check ps -p 1 -o comm= prints systemd.

  • OrbStack: Settings > General > Start at login; machines start with it.
  • Multipass: instances start with the Multipass daemon at boot.
  • Lima: limactl start-at-login mzbox (or a launchd agent running limactl start mzbox).
  • UTM: add UTM to Login Items and use a shortcut/AppleScript to start the VM.

System Settings > Energy (or Battery > Options on a laptop): Prevent automatic sleeping when the display is off, and Start up automatically after a power failure where available. For a quick test, caffeinate -dis in a terminal keeps it awake while it runs.

Terminal window
curl -fsSL https://get.mzpanel.com | sudo INSTALL_TOKEN=<install-token> MZ_PROFILE=homelab bash

Then publish apps with a Cloudflare Tunnel. LAN-only URLs need the VM to be reachable from your LAN (bridged networking in UTM/Multipass; OrbStack and Lima forward ports to the Mac by default).