Mushroom House Linux — DevOps

Set up a rented Linux server for a mushroom house: permissions, bash, systemd, backups. Real Debian. 16 levels, right in the browser.

What you learn in this game

A server has no screen and no mouse: you type a command and the server answers in text. The first habit before changing anything is knowing who you are and where you stand. In Kumbung Linux every command runs on a real Debian 13, and the terminal in the book copies its answer as it came.

The first two questions when an app misbehaves: is the disk full, and what does the log say. The option -h (human-readable) writes sizes as 2.8G or 730M instead of block counts.

A log always grows at the bottom, and searching it by eye wears you out fast. grep reads a file line by line and keeps only the lines that contain a pattern. An error message is read from the right: the reason is at the end.

New folders and files always belong to the account that made them. That matters the next evening. A relative path is read from the folder you stand in, which the prompt shows: lukman@kumbung:/srv/jamur$.

Permissions are written in three trios: owner, group, others. r = 4 (read), w = 2 (write), x = 1 (run, or enter for a folder), added up per trio: 755 = rwxr-xr-x. The kernel uses one trio only for each account: the owner trio if it owns the file, the group trio if it is in the file's group, the last trio for everyone else. Root skips this check.

A secret is a value that grants access, like the WhatsApp gateway token that sends order confirmations. Whoever holds it can send messages in the shop's name. A secret file is opened as little as possible: only to whoever really has to read it.