Fundamentals of Red Hat
Enterprise Linux
RHEL 8: Any Cloud, Any Workload, One OS
RIK MEGENS MOHAMMED ZAHER GARY WILLIAMS MELANIE JONES GERARD MARLOW
RHCE, RHCA, RHCI, RHCX Technical Learning & Business Development UK Product Director UK Sales Director
Training Solution Architect. Development Instructor Manager Global Knowledge Global Knowledge
Red Hat EMEA Red Hat EMEA Red Hat EMEA
1
RED HAT ENTERPRISE LINUX 8 CONFIDENTIAL
Housekeeping rules:
Participants are muted upon entry and during the event
Questions can be submitted via the Q&A section
All unanswered questions are going to be addressed in the last 10 minutes of each section.
This session is going to be recorded
RED HAT ENTERPRISE LINUX 8 CONFIDENTIAL Designator
Agenda
New Features in RHEL8
● Application Stream
● Web Console
● Image Builder
● Container Tools
3
RED HAT ENTERPRISE LINUX 8 CONFIDENTIAL Designator
To deliver business advantages today,
organizations are shifting IT from
traditional infrastructure operations
and are focusing on service delivery.
4
RED HAT ENTERPRISE LINUX 8 CONFIDENTIAL Designator
Build your future on a stable, high-performing
platform that can scale to meet the needs of
your organization today and tomorrow.
5
RED HAT ENTERPRISE LINUX 8 CONFIDENTIAL Designator
At a glance
KERNEL VERSION 4.18+
SYSTEM COMPILER GCC 8.2, LLVM 6.0
HARDWARE Intel/AMD 64-bit, IBM Power LE,
ARCHITECTURES IBM z Systems, ARM 64-bit
DEFAULT FILE SYSTEM XFS
PACKAGE MANAGEMENT Yum v4
TIME SYNCHRONIZATION Chrony
NETWORKING NetworkManager
6
RED HAT ENTERPRISE LINUX 8
Predictable updates
3 years 6 months 2 phases
Major releases Minor updates Support life cycle
7
RED HAT ENTERPRISE LINUX 8
Application streams
Time of support More choice
Offers versions of the open source tools
PostgreSQL 12 stream and frameworks developers need
PostgreSQL 10 stream Newer versions
Provides access to newer versions as
PostgreSQL 9.6 stream they stabilize
Red Hat® Enterprise Linux® 8 Simpler access
Maintains standard locations for tools
Red Hat Enterprise Linux 7
and libraries
8
RED HAT ENTERPRISE LINUX 8
Create images for all your environments with image
builder
Bare metal Single source
Lets you create gold images for any environment from
the same blueprint increasing stability and consistency
Hypervisors Any footprint
Supports public cloud, private cloud, enterprise
hypervisors, and bare metal
Simple interface
Blueprint Public clouds
Provides web-based view within the web console for
selecting packages and creating blueprints
Private clouds
9
RED HAT ENTERPRISE LINUX 8
Optimized experiences for mission-critical databases
● Red Hat Enterprise Linux is the ● Red Hat Enterprise Linux is 1 of only 2
reference platform for SQL Server on certified Linux distributions
Linux
● More than 20 years of Red Hat and SAP
● Benchmark-breaking performance joint engineering collaboration
● Fast deployment and portability ● Exceptional performance and scalability
via containers —the largest SAP install in the world runs
on Red Hat Enterprise Linux
10
RED HAT ENTERPRISE LINUX 8
Hardware partner ecosystem
SILICON OEMS IHVS
11
RED HAT ENTERPRISE LINUX 8
Red Hat Certified Cloud and Service Providers
12
CONFIDENTIAL Designator
Application Streams
RED HAT ENTERPRISE LINUX 8
Simplified access to software
Red Hat Enterprise Linux 7 repositories
extras rhscl dotnet devtools supplementary optional
server
Red Hat Enterprise Linux 8 repositories
appstream supplementary codeready-builder
baseos
14
An Example Application Stream
Graphical example of different ways an application stream
could be managed
SoftwareA
9.6 stream
SoftwareA
10 stream
SoftwareB
7.2 stream
SoftwareB
7.3 stream
May 2019 May 2020 May 2021 May 2022 May 2023 ... ...
15
RED HAT ENTERPRISE LINUX 8
The newest yum package manager: version 4
metadata
New technology
rpm rpm rpm Maintains the same experience while
adding new tools
rpm rpm rpm
Better dependency management
Repository Offers faster resolution and easier
minimization of what's installed
yum Stable API
Provides new application programming
interface (API) for extending yum that
will progress into the future
rpm rpm rpm
system
16
FREQUENTLY ASKED QUESTIONS
Isn’t this just Software Collections?
No.
17
FREQUENTLY ASKED QUESTIONS
In the example on the earlier slide, postgresql 9.6
and 10 were shown as simultaneously available
versions. Can I have them both installed?
No.
18
RULES OF ROAD
Application stream rules of the
road:
An application stream may offer multiple versions of a package, but only one may be installed on the system
Each application stream will have one version set as the default
Generally, you will want to use the module subcommand of yum when working with an application stream
Recommended practice: when changing to a different version of software in the application stream is to remove the installed
version, then install the preferred version
19
Instructor Demonstration
Listing available application
streams:
# yum module list
Name Stream Profiles Summary
ruby 2.5 [d] common [d] An interpreter of object-oriented scripting language
The resulting output will contain all the available packages managed as application streams.
20
Instructor Demonstration
Installing software from an
application stream:
# yum module install ruby:2.5
...
Preparing :
Installing : ruby-libs-2.5.3-103.module+el8+2671+ebcc7ee0.x86_64
Installing : rubygem-bigdecimal-1.3.4-103.module+el8+2671+ebcc7ee0.x86_64
Installing : rubygem-psych-3.0.2-103.module+el8+2671+ebcc7ee0.x86_64
21 Installing : rubygem-json-2.1.0-103.module+el8+2671+ebcc7ee0.x86_64
...
Hands-on with Instructor
DEMO TIME
https://lab.redhat.com/appstream-manage
CONFIDENTIAL Designator
Web Console
What is the Web Console?
What is the Web Console?
The Red Hat Enterprise Linux web console is a Red Hat Enterprise Linux 8
web-based interface designed for managing and monitoring your system.
● Managing services
● Managing user accounts
● Configuring network interfaces and firewall
● Reviewing system logs
● Managing virtual machines
● Configuring SELinux
● Updating software
● Managing system subscriptions
24
Frequently Asked Questions
Is this webmin?
Similar, but no.
25
Frequently Asked Questions
Who is the Web Console systems administration
tool for?
Systems administrators or people with administrative responsibility
for Red Hat Enterprise Linux systems.
26
Frequently Asked Questions
I am an experienced systems administrator is this
what Red Hat expects me to use to administer my
system population?
No. Yes. Maybe? How you choose to manage your systems should
be up to you.
27
Using Web Console
Accessing the Web Console:
In a supported browser, connect to the system’s port 9090
https://<your system>:9090
28
Using Web Console
Available tools for Web Console:
The top-level menu may be different depending on what additional
plugins are installed. The picture on the right includes the packages:
● cockpit-dashboard
Provides CPU, Memory, Network, and Disk consumption data
● cockpit-composer
Includes the Image Builder application for building virtual
machine images
● cockpit-machines
Virtual machine management applications
● cockpit-storaged
A plugin to allow an administrator to change/add storage
configured for the system
29 ● cockpit-podman
A module for adding container deployment functionality to
Web Console
RED HAT ENTERPRISE LINUX 8
Remote single-system views in the web console
Browser-based interface
Offers remotely accessible user interface
using host security mechanisms
Consolidated view
Provides single view of tasks to speed
understanding and completion
Standard management tools
Uses system tools to change state, not
a separate workflow
30
RED HAT ENTERPRISE LINUX 8
New in the web console
Virtual machines
Create and manage virtual machines
Network-bound disk encryption
Enroll disks with Tang server and
manage LUKS keys
Single sign-on configuration
Automatically configure when
joining a domain
31
Hands-on with Instructor
DEMO TIME
https://lab.redhat.com/webconsole-software
CONFIDENTIAL Designator
Image Builder
RED HAT ENTERPRISE LINUX 8
Create images for all your environments with image
builder
Bare metal Single source
Lets you create gold images for any environment from
the same blueprint increasing stability and consistency
Hypervisors Any footprint
Supports public cloud, private cloud, enterprise
hypervisors, and bare metal
Simple interface
Blueprint Public clouds
Provides web-based view within the web console for
selecting packages and creating blueprints
Private clouds
34
Hands-on with Instructor
DEMO TIME
https://lab.redhat.com/imagebuilder
CONFIDENTIAL Designator
Container Tools
RED HAT ENTERPRISE LINUX 8
Containers are Linux
Application binaries
Build
Run
Application dependencies
CONTAINERS
SELinux
Seccomp
Cgroups
Namespaces
CPU Memory Storage Network
37
Meet the container tools
Red Hat Container Tools
Deploy containers
Familiar syntax, compared to other container flavors
Create new container images
Update/modify existing container images
Inspect, audit, and share container images
38
Why choose podman
Why podman?
● Open Container Initiative (OCI) compliant
● Daemonless
● Linux native technology stack
● Rootless deployments
● Compatible with other OCI compliant toolsets
39
Frequently Asked Questions
Does RHEL8 ship Docker?
No. But if you really, really need a command called docker on your
system, try installing the podman-docker package. (This isn’t
actually docker, though)
40
Frequently Asked Questions
Does Red Hat provide any supported container
images?
Yes! We distribute the Red Hat Universal Base Image (UBI). This
container image is supported by Red Hat when deployed on a
supported Red Hat platform (RHEL/OpenShift).
41
Frequently Asked Questions
Why should I use this instead of Docker?
With the compatibility built into the Red Hat Container tools, you
can use a combination of both. Red Hat has two seats on the
Technical Oversight Board of the Open Container Initiative [a
project of the Linux Foundation], which is a commitment to
delivering tools that use open standards. Included as part of Red
Hat Enterprise Linux, no additional subscriptions required.
42
CONFIDENTIAL Designator
Visit the Catalog
https://catalog.redhat.com/software/
containers/explore
Instructor Demonstration
Inspect available container
images:
# podman images
REPOSITORY TAG IMAGE ID CREATED SIZE
registry.access.redhat.com/ubi8/ubi-init latest cda12d4c316c 6 weeks ago 255MB
44
Instructor Demonstration
Deploy a container:
Interactive, with a bash shell
# podman run -it ubi-init /bin/bash
Detached mode, with an exposed port
# podman run -dt -p 8080:80/tcp ubi-init
More options in the podman-run(1) manpage
45
Instructor Demonstration
Viewing deployed containers:
# podman ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
9df2431bf9b0 ...redhat.com/ubi8/ubi-init:latest /sbin/init 36 seconds Up 36 seconds romantic_feynman
Note: each container runtime is assigned a unique ID and NAME to use with other actions.
46
Instructor Demonstration
Terminating detached
containers:
Using stop with either a CONTAINER ID or NAME
# podman stop 9df2431bf9b0
or
# podman stop romantic_feynman
47
Instructor Demonstration
Destroying container image
overlays:
# podman rm 9df2431bf9b0
or
# podman rm romantic_feynman
More options in the podman-rm(1) manpage
48
Hands-on with Instructor
DEMO TIME
https://lab.redhat.com/podman-deploy
Hands-on with Instructor
DEMO TIME
https://lab.redhat.com/buildah
CONFIDENTIAL Designator
Where can you start your
Learning Journey?
Thank you linkedin.com/company/red-hat
youtube.com/user/RedHatVideos
Red Hat is the world’s leading provider of
enterprise open source software solutions.
facebook.com/redhatinc
Award-winning support, training, and consulting
services make
twitter.com/RedHat
Red Hat a trusted adviser to the Fortune 500.
52