Skip to content

102: Linux Installation and Package Management

Tom Ormiston edited this page Sep 3, 2017 · 23 revisions

102.1 Design hard disk layout

Description: Candidates should be able to design a disk partitioning scheme for a Linux system.

Key Knowledge Areas: Allocate filesystems and swap space to separate partitions or disks Tailor the design to the intended use of the system Ensure the /boot partition conforms to the hardware architecture requirements for booting Knowledge of basic features of LVM

Terms and Utilities:

/ (root) filesystem
/var filesystem
/home filesystem
/boot filesystem
swap space
mount points
partitions

IBM: Hard disk layout

Opensource: An introduction to Linux filesystems

Linux Foundation: The Filesystem Hierarchy Standard

Memory Management: Swap space

All about Linux swap space

Arch Wiki: Swap space & systemd, CML tools

Opensource.com: Everything is a file

Joe Collins: Learning the Linux File System

Joe Collins: Partition Schemes, Swap Space and File Fragmentation

Joe Collins: Advanced Drive Partitioning Schemes for Linux

The Linux Foundation: Introduction to Memory Management in Linux

THe Linux Foundation: Introduction to Memory Management in Linux by Alan Ott

Joe Collins: Linux Talk | Linux Memory Management

102.2 Install a boot manager

Description: Candidates should be able to select, install and configure a boot manager.

Key Knowledge Areas: Providing alternative boot locations and backup boot options Install and configure a boot loader such as GRUB Legacy Perform basic configuration changes for GRUB 2 Interact with the boot loader

The following is a partial list of the used files, terms and utilities:

menu.lst, grub.cfg and grub.conf
grub-install
grub-mkconfig
MBR

IBM: Install a boot manager

UrbanPenguin: Installing GRUB

UrbanPenguin: Basic configuration of GRUB2 on Red Hat Enterprise Linux 7

Opensource.com: An introduction to the Linux boot and startup processes

Opensource.com: An introduction to GRUB2 configuration for your Linux machine

Geek Blog: Fix Your MBR After Deleting Linux

102.3 Manage shared libraries

Description: Candidates should be able to determine the shared libraries that executable programs depend on and install them when necessary.

Key Knowledge Areas: Identify shared libraries Identify the typical locations of system libraries Load shared libraries

Terms and Utilities:

ldd
ldconfig
/etc/ld.so.conf
LD_LIBRARY_PATH

IBM: Manage shared libraries

UrbanPenguin: .SO Shared Object Files in Linux -library modules

102.4 Use Debian package management

Description: Candidates should be able to perform package management using the Debian package tools.

Key Knowledge Areas: Install, upgrade and uninstall Debian binary packages Find packages containing specific files or libraries which may or may not be installed Obtain package information like version, content, dependencies, package integrity and installation status (whether or not the package is installed)

Terms and Utilities:

/etc/apt/sources.list
dpkg
dpkg-reconfigure
apt-get
apt-cache
aptitude

IBM: Debian package management

UrbanPenguin: Package Management with DPKG and APT

tutorialLinux: Package Management with apt-get

GeekBlogTV: Apt-Get Package Manager

TuxDigital: Simplify Your Command-Line with APT instead of apt-get

Hak5: Apt vs Apt-Get - HakTip 151

102.5 Use RPM and YUM package management

Description: Candidates should be able to perform package management using RPM and YUM tools.

Key Knowledge Areas: Install, re-install, upgrade and remove packages using RPM and YUM Obtain information on RPM packages such as version, status, dependencies, integrity and signatures Determine what files a package provides, as well as find which package a specific file comes from

Terms and Utilities:

rpm
rpm2cpio
/etc/yum.conf
/etc/yum.repos.d/
yum
yumdownloader

IBM: RPM and YUM package management

UrbanPenguin: Using rpm2cpio

UrbanPenguin: Package Management with RPM and YUM

GeekBlogTV: YUM Package Manager

Installing Software RPM & Debian

Installing new software

Snap Packages

TuxDigital: Ubuntu Snappy and Snap Packages

Joe Collins: An Introduction To Snap Packages for Linux


Installing from Source

Jason Wertz: The Basics of Installing Software from Source in Linux

tutorialLinux: How to Compile Software Yourself for Ubuntu