Tin Hat / Run a server / Virtual machines
Virtual machine images
Already run Proxmox, a NAS or a hypervisor? Import the image, start it, and finish in your browser. The only thing that must be right is the network: bridged, never NAT.
The Proxmox steps below are the ones we test with every build. The .vmdk and .vhdx are the same disk converted for VirtualBox, VMware and Hyper-V; their steps aren't lab-tested yet.
All three are for 64-bit Intel/AMD, about 1.1 GB each to download. An ARM .qcow2 (1.1 GB) is there too, for ARM hosts that run qcow2 images. Every file, with its checksum: the latest release on GitHub.
The .vmdk and .vhdx come zipped (GitHub takes no single file over 2 GB). Check the zip first (how), then unzip it: each zip holds one disk file, tinhat-server-…-amd64.vmdk (2.9 GB) or .vhdx (4.7 GB). The .vhdx is over 4 GB, so use a current unzip tool: Windows 10 or 11's own Extract All…, macOS, unzip or 7-Zip.
The one thing to get right: bridged networking. The server needs its own address on your home network, like any other device. "NAT" or "Default Switch" hides it behind your PC, and nothing outside the PC can reach it.
Every platform below gives it 2 cores, 4 GB of memory and the disk from the image. The disk grows to whatever size you give it; 60 GB is a good start.
Proxmox VE
On the Proxmox host's shell (Datacenter → your node → Shell):
- Download the image and check it into
/var/lib/vz/template/; it must say OKcd /var/lib/vz/template && wget -O tinhat-server-amd64.qcow2 https://github.com/TinHatLabs/TinHatServer/releases/latest/download/tinhat-server-amd64.qcow2 && wget -O SHA256SUMS https://github.com/TinHatLabs/TinHatServer/releases/latest/download/SHA256SUMS && sha256sum -c SHA256SUMS --ignore-missing
- Create the VM change
9000to a free VM ID, here and in the next steps, andvmbr0to your LAN bridgeqm create 9000 --name tinhat --ostype l26 --cpu host --cores 2 --memory 4096 --scsihw virtio-scsi-single --net0 virtio,bridge=vmbr0 --agent enabled=1 --onboot 1
- Import the disk change
local-lvmto your VM storage (oftenlocal-zfs)qm set 9000 --scsi0 local-lvm:0,import-from=/var/lib/vz/template/tinhat-server-amd64.qcow2,discard=on,ssd=1 --boot order=scsi0
- Give it room, then start it
qm resize 9000 scsi0 60G && qm start 9000
- Open its Console VM → Console
The console shows the setup page's address and an 8-digit setup code. Open the address on any device on your network and follow the setup.
VirtualBox
- Unzip
tinhat-server-amd64.vmdk.zip(check it first) into a folder that stays, likeDocuments\Tin Hat Server. - Machine → New…: name Tin Hat Server, type Linux, version Debian (64-bit), leave the ISO empty. 4096 MB memory, 2 processors.
- Hard disk: Use an Existing Virtual Hard Disk File → the folder icon → Add →
tinhat-server-…-amd64.vmdk→ Choose → Finish. - Select the new VM → Settings → Network → Adapter 1: Attached to: Bridged Adapter, and pick the network card your PC uses (Wi-Fi works too). Click OK.
- Start it. Its window shows the setup page's address and a setup code. Open the address in your browser and follow the setup.
The server is only up while your PC is on and VirtualBox is running it. Start → Headless Start runs it without a window. To start it when you sign in to Windows, put a shortcut in your Startup folder (Win+R → shell:startup) that runs "C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" startvm "Tin Hat Server" --type headless, or use the Windows installer instead.
VirtualBox is slow when Windows' Hyper-V or "Memory integrity" is on. If the VM crawls, use the Windows installer or Hyper-V instead.
Hyper-V (Windows 11 Pro)
- Unzip
tinhat-server-amd64.vhdx.zip(check it first) into the folder where the VM's disk should live, likeC:\Hyper-V\Tin Hat Server. - Hyper-V Manager → Virtual Switch Manager → External → Create Virtual Switch → pick your network card → OK. (Skip if you already have an external switch.)
- New → Virtual Machine: Generation 2, 4096 MB memory (untick Dynamic Memory), connection: your External switch, Use an existing virtual hard disk →
tinhat-server-…-amd64.vhdx. - Before starting: VM Settings → Security → Secure Boot template Microsoft UEFI Certificate Authority. Processor → 2.
- Connect → Start. The window shows the address and setup code; continue with the setup.
Hyper-V isn't available on Windows 11 Home. On Home, use the Windows installer.
VMware Workstation / Fusion
- Unzip
tinhat-server-amd64.vmdk.zip(check it first) into a folder that stays. - File → New Virtual Machine… → Custom → I will install the operating system later → Linux, Debian 12.x 64-bit → 2 processors, 4096 MB → network Bridged → Use an existing virtual disk →
tinhat-server-…-amd64.vmdk(keep its format) → Finish. - VM → Settings → Network Adapter: check it says Bridged (tick Replicate physical network connection state).
- Power on. The console shows the address and setup code; continue with the setup.
On a Mac with Apple silicon, VMware Fusion only runs ARM images. An ARM image for Apple silicon Macs (UTM, Parallels, VMware Fusion) is coming; it's built and starts in our lab, and its guide comes with it.
Unraid
- Copy
tinhat-server-amd64.qcow2to a share, for example/mnt/user/domains/tinhat/. - VMs → Add VM → Linux. CPUs: 2, Initial memory 4096 MB, Machine Q35, BIOS OVMF.
- Primary vDisk location: Manual → the qcow2 file. Bus VirtIO.
- Network source: br0 (your LAN bridge). Network model virtio-net.
- Create, then open its VNC Remote for the address and setup code; continue with the setup.
TrueNAS SCALE
- Upload
tinhat-server-amd64.qcow2to a dataset. - Virtualization → Add. Guest OS Linux, boot method UEFI, 2 vCPUs, 4 GiB memory.
- Disks: Import image → the qcow2 → into a new zvol of 60 GiB.
- NIC: your LAN bridge (br0), or the physical network card if you have no bridge.
- Start it and open Display for the address and setup code; continue with the setup.
Check the download
Every release lists the SHA-256 checksum of each file in SHA256SUMS, signed with Tin Hat's release key (how releases are signed). Download SHA256SUMS from the same release into the same folder, then, on Linux or macOS (or a Proxmox, Unraid or TrueNAS shell):
sha256sum -c SHA256SUMS --ignore-missing
It must say OK for your file. On a Mac without sha256sum, use shasum -a 256 -c SHA256SUMS --ignore-missing. On Windows, in PowerShell, Get-FileHash .\tinhat-server-amd64.vhdx.zip (or the .vmdk.zip) and compare the Hash with that file's line in SHA256SUMS. Check the zip before you unzip it. The fixed names here and the versioned ones on the release page (tinhat-server-…-amd64.qcow2) are the same files; SHA256SUMS lists both. For the careful: download SHA256SUMS.minisig from the same release too, and check SHA256SUMS itself with minisign and the release key:
minisign -Vm SHA256SUMS -P RWQUG5ce+eVTK+HZgYoCViu7WY1nwnbLR8s54/zRQR0DLiACjVuh5Mkv
If something's wrong
The console says "Waiting for a network connection"
The VM's network isn't bridged to your home network. Change the adapter to bridged (or the right bridge on Proxmox, Unraid or TrueNAS) and restart the VM.
The address on the console doesn't open from my phone
Make sure the phone is on the same Wi-Fi as the server, not mobile data. If the server's address looks different from your other devices' (for example 10.0.2.15 while your phone has 192.168.1.23), the VM is behind NAT: switch it to bridged.