Installing Red Hat Enterprise Linux in a Virtual Machine

 

If you haven’t already, Check out my previous post explaining how to create a RHEL VM with installation Media: Creating a Red Hat Enterprise Linux Virtual Machine

Quick Notes: when a virtual box VM is powered on, it will capture your mouse and keyboard automatically. Press the CMD (macOS) or left CTRL keys to remove your mouse from the VM.

Entering the Installer

Once a RHEL VM has been set up, and the installation ISO has been attached, we can begin the setup process by powering on the machine. When the machine has been powered on, it will prompt you to select from a few options. Select the first option to begin the installation for RHEL.

![RHEL Installation prompt](/images/Posts/Installing_a_rhel_vm_images/DraggedImage.png” class=”center”>

The installation process

  1. When the machine boots into the installer you will be prompted to select a language.

  2. following language selection, there is a series of configurations that need to be made in order to continue the installation process

  3. Firstly, configure the root account password. If the password fails the dictionary check (ie. it is a simple word) it will require you to click DONE twice (this is because it is a bad password)

  4. Next begin the network configuration

    Here you need to set the Hostname (or leave it default) and toggle the ON switch next to Ethernet to allow internet connection to your VM

  5. After the network setup is complete, move on to the “Installation Destination” section, this is where you will configure the hard drive to install the VM on (the only hard drive installed will likely be the VDI that was created earlier).

  6. If you are using an official RedHat distribution, you will need to click “connect to RedHat” and log in with your developer account details, this will register this installation of RHEL to you.
    1. By default, the “Installation Source” should be set to “RedHat CDN”. This is the easiest installation method. Other methods that can be selected include installation from an ISO or over the network
    2. Once registered, Software Selection is enabled, allowing you to select which type of RHEL install is required (server, workstation with GUI etc.)

    For most applications, installing the “workstation” build is recommended, as it installs all GUI features and ignores most server-specific software. If a server install is required however, server with GUI is recommended for management within a VM.

  7. Once all of the installation dependencies have been set, the “user creation” option will appear, that will prompt you to create a username and password to log into the system with.

  8. Once the user has been created, we can begin the installation.

This process will take a while as it requires a download of approximately 1.7GiB. Once the process is complete, you will be greeted with the login screen for your user. You can now log in and begin using RHEL!