8
Installation steps for Virtual Box and Virtual Machine Virtual Box: It allows us to create virtual computers within our physical computer, enabling us to run multiple operating systems without dealing with dual booting or hardware configurations. Setting up Virtual Box is very straightforward, and most of our time will be spent performing the standard operating system installation. I. How to install Virtual Box 1. Download virtual box: VirtualBox 4.3.26 Oracle VM VirtualBox Extension Pack https://www.virtualbox.org/wiki/Downloads 2. Install the virtual box setup: As we are using Windows, double-click the setup file and follow the prompts to install. During the Windows installation, keep all of the options set to their default.

Virtual Box.docx

Embed Size (px)

Citation preview

Installation steps for Virtual Box and Virtual Machine

Virtual Box: It allows us to create virtual computers within our physical computer, enabling us to run multiple operating systems without dealing with dual booting or hardware configurations. Setting up Virtual Box is very straightforward, and most of our time will be spent performing the standard operating system installation.I. How to install Virtual Box 1. Download virtual box: VirtualBox 4.3.26 Oracle VM VirtualBox Extension Pack https://www.virtualbox.org/wiki/Downloads2. Install the virtual box setup: As we are using Windows, double-click the setup file and follow the prompts to install. During the Windows installation, keep all of the options set to their default.

3. Start the virtual Box: We can run Virtual Box directly from the installation program, or we can start it from the desktop icon.II. Creating a Virtual Machine (i.e. how to add operating systems to it)To create virtual machine firstly Reboot the system: Press F12 to go to the BIOS, select Processor Settings, and set Virtualization Technology to Enabled.1. Click the "New" button & Identify the operating system: This will open the wizard that will ask to give the new virtual machine a name as well as choose what operating system we will be installing.

*Note: We will be installing Ubuntu 14.04.2. If we are installing the 64-bit version of the operating system, make sure to choose the 64-bit version from the Version menu. 2. Set the RAM: We need to specify how much of our computer's RAM will be allocated to our virtual machine 3. Create a virtual hard drive: The virtual machine will need a virtual hard drive in order to install the operating system and other programs.4. Select VDI: The most common format for virtual hard drives is VDI (Virtual Box Disk Image).5. Storage on hard drive: Select either dynamically allocated or fixed size as desired by you. Note: we are selecting dynamically allocated.6. File location and size: Select the file location and size of the virtual hard drive.

After this process a virtual machine will get added in the virtual box.

III. Installation of the virtual machine over the virtual box: (i.e. start the operating system installation)1. Before installing the operating system over the virtual machine we need to do certain settings.

a) Network setting: Right click on the virtual machine and select settings. Under it select: Network -> Attached to -> NAT Network or Bridge Adapter depending upon the requirement.

b) Storage setting: To do the storage setting, first of all we need to download the ISO image for the Ubuntu 14.04.2 (either desktop version or server version) http://www.ubuntu.com/download/desktop or http://www.ubuntu.com/download/serverRight click on the virtual machine and select settings. Under it select:

Storage -> Controller : IDE -> Empty -> CD/DVD Drive Now select the path where your ISO image is residing/ downloaded. Then press OK Button.

2. Now click on the virtual machine and it will ask for Installation.3. Click on Install Ubuntu and follow the options. 4. After this process Ubuntu will get installed on your system.5. Login to Ubuntu to work on it.Note: If you have installed the desktop version then GUI will be shown but in case you have installed the server version you need to run the following command in order to get the GUI/desktop. sudo apt-get install Ubuntu-desktopor sudo apt-get install --no-install-recommends Ubuntu-desktop

IV. Cloning a virtual machine: This method is very simple. Here are the steps:1. Make sure the virtual machine is shut down.2. Right click the image and select Clone3. Name the clone, select reinitialize MAC address and then continue.4. Choose Full Clone.