How to install CentOS 8 with VirtualBox 6.1 on Windows 10

s2 0

CentOS is a widely used Linux distribution based on RedHat Linux. In this guide I will show you step by step how to install CentOS 8 in a VirtualBox virtual machine. The host operating system is Windows 10.

The tutorial consists of two parts:

  1. Set up a virtual machine in VirtualBox.
  2. Install CentOS in this virtual machine yourself

Let’s get started without wasting any more time.

requirements

The following are some of the requirements that must be met prior to this installation.

  1. 2 GB of RAM
  2. 2 GHz or higher processor
  3. 20 GB hard drive
  4. 64-bit x86 system

How do I get CentOS 8.0?

To install CentOS 8.0 on VirtualBox, do the following:

Step 1. Open the url https://www.centos.org/download/ in your favorite browser.

step 2. Click on “Download CentOS Now”. A new window will appear.

Step 3. Click on “CentOS Linux DVD ISO” as shown in the following figure.

Step 4. Click on any of the links to download the CentOS ISO file.

As you can see, it is a 6.6 GB file. So please wait until the file has been downloaded.

Step 5. Once CentOS has been downloaded, it can be installed on VirtualBox. Open VirtualBox, click the New button to create a new virtual machine.

Step 6. Enter the name of the virtual machine in the “Name” text field, eg “CentOS”. “Type” is now automatically selected as “Linux” and version as “Red Hat (64-Bit)”. When you’re done, click Next.

Step 7. The memory size specified here is 1024 MB. It’s a minimum requirement. You can increase it according to the memory available on your system. Click “Next” when you’re done.

Step 8.The option “Create virtual hard disk now” is selected by default. Click “Create” to continue.

Step 9. The next interface deals with the file type of the hard drive. By default, it’s VDI (VirtualBox Disk Image) and a standard. Click Next to continue.

Step 10. In the next step we need to store it on a physical hard drive. By default it is “dynamically assigned”. Click “Next” when you’re done.

Step 11. The minimum virtual hard disk CentOS needs is 8 GB, but again it depends on your computer. You can adjust it according to the hard drive size of your system. Enter the path of your virtual hard disk as shown in the following figure.

Click “Create” to continue.

Step 12. The CentOS virtual machine is created on VirtualBox. We downloaded the ISO file, but we haven’t found the ISO file yet. To do this, select the CentOS virtual machine and click on “Settings”.

Step 13. In the settings option, click on “Storage”, where we can find our ISO file that has already been downloaded.

Step 14. In the storage interface, go to the “Controller: IDE” option and click the “Empty” option.

Step 15. Select the round CD symbol on the right and then “Choose / Create a Virtual Optical Disk”.

Step 16. Click the “Add” icon and select the ISO file that you have already downloaded.

Step 17. After adding the ISO file, click OK to continue.

Step 18. The configuration of CentOS for the virtual machine has now been created. It’s ready to go.

Click on the CentOS virtual machine, then click the Start button above.

Step 19. Select “Install CentOS Linux 8.0.1905” and press “Enter” on your keyboard. The installation of CentOS will start immediately.

Step 20. Wait for the process to complete and press an “Enter” key when prompted.

Step 21. Choose the language you want for the installation and click Next when you’re done. We chose English (USA).

Step 22. We have three main categories of settings and these are Localization, Software and System.

Step 23. Let’s start with the localization category, click on the “Keyboard” option.

Step 24. English is selected by default. You can adjust it accordingly by clicking the “+” symbol. Click Done to continue.

Step 25. In the Localization category, click on “Language support”.

Step 26. English is selected by default. You can customize it accordingly. Click Done to continue.

Step 27. The next setting is Time & Date in the Localization category. Click “Time & Date” to set the correct time and date for your region.

Step 28. Select your region and city from the drop-down list. Click Done to save the new settings.

Step 29. Under the System category, click Security Policy as shown below.

Step 30. You can add policies. Click Done to continue.

Step 31. In the Software category, click on the “Installation source”.

Step 32. As we have already specified the ISO file path, it is automatically recognized here. We don’t need to do anything. Click Done to continue.

Step 33. In the Software category, click on “Software selection”.

Step 34. “Server with GUI” is already selected and does not need to be changed. Click Done to continue.

Step 35. In the System category, click on “Installation target”.

Step 36. The size is already specified, remember to select “Automatic partitioning”. Click Done to continue.

Step 37. As soon as all of the above settings have been saved, you will find that the “Start Installation” button is activated. Click on it to start the installation.

Step 38. The installation will start immediately. Sit back and relax while it completes. In the meantime, you can set the root password and create a user. Click on the “Root Password”.

Step 39. Enter a strong root password and re-enter it for verification. Click Done when you’re done.

Step 40. After entering the root password. You can proceed with creating a user. In step 38, click the User Creation icon in the window.

Provide the following details.

  • Full name
  • Username
  • password
  • confirm password

When you have completed the above, click Done to continue.

Step 41. You will need to restart the system when you are finished with the installation. Click Devices -> Optical Devices. Deactivate “CentOS-8-x86_64-1905-dvd1.iso” to boot the system from the hard disk and not again from the bootable USB.

Step 42. If a popup appears, click “Force Unmount” to continue.

Step 43. Click Machine -> Reset to restart the operating system.

Step 44. Click “Finish” to continue.

Step 45. Enter the password of the user you entered in step # 41 to log in.

You have successfully completed the CentOS 8.0 installation. I hope you enjoyed reading the article.

How to install CentOS 8 with VirtualBox 6.1 on Windows 10