Lab 0
-----

Resources (from csci251 home page)
----------------------------------
/srv/export/TinyCore-current.iso  // tiny core boot image
dsl.vdi               // virtual hard disk (from 251 Web page)
Virtual Box // Virtualization tool available from the cub machines 

Commands
--------
vi
virtualbox
whoami
which
df
quota

Tasks
-----
Using vi, write a "Hello World" program in Perl and get it to execute
on otter.

Using vi, write a "Hello World" program in C and get it to execute
on otter.

Install TinyCore (TinyCore-current.iso) in Virtual Box. Call your virtual
installation tinycore.  Note that VirtualBox names your virtual machine
"box" (in the same way the physical machines in the lab are named cub1,
cub2, etc.)

Boot tinycore.  With regard to persistence (saving your work), backup
to device /dev/sda1.

Click on the Apps. icon to launch the application manager.
Browse from the cloud and install Firefox (firefox-official.tcz), Perl (perl5.tcz)
and GCC (compiletc.tcz).

Note: You can make VIU's tce mirror your default mirror by changing the
URL in /opt/tcemirror to (use vi):

   http://csci.viu.ca/export/tinycorelinux/

Using vi, write a "Hello World" program in Perl and get it to execute
on box.

Using vi, write a "Hello World" program in C and get it to execute
on box.

Backup the system (use the control panel back-up tool), power-off and
re-boot. What files were saved and restored and what files were lost
due to the re-boot?

Deliverables
------------

- Show your C and Perl version of Hello World executing on your virtual
machine.

- Reboot the machine and show your program files are persistant.

- Demonstrate your Virtual Hard Disk is located in ~/VirtualBox VMs


