Skip to content

The Dummy Programmer

Stories of daily programming

  • Home
  • The Dummy Programmer Robot
    • Overview
    • Version history & downloads
    • Tutorials
      • TDP Robot – The basics
      • A simple SQL Server backup solution
      • A simple SQL Server backup solution – A next step
  • My other dummy projects
  • Games
    • Space Y: An Asteroids clone
  • Services
    • What’s my user agent
    • What’s my IP address
  • About
  • Toggle search form

Install CentOS 8 as VirtualBox guest

Posted on August 8, 2020December 13, 2021 By

Good morning folks!

In my previous post I promised that we would create a new virtual machine in our VirtualBox installation. There are many free options and today I want to show you how to install CentOS 8, which is a Linux distribution based on RedHat.

Create an empty virtual machine

To begin, open the Oracle VM Virtual Box Manager and from the menu “Machine” click on “New…”.

The following configuration popup will appear:

In the “Name” field write your virtual machine name. Note that here there is a nice feature: the VirtualBox Manager will try to detect Type and Version of the virtual machine from the name you typed.

So if you write “CentOS”, the fields “Type” and “Version” are automatically populated with “Linux” and “Red Hat (64-bit)”. The only thing remaining is configure the path where you want to save the virtual machine files, which you can do filling the “Machine folder” field.

In the “Memory size” section, choose how much memory you want to devote to the virtual machine. In my case I chose half of the system memory (about 8Gb).

In the “Hard disk” section, select the option “Create a virtual box hard disk now” and then press “Create”.

When you click on “Create”, the following window will appear:

Using the slider, you can select the size of your virtual machine’s hard disk. You can leave the other options as they are, and click on “Create”.

Start the operating system installation

We just configured the empty virtual machine. Now it’s time to execute the setup to install the operating system.

You can see your new virtual machine in the left panel of the VirtualBox Manager. Before you turn it on, you have to download the CentOS ISO image from https://www.centos.org/download. Be sure to select the “x86_64” iso image.

Once the download is completed, we have to mount the CentOS ISO image in our virtual machine. To do that, select the virtual machine in the left panel, and click “Settings” in the toolbar.

In the “Settings” window:

  • click on the “Storage” section
  • under “Controller IDE”, click on “Empty”
  • on the right side, click the disk icon to show a popup menu
  • in the popup menu select “Choose a disk file” and select the CentOS image you downloaded
  • click on the “OK” button

Now you have to click on the “Start” button to switch on your new virtual machine. The CentOS boot menu will appear:

Select the item “Install CentOS Linux 8” and click “Enter”.

The installation is quite simple, we will see some steps in the following screenshots.

Here you can select the installation language:

Here you can select the drive where you want to install the operating system:

Review the installation summary and then click on the “Begin installation” button:

Installation summary

The installation is running…

The installation is running

Meanwhile, if you click on the “Root Password” button you can set the root password (the root user is like a Windows administrator user). So choose a password and set it, as you can see in the following form:

Set the root password

Click on “Done” to confirm the password.

When the installation is completed you will see the following:

The installation is completed!

Click “Reboot” to restart the virtual machine and begin using it 🙂

Final configuration

After the reboot, there is an initial configuration that we have to complete.

First of all you have to accept the license agreement, so click on the button “License information”.

Initial CentOS setup
Accept the license agreement

Click on the “Finish configuration” button.

Finish configuration

Some more steps…

Welcome message

Skip, if you want, the connection to an external account…

External account connection

An important step, is configure your user account:

We almost completed the installation…

Now you could start using CentOS in your virtual machine. I said “could” because one more thing is missing: the installation of VirtualBox Guest Additions. We will see it in the next post…

Bye Bye!!

CentOS, Virtualization software

Post navigation

Previous Post: How to install Oracle VirtualBox in a Windows PC
Next Post: Kernel headers not found for target kernel

Related Posts

Plesk panel update error on Linux CentOS 7: The GPG keys listed for the “dell-system-update_dependent” repository are already installed but they are not correct for this package CentOS
Kernel headers not found for target kernel CentOS
Install Imagick extension for PHP on Linux CentOS 7 CentOS
How to install Oracle VirtualBox in a Windows PC Virtualization software

Search

Related posts

  • Install Ubuntu Server as VirtualBox guest
  • Install Imagick extension for PHP on Linux CentOS 7
  • How to install Oracle VirtualBox in a Windows PC
  • Plesk panel update error on Linux CentOS 7: The GPG keys…

Categories

  • .NET 6 (1)
  • AJAX (1)
  • Android (2)
  • Apache (4)
  • ASP.NET (9)
  • ASP.NET MVC (3)
  • Avalonia UI (1)
  • BCP (1)
  • Bitlocker (2)
  • C# (14)
  • CentOS (4)
  • ClosedXML (1)
  • CLR (1)
  • DNS (1)
  • Encryption (3)
  • Excel (2)
  • FuelPHP (3)
  • Games (2)
  • Google Chrome (1)
  • GSuite (1)
  • HTML (1)
  • Imagick (2)
  • Javascript (1)
  • Kindle (1)
  • LAMP (3)
  • Linux (6)
  • MariaDB (2)
  • Mathematics (2)
  • MySql (4)
  • NPOI (1)
  • Office 365 (1)
  • Perl (1)
  • PHP (6)
  • Programming (1)
  • Remote desktop (1)
  • SFTP (2)
  • Sockets (3)
  • Sql Server (18)
  • Sql Server 2016 (14)
  • Sql Server 2019 (1)
  • SSL (2)
  • Task scheduler (1)
  • Telerik ASP.NET AJAX (2)
  • The Dummy Programmer Chat (2)
  • The Dummy Programmer Robot (6)
  • Threading (5)
  • Tools (1)
  • TPL (3)
  • TypeScript (3)
  • Ubuntu (4)
  • Virtualization software (3)
  • Visual Studio (1)
  • Visual Studio Code (2)
  • Web fonts (1)
  • Web programming (6)
  • Windows (12)
  • Windows 10 (15)
  • Windows Forms (1)
  • Windows Server (6)

Copyright © 2023 The Dummy Programmer | Privacy Policy | Terms of use |

Powered by PressBook Masonry Dark