LPI Linux Certification in a Nutshell, 2nd Edition
by Steven Pritchard, Bruno Gomes Pessanha, Nicolai Langfeldt, James Stanger, Jeff Dean
Linux Installation and Package Management (Topic 1.102)
Review Questions
Why is the /var directory usually located in a partition of its own?
As a system administrator for a network with many workstations and a central NFS file server, how can you safely share /usr with your users while still maintaining control of its contents?
Describe how to create a tar archive and how its contents are extracted.
In general terms, describe the procedure used to compile and install free or open source software from source code.
What is a shared library? How can you determine what library dependencies exist in a compiled executable?
Briefly describe the major functional modes of rpm.
Why might a Debian Linux administrator use dpkg -iG instead of simply dpkg -i to install a package?
Exercises
In a shell, examine your disk layout using cfdisk or fdisk. For example:
#
fdiskCommand (m for help):pDisk /dev/sda: 255 heads, 63 sectors, 1109 cylinders Units = cylinders of 16065 * 512 bytes Device Boot Start End Blocks Id System /dev/sda1 1 51 409626 83 Linux /dev/sda2 52 1109 8498385 5 Extended /dev/sda5 52 90 313236 83 Linux /dev/sda6 91 97 56196 83 Linux /dev/sda7 98 136 313236 83 Linux /dev/sda8 137 264 1028128+ 83 Linux /dev/sda9 265 519 2048256 83 Linux /dev/sda10 520 532 104391 83 Linux /dev/sda11 533 545 104391 82 Linux swap /dev/sda12 546 1109 4530298+ 83 LinuxIs the entire disk consumed by the existing filesystems?
Examine how system directories are mapped to disk partitions on your system. Are /var ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access