Steps To Install A CentOS 7 On A Virtual Box
Steps To Install A CentOS 7 On A Virtual Box
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.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.
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.