saad ยป

Software Architecture and Design


Virtual Machine Setup


Foreword

The goal of this setup is to provide you instructions for setting up a Ubuntu Virtual Machine on your computer. You may use this VM to develop programs and complete assignments for this course. If you have multiple computers, install this VM on the computer with the fastest processor and most memory.


Directions

  1. Download and install the latest VirtualBox for your operating system. You can download Virtual Box at the Virtual Box downloads page.
  2. Download the Ubuntu Virtual Machine image (64bit only). The format of the image is a .ova. The image is ~3GB in size so it is advised that you connect your computer to the Internet via a wired connection for a faster download. If the download is especially slow, setup your computer to download the image overnight.
  3. In VirtualBox select File -> Import Appliance and select the .ova you just downloaded. VirtualBox will show you the VM settings and you can then click Import.
  4. Next, ensure you have at least 2048 MB of memory allocated to the VM and at least 1 CPU allocated. You can check these settings by selecting the VM in the left side bar and clicking Settings. The memory and processor settings are under the System tab. See the following screenshots for reference:

    Memory
    Screen Shot 2014-03-24 at 12.16.19 PM.png

    CPU
    Screen Shot 2014-03-24 at 12.16.36 PM.png

  5. Start the VM by clicking Start.
  6. Login to the VM using ubuntu for the username and password. Typically on startup the VM will not ask you for a username or password. However, if left running, the standby screen will prompt you for a password.
  7. Ensure you can access the MySQL administration console by clicking the phpMyAdmin shortcut on the desktop. Note the MySQL username and password are both root.