CertGrid CertGrid
Concepts·LPIC-2

The lab: one disk, and a client that proves things

Two practical facts every later page depends on. This host has one disk, so the RAID and LVM topics run on loop devices rather than a disk shelf nobody has - and none of the services on the syllabus is installed yet, which is the starting point each guide builds from.

Start Here Guide 3 of 29 Intermediate

Two service hosts and a client. Every service here is proven from a machine that is not running it.
Server NameIP AddressOSRolesCPURAMHDD
LPIC2-A01192.168.0.78Ubuntu 26.04 LTSPrimary service host - BIND, Apache, Samba, Postfix. Topic 204 RAID runs on loop devices; this machine has no spare disk2 Core4 GB50 GB
LPIC2-B01192.168.0.79AlmaLinux 10.2Second service host - nginx, NFS, DNS secondary, and the other family's spelling of each service2 Core4 GB50 GB
LPIC2-C01192.168.0.80Ubuntu 26.04 LTSClient - resolves, mounts and connects, so every service is proven from a machine that is not running it2 Core4 GB50 GB

This guide includes

Use this before the storage and service guides. This matters because there is one disk - so every storage page runs on loop devices, and nothing is installed until you install it.

Before you start

  1. One disk, so storage runs on loop devices

    Check what block devices exist before planning topic 204 around them.

    bash Example session
    lsblk -dno NAME,SIZE,TYPE | grep disk; echo "--- one disk, no spares"fd0    4K disksda   50G disk--- one disk, no sparessudo losetup -f; echo "--- so RAID and LVM are taught on loop devices, which a reader can also do"/dev/loop0--- so RAID and LVM are taught on loop devices, which a reader can also do

    Expected resultOne 50 GB sda and the floppy node, no spare disks - and /dev/loop0 free for the storage work.

    Success conditionYou know what topic 204 will actually be demonstrated on.

  2. Nothing is installed yet, on purpose

    The starting state is a machine with no services on it.

    bash Example session
    for s in named httpd nginx smbd nfs-kernel-server postfix; do printf '%-22s %s\n' "$s" "$(command -v $s >/dev/null && echo installed || echo 'not installed')"; donenamed                  not installedhttpd                  not installednginx                  not installedsmbd                   not installednfs-kernel-server      not installedpostfix                not installed

    Expected resultAll six - named, httpd, nginx, smbd, nfs-kernel-server, postfix - report not installed.

    Success conditionYou know the lab starts empty, and every service page installs what it needs.

Troubleshooting

Official sources