Difference between revisions of "Create WeBWorK Virtual Machine (.OVA) File"

From WeBWorK_wiki
Jump to navigation Jump to search
Line 13: Line 13:
 
# Install following the standard directions with the following options
 
# Install following the standard directions with the following options
   
## Don't partition disks separately
+
# Don't partition disks separately
## User name: wwadmin
+
# User name: wwadmin
## login: wwadmin
+
# login: wwadmin
## password: wwadmin
+
# password: wwadmin
## Computer name: wwserver
+
# Computer name: wwserver
   
# set password for (wwadmin)
+
# set password for webworkWrite (wwadmin)
 
# add practice users and jsmith/jsmith to myTestCourse
 
# add practice users and jsmith/jsmith to myTestCourse
  +
# add the standard sets to myTestCourse
  +
# implement all options A-E except C (run WW through SSL)
   
Read about PinguyBuilder (from https://sourceforge.net/projects/pinguy-os/files/ISO_Builder/)
 
   
Install PinguyBuilder in Ubuntu
 
  +
'''Remove openssh-server'''
 
  +
sudo apt remove openssh-sftp-server
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
 
   
   
Line 60: Line 38:
 
# set password for MySQL (wwadmin)
 
# set password for MySQL (wwadmin)
 
# add practice users and jsmith/jsmith to myTestCourse
 
# add practice users and jsmith/jsmith to myTestCourse
# add the standard sets to myTestCourse
+
# add the 4 standard sets to myTestCourse
 
# implement all options A-E except C (run WW through SSL)
 
# implement all options A-E except C (run WW through SSL)
 
 
CLEAN UP SYSTEM
 
 
# sudo find / -name *~ -print
 
   
   
 
Remove openssh-server (this has to be installed locally)
 
Remove openssh-server (this has to be installed locally)
 
 
 
 
 
 
 
 
   
   

Revision as of 16:20, 9 May 2020

Instructions for creating a WeBWorK Virtual Machine (.OVA) Image

Note that the resulting .ova image can be used to create a virtual machine

Build the server on VirtualBox

  1. Select dynamic vmdk disk, e.g. 20 GB
  2. 8 GB memory
  3. 4 cpu's
  1. Download the ubuntu live CD (server version)
  2. Install following the standard directions with the following options
  1. Don't partition disks separately
  2. User name: wwadmin
  3. login: wwadmin
  4. password: wwadmin
  5. Computer name: wwserver
  1. set password for webworkWrite (wwadmin)
  2. add practice users and jsmith/jsmith to myTestCourse
  3. add the standard sets to myTestCourse
  4. implement all options A-E except C (run WW through SSL)


Remove openssh-server

sudo apt remove openssh-sftp-server
  1. set password for MySQL (wwadmin)
  2. add practice users and jsmith/jsmith to myTestCourse
  3. add the 4 standard sets to myTestCourse
  4. implement all options A-E except C (run WW through SSL)


Remove openssh-server (this has to be installed locally)