How to Install CentOS 7 Minimal in Virtualbox

How to Install CentOS 7 Minimal in Virtualbox

Within the earlier article, we have now seen how to set up Virtualbox in completely different flavors of Linux. Now it’s time to select and set up a Visitor OS. You possibly can verify the official web page to verify the record of supported Visitor OS. I select CentOS 7 with a Minimal set up you possibly can select no matter what OS you like.

Word: The assist for CentOS 7 stays unchanged, which implies updates and safety patches can be out there till June 30, 2024. Whereas CentOS 8 assist will finish on the finish of 2021.

Download CentOS 7 Linux

First, we have now to obtain the CentOS 7.9 iso file from the official website. There are completely different choices to obtain. I select to obtain the Minimal model by way of torrent.

Create New CentOS 7 Virtual Machine

As soon as the iso file is downloaded you can begin constructing the Visitor OS. Open Virtualbox and press “New” icon or press “CTRL+N”.

Step one is to configure the {hardware} profile on your CentOS Visitor OS. You’ll configure disk house, Variety of Ram, CPU Cores, and many others.. at this stage.

There are two modes you need to use.

  • Guided Mode (Default)
  • Knowledgeable Mode

The distinction between each of these modes is, Guided Mode will present every configuration merchandise in a special window whereas knowledgeable mode will present it in a single window. To make use of the knowledgeable mode you’ve got to select “Knowledgeable Mode” as proven in the beneath picture.

Knowledgeable Mode Digital Machine Setup

That is the place you’ll determine which Visitor OS taste (WindowsLinuxBSDmacOS) you select to set up, what would be the RAM dimension and the way to create/connect the onerous disk file.

  • Name – Identify on your Visitor VM.
  • Machine Folder – Location the place your VM recordsdata can be positioned.
  • Type – Kind of working system(Linux, Windows, BSD).
  • Version – Totally different variations like Redhat Linux, Ubuntu Linux, Windows Server, and many others.
  • RAM – You possibly can management RAM allocation on your VM utilizing the slider or simply enter a worth in the Worth tab.
  • Hard Disk – Create a brand new digital onerous disk on your VM. Virtualbox provides you the pliability to both create a brand new disk or use an present disk that’s already created.

In this step, you’ll determine what would be the dimension of your Digital Exhausting Disk (.vdi file) and file kind and allocation technique.

  • Hard Disk Types – Virtualbox helps completely different Exhausting disk file varieties, it’s best to know which one must be used.
  • VDI (Virtual Box Disk Image) – VDI is the native format for VirtualBox and different virtualization platforms don’t assist this format. However you’ve got instruments (qeny-img) to convert VDI to different codecs simply.
  • VHD (Virtual Hard Disk) – That is the native format of Microsoft Digital PC.
  • VMDK (Virtual Machine Disk) – That is the native format for VMware. The benefit with this format is for those who use each Virtualbox and VMware parallelly you possibly can select this format.

There are different 3 codecs HDDQCOWQED which you shouldn’t fear at this stage since utilizing these codecs are very uncommon.

  • File Location – Location the place your Disk file can be created.
  • File Size – Set dimension on your disk file.
  • Allocation Type – You possibly can set in case your disk file must be of fastened dimension or dynamically allotted. At all times select dynamic allocation. The benefit of dynamic allocation is it is not going to occupy the whole allotted house. It’s going to allocate a minimal dimension of 2MB as proven in the beneath picture and can proceed to develop until the utmost allotted file dimension which is 25 GB in this case.

After you have configured all of the parameters press the “Create” button and your VM {hardware} profile can be created.

Now you’ve got to map the downloaded centos 7 iso file with the created VM so as soon as the machine will get booted it is going to choose the iso file for set up of the OS. Observe the process as proven in the beneath picture to connect the iso file.

NOTE: No matter steps are proven until now would be identical regardless of the kind of Visitor Working system you select to set up.

Now press the “Begin” icon to begin the VM.

Install CentOS 7 on VirtuaBox VM

1. Select “Install Centos 7” to begin the set up.

2. Select Language and press proceed.

3. That is the place you’ll select to configure necessary parameters associated with your OS. First set Date and Time zone. You possibly can configure NTPD and decide to use Community time.


4. An necessary step for any OS setup is the way you partition your Exhausting disk. You possibly can partition your disk underneath “Set up Vacation spot”. I’m not partitioning my disk since it is a take a look at a machine that can be destroyed as soon as the demonstration is accomplished. So choose “routinely configure partitioning”.

5. You possibly can configure your community and hostname underneath the “Community and Hostname” part.

6. As soon as all of the configurations have been set, you possibly can press “Start Set up”.

7. Your setup can begin and in the following step, you’ve got to set a password for the foundation person. You may as well create further customers too.

8. Reboot the machine as soon as the setup is accomplished and you’ve got efficiently put in your first Visitor OS on VirtualBox.

You aren’t carried out but. There are few extra packages you want to set up to allow necessary options of VirtualBox which we’ll see in the following article.