Language

The five steps of the first-run wizard

Environment check, package verification, configuration and installation, administrator setup, finish installation. Any step that does not pass is a stop; DNS and public ports are not promised.

The first-run wizard has five steps in total: environment check, package verification, configuration and installation, administrator setup, finish installation. Any step that does not pass is a stop; you cannot skip to the next. The whole page is compiled into the installer binary, loads no external fonts, styles or scripts, and is available in both Chinese and English.

What each step actually does

The environment check examines nine items: operating system and architecture, permissions, basic commands, systemd, whether directories are writable, the current operation state, the CMS port and so on. If any item fails, it does not let you through. One thing to note is what it does not promise: DNS resolution, whether ACME can issue, whether public 80/443 is reachable — none of these are within this screen's judgment scope; it only answers "can this machine be installed right now".

Package verification supports choosing a file or drag-and-drop, and the upload has a real progress bar. Signature verification and integrity verification are two separately reported statuses, and the result shows the version, architecture and digest. An invalid archive is rejected outright; without passing verification you cannot go forward.

Configuration and installation needs one explicit confirmation before you click. The installation process only shows real task states — no fabricated percentages, because a fake progress bar misleads more than no bar at all. Refreshing the page restores the already-verified package and the already-filled address configuration, so you do not have to start over. After the systemd task succeeds, the wizard probes the site's initialization interface once more: if the site is not ready, it shows a waiting notice and does not allow creating the administrator. This is not defensive design; it was added after a startup race was reproduced once in a real installation.

Administrator setup gives immediate feedback on the password rules, and the password can be shown or hidden. After successful creation, the wizard clears the password input and the install token in this session, then takes you to the backend address that was actually configured.

Finish installation gives the backend address and the next step.

Visible details

Step transitions fade in, buttons give feedback, uploads have a progress bar, and waiting has a spinner; all of these respect the system's "reduce motion" setting. Keyboard focus, labels, states and error messages are preserved throughout the flow — completing an installation entirely with the keyboard is usable.

What failure looks like

A one-line comparison: environment check fails → not let through; verification fails → cannot go forward; installation task fails → stop; site not ready → creating the administrator is not allowed. The four kinds of failure each have their own wording, and "reports success but nothing happened" does not occur.