Lab 0 ----- Resources (from csci251 home page) ---------------------------------- dsl-4.4.10-initrd.iso // dsl boot image dsl.vdi // virtual hard disk DSL Overview Virtual Box Commands -------- man man -k info 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 DSM (dsl-4.4.10-initrd.iso) in Virtual Box. Call your virtual installation dsl. Using an IDE controller, attach the virtual hard disk dsl.vdi to dsl (see "Managing VirtualBox Disk Space"). Note that DSL names your virtual machine "box" (in the same way the physical machines in the lab are named cub1, cub2, etc.) Boot box and read the getting started message in the dillo browser. With regard to persistence (saving your work on box), list the files/directories to be saved in /opt/.filetool.lst and backup to device hda1 using the control panel. Use the myDsl package browser to install gcc1.dsl (the GNU C tool-chain). Note, if you are unable to download the MyDSL apps. database then you should select a different download-server using the DSL Mirror utility (traverse the DSL-tab menu structure through Apps, Net to Download Mirror Selector). 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, power-off and re-boot. What files were saved and restored and what files were lost due to the re-boot?