Professional Documents
Culture Documents
Anand Gupta
Chapter 01
Local Installation
This chapter describes the following major topics:
L inux is a free operating system and it has been in existence for almost three decades. Its
source code is available to developers, amateurs, and general public for enhancements and
customization. Red Hat Inc. modifies a copy of a selected version of Linux source code and
introduces features, adds improvements, and fixes bugs. The company packages the updated
version as a Linux distribution of their own for commercial purposes. This distribution is
thoroughly tested to run smoothly and perform well on a wide range of computer hardware
platforms. It is stable, robust, feature-rich, and is ready to host workload of any size.
Red Hat Enterprise Linux may be downloaded for learning, practicing, and preparing for the
RHCSA exam. It is available as a single installable image file. A lab environment is necessary to
practice the procedures to solidify the understanding of the concepts and tools learned. The
install process requires careful planning to identify critical system configuration pieces prior to
launching the installer program. Once the operating system is installed, users can log in at the
console or over the network.
Linux powers an extensive range of computer hardware platforms, from laptop and desktop
computers to massive mainframes and supercomputers. Linux also runs as the base OS on
networking, storage, gaming, smart television, and mobile devices. Numerous vendors, including
Red Hat, IBM, Canonical, Oracle, DXC Technology, Novell, and Dell, offer commercial support to
Linux users worldwide.
Linux is the main alternative to proprietary UNIX and Windows operating systems because of its
functionality, adaptability, portability, and cost-effectiveness. At present, over one hundred
different Linux distributions are circulating from various vendors, organizations, non-profit
groups, and individuals, though only a few of them are popular and widely recognized.
RHL was originally assembled and enhanced within the Red Hat company. In 2003, Red Hat
sponsored and facilitated the Fedora Project and invited the user community to join hands in
enhancing and updating the source code. This project served as the test bed for developing and
testing new features and enabled Red Hat to include the improved code in successive versions of
RHEL. The Fedora distribution is completely free, while RHEL is commercial. RHEL 4 (based on
kernel 2.6.9 and released in February 2005), RHEL 5 (based on kernel 2.6.18 and released in
March 2007), RHEL 6 (based on kernel 2.6.32 and released in November 2010), RHEL 7 (based on
kernel 3.10 and released in June 2014), and RHEL 8 (based on kernel 4.18 and released in May
2019) have been built using Fedora distributions 3, 6, 12, 13, 19, and 28, respectively.
RHEL 8 has been tested to run on bare-metal computer hardware, virtualized platforms, high-
end graphics workstations, IBM Power little endian, IBM System Z, and in the cloud.
RHCSA – EX200
Anand Gupta
This chapter will focus on installing the operating system with an ISO image. Network-based
installation is beyond the scope of this course.
The configuration can be done in any sequence that you prefer. You should have the minimum
mandatory configuration data handy and be ready to enter it when prompted. Some of the key
configuration items are language, keyboard type, time zone, disk partitioning, hostname/IP,
software selection, root password, user information, and kdump.
1. Visit www.vmware.com
2. Navigate to Resources menu and choose Product Downloads. It will redirect you to a new web
page in the next tab of the browser.
3. Scroll and locate the VMWare Workstation Pro entry under Products (A-Z) category.
4. Click on the Download Product link. The screen will look like the below screen.
6. Click on the DOWNLOAD NOW button. It will now ask you to either log onto your VMWare account
or create an account to process, as shown in the below image.
7. Log into your account using your credentials or create account and then login by clicking on Sign
up now.
RHEL
VM1 VM2
Fig 1-15. Folder hierarchy on Windows computer
Fig 1-21. Virtual Machine guest operating system and version selection
RHCSA – EX200
Anand Gupta
7. Type VM1 in the “Virtual machine name:” text box and type “D:\VMs\RHEL\VM1” in the text box
under “Location:”, click on the Next button to proceed. Alternatively, you can click on Browse
button and select the VM1 folder created in the Activity 1-4.
• Bridged networking configures your virtual machine as a unique identity on the network,
separate and unrelated to its host.
• Network address translation (NAT) configures your virtual machine to share the IP and MAC
addresses of the host. The virtual machine and the host share a single network identity that is not
visible outside the network. NAT can be useful when you are allowed a single IP address or MAC
address by your network administrator.
• Host-only networking configures your virtual machine to allow network access only to the host.
This can be useful when you want a secure virtual machine that is connected to the host network,
but available only through the host machine.
• Custom networking lets you configure your virtual machine's network connection manually.
If you select the Typical setup path in the New Virtual Machine Wizard when you create
a virtual machine, the wizard sets up bridged networking for the virtual machine.
The following sections describe the devices that make up a virtual network.
4. The installer program shows a welcome screen with a long list of supported languages that you
could use during the installation. The default is set to English. Click Continue to accept the default
and move on.
RHCSA – EX200
Anand Gupta
5. The “Installation Summary” screen appears next, as shown in below image. You have the
opportunity to make all necessary configuration changes prior to starting the installation. This
screen presents a single interface to configure localization (keyboard, language, date, time, and
time zone), software (installation source and software selection), and system (disk selection and
partitioning, network and hostname assignments, etc.)
There is no particular sequence to configure these items. If you do not wish to change a non-
highlighted item, simply leave it intact and the installation program will apply the default settings
for it.
6. Adding Support for Keyboards and Languages: Anaconda presents additional choices for
keyboard layouts and languages for use during and after the installation. This should only be done
on systems where support for multiple keyboard layouts and languages is required. The default is
the US English for both.
RHCSA – EX200
Anand Gupta
7. Configuring Time & Date: Click Time & Date to set the time zone (region and city), date, and time
for the system. See below image. Click Done in the upper left corner to save the changes and
return to the Installation Summary screen.
8. Choosing an Installation Source: You can set the installation source for RHEL 8. By default,
Anaconda chooses the auto-detected local media (DVD, USB flash drive, or ISO image) that was
used to start this installation. For this demonstration, leave the installation source to the default.
Click Done to return to the Installation Summary page.
RHCSA – EX200
Anand Gupta
9. Selecting Software to be Installed: You can choose the base operating environment that you want
installed. Base environments are predefined groups of software packages designed for specific
use cases. You may choose the best which fits to the requirement as describe below.
Choosing a base environment in the left pane reveals additional components on the right that
may be ticked for installation along with the selected base environment.
The installer automatically picks and installs prerequisite software components to fulfill
dependency requirements for a successful installation. The default base environment is “Server
with GUI” for this demonstration. Leave add-ons to the default as well. Click Done to return to the
Installation Summary page.
RHCSA – EX200
Anand Gupta
10. Configuring Installation Destination: The Installation Destination allows you to choose an
available local or remote disk for partitioning and installing the OS on. Anaconda selects
“Automatic partitioning selected” (highlighted in red) on the Installation Summary page, which
you can change on Installation Destination. By default, the 20GB virtual disk you assigned to the
VM initially is automatically picked up by the installer.
11. Configuring Network and Hostname: Assigning appropriate IP and hostname are essential for
system functionality in a network environment. Click Network & Hostname on the Installation
Summary page. Anaconda detects all attached network interfaces, but it does not automatically
assign them IPs. Also, the default hostname is set to localhost.localdomain. You need to modify
these assignments so that your system is able to communicate with other systems on the
network. Change the hostname to server1.example.com in the Hostname field. For IP
assignments, there are a couple of options. You can obtain them automatically from an available
DHCP server by simply sliding the ON/OFF switch located in the top right-hand corner. Please refer
the below images.
RHCSA – EX200
Anand Gupta
12. Setting root Password: Click on the Root Password to set the administrative account password.
Type and retype the root password and click on Done.
RHCSA – EX200
Anand Gupta
13. Beginning the installation: You’re now on the Installation Summary page. You still have the
opportunity to go back and configure or reconfigure any items you’ve missed. Once you are
satisfied, click Begin Installation at the bottom right to initiate the installation based on the
configuration entered in the previous steps. Anaconda will now partition the selected disk and
install the software. Any data previously stored on the disk will be erased and unrecoverable.
RHCSA – EX200
Anand Gupta
14. Concluding Installation: When the required setup is complete and all software packages are
installed, a Reboot button will appear at the bottom right on the Configuration screen. Click this
button to reboot the new system. After the system reboots we need to perform the post-
installation task.
15. Performing Post-Installation Tasks: The system initiates the Initial Setup application upon restart
so that you can complete certain post-installation tasks.
RHCSA – EX200
Anand Gupta
Click on the License information link under LICENSING, and in the next screen check the box next
to “I accept the license agreement”, click on the Done button.
The second item on the Initial Setup screen helps you register this system with Red Hat’s
subscription management service to enable it to receive automatic software updates and perform
certain other management tasks. You can register your virtual machine using the account
credentials of Red Hat or can leave this item intact.
The third item on the Initial Setup screen helps you to Create user account. Click on the User
Creation. Type Full name, User name, choose account type, specify and confirm user password,
and click on the Done button to create the user. Click on the Finish Configuration button. This
brings the installation and initial configuration of RHEL 8 to a successful completion.
RHCSA – EX200
Anand Gupta
Logging In and Out
Now that the installation is complete, you can log on to the system. You selected the Server with GUI base
environment, which includes graphical desktop support to interact with the system. You can now use the
account created in previous step to log in.
1. On the graphical logon screen, click the user account and enter the password when prompted
and click on Sign
RHCSA – EX200
Anand Gupta
The login process continues, and a Welcome screen pops up that shows the language that you
had selected at the beginning of the installation. You can change it to a different language if you
so desire. Click Next.
2. Add an Input Source to be used on the next screen. The default is the US English keyboard type
that you had selected earlier. Click Next.
3. Enable the geographical location of this system to be automatically determined for applications
to use. The default is set to on. Click Next.
4. You can connect one of your online user accounts such as Google, Nextcloud, Microsoft, or
Facebook in order to access your email, contact, and other information and services. Click Skip for
this demonstration.
5. Click “Start using Red Hat Enterprise Linux” on the final “Ready to Go” screen as shown below.
RHCSA – EX200
Anand Gupta
6. A Getting Started help screen pops up (Figure 1-41). Here, you can watch videos on how to launch
applications, switch tasks, and use windows and workspaces in the Graphical User Interface (GUI).
The help is available in text format as well. You can close this window by clicking the X (exit)
button at the top right.
Logging Out:
Logging out of the system is easy. Click on the down arrow (top right), expand user1 (the name of the
logged-in user), and click Log Out. The user will be signed out and the main login screen will reappear.
RHCSA – EX200
Anand Gupta
Task 1-1:
1. Configure your computer as per the lab setup discussion in this chapter.
2. Create VM1 and VM2 virtual machines and install RHEL 8 on them.
3. Create LAN Segment named as “Local” and ensure both VMs are connected to LAN Segment.
Chapter Summary
In this chapter, we started by looking at Linux history and exploring available versions of Linux from Red
Hat. We examined various pre-installation items for our lab environment to prepare for a smooth
installation in order to practice the exercises. We demonstrated downloading the images for VMWare
Workstation software and RHEL 8. We built a virtual machine and installed RHEL 8 in it. We completed
post installation tasks to conclude the demonstration. Finally, we logged in to the new system at the
console to verify the installation.