Requirements:

Download and install the ff:

Virtualbox - https://www.virtualbox.org/

CentOS - https://www.centos.org/download/

I am using CentOS 7. You can also download the minimal version here:

https://ftp.riken.jp/Linux/centos/7/isos/x86\_64/ .

To install:

  1. Click New in VirtualBox

Alt Text

  1. Name your VM anything you want and click Next.

Alt Text

  1. Set the amount of RAM you'd like to allocate for this VM. Take note of the recommended memory size.

Alt Text

  1. Next screen will ask you to create a VM. Select Create a virtual hard disk now and click create.

Alt Text

  1. Select the type of VM hard disk. Usually it is VDI.

Alt Text

  1. Click next with Dynamically allocated selected.

Alt Text

  1. Set the size of your hard disk then click create after.

Alt Text

  1. Select your VM then click Setting on the upper left.

Alt Text

  1. Click storage. Then in the optical drive choose the minimal iso you downloaded, then click OK.

Alt Text

  1. On the upper left, click start.

Alt Text

  1. Choose Install CentOS 7 then enter

Alt Text

  1. Choose your language.

Alt Text

  1. Set up below info with your own preferences, then click Begin installation.

Alt Text

Alt Text

  1. Set up your root password and and create a user. Reboot after.

Alt Text

Alt Text

Alt Text

  1. After rebooting, you will be directed to the screen below. Type your username and password. Usually, to be able to enter the GUI you will type, startx. But since we are using the minimal version. There is no GUI desktop installed.

Alt Text

  1. To install the GNOME Desktop type in below command.
yum -y groups install "GNOME Desktop"	
  1. Also, don’t forget to setup your network . Then save. (:wq!)
vi /etc/sysconfig/network-scripts/ifcfg-enp0s3

Alt Text

  1. Type startx then setup just like screenshots below.

Alt Text

  1. CentOS 7 is finally installed in your VM . Go ahead and explore!

Alt Text