0% found this document useful (0 votes)
149 views12 pages

Steps To Install A CentOS 7 On A Virtual Box

1. Download the CentOS 7 ISO image and attach it to a new VirtualBox virtual machine with 1GB RAM and a 16GB virtual hard drive. 2. Configure the virtual machine's network, time zone, and mirror settings during installation. Select to install only the basic packages. 3. Create a root password and optional user account during installation. The installation will take several minutes to complete. Reboot into the new CentOS 7 virtual machine once installed.

Uploaded by

Yahoo Pagal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
0% found this document useful (0 votes)
149 views12 pages

Steps To Install A CentOS 7 On A Virtual Box

1. Download the CentOS 7 ISO image and attach it to a new VirtualBox virtual machine with 1GB RAM and a 16GB virtual hard drive. 2. Configure the virtual machine's network, time zone, and mirror settings during installation. Select to install only the basic packages. 3. Create a root password and optional user account during installation. The installation will take several minutes to complete. Reboot into the new CentOS 7 virtual machine once installed.

Uploaded by

Yahoo Pagal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
You are on page 1/ 12

Steps to install a CentOS 7 on a Virtual Box

1. Download a CentOS 7 image


1.a. Download the official CentOS ISO from the official website, the latest CentOS build is 7.

2. Virtual Box
2.a. Start by clicking New and give your machine a name (I chose server33).
Click Next.
2.b. A Linux computer without graphical interface will run fine on half a gigabyte of
RAM.

2.c. A Linux virtual machine will need a virtual hard drive.


2.d. Any format will do for our purpose, so I left the default vdi.

2.e. The default dynamically allocated type will save disk space (until we fill the
virtual disk up to 100 percent). It makes the virtual machine a bit slower than fixed size,
but the fixed size speed improvement is not worth it for our purpose.
2.f. The name of the virtual disk file on the host computer will be server33.vdi in my
case (I left it default and it uses the vm name). Also 16 GB should be enough to
practice Linux. The file will stay much smaller than 16GB, unless you copy a lot of files
to the virtual machine.

2.g. You should now be back to the start screen of Virtualbox. If all went well, then
you should see the machine you just created in the list.
2.h. After finishing the setup, we go into the Settings of our virtual machine and attach
the .iso file we downloaded before. Below is the default screenshot.

2.i. This is a screenshot with the .iso file properly attached.


3. Installing CentOS 7
3.a. The screenshots below will show every step from starting the virtual machine for
the first time (with the .iso file attached) until the first logon.

3.b. Select the language in which you want your CentOS.


3.c. You should arrive at a summary page (with one or more warnings).

3.d. Start by configuring the network.


3.e. Select your time zone, and activate ntp.

3.f. Choose a mirror that is close to you. If you can't find a local mirror, then you can
copy the general CentOS mirror.
3.g. It can take a couple of seconds before the mirror is verified.

3.h. I did not select any software here (because I want to show it all in this training).
3.i. After configuring network, location, software and all, you should be back on this
page. Make sure there are no warnings anymore (and that you made the correct choice
everywhere).

3.j. You can enter a root password and create a user account while the installation is
downloading from the internet. This is the longest step, it can take several minutes.
3.k. If you see this, then the installation was successful. Time to reboot the computer
and start CentOS 7 for the first time.

3.l. This screen will appear briefly when the virtual machines starts. You don't have to
do anything.
3.m. After a couple of seconds, you should see a logon screen. This is called a tty or
a getty. Here you can type root as username. The login process will then ask your
password (nothing will appear on screen when you type your password).

3.n. And this is what it looks like after logon. You are logged on to your own Linux
machine.

You might also like