From aa71bda9dc5ee71f9b9e78a62ad9276c2f59f222 Mon Sep 17 00:00:00 2001 From: Peter van Arkel Date: Thu, 26 Nov 2026 21:53:51 +0100 Subject: [PATCH] Document installer profiles and receiver preflight --- docs/deployment.md | 55 ++++++++++++++++++++++++++++++++++++---------- 1 file changed, 43 insertions(+), 12 deletions(-) diff --git a/docs/deployment.md b/docs/deployment.md index 6a502b1..0232b60 100644 --- a/docs/deployment.md +++ b/docs/deployment.md @@ -52,9 +52,30 @@ deployment sections for webmail, hosted website HTTPS, and account backups. sudo ./deploy/install-panel.py --interactive ``` -Review the hostname, network mode, administrator, and mail and DNS -choices before confirming. Enter the password in the terminal or use -`--admin-password-file` to read it from a root-owned `0600` file. +The installer opens a terminal wizard. Use the arrow keys to select an +option, Enter to continue, and F2 to go back a step. At the review screen, +choose Edit to change any section. The wizard uses plain prompts when +screen controls are unavailable. During installation it prints progress +to the terminal. + +Choose a topology and the DNS and email roles first. Full-service starts +with both roles on the panel server. Custom starts with the panel alone +and lets you choose which roles to add. Distributed starts with remote +installation selected for both roles. Switch either to `remote` when +connecting a receiver that already serves that role. + +The installer checks field values as you enter them and retains valid +answers when you correct a mistake. Review the plan and edit individual +sections before confirming. It checks the pinned SSH key files and tests +SSH authentication and noninteractive sudo for remote installations before +installing packages. If a check fails, correct that receiver's details or +return to the review after fixing access on its host. + +Enter the password in the terminal or use `--admin-password-file` to read +it from a root-owned `0600` file. You can save the confirmed settings as +TOML. If an installation step fails, fix the reported problem and choose +`retry` to resume with the same settings. + For hosted website DNS, enter the public IPv4 or IPv6 addresses that clients use to reach hosted sites. Choosing `none` leaves the default A and AAAA records unset until you configure hosting addresses. @@ -100,13 +121,21 @@ the first administrator sign-in. Choose `remote-install` to install and enrol a role on an existing server. Both roles can use one destination or can be installed on separate servers. -Supply the destination hostname or IP, SSH port, its verified SSH host -public key file, an administrator username, and the path to a root-owned -`0600` private key on the installer host. The account must be able to run -the setup through noninteractive `sudo`. During setup, use a dedicated -administrative key which can be revoked when enrolment is complete. +The SSH destination must be a fully qualified name or a literal IP address +reachable from the panel, such as a LAN or Tailscale address. Copy the +destination's verified `/etc/ssh/ssh_host_ed25519_key.pub` to the panel +server. The installer pins this key to verify the identity of the server. +Provide the SSH port, an administrator username and the path to that +administrator's root-owned `0600` private key on the panel server. +The matching user public key must be authorized on the destination, and +the account must be able to run the setup through noninteractive `sudo`. +During setup, use a dedicated administrative key which can be revoked +when enrolment is complete. + For mail, set `mail_hostname` to the public service hostname. When using -provided TLS, `certificate` and `key` are paths on the mail node. +provided TLS, `certificate` and `key` are paths on the mail node. Enter the +mail service's actual public SMTP source addresses for SPF. A shared mail +node can be the sole sender even when multiple panel nodes use it. Choose `remote` to connect a receiver prepared with the existing [node installer and SSH enrolment](#install-and-enrol-a-node). Supply its @@ -127,9 +156,11 @@ The installer preserves a configured panel and uses private state while resuming. Review the [installation checks](#verify-a-new-installation) before opening the panel to customers. -When two panels share a node, keep separate role keys and give each hosted -domain one panel owner. Review the installed receiver configuration before -adding an independent role to an existing server. +Run setup on each panel server in a multi-panel deployment. Use +`remote-install` when preparing a receiver, then connect additional panels +to that receiver using `remote`. Keep separate role keys and give each +hosted domain one panel owner. Review the installed receiver configuration +before adding an independent role to an existing server. ## Install or upgrade from a Debian package