The system is formed by three components: the Moodle module, the jail daemon system and the editor. Moodle module is distributed in source format and includes the editor already compiled. The jail system is distributed in source format and needs to be compiled for installation. The code editor is distributed alone in source format and compiled in the Moodle module.
- VPL module 2.0.3 for Moodle >=2.3 vpl_module-2.0.3.zip (472 Kb)
- VPL module 2.0.2 for Moodle 2. vpl_module-2.0.2.zip (1.0 Mb)
- VPL module 1.4.5 for Moodle 1.9. vpl_module-22.214.171.124.zip (1.0 Mb)
- Jail system 1.2 vpl_xmlrpc_jail-1.2.tar.gz (110 Kb)
- ACodeEditor 1.3.1 ACodeEditor-1.3.1.src.zip (82 Kb)
To install the Moodle module or the jail daemon system you must follow the instruction at the installation pages. It may be easier get the preconfigured LiveCD than install your own jail system (see next section).
LiveCD with preconfigured jail system
The secure way to have a jail service is to use a dedicated machine (real or virtual). We have prepare a LiveCD to facilitate the installation of jail-server system. We recommend to use a virtual machine because you can take a snapshot and when you want revert the machine to an initial state.
The LiveCD is an Ubuntu 10.04.3 LTS with jail daemon 1.2 instaled and running and the following software:
- expect 126.96.36.199
- gcc 4.4.3 (C)
- gdb 7.1 (Debuger)
- gfortran 4.4 (Fortran)
- gnat 4.4 (Ada)
- gpc-4.1 (Pascal)
- g++ 4.4.3 (C++)
- hugs. september 2006 (Haskell 98)
- junit 3.8.1 and 4.8.1
- mono 2.4.4 (C#)
- mzscheme 4.2.1 (Scheme)
- octave 3.2.3
- OpenJDK 1.6.0_20 (Java 6)
- Perl 5.10.1
- PHP 5.3.2
- Python 2.6.5
- Ruby 1.8
- swipl 5.8 (Prolog)
- Valgrind 3.6.0
The LiveCD is distributed as an iso file. You can use it to test a jail server with zero configuration or install it in a machine.
- Ubuntu Jail LiveCD jail-1.2-livecd.iso (658 Mb)
To install the LiveCD into a machine follow this steps:
- Boot the machine with the LiveCD.
- Select live at the start menu.
- Run "startx" at the command line. Don't worry about the errors displayed, they are errors because the desktop software is not fully installed.
- Go to system->Administration menu and select "Install RELEASE". use "12345678" as password to start the installation.
The vlp-xmlrpc-jail is accessible on port 52000. The vlp-xmlrpc-jail service is set for answering requests from any machine, to change this you must modify the "/etc/xinetd.d/vpl-xmlrpc-jail" configuration file (see jail system configuration page).