Install a CentOS 7 Minimal Server in Virtual Machine with screenshots

Reading Time: 4 minutes

If you have challenges on how to install a CentOS 7 Minimal Server in your Virtual Machine, you are on the right page.

Before we proceed, let us understand what are the differences between Minimal, DVD, and Everything in CentOS download page, https://www.centos.org/download/


Minimal:

It contains a minimum package that requires a functional Linux system. Doesn’t contain GUI.

DVD:

It contains minimal packages plus some utility packages, basic development packages and contains GUI. Its size is 3.7 GB that can fit in DVD.

Everything:

It contains all DVD packages plus advance user packages like Smart card support, set of development packages.


With that said, I assumed you have Oracle VM VirtualBox installed on your machine already. If not yet, please see https://www.virtualbox.org/wiki/Downloads

Let us proceed then. Download a local copy of  CentOS 7 Minimal Server https://wiki.centos.org/Download


Then choose on CentOS 7, then click on mirrors

image Install a CentOS 7 Minimal Server in Virtual Machine with screenshots

Click on your desired link.

image-1 Install a CentOS 7 Minimal Server in Virtual Machine with screenshots

At this point, you should have a local copy of CentOS 7 Minimal Server iso file. Let us open your Oracle VM VirtualBox and set your virtual environment.


Click on New.

image-2 Install a CentOS 7 Minimal Server in Virtual Machine with screenshots

Then enter your desired Virtual Machine name. e.g “CentOS 7 Minimal”.

image-3 Install a CentOS 7 Minimal Server in Virtual Machine with screenshots

Move the slider to 2048MB (2GB).

image-5 Install a CentOS 7 Minimal Server in Virtual Machine with screenshots

Then click on Create a virtual hard disk now.

image-6 Install a CentOS 7 Minimal Server in Virtual Machine with screenshots

Choose Dynamically Allocated.

image-8 Install a CentOS 7 Minimal Server in Virtual Machine with screenshots

Then move the slider to 2.00TB and click on Create.

image-9 Install a CentOS 7 Minimal Server in Virtual Machine with screenshots

At this point, you have completely setup your Virtual environment. Let us proceed in modifying Virtual resources and attached CentOS 7 Minimal Server iso file.

To do so, please select our CentOS 7 Minimal environment, then click on Settings.

image-11 Install a CentOS 7 Minimal Server in Virtual Machine with screenshots

Click System > Processor and in our virtual machine, 2 processors should be enough for us to proceed.

image-12 Install a CentOS 7 Minimal Server in Virtual Machine with screenshots

Click on Storage and click Empty in Controller: IDE Storage Tree then click on the disc icon.

image-13 Install a CentOS 7 Minimal Server in Virtual Machine with screenshots

Click on Choose Virtual Optical Disk File…

image-14 Install a CentOS 7 Minimal Server in Virtual Machine with screenshots

Find your CentOS 7 Minimal Server iso file and then click on Open.

image-15 Install a CentOS 7 Minimal Server in Virtual Machine with screenshots

From here, you should have this window as shown below:

image-16 Install a CentOS 7 Minimal Server in Virtual Machine with screenshots

Click on Network > Enable Network Adapter and click Bridged Adapter then choose your Network Adapter (In my case, I choose my Wireless Network Adapter)

image-32 Install a CentOS 7 Minimal Server in Virtual Machine with screenshots

Once completed, click on OK and you should be all set for the CentOS Installation process. If you are ready, let us proceed then.


Click on Start, this should start your Virtual Machine.

image-10 Install a CentOS 7 Minimal Server in Virtual Machine with screenshots

Choose Install CentOS 7 using your drop-down arrow keys in your keyboard.

image-17 Install a CentOS 7 Minimal Server in Virtual Machine with screenshots

At this point, you should have this window as shown below:

image-18 Install a CentOS 7 Minimal Server in Virtual Machine with screenshots

From the welcome window of CentOS 7, your first option is to choose your desired language. In our case, let us leave it by default.

Click on Continue.

image-19 Install a CentOS 7 Minimal Server in Virtual Machine with screenshots

Then click on Installation Destination.

image-22 Install a CentOS 7 Minimal Server in Virtual Machine with screenshots

Click on Done.

image-21 Install a CentOS 7 Minimal Server in Virtual Machine with screenshots

You should have this window as shown below and from here, you should have the option to click on Begin Installation. 

image-23 Install a CentOS 7 Minimal Server in Virtual Machine with screenshots

Let us set your desired root password.

image-24 Install a CentOS 7 Minimal Server in Virtual Machine with screenshots

Click Done.

image-25 Install a CentOS 7 Minimal Server in Virtual Machine with screenshots

From here, you should have this window below as shown below, and this time, let us wait for the installation to be completed.

image-26 Install a CentOS 7 Minimal Server in Virtual Machine with screenshots

Once completed, you should have the option to Reboot your Virtual Machine.

image-27 Install a CentOS 7 Minimal Server in Virtual Machine with screenshots

After your CentOS Virtual Machine has been successfully rebooted, just leave it by default option as shown below.

image-28 Install a CentOS 7 Minimal Server in Virtual Machine with screenshots

You should have this window as shown below.

image-29 Install a CentOS 7 Minimal Server in Virtual Machine with screenshots

Congratulation. You have successfully completed your first CentOS 7 installation in your Virtual Machine.

image-30 Install a CentOS 7 Minimal Server in Virtual Machine with screenshots

Great job.

Was this post helpful?

This Post Has One Comment

  1. majid

    also click on user creation and perform that as well

Leave a Reply