DEV Community

Kamrul Hasan
Kamrul Hasan

Posted on

2 1 1 1

How to install CentOS in Virtual Box

CentOS Installation on Virtual Box

Image description

1.Download Virtual Box and install it on you Host Operating System:

https://www.virtualbox.org/wiki/Downloads

2.Open the Virtual Box and click “New” button.

Image description

3.Fill up the fields and click “Next” Button

  • • Name: For identifying your OS, put the name which OS you are installing.
  • • Folder: In this filed refers to where you install the OS system files
  • • ISO Image: Refers to select .iso image from your computer.
  • • Skip the Unattended Installation

Image description

4.In this section provide the Base Memory (RAM) and Processors then click “Next” button.

Image description

5.In this section provide the storage for the installation and click “Next” button.

Image description

6.You will find the total system configuration summary then “Finish” button.

Image description

7.Select the centos and click on the “Start” button.

Image description

8.An installation window will be open, and it will automatically select “Install CentOS Stream 9” and press “Enter” It will start booting the system.

Image description

9.Select Language and press “Continue” button.

Image description

10.Installation summary page will be opened. And click on Root Password option.

Image description

11.Provide the root password and default username will be root. click on the “Done” button.

Image description


12.Click on the User Creation option for create a user.

Image description

13.Fill up the fields such as Full name, Username, Password and click on “Done” button.

Image description

14.Now set up the automatic storage disk. Click on the “Installation Destination”.

Image description

15.Select the and check mark the “Local Standard Disks”, radio button will be automatic. And finally click on “Done” button.

Image description

16.Now click on the “Begin Installation” button.

Image description

17.Installation process will start, and I will take some time according to your pc configurations. Keep patience and wait until this part is completed.

Image description

18.After Installation process complete click on the “Reboot System” button.

Image description

19.Finally, you will get the login page for entering the centos system. Click on the Name Shown on the screen.

Image description

20.Type passwordwhich you already created for this user.

Image description

21.Now click on No Thanks or You can Take Tour.

Image description

22.You will get the final window for the CentOS. Click Activities and then click Terminal Icon.

Image description

23.Now you can update your system by following the steps below on the screenshot. You can directly update as root user. Here you can see steps to update your system as a normal user.

Let apply this command:

`- sudo dnf update

  • su – root
  • usermod -aG wheel mrk
  • su – mrk
  • sudo dnf update`

Image description

Md. Kamrul Hasan

LinkedIn: https://linkedin.com/in/kamrul-dev
GitHub: https://github.com/kamrul-dev

Related keywords:

install CentOS VirtualBox,
CentOS VirtualBox tutorial,
CentOS 7 VirtualBox setup,
CentOS VirtualBox installation guide,
CentOS VirtualBox DevOps,

Kamrul Hasan DevOps Engineer,
DevOps tips by Kamrul Hasan,
Kamrul Hasan Docker tutorials,
Learn DevOps with Kamrul Hasan,
Kamrul Hasan automation expert,
Kamrul Hasan cloud and containers,
CI/CD pipelines by Kamrul Hasan,
Kamrul Hasan Kubernetes & Docker,

AWS Security LIVE! Stream

Streaming live from AWS re:Inforce

What’s next in cybersecurity? Find out live from re:Inforce on Security LIVE!

Learn More

Top comments (0)

AWS Security LIVE! Stream

Streaming live from AWS re:Inforce

Tune into Security LIVE! at re:Inforce for expert takes on modern security challenges.

Learn More