VirtualBox Tutorial for OS X

Download

System Requirements

To properly run the provided Ubuntu image, we recommend the following:

VirtualBox Installation

VirtualBox Image Installation

Running VirtualBox for the First Time

SSH login to Virtual Machine from Host

The CS143 virtual machine shares the internet connection provided by the host. If desired, you can access the virtual machine at the IP address 192.168.56.20 from the host machine.

For example, you can use this IP to connect to the guest machine with an SSH client in the host (this setup will help you "cut-and-paste" some text from the host to a file in the guest machine).

Siimilarly, you can use this IP to access the Tomcat Web server in the guest machine using a broswer in the host.

In case you are unable to access the virtual machine at 192.168.56.20, see the following troubleshooting page:

Exiting VirtualBox

To exit from the guest machine, click the red circle button on the guest machine window. You will see 3 options.

Setting Host-Only Networks