Learn How To Install Centos 7 On Oracle VM VirtualBox 6.0 In 10 Minutes Or Less.
This tutorial is a step by step guide on how to install the Centos 7 linux operating system on a Oracle VM VirtualBox virtual machine. Depending on the perfomance of your computer and the compute resources allocated to the virtual machine, it should take about 10 minutes or less to complete this tutorial. Inorder to install Centos 7 successfully, the VirtualBox virtual machine needs to be a 64bit VM and configured with atleast 2 GB of RAM, a 20GB virtual hard disk, 128MB or more of video memory and a 1.1 GHz virtual processor. Once the installation is complete you will also learn how to check for and install Centos 7 system and package updates. If you would like to to watch a video of this tutorial instead click on the VIEW YOUTUBE TUTORIAL button below.
In order to complete this tutorial successfully the following items are required. Please ensure to have these items available before taking implimentation action on this tutorial:
1) The CentOS 7 disk image file (ISO FILE)
2) A computer running Windows 7 or newer, MacOS, Linux or any other operating system supported by virtual box
3) 8GB of RAM on your computer
4) VirtualBox version 6.0 or newer
5) An internet connection to check for and download Centos 7 system and package updates
1) Go to the CentOS website, navigate to the downloads page and download a copy of the Centos 7 disk image file (ISO FILE)
2) Download and install VirtualBox onto your computer
3) Open VirtualBox and create a new Redhat 64 bit virtual machine and install Centos 7
4) Login into the Centos 7 VM, check for and install system and package updates.
Step 1: Download Centos 7 & VirtualBox
1) Go to centos.org and click on the DOWNLOAD button at the top of the page. Just below where it says CENTOS LINUX, click on the 7 (2009) tab and click on the ARM64 (aarch64) link.
The web browser will redirect to a web page with a Mirror list. Click on any of the links to download the Centos 7 ISO file.
2) Proceed by going to virtualbox.org and click on the DOWNLOAD VIRTUALBOX button. Below VirtualBox 6.1.18 platform packages, click the on the appropriate download for your operating system.
Install virtualbox onto your computer including the virtual box extension pack.
Step 2: Create The CentOS Virtual Machine.
3) Open Virtualbox and click on Machine >NEW to open the new virtual machine creation wizard. Click on the EXPERT MODE button, type in a name for the virtual machine on the NAME input box and set a folder to save virtual machine files on the MACHINE FOLDER folder selection dropdown.
Set the operating system type for the virtual machine to LINUX and set the VERSION to RED HAT (64 BIT). Set the MEMORY SIZE to 2048MB, click on the CREATE A VIRTUAL HARD DISK NOW option and click on the CREATE button.
4) Next, type in the size of the virtual hard disk for the virtual machine, on the FILE SIZE input box, set the hard disk file type to VDI (VIRTUALBOX DISK IMAGE) and click on the CREATE button.
Step 3: Install CentOS 7.
5) From the VirtualBox. VM Manager, right click on the newly created virtual machine and click on START > NORMAL START.
6) When the virtual machine powers on you will be prompted to choose a start up disk image file or CD. On the file selection window that appears click on the ADD button, browse to the folder where the CENTOS 7 ISO FILE is located, click on the CHOOSE button and click on START.
7) Use the UP or DOWN arrow to highlight the INSTALL CENTOS 7 option and press ENTER on your keyboard.
8) On the first section of the CENTOS 7 installation wizard, select ENGLIST and ENGLISH (UNITED STATES) then click on CONTINUE. If you are using a keyboard with a different keyboard layout click on the HELP button for assistance.
9) On the INSTALLATION SUMMARY section, click on SOFTWARE SELECTION and select SERVER WITH GUI. Click on INSTALLATION DESTINATION, and select the 25GB virtual hard disk. Click on NETWORK & HOSTNAME and set the ETHERNET interface from OFF to ON.
Click on the BEGIN INSTALLATION button to proceed.
10) Once the operating system installation process starts, you will see option to set a password for the root user and also to create a user account. Click on ROOT PASSWORD, type in any password on the spaces provided and click on the DONE button.
11) Click on USER CREATION then type in the full name of the user that you are creating on the FULL NAME text box. Type in a USERNAME and PASSWORD on the appropriate text input box , click on the “MAKE THIS USER ADMINISTRATOR” check box then click on DONE.
12) When the installation process is complete, you will see the word COMPLETE! just above the installation progress bar. Click on the REBOOT button to proceed.
Step 4: Install Centos 7 System And Package Updates.
13) Login to the CentOS 7 virtual machine using the username and password that you created during installation and click on NEXT on the post installation setup tasks.
CentOS 7 has a built in application called SOFTWARE UPDATE that can be used to check for and install updates for components such as the system kernel and basic applications such as the FIREFOX web browser.
To open SOFTWARE UPDATE, click on APPLICATIONS > SYSTEM TOOLS > SOFTWARE UPDATE.
Once it opens it will automatically check for updates and show options for installing them.
14) If you prefer to use the Centos 7 terminal interface, click on APPLICATIONS > SYSTEM TOOLS > TERMINAL.
To check for updates run the command : yum check-update
To install system and package updates run the command: yum update && yum upgrade.