Working with Essential Red Hat Linux System Administration Tools - yum

15 minutes
  • 2 Learning Objectives

About this Hands-on Lab

In this lab we are going to make sure we have the minimum knowledge we need in order to successfully pass the RHCE on RHEL8. In this lab we’ll cover `yum/dnf` and the new Application Stream module. Since this is a new tool with RHEL8 it’s normal to not understand it 100%, but this lab will help reinforce how to use the Application Stream.

*This course is not approved or sponsored by Red Hat.*

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Install PostgreSQL Version 9.6

If you run yum module list you’ll note that postgresql 10 has a [e] next to it, indicating it’s installed.

Since our task is to install postgresql 9.6 we need to fix that. Note that yum and dnf are interchangeable commands:

dnf remove postgresql
dnf module reset postgresql
dnf module enable postgresql:9.6
dnf install postgresql

Those commands will remove the installed postgresql-10, reset the application stream, set the correct version for the application stream, and then install the correct version of postgresql.

Install httpd

While Apache does have an Application Stream, there aren’t multiple versions. On top of that, our task doesn’t specify a version anyway.

So it’s easy to just yum -y install httpd and call it done.

Additional Resources

You have been tasked with setting up a server for a production environment. The server you were handed needs to have postgresql-9.6 installed and httpd installed.

Don't worry about configuring this software - that will come later. For now just make sure the required software is installed.

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?