Note: This is unnecessary if you want to *use* quickstart. Just follow the installation instructions.

If you for some reason need to rebuild a virtual machine "from scratch", these are the steps. Not all of the configuration is scripted. Much of the GUI configuration (inc setting up Firefox Add-ons) is manual.

Updating for version 1.0 and Ubuntu 11.04

  1. Download some things to start:
  2. Create a new virtual machine in Virtualbox:
    • Start Virtualbox
    • Click New -> Next -> Name: Quickstart, OS: Linux, Version: Ubuntu
    • Set RAM to 50% of your system ram. (min 1024mb)
    • Accept defaults -> Finish
  3. Configure a "shared" folder to move files between host and guest. This lets you move files between your pc, and the development environment.
    • Find the new virtual machine in the list
    • Right-Click -> Settings -> Shared Folders -> Click the +Folder icon on the right
    • Find a folder in your computer you want to share. Probably on your desktop.
    • In "Folder name", type "shared" -> Ok -> Ok
  4. Start the new virtual machine from the list:
    • The "First Run Wizard" starts.
    • Next -> Under "Media Source", click the Icon next to the dropdown.
    • Click Add, and select the Ubuntu CD image you downloaded.
    • Select the defaults, and wait for the install to start.
    • If this doesn't happen, manually mount the cd with Devices->CD->More... and add the CD to VBox
  5. Install Ubuntu:
    • Accept all the defaults
    • Use "quickstart" for the username and password. Use qs10 as a computer name
    • On the username/password page select "Log in automatically"
    • After install finishes, at reboot screen, remove the Ubuntu install CD. Quickstart VM window -> Devices -> CD/DVD Devices -> Unmount CD/DVD Device
    • Reboot the Quickstart vm
    • System->Administration->Update Manager->Check (password is quickstart) -> Install Updates
    • Restart (this brings kernel up to date for next step)
  6. (Guest additions are installed in the script)
  7. Install Quickstart development tools:
    • Start a command line "terminal": Applications -> Accessories -> Terminal
    • Run these commands to: install git, checkout quickstart, start the install script (remember the password is "quickstart"):
      sudo apt-get -y install git-core
      git clone --branch master http://git.drupal.org/project/quickstart.git 
      bash ~/quickstart/install-quickstart.sh
    • During the scripted process, use "quickstart" for all passwords
    • At the end of the scripted process, a text file will open with some instructions for manual configuration
    • See the handbook documentation for some quick tips on using Quickstart.

Comments

drupaljohngo’s picture

I'm examining some of the quickstart scripts and I'm wondering what is the downside
to running say just the lamp install script on other virtual machines or another 10.04
Ubuntu or dare I say a PinguyOS. The Ubuntu package repositories aren't so different.

Yesterday, I viewed all the installed items on a cloned copy of Quickstart 1.0 and tried
to mirror as much as I could on a clean 120gb laptop. I was tempted by the
thought of examining the scripts to see if running sudo bash [ lamp script].sh would
simply install the virtual host , php , mysql and all the fixings and trimmings. Importantly
the drush configuration is what I'm interested in.Keeping the Quickstart 1.0 virtual machine
at home and using a modified version with the quickstart commands. I tried copying
the drive with netcat and compressing the files over a LAN. I'm still at a loss as to the proper dd
commands and how to get the grub boot loader to work. A modified script seems the way to go.
The only other option is to shell out the cash for a VMware that copies virtualized machines to
a physical machine.

If anyone has any advice for which scripts would definitely be worth trying on a 10.04 system let me
know. I'd like add understand how to write scripts for e-commerce ubercart installs, open atrium scripts,
and other modified installations. Oh joy.

After a day or so:

Quickstart is now running on PinguyOS. I'm getting errors with XHprof but that should be resolved before the end of the day. I had some
errors but these scripts ran well: quickstart-3-lamp.sh quickstart-4-des.sh quickstart-6-devenv.sh & update.sh ran.
Permission for creating folders with drush qc (quickstart-create) was a mess. I should have created
a users and groups setup the same as the the virtual machine. I eventually changed permissions to
the drush folder and websites to my user name with sudo chown username:username -R (websites)
and ran the drush qc. The paths in quickstart.inc files needed home/myusername edits too and sites enabled.
A few days of fine tuning will pan out.