Original server preparation in Nginx and PHP history
Retain seven actual package records from initial root access through Nginx/PHP and verify them after another reboot. A practical CLI run on a separate Debian VM.
With server preparation and utilities complete, we add Nginx and PHP-FPM. Package history must retain the entire path from initial root access. We verify that on a separate local Debian VM using the CLI, actual package installations and two reboots.
Seven package records and two distinct boundaries
The first two records come from initial access: signed metadata refresh and approved kernel installation. After the first reboot, the administrator refreshes metadata and installs utilities. Original CLI commands then add Nginx, refresh PHP repository metadata and install PHP-FPM. These are seven actual package records.
The first reboot occurs after the second record; PHP repository setup occurs after the fifth. Each event has its own verification and explains an allowed state transition between neighboring package records. Reboot creates no fictional package record.
Inputs to verification
RUNTIME_REFERENCES is a private file selecting original approvals, initialization and first-reboot completion fingerprints, four preparation records and three runtime records. FIRST_POSTBOOT_REQUEST retains independent console evidence for the first postboot. The command receives file paths rather than passwords or private key contents.
deploy-cli host runtime-history prepared-inspect \
--root-env-file "$ORIGINAL_ROOT_ENV" \
--administrator-env-file "$ADMIN_ENV" \
--request-file "$FIRST_POSTBOOT_REQUEST" \
--references-file "$RUNTIME_REFERENCES" \
--fpm-file "$FPM_PROFILE" \
--key-file "$PUBLIC_REPOSITORY_KEY" \
--key-sha256 "$PUBLIC_REPOSITORY_KEY_SHA256"
The original root profile admits retained approvals locally. All remote reads use the selected administrator and sudo. Verification checks the original initialization both before and after reading the complete history.
Actual response after installation
The following fields come from the actual CLI response on the local VM. node_count is seven and boundary_count is two. proof_sha256 identifies the verified proof; the command publishes no new file and writes no server history.
{
"status": "passed",
"write_performed": false,
"checks": {
"access_role": "administrator",
"boundary_count": "2",
"initial_preparation": "retained",
"initialization": "verified",
"node_count": "7",
"proof_sha256": "1aa29e9854731ef9b3575e0a605015bf080577e52af0a60a754333f12435342a",
"whole_host_ready": "false"
}
}
Verification after another reboot
We then reboot only the test VM, without replaying the original reboot approval. A new serial-console observation confirms the current boot. We use prepared-boot-inspect with the same original references and an additional --current-request-file "$CURRENT_CONSOLE_REQUEST". The original first-postboot request keeps its original role.
{
"status": "passed",
"write_performed": false,
"checks": {
"access_role": "administrator",
"boot_changed": "true",
"boundary_count": "2",
"initial_preparation": "retained",
"initialization": "verified",
"node_count": "7",
"proof_sha256": "3b5c3ce7fdaf1e97b23aa85b7977ac9255f20de9e33cee8c572c53958f918866",
"whole_host_ready": "false"
}
}
The result retained all seven records and both historical boundaries while separately confirming the current boot. The first reboot remains a historical event. The current boot identity replaces neither that event nor the checks against package-state drift.
When the read must refuse
An incorrect first-reboot completion fingerprint caused refusal. We also checked incorrect initialization completion, an omitted original record, stale console evidence and a pending package operation. These are selected response fields for the incorrect reboot fingerprint:
{
"status": "failed",
"write_performed": false
}
Retained records remained unchanged during reads. This run installs Nginx and PHP with startup disabled. whole_host_ready=false reflects this scope: service activation, application sites, data services and the complete automatic wizard require their own subsequent steps.
The frame shows a genuine VTE terminal summarizing saved results. It is a summary of the actual local run rather than raw command output. Capture repeats neither installation nor reboot.