Medha Cloud Logo

How to install CentOS on Virtual Machine?

: In this post, we will see how to install CentOS on VirtualBox. VirtualBox, originally developed by Sun MicroSystems and now owned by Oracle, is a software that gives you the ability to work with several operating systems on your computer at the same time. You can install and run CentOS on VirtualBox. CentOS is a Community Enterprise operating system which mainly focuses on the server. It is a part of Linux Operating System Distribution, and it is free to use.

Total Time Needed: 30 Minutes

Required Tools:

Virtual Machine installed on VirtualBox

Steps to install CentOS on Virtual Machine

Step 1 : Open CentOS Linux
Go to centos.org, Click on CentOS Linux.

Step 2 : Download Version
Select the version of CentOS that you are looking for and click on it to download

Step 3 : Open Virtual Machine
Now open Virtual Machine and click on "START."

Select the downloaded CentOS file by clicking the file symbol, as shown in the image, and click START.

Step 4: Install CentOS 7
Now click on Install CentOS 7.

Installation process will now have begun as you can see in the below image.

Step 5: Select the Language
Select the language and click continue. To click, continue scroll to the right side of the page. You can scroll by using your windows mouse cursor, only not the virtual mouse cursor. You can toggle between cursors by clicking on CONTROL on your keyboard.

Step 6: Localization Setting
Select the localization settings by clicking on them. Select Date Time, Keyboard, Language settings one by one and enter the details.

Now Click on Installation Source.

Select Auto-detected installation media, click on verify and click on DONE

Step 7: Install Software
Now click on Software selection.

Select the software that you wish to install and Click DONE

Step 8: Set Installation Destination
Click on INSTALLATION DESTINATION.

Select “Automatically configure partitioning” to partition automatically, or if you wish to do it manually, click on “I will configure partitioning.”

Make sure that there is a Tick symbol on the Hard disk.

Scroll to the right side of the page and click Begin Installation. You can scroll by using your windows mouse cursor, only not the virtual mouse cursor. You can toggle between cursors by clicking on CONTROL on your keyboard.

Step 9: Set Root Password
Now You can set password to your root account by clicking on “ROOT PASSWORD”. You can add new users by clicking on USER CREATION.

If you have clicked USER CREATION, Enter the details for new user and click continue

Scroll to the right side of the page and click on REBOOT.

You can now see that CentOS is being installed

Step 10: License Information
Now you will see a new page. Accept the license by clicking on LICENSE INFORMATION.

Scroll down and tick the box to accept the license

Step 11: Enable/Disable Kdump
Now you can enable or disable by checking the box below. K dump is kernel crash dumping mechanism. In the event of crash, Kdump will capture information from your system that can be invaluable in determining the cause of crash. It will reserve a portion of system memory that will be unavailable for other users.

Now click on FORWARD.

Now the system requires to reboot. Click on OK

Step 12: Log In to CentOS
Now you can log in to CentOS by clicking on any user that you have previously created by entering details. If you want to login to root, Click on Not Listed? And enter the user name as root and enter the password that you have set and log in.

You can now use CentOS on your virtual machine.

Conclusion:
Hope you understand how to install CentOS in Virtual Machine. Follow the steps and learn to install CentOS by yourself. However, if you got any doubts, please contact Medha Hosting.
Our Linux experts are ready to help you to manage your Linux infrastructure and get the most out of it.
Read Here: How To Install & Configure Nagios In CentOS 7

Connect with Medha Cloud

Microsoft 365 Migration Form

I would like to send my contact information to MedhaCloud so that MedhaCloud can share additional information about products, services, thought leadership and invitations to flagship events with me by email. *

By submitting this form, I acknowledge that someone from MedhaCloud will contact me via email or phone to discuss my request.

Related Article

View All
chevron-down linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram