Document installer profiles and receiver preflight
This commit is contained in:
1 parent
aa3b776809
commit
aa71bda9dc
1 file changed
+43
-12
+43
-12
@@ -52,9 +52,30 @@ deployment sections for webmail, hosted website HTTPS, and account backups.
|
|||||||
sudo ./deploy/install-panel.py --interactive
|
sudo ./deploy/install-panel.py --interactive
|
||||||
```
|
```
|
||||||
|
|
||||||
Review the hostname, network mode, administrator, and mail and DNS
|
The installer opens a terminal wizard. Use the arrow keys to select an
|
||||||
choices before confirming. Enter the password in the terminal or use
|
option, Enter to continue, and F2 to go back a step. At the review screen,
|
||||||
`--admin-password-file` to read it from a root-owned `0600` file.
|
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
|
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
|
use to reach hosted sites. Choosing `none` leaves the default A and AAAA
|
||||||
records unset until you configure hosting addresses.
|
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.
|
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.
|
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
|
The SSH destination must be a fully qualified name or a literal IP address
|
||||||
public key file, an administrator username, and the path to a root-owned
|
reachable from the panel, such as a LAN or Tailscale address. Copy the
|
||||||
`0600` private key on the installer host. The account must be able to run
|
destination's verified `/etc/ssh/ssh_host_ed25519_key.pub` to the panel
|
||||||
the setup through noninteractive `sudo`. During setup, use a dedicated
|
server. The installer pins this key to verify the identity of the server.
|
||||||
administrative key which can be revoked when enrolment is complete.
|
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
|
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
|
Choose `remote` to connect a receiver prepared with the existing
|
||||||
[node installer and SSH enrolment](#install-and-enrol-a-node). Supply its
|
[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)
|
resuming. Review the [installation checks](#verify-a-new-installation)
|
||||||
before opening the panel to customers.
|
before opening the panel to customers.
|
||||||
|
|
||||||
When two panels share a node, keep separate role keys and give each hosted
|
Run setup on each panel server in a multi-panel deployment. Use
|
||||||
domain one panel owner. Review the installed receiver configuration before
|
`remote-install` when preparing a receiver, then connect additional panels
|
||||||
adding an independent role to an existing server.
|
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
|
## Install or upgrade from a Debian package
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user