Table of Contents
Install RHEL 8 on VirtualBox
- In this article, we will see how to install RHEL 8 (8.6) on virtual box
- Below 7 steps can be used to install RHEL8 on virtualBox
Step 1: RHEL 8.6 ISO download
- Login to RHEL Developers portal and navigate to RHEL download page .
- Select the ISO type, for this exercise i have used DVD iso. post selecting you will be redirected to download page
- Click on Download RHEL at no-cost
- Download should start immediately, if you are facing any issue in download, you can use the direct link for downloading
- In the drop down, you can select the required software you want to download
Step 2: Create Virtual Machine
- Click on New or the gear button to start creation of the VM. Create a Redhat Based Virtual Machine on the Virtual Box.
- Name the VM (RHEL 8.6)
- By default, Type and Version will get filled, if not Version as Red Hat (64 bit) and Select Type as Linux
Assign RAM to RHEL VM
For smooth VM operation, it is recommended to use 4096 MB, ( 2048 MB is also sufficient)
Step 3: Create Virtual Hard Disk
- Create a virtual hard disk of size 40GB
- Below screen shot shows the same
- Out of the available Hard disk file type , Select Virtual Hard Disk (VHD)
- Storage on physical hard disk can be set as "Dynamically allocated"
- Provide necessary disk size, 40GB in our case, and select the location for the vdi file to be placed
Step 4: Select Bridged Adapter for Networking
If you have downloaded minimal ISO, it is required to have internet connection to the created VM. Below steps can be used to do the same
- Navigate to Network and Select Adapter1
- Select Bridged Adapter in Attached to dropdown
- Select the check box to Enable Network Adapter and Cable Connected
Step 5: Attach RHEL 8.6 Image
- The downloaded ISO image need to be attached to the VM
- In VM settings, Navigate to storage and Click on Controller: IDE
- Click on Empty and in the attributes tab , Click on the Disk icon
- Select the Choose a disk file , which opens up the file explorer
- Navigate to the downloaded ISO image and select the image
Step 6: VCPU allocation to the VM
- In VM settings, Navigate to System and Select Processor
- Under Processor tab, assign required VCPUs, by default 1 VCPU will be allocated
- In my case I'm assigning 2 VCPUs
Step7: Start RHEL Linux Installation
- Select the created VM and click on the Start to begin the RHEL linux 8.6 installation on VirtualBox
- Up on starting the VM a screen will be loaded. Select Install RHEL Linux (use keyboard up and down keys) and click on Enter
- In the welcome screen, we can select the preferred language for installation process
- Create password for root user by selecting Root Password in the installation summary screen
- Assign hostname(optional) and enable the network interface
- Once the required configuration is done, the Begin installation button become active and Click on Begin installation
- Once the installation process is started, it will take some for installation process to complete. Make sure internet is available to the machine as some package will be downloaded as part of the installation
- Once installation is completed, Reboot machine, use Reboot System button seen in the screen
- Once Reboot is initiated, the VM will be booted from the OS installed on the VHD
- Once the boot up is successful, login prompt can be seen. you can use root user and the root password set during the configuration stage to access the VM
Thanks.