READ: How To Install VirtualBox 6.0 / 5.2 on CentOS 7 / RHEL 7. READ: How To Install VirtualBox 6.0 / 5.2 on Ubuntu 18.04 / Ubuntu 16.04. READ: How To Install VirtualBox 6.0 / 5.2 on Fedora. Download Oracle VM VirtualBox Extension Pack. Download the Oracle VM VirtualBox extension pack using the wget command. We, all, knew how to install Oracle VirtualBox on CentOS 6.x and CentOS 7.x GUI based systems. But, what about on CentOS minimal server which is not having any GUI desktop environment? No worries, VirtualBox has a tool called “VBoxHeadless”. The VBoxHeadless can help you to create and manage Virtual machines without the need of [].
To install CentOS, we need to download and connect the CentOS ISO image file to the virtual CD/DVD drive of the VirtualBox Virtual Machine and make sure that the system chooses that CD/DVD drive at boot time.
4.1 Configuring the Boot OrderIndex
- Open the Settings window.
- In the left hand navigation pane, go to System
- Go to the tab that says Motherboard
![Image Image](/uploads/1/2/5/8/125828128/291064302.png)
- In the box labelled Boot Order: Uncheck the Floppy and use the right hand arrow buttons to move Floppy to the third spot, under Hard Disk. Make the CD/DVD (checked) first, the Hard Disk (checked) second, the Floppy (not checked) third, and the Network (not checked) last.
- Make sure only the CD/DVD and Hard Disk are enabled.
- Click OK.
4.2 Connect the CentOS ISO file to the virtual CD/DVD driveIndex
- Open the Settings window.
- In the left hand navigation pane, go to Storage
Under Storage, you will see Storage Tree with a Controller:IDE, and inside the Controller is your VM name and under that is a poorly shown visual CD drive icon with Empty beside it.
![Mac Mac](http://extr3metech.files.wordpress.com/2012/10/1.png)
- Click on the CD line, where it says Empty. A new Attributes and Information section opens on the right in the same window.
- In the right hand pane, under Attributes, beside CD/DVD Drive, you will see a box containing IDE Secondary Master. There is a tiny CD icon on the right of this box. Click on the CD icon to open a menu that lets you set the path to your downloaded CentOS CD ISO image file.
- Use the menu to navigate to your previously downloaded CentOS ISO image file and select it. The window will close and you will return to the Storage settings window.
- Verify that in the Storage settings window, on the right under Information, you see Size: 339.00 MB (the size of the CentOS Installation CD) and the Location: is the location of your CentOS install CD ISO image file.
- Click OK.