2. Check the prerequisites¶
Goal: have the hardware, network, accounts and tools that setup needs, before you configure anything.
Steps¶
- Get an Apple Silicon Mac mini that you can erase. Connect a display, a keyboard and a network cable.
first-boot.shmust run in a local desktop session, not over SSH. - Get a dev Mac with an administrator account. You run
prep-airdrop.shthere. If you choose script-based Wi-Fi setup, the script reads the current Wi-Fi password from the System keychain, and macOS asks for an administrator password. - Make sure that the dev Mac has Homebrew. The next steps use
brew install. -
On the dev Mac, install the 1Password CLI:
-
Make sure that
jqis on the dev Mac. If this command prints nothing, runbrew install jq:opensslcomes with macOS.prep-airdrop.shuses it to make a random operator password when the operator item is not in 1Password yet. -
Make sure that the dev Mac has an Ed25519 SSH key.
prep-airdrop.shreads only~/.ssh/id_ed25519and~/.ssh/id_ed25519.pub. If the key does not exist, create it: -
Clone this repository on the dev Mac:
-
On the NAS, export the media share over NFS to the Mac mini. Setup mounts
<NAS_HOSTNAME>:/<NAS_VOLUME>/<NAS_SHARE_NAME>. The host mount uses theresvportoption, so the NAS can require a reserved port. The Transmission VM (optional) needs the export to allow non-privileged ports. - Put at least one movie file on the share. Step 8 plays it.
- Create a free Plex account at plex.tv, if you do not have one. You sign in to it in step 8.
Check¶
op --versionprints a version number on the dev Mac.showmount -e nas.localon the dev Mac lists your share. Replacenas.localwith your NAS hostname.- The movie file is on the share.
-
The SSH files exist on the dev Mac:
To see which parts you need, read the stack matrix. You check config/config.conf and the 1Password items in Configure.
Next: Configure