Red Hat Enterprise Linux 8 installation tips and tricks (2024)

Posted: August 28, 2019 | | by Ken Hess (Sudoer alumni)

Image

Red Hat Enterprise Linux 8 installation tips and tricks (1)

[Want to try out Red Hat Enterprise Linux?Downloadit nowfor free.]

Depending on how long you've used Linux, you know that installation is easy but it hasn't always been. Remember the first thing you did right after installing? If you said, "Recompile the kernel," you're correct. It was a necessary part of the installation. Then, if you wanted a graphical user interface (GUI), you'd have to edit the XF86Config file and spend at least an hour tweaking video. Linux has come a long way since those dark days, but we're not quite to a foreheadinstall yet. (A forehead install is one where if you fell asleep and your forehead hit the keyboard, the installation would begin, proceed, and finish without further interaction.) There are a few things you still need to know to optimize your installation.

One of those things is your filesystem configuration. How large do you want your base filesystem to be? How many partitions do you want? Do you wantseparate mount points for certain directories? Are you going to configure a swap space? Do you want to use LVM vs. a standard filesystem? Others are static vs. dynamic IP address, base environment, environment add-ons, and security policies.

Note: This article covers Red Hat Enterprise Linux (RHEL) 8.

Installing Red Hat Enterprise Linux 8

Start by downloading the latest RHEL 8 ISO from the customer portal or from Red Hat Developer, then begin the installation and follow along with the screenshots to explore your options.

As soon as you boot to the ISO, USB, or DVD containing RHEL 8, you'll see the following screen:

Image

Red Hat Enterprise Linux 8 installation tips and tricks (2)

Select Install Red Hat Enterprise Linux 8.0.0 and press Enter. On the next screen, select your language and click Continue:

On the Installation Summary screen (below), you have your system customization options:

Image

Red Hat Enterprise Linux 8 installation tips and tricks (4)

This screen gives you the opportunity to change any or all of the options shown. At a minimum, I suggest that you change the timezone to the one that matches your system's location.

Notice that the default for Software Selection is Server with a GUI,so you'll need to change that to Server, Workstation, Virtualization host, or Minimal installation. My standard choice for RHEL is Server—for CentOS, I choose a minimal install and then customize with individual packages later.

Note:I don't install a GUI on servers because the graphical interface and all of its components are not necessarily something I want on a server system. They take up a lot of spaceand introduce potential vulnerabilities associated with the extra software.

What you select in the right-hand window depends on your needs. I suggest that you install everything that you want now rather than waiting until the system is installed and online. The reason for this is that you can take a snapshot of your base installed system as a reference point before installing more packages for disaster recovery purposes. Typically, I select Hardware Monitoring Tools andPerformance Tools as a baseline system. I prefer not to install some of the other tools here because I might not want all of the included tools and their dependencies on my system. Make all of your selections and then click the Done button in the upper left of the screen to complete this stage.

The next two screenshots show you all available options in this section:

Image

Red Hat Enterprise Linux 8 installation tips and tricks (5)

Back on the Installation Summary image, the next setting to change is on the Installation Destination page:

Image

Red Hat Enterprise Linux 8 installation tips and tricks (7)

I'm installing this system into a VirtualBox virtual machine (VM) so the disk identification is8GB ATA VBOX HARDDISK.

Automatic is the default choice for Storage Configuration. You can use that setting, but I suggest selecting Custom so that you can make your own layout and mounting choices, so select Custom and any other choices you like, and then click Done to proceed to the Manual Partitioning page:

Image

Red Hat Enterprise Linux 8 installation tips and tricks (8)

For a server, I strongly suggest using LVM (Logical Volume Management) so that you have the most control over your storage. LVM is an enterprise-grade partitioning and storage management solution that allows you to dynamically resize partitions. LVM also lets you name your partitions with meaningful names like data, logs, database, etc.Other advantages include striping, mirroring, and snapshotting.

The next partitioning screen allows you to createfilesystems:

Image

Red Hat Enterprise Linux 8 installation tips and tricks (9)

On this screen, click the (+) to create a new mount point, assign a size in MB, select a filesystem type (BIOS Boot, ext2, ext3, ext4, swap, vfat, or xfs), and select your volume group. You can also optionally provide a label for the filesystem and choose to encrypt the filesystem.

I suggest using XFS because it has enterprise-level features such as journaling, which facilitates rapid crash recovery. Create all partitions here and click Done when complete. When you select Done, you're presented with a Summary of Changes screen that you can either acceptor click to return to the partitioning screen for corrections and additions:

Image

Red Hat Enterprise Linux 8 installation tips and tricks (10)

Once you accept the changes, you're returned to the Installation Summary page. It's time to configure your network and hostname:

Image

Red Hat Enterprise Linux 8 installation tips and tricks (11)

Turn on all of your wired Ethernet ports and give them static IP addresses (Servers) using the Configure button. Provideyour system with ahostnamefollowed by your full local domain name.Click Done when finished.

When you return to the Installation Summary page, you can now click Begin Installation, or you can specify your system's purpose and optionally install a higher level of security using the Security Policy option. The Security Policy page allows you to select PCI-DSS security integration or OSPP configuration controls. Click Done when complete.

Once you select Begin Installation, you'll notice that the root user's password needs to be set. You can, and should, configure a regular user account on the system, even if you remove it later. The root user can only log in via the console. To log remotely into a new system, you'll need a user account set up as an administrator that can issue the sudo command or su to root:

Image

Red Hat Enterprise Linux 8 installation tips and tricks (12)

Updating your new system

After installation is complete, you're prompted to reboot the system. Once that's finished, you can log in via the console, or across the network using the account you set up during installation. The first thing you need to do immediately after is to update the system. The yum command is the traditional method of updating, which is now a symlink to the dnf command.

To update, you'll need to register your system with Red Hat and then issue the update command:

$ sudo yum -y update

This final step is very important: You need the latest security patches and updates so that your new network-connected systemis not vulnerable to exploits due to outdated software. Fortunately, SELinux, IPTables, and firewalld are all in place to help protect you upon first boot. The type of system, software, and security you select during installation is largely dependent on the system's purpose, line of business, and location within your network. Always use the most conservative settings for any installation to minimize possible attack vectors.

With this task complete, you can make your base image—if desired—and begin the rest of the configuration.

Red Hat Enterprise Linux 8 installation tips and tricks (2024)

FAQs

How much RAM is required to install RHEL 8? ›

Memory
MemorySize
Minimum recommended system memory1.5 GB per logical CPU
Maximum certified system memory6 TB

How long will RHEL 8 be supported? ›

Full Support will end for RHEL 8 on the 31st of May 2024. The product will enter its Maintenance Support stage meaning it will still receive updates for security advisories and high-priority bug fixes, but no new functionality or hardware enablement will be provided.

What is special about Red Hat Enterprise Linux? ›

Red Hat Enterprise Linux gives you a consistent, stable, and high-performance platform across hybrid cloud deployments, along with built-in manageability and integration with the broader Red Hat management and automation portfolio.

How to login as root in Red Hat Linux 8? ›

To log in to the root account, at the login and password prompts, type root and the root password you chose when you installed Red Hat Linux. If you're using the graphical login screen, similar to Figure 1-1, just type root in the box, press Enter and type in the password you created for the root account.

Can you still use yum in RHEL 8? ›

YUM has been used for quite a long time. But, now in RHEL 8, we have a modest version of “yum” called “dnf” stands for Dandified YUM. Although both the commands work fine in Redhat 8 Linux but dnf is much faster, as some of the bugs have been removed.

Does RHEL 8 use dnf? ›

On Red Hat Enterprise Linux 8, installing software is ensured by the YUM tool, which is based on the DNF technology (YUM v4).

What is the difference between RHEL 8 and RHEL 9? ›

Both RHEL 8 and RHEL 9 support Docker and Kubernetes, making them well-suited for containerized applications. RHEL 9, however, extends its container orchestration capabilities further, providing enhanced support for managing and scaling containerized workloads.

What are the disadvantages of a Red Hat? ›

Disadvantages of Redhat:
  • It has a long history of security holes.
  • It isn't designed for remote management.
  • Like all flavors of linux, it has large portions of code which were written sloppily several years ago but don't get replaced because they are "good enough".
Feb 26, 2001

What are the benefits of RHEL 8? ›

RHEL 8 has got the TCP networking stack version 4.18, which could provide higher performances, better scalability, and more stability. Performances are boosted especially for busy TCP server with a high ingress connection rate.

What is the bootloader used with Red Hat Enterprise Linux? ›

GRUB 2. Red Hat Enterprise Linux 7 includes a new boot loader, GRUB 2, which is more robust, portable, and powerful than its predecessor, GRUB, which is the boot loader that Red Hat Enterprise Linux 6 uses.

How to install RHEL 8 on vmware step by step? ›

My library
  1. Install the license key.
  2. Install and configure the Master Plugin.
  3. Check the RaaS configuration file.
  4. Log in for the first time and change default credentials.
  5. Accept the Salt master key and back up data.
  6. Set up SSL certificates.
  7. Set up Single Sign-On (SSO)
  8. Configure Automation for Secure Hosts.
Mar 3, 2023

How to install Apache RHEL 8? ›

How to install Apache on RHEL 8 / CentOS 8 Linux step by step instructions
  1. First step is to use dnf command to install package called httpd : # dnf install httpd.
  2. Run and enable the Apache webserver to start after reboot: # systemctl enable httpd # systemctl start httpd.
Jun 22, 2019

What is Red Hat Linux 8? ›

Red Hat Enterprise Linux is the world's leading enterprise Linux platform, now optimized for development. With new developer-centric features like container tools, advanced language support, and application streams, Red Hat Enterprise Linux 8 (RHEL) is the most developer friendly Linux ever.

How to create repository in Linux Red Hat 8 step by step? ›

RHEL8 Local Repository Setup
  1. Step 1: Setup Nginx on Repository Server. First start by installing Nginx HTTP server from the EPEL repository using the YUM package manager as follows. ...
  2. Step 2: Creating a local repository. ...
  3. Step 2: Create Script and Cron Job to Update Your Repositories (on repository server only)

Top Articles
Latest Posts
Article information

Author: Nathanael Baumbach

Last Updated:

Views: 6226

Rating: 4.4 / 5 (75 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Nathanael Baumbach

Birthday: 1998-12-02

Address: Apt. 829 751 Glover View, West Orlando, IN 22436

Phone: +901025288581

Job: Internal IT Coordinator

Hobby: Gunsmithing, Motor sports, Flying, Skiing, Hooping, Lego building, Ice skating

Introduction: My name is Nathanael Baumbach, I am a fantastic, nice, victorious, brave, healthy, cute, glorious person who loves writing and wants to share my knowledge and understanding with you.