Linux Installation Guide

Suchitra Giri
7 min readDec 5, 2021

You will need

In this guide, we will be using Linux distribution RHEL, so before following this guide you require two things:

  • DVD iso file downloaded in the machine
  • Virtualbox installed, can download from here

Step By Step Instructions

Step 1: Open the Virtual Box and Configure the virtual setups

Go to “new” and create a virtual machine for the Linux distro.

In this step, we have to do these

1. Give the name of your virtual machine.

2. This signifies the location of your VM in the local machine.

3. Select the type of Operating system “Linux”

4. Select the version “Red Hat(64-bit)”

Then click “next” and proceed.

Select the RAM size

The recommended memory size is 1 GB for creating a virtual machine, but if we need more memory and also have enough RAM in our PC, then we can extend the memory size according to our requirements.

But here we will go with the default one. (1024 MB)

Just follow the steps shown in screenshots, It’s quite straightforward

Note: Please read all the steps and procedures before moving forward, it will help to understand the setup and concepts as well.

Create a virtual hard disk

Create a virtual hard disk of size 8 GB recommended, we can increase the size as well.

Choose the file type

Here, go with the default and proceed with “next”

Storage on the physical hard disk

Two types of storage Dynamically and fixed.

Dynamic Allocated: In dynamically type storage, it will only use space on our physical hard disk as it fills up.

Fixed size: A fixed size hard disk file may take longer to create on some systems but is often faster to use.

Here we will go with “Dynamically allocated”.

After this step, we have to go through with “File location and storage”. And click “create”.

Step 2: Mount the Linux on VM

Now our virtual machine is created and ready to mount the operating system.

Go to “setting” and follow the below steps.

Storage setup

1 Select “storage”, 2 choose “empty”, 3 “disk icon” and 4 then select the iso file from your local folder. (Which we downloaded from the internet)

Network choose a “Bridge Adaptor”

  • Host-Only: The VM will be assigned one IP, but it’s only accessible by the box VM is running on. No other computers can access it.
  • NAT: Just like your home network with a wireless router, the VM will be assigned in a separate subnet, like 192.168.6.1 is your host computer, and VM is192.168.6.3, then your VM can access outside network like your host, but no outside access to your VM directly, it's protected.
  • Bridged: Your VM will be in the same network as your host, if your host IP is 172.16.120.45 then your VM will be like 172.16.120.50. It can be accessed by all computers in your host network.

Step 3: Start Installation

Click “start”, it will start installing Linux distro RHEL on your virtual machine.

Note: read carefully each and every step.

Now follow each and every step given in screenshots and do some basic configurations.

Select the Language

Select your preferred language, here we will go with “English”.

Choose your preferred time zone and date

Click on “Time & Date” and select your time zone on the basis of your region and city.

After selecting the “Region” and “City” proceed with “Done”.

Note: Here, Region and city are selected by the user preference. Choose your own which is suitable for you.

Software Selection

Now click on “Software Selection” and select the “Workstation”.

Although there are many other options, but “Workstation” is more user-friendly and easy to use.

Installation Destination selection

After clicking the “Installation Destination” in this step, select the default “sda” and proceed with the “done” button.

Disable the KDUMP

Straight forward step, in this step we have to disable the “KDUMP”.

kdump requires memory to run, the amount of memory you have assigned to the logical partition might not be the actual amount of memory that the partition is able to use.

Remember: It is normal for kdump, when it is enabled, to reserve memory.

Connect Network and Host Name

Click on “Network and Host Name”

“Turn on” the option and proceed with “Done”.

Click “Begin Installation” and proceed

Step 4: User Configuration

Click on “Root Password” for setting up the password for authentication.

Set the password confirm the password and proceed with “Done”.

Create the new user

Click on “User Creation” and fill your user details.

After installation process complete, reboot the system. Click on “Reboot” and reboot it.

Step 5: Close the VM forcefully

In this step, we have to close our VM forcefully by pressing the cross symbol on top right corner.

Step 6: Now again open the Virtual Box and go to “settings”

Select “System” and move “Hard Disk” to the top and proceed with “ok”.

Step 7: Start Linux again

Do some initial setup as a first-time user and finish the configuration.

Accepts the license agreement and proceed with “Done”.

Now, all set, click on “FINISH CONFIGURATION”.

Step 8: Sign in with user credentials

Now, you are ready to use with Linux. Just a few more steps…

Login your Linux system with user credentials. Which we have sat already in our previous steps.

Nothing to do much, just click on “next” -> “next” -> “next” -> “skip”.

You are ready to use

Result:

Finally, we did it…

Congratulation, now all are set, you can use your Linux freely!!

--

--