Dheeraj Choudhary
Dheeraj Choudhary's Blog

Follow

Dheeraj Choudhary's Blog

Follow
CentOS8 Virtual Box Setup From Scratch

CentOS8 Virtual Box Setup From Scratch

Dheeraj Choudhary's photo
Dheeraj Choudhary
ยทDec 13, 2021ยท

3 min read

This is handons implementation where we will install Oracle Virtual Box and create virtual machine on it with CentOS8 as operating system.

Installing Virtual Box

  1. Goto virtualbox.org and click on download virtual box. image.png
  2. When you click on download virtual box it will take you to downloads page from where you can download virtual box binaries based on your OS platforms. image.png
  3. Once binary is downloaded go ahead with installation of virtual box. Here we will perform installation on windows 10 OS. image.png image.png image.png image.png image.png image.png image.png image.png

Installing CentOS8 On Virtual Box

  1. Open centos.org and click on CentOS Linux image.png
  2. Then click on x86_64 as shown below image.png
  3. This will take you to the page where all mirror sites are listed for download, click any from them and the ISO file download will start. image.png
  4. Now open virtualbox we have installed and you will come to below page image.png
  5. We will now start to create new virtual machine Click on new as displayed below. image.png
  6. It will popup window where we will set name as "CentOS8", Path, Type as "Linux", Version as "Redhat (64bit)" and click on next image.png
  7. Then you will have to define your "RAM" based on RAM availability on your machine. image.png
  8. Then for creating virtual hard disk select "Create a virtual hard disk now". image.png
  9. Select hard disk file type as VDI. image.png
  10. Set physical hard disk as "Dynamically allocated" image.png
  11. Now select the location and size of your virtual hard disk image.png
  12. Once this is done goto settings image.png
  13. Then select "Storage" from left side of the menu. image.png
  14. Now under attribute click on the disc button to set optical drive and select "Choose a disk file" image.png image.png
  15. In this disk file select the ISO CentOS8 image that we downloaded earlier click on open and press OK. image.png
  16. Now click on start and the machine will start booting image.png image.png image.png
  17. Select Language and click continue image.png
  18. Then click "Installation Destination" and then select "Local Standard Disk" and press Done image.png
  19. Once you select done it will take you back to below page where "Begin Installation" button will become enabled. Click on it. image.png
  20. It will then ask you to set password for root user, click on root and set password image.png image.png image.png
  21. Now lets create new user and make him administrator image.png image.png
  22. Once you get reboot option click "Right CTRL" button on your keyboard which will release your cursor and goto virtual box. In virtual box click on setting and goto Storage and remove the ISO file as shown below image.png image.png
  23. Accept the license image.png image.png image.png
  24. After accepting license it will ask you to login with your admin user we created. image.png image.png
  25. As part of setup select your language and privacy settings image.png image.png image.png image.png image.png image.png image.png

Did you find this article valuable?

Support Dheeraj Choudhary by becoming a sponsor. Any amount is appreciated!

See recent sponsors |ย Learn more about Hashnode Sponsors
ย 
Share this