Installing the software yourself into a new VirtualBox VM (Advanced Users Only)
- Download and install the free VirtualBox on your Intel-based Mac, Windows PC, or Linux box.
- Download the 32-bit Ubuntu 12.04 installation image (iso) from http://www.ubuntu.com/download/ubuntu
Open Virtualbox, click "new", choose "next"
Enter the name you want for the VM (we suggest "saasbook"), and choose Linux and Ubuntu (32-bit) for the OS and Version
Allocate at least 1024MB for memory
Choose "Create new hard disk", choose "VDI" filetype, then "Dynamically allocated"
Specify where to save the .vdi file, and allow 10GB for the virtual disk (you may allow more or less, depending on how much you will add to the image and how much free space you have on your hard drive)
Your VM should now show up in VirtualBox; select it, and start it.
The First Run Wizard will appear; choose "Next"
Navigate to the Ubuntu .iso file you downloaded in step 2, and boot from it
Choose "Start", and click through any VirtualBox prompts (you may wish to read them and follow their advice)
Ubuntu should now be running; select your language and choose "Install Ubuntu" (You can select "Download updates while installing" if you wish, but it will make the VM larger and slow down the installation; we don't recommend it.)
Select "Install this third-party software", and continue
Select "Erase disk and install Ubuntu", and continue
Select "Install Now"
While Ubuntu is configuring, set your location and keyboard preferences
In the "Who are you?" dialog, enter the following:
Your name: saasbook
computer's name: saasbook
Log in automatically
Choose "Continue", wait for Ubuntu to install
Click "Restart Now", and when prompted to remove installation media, choose "Devices" > "CD/DVD Devices" in the VirtualBox menu and make sure that no media has a check mark next to it (if one does, just click it to unmount it); press <ENTER> to continue restarting
When restart is complete, in Terminal window say sudo passwd root and set root password to saasbook when prompted, choose to run the program with "Autorun Prompt" when done, eject the media by right-clicking on it in the launcher and selecting "Eject" if there is an icon that looks like a PCI card in the upper right, click it and install drivers (Optional) Remove unnecessary shortcuts on launcher, add one for terminal (Optional) Remove unnecessary folders in home folder set gedit ("ed") as default text editor with "sudo update-alternatives --config editor"Give the following command to download our configuration script:
wget -O configure_image.sh https://raw.github.com/saasbook/courseware/master/vm-setup/configure-image-XXX.shreplacing XXX with the appropriate book version number (see table at top of this page).
Run the script: . configure_image.shHighly recommended: enable Shared Folders and Copy & Paste as described in step 6 of "To download the prepopulated VM image" above. This screencast may help.Open Firefox, go to https://addons.mozilla.org/en-US/firefox/addon/web-developer/, click "Add to Firefox"