- Lab
- A Cloud Guru
Working with Essential Red Hat Linux System Administration Tools - yum
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.*
Path Info
Table of Contents
-
Challenge
Install PostgreSQL Version 9.6
If you run
yum module list
you'll note thatpostgresql 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 thatyum
anddnf
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. -
Challenge
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.
What's a lab?
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.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.