You are on page 1of 14

CST8101 Lab 04 VM Ware and Linux Installation

The purpose of this lab is to build the requisite foundation for completing future lab assignments.

Install and configure VM Ware Workstation 12 and Ubuntu 16.04 LTS

Required equipment and supplies:

Laptop with college approved specifications
VM Ware Workstation 12 installation files from the Algonquin college Digital Resources
Portal (Available Here:
Ubuntu 16.04 LTS installation files (Available Here:

1. Install VM Ware Workstation 12
Begin the installation wizard by double-clicking on the executable installation file you
downloaded from the Digital Resource Portal. This file should be named VMware-
workstation-full-12.1.0-3272444.exeor something similar if you did not rename it.

Pay careful attention to all of the on screen information. If you have questions, ask your lab
instructor for clarification. The following section of this lab will point out options that should
be enabled or disabled during the installation process and may not give step-by-step

Following the license agreement, the installation wizard asks you to provide a location for the
program to be placed in your file system and whether or not you would like the enhanced
keyboard driver. Opt-in for the enhanced keyboard driver by clicking the checkbox next to
this option.

Page 1 of 14
CST8101 Lab 04 VM Ware and Linux Installation

The User Experience Settings page asks if you would like to check for updates
automatically and whether or not you would like to participate in the VM Ware
improvement program.

When the installation process has finished launch the application. You may be prompted
to type in your license key. This key was provided to you from the Digital Resource

Page 2 of 14
CST8101 Lab 04 VM Ware and Linux Installation
Portal when you first downloaded the installation files. Insert your license key here to
activate your license.

2. Configure Preferences
Select the edit drop down menu and choose preferences. Under the Workspace menu choose a
default location where you would like to store your virtual machines.

Page 3 of 14
CST8101 Lab 04 VM Ware and Linux Installation

3. New VM
Under the File menu select New Virtual Machine. Select the Custom (advanced) radio button
and then click next.

Page 4 of 14
CST8101 Lab 04 VM Ware and Linux Installation

The hardware compatibility should be set to Workstation 12.0 on the Choose the Virtual
Machine Hardware Compatibility page. Click Next.

Select I will install the operating system later radio button and then click next.

Select a Guest operating system. In this case select the Linux radio button and choose
Ubuntu 64-bit from the dropdown menu.

Page 5 of 14
CST8101 Lab 04 VM Ware and Linux Installation

Give your virtual machine a meaningful name. If you set the default workspace correctly,
you should see the location is set correctly.

Page 6 of 14
CST8101 Lab 04 VM Ware and Linux Installation

The default processor configuration will be sufficient for this course. Increase the Memory
to 2048 MB.

Page 7 of 14
CST8101 Lab 04 VM Ware and Linux Installation
Use the default configurations for the NIC, Storage Controller and Hard Drive until you
reach the Specify Disk Capacity page. Select Allocate all disk space now and choose the
Store virtual disk as a single file.

Review the summary page for accuracy and then click finish. VM Ware will then create a disk
on your system (this will take a few minutes to complete).

Page 8 of 14
CST8101 Lab 04 VM Ware and Linux Installation
4. Install Ubuntu
In the VM Ware interface select the Ubuntu VM that you just created. Click Edit virtual
machine settings.

Page 9 of 14
CST8101 Lab 04 VM Ware and Linux Installation
Select CD/DVD (SATA) and then select the Use ISO image file radio button. Click
browse. Navigate to the location in your file system where you downloaded the
Ubuntu 16.04 installation ISO.

Click OK and then click Power on this virtual machine.

Page 10 of 14
CST8101 Lab 04 VM Ware and Linux Installation
Once the system boots you will be asked to Try Ubuntu or Install Ubuntu; Click
Install Ubuntu.

Page 11 of 14
CST8101 Lab 04 VM Ware and Linux Installation
Select the Download updates while installing Ubuntu checkbox and then click

Leave the installation type as default and click Install Now. You will be prompted to write the
changes to disk. Click Continue.
Select your time zone (time is very important to computers, especially when communicating
to other computers).
Next you will be prompted to select a keyboard layout. This window may be larger than your
screen. If this is the case, click and drag the title bar (where it reads Install (as superuser) to
the left so that you can click the continue button.

You will then be prompted for your name. Use your college username for this in the format
ABCD0001. Now change your computer's name from abcd0001-virtual-machine to abcd0001-

***Make sure that you write your college username instead of

Enter a password you will remember. You are responsible for your password. Once you are
satisfied with your password and have correctly typed it in click Continue.

After the system reboots, login using your credentials.

Page 12 of 14
CST8101 Lab 04 VM Ware and Linux Installation
5. Remove the Installation Media
In order to install VM Tools in the next step you will need to first remove the installation

1. Power off your VM (Use the power button in the top right corner)
2. In the VM menu select Settings.
3. Select the CD/DVD device and uncheck "Connect at power on" also select "Use physical drive"

4. Close the settings window and restart your computer.

5. Install VM Tools

In the menu bar for VM Ware Workstation click the VM dropdown menu. Select Install VM Tool.
You may receive an error indicating the CD-ROM is locked. It is locked because of the
installation disc. Click YES to override the lock.
Open a Terminal window and at the command prompt type the following command where
abcd0001 is your username and <tab> represents using tab completion to finish the exact
path to the gzip file:

tar -xzf /media/abcd0001/VMware\ Tools/<tab>

The command should look similar to this in your terminal. Please note that the version of VM
tools has changed so it will not appear exactly as shown below

ex: tar -xzf /media/abcd0001/VMware\ Tools/VMwareTools-10.0.6-3595377.tar.gz

Then type:

sudo ./vmware-tools-distrib/

You will be prompted for your password. Type it in There now.

The application will then indicate that you should use open VM tools. Type yes and then
Enter. The remainder of the default options will be adequate for this VM. When the install is

Page 13 of 14
CST8101 Lab 04 VM Ware and Linux Installation
complete type reboot and press enter to restart the VM, log back in and confirm VM Tools is

Turn of your Ubuntu machine, after its turned off, click the VM menu from the VM Ware
interface and highlight snapshot. Click Take Snapshot. Type in a name and provide a
description. Click Take Snapshot.

Turn your Ubuntu machine on again and open Terminal and take a screen-grab of your
terminal window showing your hostname and username at the prompt using the Windows
snipping tool.

Submit this screen grab to Blackboard.

Page 14 of 14