Wednesday, October 2, 2013

How to Install RedHat on a Virtual Machine Step by step



How to Install RedHat on a Virtual Machine Step by step

In order to install an OS you will always require a bootable source. In my case I am using a RHEL image stored in my local windows system.

Step 1 – Install a “Virtual machine” in your system on which you can install the RedHat. Here I am using a VM ware workstation.

Step 2 – Run the Virtual machine a window will open. “Screenshot”
Click on New Virtual Machine to proceed.
Proceed with typical configuration.
The next step will ask you for the location of your bootable device. Select the Installer disk ( If you are using DVD )or Installer disk image (If you are using Disk Image ,provide location of image in this case). Click next
Fill the form with your details, Click next
Provide name to your OS, Click next
Most Important Step – Allocate the hard disk space to your OS. I am providing it 20 GB as it is a recommended size. Note – The size you select here get reduced from your C Drive of the local system.
Click Finish .

Step 3 - Now the RedHat bootable image will extracted from the source and booting started
-         Press Enter to start
-         Now it will ask for media test, select skip by pressing Tab key.
-         A welcome screen will appear, Click next
-         A select language screen will appear , Click next
-         Select Keyboard screen will appear , Click next
-         Now, it will ask for installation no. You can skip the step if you don’t have the installation no.
-         Now, A warning message will appear that you will loss all the data on present disk. Proceed clicking on YES.
-         A Pop up window will open then asking about partitioning hard disk. You can either choose default layout or custom layout. I am choosing custom layout here. Click next.
-         Now, You need to create your own file system partitions. For that click new and create following partitions - / , /boot, /var, /tmp, /usr, /home ( here the file system will be ext4 for RHEL6 and ext3 for versions upto RHEL5 ) In order to know more about file system and their respective size, Click on this link “ Ideal File system of Redhat” Don’t forget to create a swap partition ,for creating a swap partition select /swap in file system option instead of ext3 or ext4. Try to left some space free for further enhancements. After creating all the partitions click next.
-         A window will appear where you can provide grub password, I skipped this step clicking next.
-         Another window will ask you for your host name, Also skip this step.
-         Enter time zone, click next.
-         Enter Root Password, Click Next ( Most Important step , Provide a root password which no one other than you knows )
-         Click on customize later
-         After that a dependency check will start.It will take some time to complete.
-         After your dependency check completed, again click next to start the installation process.  Now wait for some time ( approx. 30 minute ) for installation to get complete, so just don’t sit there only finish your other works in between.
-         After the installation finished, Reboot your system.

Step 4 – A welcome screen will appear after reboot. Just start clicking on forward .
-         Click on I accept the terms and conditions and click forward.
-         Click on forward, In each step .
-         Provide your user name and password.
-         Click Finish

Congratualations !!!  You Just installed RedHat on your Virtual Machine. Provide your user name and password and login.



No comments:

Post a Comment