Stop Thinking, Just Do!

Sung-Soo Kim's Blog

Stanford Compilers Course

tagsTags

7 November 2015


Cool Compiler [Stanford Compilers Course]

VirtualBox VM setup

Learn more. </h2>

If you have not used a VM before, the idea is that you will be running an entire operating system on inside a program (VirtualBox) that looks to the virtual guest operating system like real hardware. We provide downloadable image of the guest OS with everything installed, so that you only need to do minimal setup to get started.

Note that since a VM contains a whole second operating system, the system requirements are high. The VM will take a bit over 512MB of ram (so you will probably want to have 2GB of total ram to keep Windows or Mac OS X running smoothly), plus a bit over 2GB of hard disk space.

Getting VirtualBox

Getting our VM image

Using the VM

The provided account is “compilers” and the password is “cool”.

  • To start the VM, click the green “Start” button. This should make the VM boot.

  • To shut down the VM, click on the round “Bodhi” button at the bottom left and click System. Then choose Power Off.

  • We have installed what you need to do the assignments, plus a few other programs, such as vim and emacs. If you want to install other packages, you can use the Aptitude graphical package manager (under the Bodhi menu->Applications->Preferences) or the apt-get command line tool. If you are not familiar with these, there are many tutorials online that you can find through a quick Google search.

  • To get a terminal, click on the terminal icon at the bottom of the screen. This should get you to the point where you can start the assignments.

This VM is based on Bodhi Linux, which is itself based on the popular linux distribution Ubuntu. We used Bodhi Linux in order to keep the download size more manageable, since a full Ubuntu install is quite large. However, since it is based on Ubuntu, most Ubuntu software packages can be installed on Bodhi Linux as well.

If you have a problem that you cannot solve, please post on the Coursera forums. Unfortunately the TAs cannot always provide personalized help to students in the public class, but we do monitor the forums, so we will try to post solutions to common problems when they come up as soon as possible.


comments powered by Disqus