October 18, 2016

Virtual Machine

Run an operating system on a Virtual Machine



FAQ:

What is a virtual machine?

A virtual machine is an application that emulates a computer.

Can the virtual machine effect my host machine?

No and Yes. Unless you are sharing a network or have shared folders you should have no problem.

How do I run a virtual machine?

Downloading virtual box or vmware.

Which is better Vmware or Virtual Box?

Personally I use Virtual Box and this guide will show you how to use virtual box.

Requirements for Virtual Machine

1 ISO file 1 Computer / Laptop Virtual Box

General Steps



Download ISO file (Ubuntu) Download Virtual Box Create a virtual machine Set up Virtual Box Run the ISO file

Specific Steps



Step 1: Download ISO File



You can download Ubuntu from their website.

Step 2: Download Virtual Box



You can download Virtual Box from their website.

Step 3: Create a virtual machine



To do this open up Virtual Box. Click on the new button.

virtual machine

Type in the name of the operating system in this case ubuntu and it should automatically fill in the other fields. virtual box Note: If it doesnt automatically detect fill in the fields according to what operating system you want to run.

Next is to select the RAM. Usually it is fine to just use the recommended amount unless you plan on running an extensive program. In which case you may wish to increase the RAM.

RAM Virtual Box

It should by default be on virtual hard disk. Unless you want to specifically store it on another physical hard disk pick virtual.

virtual memory on disk

Go with the default VDI which is the file type that the virtual disk image will be saved as.

VDI disk image

Select the dynamically allocated otherwise it'll store it on your physical drive.

dynamically allocated virtual box

Select the total amount of space the virtual disk can take up on your computer Normally this should just be set to the default unless you will be downloading a lot of things.

Amount of space the virtual disk will take up

Now you should have the virtual machine set up. Now to select the ISO image you want to run on the virtual machine click settings.

Setting the ISO image

To select the ISO image you want to run do the following ... Go to Storage->Empty->CD Icon (Boxed in Green)

ISO IMAGE

Select the ISO image you want to run. In this case it is the Ubuntu ISO file.

Select ISO image

Now you are selecting the ISO image and can click ok to exit.

Done with set up for virtual machine

You have everything set up and now can click start and can now run the operating system.

Running virtual machine

Links: Virtual Box, VmWare, Ubuntu

Tags: Computers Guide