Steps for Setting up the HPCA virtual machine for Project 0
These steps have been verified for Windows 7. Please add notes for other platforms.
- Download HPCA+Ubuntu+Image.ova (Note 8/24/14: amazonaws is slow and inconsistent — throughput ranges from 1 Mbps to 30 Mbps and dies frequently for this 2.39 GB file)
- Critical: check the md5sum
df4869946123d713887362126c9e027c (you can use cygwin
md5sum.exe or Microsoft's md5sum)
- Steps 1 and 2 failed several times for me, so I used
curl to download piecemeal (and
cat to stitch the files together).
- Download and install VirtualBox (you can do this while you are waiting for the
HPCA+Ubuntu+Image.ova (or import into
VirtualBox). You should see a dialog box like the following:
- I advise checking the
Reinitialize the MAC address of all network cards to ensure unique identity.
Your VM should look like this:
- Click the start button
- You will receive a message to upgrade to the latest Ubuntu OS — you shouldn't need to
- If you want to upgrade to Trusty, I'd suggest doing it before doing any other work. That way, if you are unsuccessful you can just use the VirtualBox Manager and completely remove the VM and reinstall. If you do this after starting the project, you'll lose all of your files.
- Any time your VM is not running, you can edit some of its parameters. One very helpful option is to set up a Shared Folder. This allows you to access files on your host operating system. It's an easy way to have an option to store a copy of your work. A second is to increase the amount of memory the VM has access to if your host system has memory to spare. A third is to increase the amount of video memory used.
- Update manager will also notify you of available updates — you shouldn't need to.
- Whether you update or not - I'd recommend running in your Terminal window "sudo apt-get update --fix-missing". This will clean up the install and allow you to install other software packages at a later time. For instance, neither emacs nor synaptic are installed on the VM, so after fixing the dependencies you can "sudo apt-get install emacs synaptic" After fixing the dependencies, you can also bring your system up to date (without upgrading to Trusty) by "sudo apt-get update" followed by "sudo apt-get upgrade"
- Note to VirtualBox newbies: press and release the
Host Key (which defaults to the
Right-Ctrl) to send keyboard commands to your host PC (like
This is as far as I have gotten. I will follow remaining steps in the Project Tutorial, starting at step 4. It would be nice if someone transcribes the remaining steps to this wiki page.
If you want to add software to your virtual machine (git, svn, etc.) the credentials are just the user name.