Create WeBWorK LiveDVD

From WeBWorK_wiki
Jump to navigation Jump to search

Instructions for creating WeBWorK-LiveDVD

Note that the resulting .iso image can be used to create both a bootable LiveDVD and a bootable Live USB flash memory stick

  1. Download the ubuntu live CD
  2. Install following the standard directions with the following options
    1. Don't partition disks separately (it doesn't matter for the Live DVD)
    2. User name: wwadmin
    3. login: wwadmin
    4. password: wwadmin
    5. Computer name: wwserver


Follow install directions

  1. except do not install openssh-server (this has to be installed after the LiveDVD installation since it fails if it's part of the LiveDVD)
  2. set password for MySQL (wwadmin)
  3. add practice users and jsmith/jsmith to myTestCourse

Read about remastersys (from http://www.geekconnection.org/remastersys/ubuntu.html)

Install Remastersys in Ubuntu

Where can I get remastersys? The Remastersys repository needs to be added to your /etc/apt/sources.list

Paste the following into the sources.list:

  1. Remastersys

deb http://www.geekconnection.org/remastersys/repository karmic/

Then run "sudo apt-get update" and install remastersys (sudo apt-get install remastersys).

CLEAN UP SYSTEM

  1. sudo find / -name *~ -print
  2. Clear Firefox data, logs

Edit /etc/remastersys.conf

  1. LIVEUSER "wwadmin"
  2. LIVECDLABEL "WeBWorK Live DVD Demo"
  3. CUSTOMISO "WW2.4_Ubuntu9.10_Vanilla_LiveDVD.iso"

Now create the iso file

  1. sudo remastersys backup


The iso file is in /home/remastersys/

to burn: right click on file and select write to disk