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

From WeBWorK_wiki
Jump to navigation Jump to search
Line 1: Line 1:
===Instructions for creating WeBWorK-LiveDVD===
===Instructions for creating a WeBWorK Virtual Machine (.OVA) Image===




Line 5: Line 5:


Build the server on VirtualBox
Build the server on VirtualBox
#'''Select dynamic vmdk disk, e.g. 20 GB'''
#8 GB memory
#4 cpu's


# Download the ubuntu live CD (server version)
# Download the ubuntu live CD (server version)
# Install following the standard directions with the following options
# Install following the standard directions with the following options


## 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)
# 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
# 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




Follow install directions


[[Category:Developers]]
[[Category:Administrators]]
# 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

Revision as of 20:16, 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 (wwadmin)
  2. 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

  1. set password for MySQL (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)


CLEAN UP SYSTEM

  1. sudo find / -name *~ -print


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