April 2026 TLDR setup for Ollama + Gemma 4 on a Mac mini (Apple Silicon) — auto-start, preload, and keep-alive
- Mac mini with Apple Silicon (M1/M2/M3/M4/M5)
- At least 16GB unified memory for Gemma 4 (default 8B)
- macOS with Homebrew installed
| # Ubuntu Server automated installation | |
| # by Scott Lowe (scott.lowe@scottlowe.org) | |
| d-i debian-installer/locale string en_US | |
| d-i console-setup/ask_detect boolean false | |
| d-i keyboard-configuration/layoutcode string us | |
| d-i netcfg/choose_interface select eth0 | |
| d-i netcfg/get_hostname string hostname | |
| d-i netcfg/get_domain string domain.com | |
| d-i netcfg/wireless_wep string |
| #! /usr/local/bin/bash | |
| # | |
| # Calomel.org | |
| # https://calomel.org/zfs_health_check_script.html | |
| # FreeBSD 9.1 ZFS Health Check script | |
| # zfs_health.sh @ Version 0.15 | |
| # Check health of ZFS volumes and drives. On any faults send email. In FreeBSD | |
| # 10 there is supposed to be a ZFSd daemon to monitor the health of the ZFS | |
| # pools. For now, in FreeBSD 9, we will make our own checks and run this script |
| #/usr/bin/env bash | |
| set -euo pipefail | |
| exit 1 | |
| # Need the SystemAdministrator AWS SSO / IAM PermissionSet | |
| for region in $(aws ec2 describe-regions --query 'Regions[].RegionName' --output text); do | |
| echo "* Region ${region}" |
April 2026 TLDR setup for Ollama + Gemma 4 on a Mac mini (Apple Silicon) — auto-start, preload, and keep-alive