Installing On a New VirtualBox VM

Installing the software yourself into a new VirtualBox VM (Advanced Users Only)

  1. Download and install the free VirtualBox on your Intel-based Mac, Windows PC, or Linux box. 
  2. Download the 32-bit Ubuntu 12.04 installation image (iso) from http://www.ubuntu.com/download/ubuntu
  3. Open Virtualbox, click "new", choose "next"
  4. Enter the name you want for the VM (we suggest "saasbook"), and choose Linux and Ubuntu (32-bit) for the OS and Version
  5. Allocate at least 1024MB for memory
  6. Choose "Create new hard disk", choose "VDI" filetype, then "Dynamically allocated"
  7. 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)
  8. Choose "Create"
  9. Your VM should now show up in VirtualBox; select it, and start it.
  10. The First Run Wizard will appear; choose "Next"
  11. Navigate to the Ubuntu .iso file you downloaded in step 2, and boot from it
  12. Choose "Start", and click through any VirtualBox prompts (you may wish to read them and follow their advice)
  13. 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.)
  14. Select "Install this third-party software", and continue
  15. Select "Erase disk and install Ubuntu", and continue
  16. Select "Install Now"
  17. While Ubuntu is configuring, set your location and keyboard preferences
  18. In the "Who are you?" dialog, enter the following:
    •  Your name: saasbook
    •  computer's name: saasbook
    •  username: saasbook
    •  password: saasbook
    •  Log in automatically
  19. Choose "Continue", wait for Ubuntu to install
  20. 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
  21. When restart is complete, in Terminal window say sudo passwd root and set root password to saasbook
  22.  when prompted, choose to run the program with "Autorun Prompt"
  23.    when done, eject the media by right-clicking on it in the launcher and selecting "Eject"
  24.    if there is an icon that looks like a PCI card in the upper right, click it and install drivers
  25.  (Optional) Remove unnecessary shortcuts on launcher, add one for terminal
  26.  (Optional) Remove unnecessary folders in home folder
  27.  set gedit ("ed") as default text editor with "sudo update-alternatives --config editor"
  28. Give the following command to download our configuration script:
  29. wget -O configure_image.sh  
  30.  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).
  31. Run the script:   . configure_image.sh
  32. Highly recommended: enable Shared Folders and Copy & Paste as described in step 6 of "To download the prepopulated VM image" above. This screencast may help.
  33. Open Firefox, go to https://addons.mozilla.org/en-US/firefox/addon/web-developer/, click "Add to Firefox"
Comments