Linux, Proxmox and Raspberry Pi
Nội dung này hiện chưa có sẵn bằng ngôn ngữ của bạn.
Any machine that runs a supported Linux with systemd works. Pick the section that matches yours, then install with the homelab profile.
Before you install (every machine)
Section titled “Before you install (every machine)”cat /etc/os-release | head -3 # Ubuntu 24.04+, Debian 12/13, AlmaLinux/Rocky 9/10uname -m # x86_64 or aarch64ps -p 1 -o comm= # must print: systemdfree -h && df -h / # 2 GB+ RAM and 10 GB+ free disk to build appscurl -sI https://api.mzpanel.com | head -1 # outbound HTTPS worksGive the box a fixed LAN address (a DHCP reservation in your router) so LAN-only URLs keep working, and make sure it boots on its own after a power cut (most BIOS/UEFI setups have “Restore on AC power loss”).
Bare metal (mini PC, NUC, old desktop)
Section titled “Bare metal (mini PC, NUC, old desktop)”- Ubuntu Server 24.04 LTS or Debian 12/13 is the simplest choice and the best tested.
- AlmaLinux / Rocky Linux 9/10 work as on a VPS but are beta: a few panel features have no RHEL path yet and say so when you use them. SELinux stays enforcing; the agent labels what it writes.
- Derivatives (Linux Mint, Pop!_OS, Raspberry Pi OS) install with a “best effort” warning. Ubuntu 22.04, Debian 11, EL8 and other families (Fedora, Arch, openSUSE, Alpine) are refused.
- A desktop edition (Ubuntu Desktop, Debian with GNOME or KDE) is fine with
MZ_PROFILE=homelab; the installer refuses a desktop session without it. - Disable suspend if the machine has a desktop:
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target.
Proxmox VE (a VM)
Section titled “Proxmox VE (a VM)”Use a VM, not an LXC container. Docker and the agent’s systemd units are not supported in LXC.
- Create a VM from the Ubuntu Server 24.04 ISO: 2+ vCPU, 4 GB RAM, 32 GB+ disk, VirtIO disk and network.
- CPU type:
host(faster builds, and some images need modern CPU flags). - Options > Start at boot: Yes, so the VM comes back after the host reboots.
- In the guest:
sudo apt install -y qemu-guest-agent && sudo systemctl enable --now qemu-guest-agent, and enable QEMU Guest Agent in the VM options (clean shutdowns, IP shown in Proxmox). - Install the agent inside the VM. The VM’s LAN address is the one for LAN-only URLs.
GPU passthrough (for AI workloads): enable IOMMU on the host (intel_iommu=on or
amd_iommu=on on the kernel command line, VFIO modules), add the GPU as a PCI device with
All Functions and PCI-Express ticked, machine type q35. Then install the NVIDIA
driver and the NVIDIA Container Toolkit in the guest yourself; MZPanel does not install
drivers. Check with nvidia-smi and docker run --rm --gpus all nvidia/cuda:12.6.0-base-ubuntu24.04 nvidia-smi.
ESXi, Hyper-V and libvirt work the same way: a normal Linux guest, started automatically.
Raspberry Pi
Section titled “Raspberry Pi”- Pi 4 or Pi 5 with 4 GB RAM or more. Builds are slow on a Pi; prefer deploying ready-made images or small apps.
- 64-bit OS: Ubuntu Server 24.04 (arm64) or Raspberry Pi OS Lite 64-bit (Debian 12 “bookworm”, detected as Debian 12). 32-bit systems are not supported.
- Boot from an SSD (USB 3 or the Pi 5 NVMe HAT). SD cards wear out under Docker and database writes.
- Images must be built for
arm64; most official images are multi-arch.
After the install
Section titled “After the install”The box shows up with a Homelab badge. Next:
- publish apps: Cloudflare Tunnel;
- or use it LAN-only: deploy without a tunnel, add
<app>.home.arpawith the box’s LAN IP to your hosts file or local DNS (Pi-hole, AdGuard Home, your router), and openhttp://<app>.home.arpa.