January 29, 2026
Tutorials

How to Install CentOS 10 on VirtualBox

How to install CentOS 10 on VirtualBox

Installing CentOS 10 in VirtualBox enables you to learn and practice Linux server management without affecting your main system. CentOS 10 running in a VirtualBox virtual environment allows you to experience enterprise-grade Linux in a safe and secure environment, whether you are a developer, student, or system administrator.

This guide explains CentOS 10 installation on VirtualBox for Windows, Linux, or macOS. It covers VM creation, OS install, and post-install configuration.

Prerequisites

Make sure that you have the following:

  • Oracle VirtualBox installed
  • VirtualBox Extension Pack is installed
  • Download CentOS 10 ISO File
  • Minimum 4 GB RAM is recommended
  • Free 20 GB of disk space

How to Install CentOS 10 on VirtualBox

VirtualBox provides a safe and practical way to learn enterprise Linux. You can build a CentOS lab quickly with the right VM configuration, a step-by-step install, and a proper installation. This is suited for learning about system administration, server management, and application deployment. VirtualBox allows you to run CentOS 10 on Windows, macOS, and Linux systems.

Step 1: Download CentOS 10 ISO File

Installing CentOS 10 in VirtualBox requires the official CentOS ISO image. Let’s download CentOS 10 ISO DVD from the official archive site.

Download CentOS ISO image from official site

The ISO file is used as an installation medium for CentOS 10 on the virtual machine.

Step 2: Open VirtualBox and Create a New Virtual Machine

Click the New button in VirtualBox to create a virtual machine.

create new virtual machine in VirtualBox

Set the following values:

  • Name: CentOS10 or any name for OS
  • Type: Linux
  • Version: Red Hat (64-bit)

The correct OS type will ensure proper hardware and kernel compatibility.

Name the new virtual machine in VirtualBox

Step 3: Allocate Memory (RAM)

Select the amount of RAM you want to allocate to your CentOS 10 virtual machine.

Recommended:

  • Minimum: 2 GB
  • Recommended: 4 GB or more

A sufficient memory boosts performance and helps to prevent installation errors.

Allocate RAM to virtual machine in VirtualBox

Step 4: Create a Virtual Hard Disk

Choose Create a virtual disk now, and then select:

  • Disk type: VDI (VirtualBox Disk Image)
  • Size: 20-40 GB

The virtual disk contains CentOS system files and applications as well as user data.

create a virtual hard disk in VirtualBox

Step 5: Attach CentOS 10 ISO to Virtual Machine

Select the downloaded CentOS 10 ISO. VirtualBox can now boot the CentOS installation from the ISO.

Attach ISO image to VM in VirtualBox

Step 6: Start the Virtual Machine

Click on Start to start the CentOS 10 installation.

Start the VM in VirtualBox

After that, choose Install CentOS Linux 10.

Start the CentOS installation in VirtualBox

The CentOS installation will begin.

Step 7: Select Language and Keyboard Layout

Click Continue after selecting your language and keyboard layout. Installs correctly and with correct keyboard input.

Choose language and keyboard layout

Step 8: Configure Installation Destination

Click Installation Destination, select the virtual disk, and confirm.

Configure installation destination

Keep Automatic partitioning on. CentOS creates partitions automatically for stability.

Step 9: Set Root Password and Create User

Create a root account and set a strong password for the root. Good user management will improve the security of your system and its usability.

Set root password

Step 10: Begin CentOS 10 Installation

Click on Begin Installation, and wait until the installation process is complete. CentOS configures and installs the OS environment.

Begin CentOS 10 installation

Step 11: Reboot and Remove ISO

After installation:

  • Reboot the VM
  • Remove the ISO from the virtual optical drive

This prevents the installer from being launched again at startup.

Login to CentOS 10

Post-Installation (Recommended)

After installation, install VirtualBox Guest Additions for better display and performance. Let’s confirm the CentOS 10 stream display.

View of CentOS 10 desktop

It is best practice to update the system.

sudo dnf update

sudo dnf update

That is all from the installation guide.

Conclusion

To install CentOS 10 on VirtualBox, create a new Linux Virtual Machine, attaching the CentOS 10 ISO, allocating memory and disk space, and starting the installer. During setup, configure language, storage, and networking. Then, complete the installation and reboot your system. This method lets you run CentOS 10 as a virtual machine for learning, testing, or development, without having to modify your computer.

Leave feedback about this

  • Quality
  • Price
  • Service

PROS

+
Add Field

CONS

+
Add Field
Choose Image
Choose Video