Instead of manually installing Ubuntu and all that to follow along for this, it'd probably be way easier to just install Vagrant (http://www.vagrantup.com/) and run a couple commands:
$ vagrant init precise64 http://files.vagrantup.com/precise64.box
$ vagrant up
A few minutes and a couple commands versus a lot of manual work.