Difference between revisions of "Create WeBWorK LiveDVD"

From WeBWorK_wiki
Jump to navigation Jump to search
Line 18: Line 18:
 
# add practice users and jsmith/jsmith to myTestCourse
 
# add practice users and jsmith/jsmith to myTestCourse
   
Read about remastersys (from http://www.geekconnection.org/remastersys/ubuntu.html)
 
  +
Read about PinguyBuilder (from https://sourceforge.net/projects/pinguy-os/files/ISO_Builder/)
   
Install Remastersys in Ubuntu
+
Install PinguyBuilder in Ubuntu
   
Where can I get remastersys?
 
  +
sudo dpkg -i package_name.deb
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
 
 
#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
 
CLEAN UP SYSTEM
Line 59: Line 33:
 
Remove openssh-server if installed
 
Remove openssh-server if installed
   
Edit /etc/remastersys.conf
 
  +
Unser settings
   
 
# LIVEUSER "wwadmin"
 
# LIVEUSER "wwadmin"
Line 66: Line 40:
   
 
Now create the iso file
 
Now create the iso file
#sudo remastersys backup
 
   
   
The iso file is in /home/remastersys/
 
   
  +
The iso file and md5 sum is in /home/PinguyBuilder/PinguyBuilder
 
to burn: right click on file and select write to disk
 
to burn: right click on file and select write to disk
   

Revision as of 14:28, 13 June 2016

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 PinguyBuilder (from https://sourceforge.net/projects/pinguy-os/files/ISO_Builder/)

Install PinguyBuilder in Ubuntu

sudo dpkg -i package_name.deb


CLEAN UP SYSTEM

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

Remove openssh-server if installed

Unser settings

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

Now create the iso file


The iso file and md5 sum is in /home/PinguyBuilder/PinguyBuilder to burn: right click on file and select write to disk