Building the Cross-Family Lab
1. Why one machine is no longer enough Any Linux
The intermediate course needed a single virtual machine. This course needs a small network of them, for three reasons that will become obvious quickly.
- Two families. You cannot compare
dnfwithapt, orfirewalldwithufw, on one machine. Every module in this course shows both, and you need both in front of you. - Services need clients. A file server, a print server, a DNS server and a web server are all meaningless without something else on the network to use them.
- Hosting is public. TLS certificates, DNS records and mail deliverability cannot be learned on a private network. At some point you need a real IP address that the internet can reach.
2. The lab topology Any Linux
| Node | Runs | Purpose | Required? |
|---|---|---|---|
| Workstation | Linux Mint | Where you sit. SSH client, editor, control node for Ansible in Module 12 | Yes |
| deb-srv | Ubuntu Server LTS | The Debian-family server throughout | Yes |
| rpm-srv | Rocky Linux 9 | The RPM-family server throughout. SELinux stays enforcing | Yes |
| fedora | Fedora Server | Seeing where RHEL is heading; newer tooling | Optional |
| nas | Debian, plus a second virtual disk | File and print services in Module 6 | Yes, from Module 6 |
| vps | Ubuntu or Rocky | Real public IP, real DNS, real certificates, real mail | Yes, from Module 8 |
3. Headless from the start Any Linux
Install both servers with no desktop environment. This is not an economy measure - it is the point.
A server with a desktop teaches you to reach for the desktop. Real servers do not have one: they have a console you may not be able to reach and an SSH session that might be the very thing that broke. Working headless from day one builds the habit of doing everything from the command line, which is also exactly how the exam's performance-based questions are presented.
4. Building the local nodes Any Linux
- Create a host-only or internal network in VirtualBox on
192.168.56.0/24, so the machines can see each other and your workstation. Give each node a NAT adapter as well, for internet access. - Install Ubuntu Server 24.04 LTS on deb-srv. Choose the minimal install, enable the OpenSSH server, and set a static address.
- Install Rocky Linux 9 on rpm-srv. Choose the Minimal Install software selection. Leave SELinux enforcing - Module 11 depends on it, and disabling it is the habit this course exists to prevent.
- Set hostnames matching the diagram, and add all four to
/etc/hostson your workstation so you can reach them by name before Module 5 builds real DNS. - Distribute your SSH key to every node with
ssh-copy-id, and add a~/.ssh/configblock for each sossh deb-srvjust works. Intermediate Module 10 covers this if you need to revisit it. - Snapshot every node and name the snapshot
clean. You will restore these repeatedly.
5. The public server Any Linux
From Module 8 onward you need a server the internet can reach. Certificates, DNS records, mail deliverability and control-panel hosting cannot be learned behind a NAT.
A small VPS is the cheapest route. OVHcloud VPS is the example used throughout this course - the entry-level plan is inexpensive, includes a public IPv4 address and IPv6, and lets you choose Ubuntu or Rocky at deployment. Any provider works: Hetzner, DigitalOcean, Linode and local South African providers such as Afrihost or Xneelo are all equally suitable. What matters is a public IP, root or sudo access, and a console you can reach when SSH fails.
| You will also need | Why | Rough cost |
|---|---|---|
| A domain name | DNS records, TLS certificates and mail all require one. A cheap .xyz or .co.za is fine | A few dollars a year |
| The VPS itself | Modules 8 to 11, and the capstone | Roughly the price of a coffee per month |
6. Snapshot discipline across several machines Any Linux
With one VM you snapshot occasionally. With five you need a habit, because the exercises in Modules 4, 6 and 11 deliberately break things.
- Snapshot before any exercise marked as destructive, and name it after the module.
- Snapshot after completing a module that leaves useful state behind, such as the DNS server in Module 5.
- Delete old snapshots periodically - VirtualBox snapshots consume disk and slow the machine once a chain grows long.
- The VPS is the exception: most providers charge for snapshots, so instead keep a short rebuild script. Being able to rebuild it from nothing is more valuable than a snapshot anyway, and Module 12 turns that into an Ansible playbook.
7. Cloud instances, and why they differ Any Linux
Your VPS is a cloud instance, and the exam now expects you to be able to diagnose one. Four differences from a local VM matter from the very first login:
cloud-init sets the hostname, network and your SSH key at first boot from data the provider supplies. Module 2 covers it.