Bookmark this page

Chapter 3. Provisioning and Configuring Servers

Abstract

Goal

Identify new package and system management tools and utilities.

Objectives
  • Perform package management tasks using the new DNF-based version of yum.

  • Perform local and remote server administration using the RHEL web console utility.

  • Build multiple types of system images using the new Image Builder utility.

  • Write Ansible Playbooks to automate common operations, using RHEL System Roles included with Red Hat Enterprise Linux.

Sections
  • Performing Package Management using Yum (and Guided Exercise)

  • Administering Servers with RHEL Web Console (and Guided Exercise)

  • Building System Images with Image Builder (and Guided Exercise)

  • Automating with RHEL System Roles (and Guided Exercise)

Lab

Provisioning and Configuring Servers

Performing Package Management using Yum

Objectives

After completing this section, students should be able to perform package management tasks using the new DNF-based version of yum.

Using Yum v4

Red Hat Enterprise Linux 8 includes version 4 of the yum utility, which uses the DNF technology as its back end. Although the back end for yum in version 4 has changed, typical options for the command remain the same.

DNF Technology in Yum v4

  • DNF replaces YUM as the package management technology for RPM packages in Red Hat Enterprise Linux 8.

  • The DNF API enhances integration, and solves stability issues of the Yum v3 API.

  • Yum v4 includes the new functionality provided by DNF.

  • The recommended yum command is a link to dnf.

Enhancements in Yum v4

  • Supports modules that enable software AppStreams.

  • Now understands weak and boolean dependencies.

  • Provides a broader collection of plug-ins and add-on tooling.

  • Improves the performance of Yum, which is key for cloud, CI/CD, and container workloads.

Modules, Streams, and Profiles

A module is a collection of packages that are installed together. Modules solve previous issues with dependencies with older or newer packages versions. A module can include one or more streams, which are different versions of the software provided by the module. A module has just one stream active at a time, by default the stream containing the latest version of the software. Modules also include profiles, which are a list of packages which support a use case, for example to deploy a minimal install.

References

For more information, refer to the Installing software with yum chapter in the Red Hat Enterprise Linux 8 Configuring Basic System Settings Guide at https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/configuring_basic_system_settings/index#installing-software-with-yum_configuring-basic-system-settings

Revision: rh354-8.0-0e36520