Difference between revisions of "Create WeBWorK LiveDVD"

From WeBWorK_wiki
Jump to navigation Jump to search
Line 32: Line 32:
 
Then run "sudo apt-get update" and install remastersys (sudo apt-get install remastersys).
 
Then run "sudo apt-get update" and install remastersys (sudo apt-get install remastersys).
   
New directions:
+
'''New directions''':
   
 
You can install Remastersys in Ubuntu 12.04
 
You can install Remastersys in Ubuntu 12.04

Revision as of 20:09, 25 June 2013

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:

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

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

New directions:

You can install Remastersys in Ubuntu 12.04

As root - issue

'sudo su' in the terminal window prior to the following command.

wget -O - http://www.remastersys.com/ubuntu/remastersys.gpg.key | apt-key add -

sudo gedit /etc/apt/sources.list Add the following line

  1. Remastersys Precise

deb http://www.remastersys.com/ubuntu precise main Now open the terminal and type

sudo apt-get update && sudo apt-get install remastersys remastersys-gui

CLEAN UP SYSTEM

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

Remove openssh-server if installed

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