Your cart is currently empty!
How to install latest CentOS with VirtualBox on Windows 11
Setting up CentOS on your Windows 11 machine with VirtualBox is a smart move if you want to experiment with Linux, test servers, or learn system administration. This guide walks you through every step—no fluff, just results.
What You Need
- Windows 11 PC
- VirtualBox (free virtual machine software)
- CentOS ISO file (latest version from the official site)
- At least 4 GB RAM and 20 GB free disk space
Step 1: Download VirtualBox
- Go to the VirtualBox download page.
- Download the latest version for Windows.
- Run the installer and follow the prompts to complete the installation.
Step 2: Get the CentOS ISO
- Visit the official CentOS website.
- Download the latest CentOS Stream ISO file (choose the “DVD ISO” for a full install).
Step 3: Set Up a New Virtual Machine
- Open VirtualBox and click New.
- Name your VM (e.g., “CentOS 9 Stream”).
- Set Type to Linux, and Version to Red Hat (64-bit).
- Click Next.
Step 4: Configure the VM
- Memory size: Allocate at least 2048 MB (2 GB) RAM—more if you can spare it.
- Hard disk: Choose Create a virtual hard disk now, then click Create.
- Select VDI (VirtualBox Disk Image), then Dynamically allocated.
- Set disk size to 20 GB (or more if you plan to install lots of software), then click Create.
Tip: Need more disk space later? Check out this guide: How to Enlarge a Virtual Machine’s Disk in VirtualBox or VMware
Step 5: Mount the CentOS ISO
- Select your new VM, click Settings.
- Go to Storage.
- Under Controller: IDE, click the empty disk icon.
- On the right, click the disk icon and choose Choose a disk file…
- Browse to your downloaded CentOS ISO and select it.
- Click OK.
Step 6: Boot and Install CentOS
- Select your VM and click Start.
- The VM should boot from the CentOS ISO.
If prompted, select Install CentOS Stream. - Follow the CentOS installer prompts:
- Choose your language.
- Select installation destination (accept default or customize).
- Set root password and create a user.
- Click Begin Installation and wait for it to finish.
Step 7: Finish Up
- When installation is complete, click Reboot.
- If prompted, remove the ISO from the virtual drive (Devices > Optical Drives > Remove disk from virtual drive).
- Log in with your new user credentials.
You’re Done!
You now have a fresh CentOS install running inside VirtualBox on Windows 11. Update your system, install any tools you want, and start exploring Linux—all without touching your main Windows setup.
Tips:
- To use the clipboard and drag files between Windows and CentOS, install VirtualBox Guest Additions.
- Snapshots let you save the VM’s state before making major changes—use them!
- If you ever need to increase your VM’s disk size, refer to this step-by-step guide: How to Enlarge a Virtual Machine’s Disk in VirtualBox or VMware.
Have questions or need help? Drop them in the comments!
Tech enthusiast and content creator passionate about making technology simple for everyone. I share practical tips, guides, and reviews on the latest in computers, software, and gadgets. Let’s explore the digital world together!