How to install Red Hat Linux Enterprise 8.1 in VirtualBox

In this tutorial, learn how to install Red Hat Linux Enterprise 8.1 in VirtualBox.

A new version of RedHat’s flagship Linux operating system has been published. I’ll show you how to install Red Hat Enterprise Linux 8.1 in VirtualBox in this post. After the installation, we’ll register/subscribe to Red Hat to gain access to all of Red Hat Linux Enterprise 8’s features.

If you have not install VirtualBox yet, please follow our guide How to install Oracle VirtualBox in Windows 11/10

Let’s get started

Step 1 – Download Red Hat Linux ISO image

The ISO images for Red Hat Linux 8.1 can be downloaded from one of two Red Hat websites.

  • https://access.redhat.com/ – You can download the lastest version of Red Hat Linux 8, which is only available to enterprise clients and is not free, from this page. This, on the other hand, comes with a one-year trial period. In this blog, we will use and activate this version, which will be detailed later in the blog.

  • https://developers.redhat.com/ – You can get the developer version of Red Hat Linux 8, which is not the latest release by Red Hat, from this website. It usually lags behind the current release by one version. The developer license must be activated, which is covered later in this blog.

Step 2 – Locate the downloaded file

If you haven’t altered the default settings, you’ll find the downloaded image file in the downloads folder. rhel-8.1-x86 64-dvd.iso is an example of a filename. The file would be roughly 7.3 GB in size.

Step 3- Open VirtualBox

Open VMware Workstation Player from the Windows Start menu, or if you have a VMware Workstation Player icon on your desktop, from there.

Step 4 – Launch VirtualBox Create Virtual Machine installation wizard.

This can be started by clicking the red-hued gear sign. On Windows, the keyboard shortcut is Ctrl + N.

Enter a name for the virtual machine in the Create Virtual Machine dialog box. VirtaulBox will also create a folder in your computer with this name to keep the virtual machine files, the path to which is normally something like “C:UsersUser nameVirtualBox VMs” by default. In Windows, your user name is the name of the user you are logged in as, which will be different for each of us. Set the amount of RAM that will be allotted to the virtual machine. I generally believe that 1 GB is insufficient and recommend that the RAM be increased to 2 GB.

Select Type: Linux
Version: Red Hat(64 bit)

Choose Click create to continue.

You must now specify the amount of disk space to be allocated. I’ve set a limit of 60 GB. Leave everything else alone. To continue, click Create.

The VirtualBox manager panel will now display the newly generated VM.

Step 5 – Change Virtual machine settings

We’ll need to alter the virtual machine’s settings now. Select Settings from the drop-down menu.

Make the following changes in the settings dialog box:

1. Go to General -> Advanced tab – Change Shared clipboard and Drag’n’Drop to bidirectional.

 

2. Go to System -> Motherboard tab – Uncheck floppy.

3. Go to System -> Processor tab – The performance improves when the number of processors is increased to two. If you like, you can leave it alone. Leave the rest of the options alone.

4. Go to System -> Acceleration tab – Accept the defaults and leave the settings alone.

5. Go to Storage-> Optical Drive attribute – Pick Choose Virtual optical Disk file from the disk icon and navigate to the ISO image you downloaded.

6. Click OK to exit settings and return to VirtualBox Manager screen.

Step 6 – Click on the Start Icon to start the virtual machine

This will start the installation process and turn on the virtual machine.

Step 7 – Red hat Enterprise Linux 8 installation begins

The Virtual Machine Window will open with Red Hat Boot Loader after the VM has started. Click Inside the Window and Press I to select the first option, or leave it alone; the first option will be selected automatically.

Wait for the Media Check to complete.

The process will continue:

The Installation Wizard will begin, and you will be prompted to choose a language.

To continue, click Continue.

Step 7 – Red Hat Enterprise Installation Summary

You’ll now see a list of choices that must be configured before the installation can begin. Let’s take it one at a time.

Configure Time and Date

We can find the Time and Date option under localization; click it to set your time zone. You can choose your time zone by entering the region and city or by clicking on the map. To set the date and time, click Done.

Software Selection

You can decide which environment you want to install in Software selection. I’ll choose Workstation because I’ll be putting it on my personal laptop. You can choose server environment if you need a Red Hat Server. You can install additional applications based on your requirements, such as container management. It’s fine if you don’t choose anything in the supplementary software section; you may manually install them later.

To continue, tap Done.

Installation Destination

You must now choose the disk on which Red Hat will be installed. To pick the disk, click ATA VBOX HARDDISH and leave the storage setting as is, which is Automatic.

To continue, tap Done.

Network and Host Name

You can choose which network to use here. It will be turned off at first. Slide the slider to turn it on. I usually don’t alter the hostname and keep it alone.

To continue, tap Done.

System Purpose

This is where you can indicate why you wish to utilize Red Hat Linux. I’ve decided on:

Role: Red Hat Enterprise Linux Workstation
Red Hat Service Level Agreement: Self-Support
Usage: Development/Test

 To continue, tap Done.

Begin Installation

You can begin the installation procedure after you’ve completed all of the requirements. To begin the installation procedure, choose Begin Installation.

Step 8 – User Settings

You’ll see the user settings screen as well as the progress of the installation.

While the installation is ongoing, we can change the root user’s password and create a user other than root.

Set root password

To set the root password, go to root password not set and click on it.

Type the root password and tap on Done.

Create User

By selecting User creation, you can create a user other than the root user.

Provide your preferred user name and password. If you want to provide root or admin privilege to the user, check the box Make the user Administrator.

To continue, tap Done and wait for the installation to complete.

Step 9 – Installation Complete – Reboot

You will be prompted to reboot after the installation is complete.

Make sure that you have removed the ISO image from device. In the Device-> Optical Drives -> Remove Disk from Virtual Drive. If you skip this step, the installation will start from the beginning. So proceed with caution.

To restart the system, tap on Reboot.

Step 10 – Licence Agreement and Subscribe to Red Hat

The boot loader will appear after the System has restarted. Choose the first option or wait a few seconds for the system to boot up automatically using the first option.

The initial setup screen will appear, prompting you to accept the license agreement and subscribe to Red Hat to register the product.

Accept Licence agreement

To read and accept the license, go to License Information. To continue, check the box that says “I accept the license agreement” and then click “Done.”

Subscribe with Red Hat to activate the product

You can skip this step and click on Finish configuration to continue to Red Hat Linux login screen. But you will have to register Red Hat from terminal after you login.

The steps required to register from terminal using subscription manager is described later in the blog under alternate registration method.

To open the subscription window, tap on Subscription Manager.

The Subscription Manager window will appear; keep everything as is and click Next.

Click on the register after entering your Red Hat login credentials.

Wait for the process to finish; you’ll see a window for the registration process; this may take some time.

You’ll be asked to confirm your subscription now. To continue, click attach.

The registration confirmation message will now appear. To proceed, click Done.

Finish Configuration

Now that you’ve completed the steps, click Finish Subscription to log into Red Hat Linux.

Step – 11 – Login to Red Hat Enterprise Linux 8

You’ll see the Login screen with your user name after you click Finish Configuration. Click on the username and type in the password you created before.

You can login as root use as well as with the username you created. The password will be what you setup in earlier steps.

In this blog, I will login with my user account and not as root.

To login, write the password.

The Red Hat 8 desktop will appear. That’s all there is to the installation process.

Step – 12 – Install Guest Editions to enable Full Screen Mode

For Red Hat Enterprise Linux 8, Virtual Box does not go to full screen mode by default. To activate full screen mode, you’ll need to manually install VirtualBox Guest Editions.

Please refer to my blog for instructions on how to set up Virtual Box Guest Editions and enable full screen mode.

Use the below steps to Register and Subscribe to Red Hat using command line or terminal if you were not able to Register or skipped registration during installation.

Alternate method – 2 – Red Hat Linux 8 activation – Register System With Red Hat using Command line tool

Many functionalities are disabled when you install Red Hat until you register with Red Hat. Your Red Hat installation will be useless if you don’t register because you won’t be able to access software or install anything.

Check the status of your Red Hat Subscription

Red Hat Subscription Manager can be used to verify the status of your subscription.

Navigate to Activities -> Show Applications -> Red Hat Subscription Manager

The dialog box Authentication Required will appear. Click Authenticate after entering your password.

The status as not registered will appear in the Subscriptions dialog box.

Register System with Red Hat Subscription manager

Red Hat Subscription Manager is included with Red Hat to help you manage your Red Hat subscriptions. To register, we’ll utilize the terminal and the Red Hat Subscription Manager command line tool.

Open terminal: Activities-> Terminal

CHECK SUBSCRIPTION STATUS USING TERMINAL

In the terminal, entersubscription-manager statusand provide your password for root access when prompted.

The state is uncertain, as you can see in the output.

REGISTER WITH RED HAT

In terminal, enter the command to register Red Hat Linux with Red Hat.

subscription-manager register

When prompted, give root access.

Provide your Red Hat account’s username and password. This will allow Red Hat to identify your system.

SUBSCRIBE TO RED HAT

You must subscribe to Red Hat after registering your machine with Red Hat. In a terminal, type the following commands.

subscription-manager subscribe

If you enter the root password when prompted, the machine will be subscribed to Red Hat.

CHECK SUBSCRIPTION IF IT IS SUCCESSFUL

Let’s see if our system has registered with Red Hat successfully. In a terminal, type the following commands.

subscription-manager list –consumed

If prompted, provide your root password; you will see that you have subscribed to the developer version of Red Hat

Linux Enterprise 8 under subscription name.

Your subscription is good for one year from the start and end dates, as you can see if you scroll below.

Now you can see that the system is registered in the Red Hat Subscription Manager.

Update Red Hat Enterprise Linux

You may now access all of the repositories and software after successfully registering and subscribing to Red Hat.

Navigate to Activities -> Show applications -> Software

Tap on Software

Let’s try if we can update the system to check if it’s working.

When the software window appears, go to Updates and select Download to begin the update process.

Wait for the procedure to finish before clicking Restart and Update. To restart the system, click it.

You’ll see the login screen after the update is finished, and you’ll be able to log in to Red Hat Enterprise Linux.

Thank you for taking the time to read my blog.

 
Loading Facebook Comments ...