Skip to main content
CRUCIBLE
Legacy Reference Archive: This 44-chapter book reference has been distilled into Academy A01 (8 Executable Modules) with Tier-Adaptive Productive Failure, Kore/Puck voice, and live Firecracker labs.
Open Academy A01 →
COURSE 0 · SERVER BUILDING & LIFECYCLE MASTERY

Zero-to-Production Linux, Containers, Networking & Recovery

PROGRESS: 0 / 72 (0%)0/44L · 0Q · 0VM
TRK 05 · 6 SPECIALIST SERVER TRACKS · 796 WORDS (5 MIN)

Network, storage and physical-server track

The included dnsmasq config is a narrow role exercise: loopback port 5353, no DHCP, and no upstream resolver. Launch the loopback process inside your disposable Crucible Linux VM and verify 127.0.0.1 resolution.

FULL WAR-ROOM →
INTERACTIVE ARCHITECTURE · CLICK ANY LAYER TO INSPECT & RUN

Inside Your Private Linux Server (Shell -> Process -> Socket -> Disk)

Click any box below to see what lives at that layer, what fails in production, and the exact command to inspect it live.

spawnsbindspersistsBash ShellPTY · /home/operatorProcesses & PIDsFastAPI · Postgres · RedisTCP Sockets127.0.0.1 :8000 / :6432Filesystem & Logsconfig/ · logs/ · PGDATA
SELECTED LAYER · BASH SHELL
Interprets your commands, expands quotes/variables, and returns exit codes ($?).
Common failure: Running admin commands on the wrong host or directory when SSH prompts look identical.
$ hostname && whoami && pwd

Prerequisites: device/volume identification, access permissions, a dedicated lab network or VM and a recovery path. Environment/status: scoped procedures; no switch, disk, NAS or physical host is modified automatically by this lab guide. Outcome: apply the lifecycle to services whose failure can affect many downstream systems.

Map the lifecycle

PhaseInfrastructure-specific decision and exit evidence
1 FrameworkInventory serial/asset IDs, interfaces, volumes, firmware and downstream consumers.
2 BeginnerExplain links, addresses, routing, block devices, filesystems, shares and object storage.
3 ArchitectureDefine traffic/storage contract, redundancy, durability, latency, capacity and physical constraints.
4 ProvisionConfirm exact devices/ports/disks; establish management access and known recovery media.
5 FoundationIsolate management, restrict operators, configure encrypted/authenticated access and protect recovery keys.
6 ServiceConfigure only the selected DNS/VPN/share/storage role with explicit consumers and permissions.
7 Go liveTest allowed/denied clients and end-to-end data/traffic behavior from independent endpoints.
8 OperateMonitor links, errors, disk/inode pressure, health, latency, temperature, power and delivered alerts.
9 ChangeStage firmware/configuration/filesystem changes; preserve known versions and measure degraded behavior.
10 RecoverRecover configuration, keys and data; rehearse a failed component using supported target procedures.
11 RetireMove dependencies, revoke clients/keys, retain records and sanitize/remove only confirmed assets.
12 AssessAnother operator identifies the exact target and restores a documented service failure safely.

Private DNS laboratory

The included dnsmasq config is a narrow role exercise: loopback port 5353, no DHCP and no upstream resolver. In a disposable Linux VM with dnsmasq installed, run from your VM workspace (~/playground):

bash
dnsmasq --no-daemon --conf-file=labs/dnsmasq.conf

If the distribution requires extra permissions for its compiled-in user or runtime directories, inspect the error and adapt only the disposable VM's process configuration. Do not stop a host-wide DNS service to free a port without identifying its consumers. In a second terminal:

bash
dig @127.0.0.1 -p 5353 jobs.mastery.test A
dig @127.0.0.1 -p 5353 unrelated.mastery.invalid A

Expect 127.0.0.1 for the configured local name; the unrelated name must not be forwarded to an arbitrary internet resolver. Preserve actual response codes. Stop only the owned foreground process with Ctrl-C. This exercise never changes the VM's system resolver, shared router, DHCP scope or network clients.

The [dnsmasq manual](https://dnsmasq.org/docs/dnsmasq-man.html) defines the foreground/configuration-file options and local DNS behavior. For a real authoritative or recursive DNS service, define the role before opening access. Configure authorized zones or permitted recursion clients, protect updates and validate both UDP/TCP behavior as applicable. Test change propagation and caches. VPN deployments need route selection, split/full-tunnel policy, DNS behavior, key revocation and recovery access; a tunnel being connected does not prove the intended traffic path.

Storage laboratory

Begin with a blank virtual disk attached only to a disposable VM. Identify it by several independent observations—serial, size and attachment inventory—not a guessed /dev/sdX name. Record mount/filesystem/share identities separately. A formatting command cannot be made universally safe without that target context, so choose the exact supported command only after verifying the owned blank device.

Create a filesystem and mount using its persistent identifier. Create a dedicated share and ordinary client user; test a permitted write and a denied user's access. Record owner/mode/ACL behavior, quotas and filename assumptions. Delete one synthetic file, restore it independently and compare content and permissions. Test capacity limits with bounded fixture data; never fill a shared production filesystem to demonstrate fullness.

RAID/mirroring protects selected device failures; backups protect a different set of losses. A snapshot can depend on the same storage account/device and key as its source. Demonstrate a restore after losing the source, including keys and access, before claiming independent recovery. Document rebuild duration and degraded performance for the actual controller/storage system.

Physical commissioning and retirement

Before installation, confirm supported CPU/RAM/storage/network combinations, power/cooling capacity, firmware provenance, rack/grounding procedures and vendor support. Establish management-controller access on an isolated administrative network and change default credentials through an approved process. Keep serial/asset mapping beside the network and storage inventory.

Commission with memory tests, storage health, sustained workload and thermal/power observations according to supported tools. An approved power-loss exercise requires protecting other equipment and confirming write-cache/battery behavior; it cannot be inferred from restarting an application process. Test boot/recovery media and record who can access the console during an outage.

For retirement, move consumers first and verify the new traffic/data path. Revoke VPN/share/management identities, remove stale DNS/routes and preserve required configuration/audit records. Sanitize data according to the actual media technology and organization policy; deleting a partition is not proof of sanitization. Remove exact confirmed assets from inventory after retention and disposal decisions. Shared switches, firewalls and disks require particularly careful dependency checks before removal.

ACTIVE-RECALL MASTERY CHECKPOINT · TRK 05

Lock in what you just learned (3 quick questions)

PASS 2/3 FOR +30 XP
Q1.Why test private DNS resolution from a client host (not only on the DNS server itself) with explicit TTL checks?
Q2.Before resizing or migrating a live Linux storage volume, what safeguard is non-negotiable?
Q3.Why reference persistent block devices in /etc/fstab by UUID= rather than /dev/sdb?
Answered 0 / 3