Difference between revisions of "Create WeBWorK LiveDVD"

From WeBWorK_wiki
Jump to navigation Jump to search
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
===Instructions for creating WeBWorK-LiveDVD===
 
===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
   
 
# Download the ubuntu live CD
 
# Download the ubuntu live CD
 
# Install following the standard directions with the following options
 
# Install following the standard directions with the following options
 
## Don't partition disks separately (it doesn't matter for the Live DVD)
 
## Don't partition disks separately (it doesn't matter for the Live DVD)
## User name: Ubuntu
+
## User name: wwadmin
## login: ubuntu
+
## login: wwadmin
## password: admin
+
## password: wwadmin
## Computer name: WeBWorK-LiveDVD
+
## Computer name: wwserver
   
Note:
 
The process hung at step 6 -migrate settings. There were no setting to migrate but I had problems continuing. No forward key. I just starting hitting keys and something worked, maybe Fn something
 
(this may be an artifact of my laptop which has about 10 separate partitions and I'm installing into one of them)
 
   
 
Follow install directions
 
Follow install directions
# set password for MySQL (admin)
 
  +
# 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)
# add prof ubuntu/admin to admin course
 
  +
# set password for MySQL (wwadmin)
 
# 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 PinguyBuilder in Ubuntu
  +
  +
sudo dpkg -i package_name.deb
  +
  +
  +
  +
CLEAN UP SYSTEM
  +
  +
# sudo find / -name *~ -print
  +
# Clear Firefox data, logs
  +
  +
Remove openssh-server if installed
  +
  +
Unser settings
  +
  +
# LIVEUSER "wwadmin"
  +
# LIVECDLABEL "WeBWorK Live DVD Demo"
  +
# 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
  +
   
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 ubuntu/
 
   
Then run "sudo apt-get update" and install remastersys.
 
   
 
[[Category:Developers]]
 
[[Category:Developers]]

Latest revision as of 17:04, 19 July 2018

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