Assignment #1: Installing a new operating system in VirtualBox
and playing with Virtual Machines
                               Fulvio Risso
                          http://fulvio.frisso.net
1
Why this assignment?
◼   Being able to install a new operating system is a MUST for computer engineers
◼   Using basic virtualization primitives (i.e.,    virtual   machines)   is   becoming
    increasingly common in the computing world
◼   This assignment requires the use of a hypervisor (e.g., Virtualbox)
3
The problem (1)
◼   Create a short video (possibly no more than 5 minutes, MPEG4 format) showing:
     ◼   1) The most important installation steps for a new VM running the Ubuntu Operating
         System, Desktop version (e.g., Ubuntu 22.04 Desktop, such as in Lab1 - part 2)
     ◼   2) The capability to connect two virtual machines with a bridged network (i.e., Lab 1 –
         part 3)
◼   Mode details in the next slide
◼   Upload the resulting video on the Polito/Exercise web portal
4
The problem (2)
◼   In particular, the video should include:
     ◼   Creation of the VM (i.e., hardware setting) through the proper Virtualbox wizard, showing
         that the VM has 1GB RAM, 1 CPU core, and 10GB of disk space
     ◼   Show that the CDROM of the machine points to the Ubuntu ISO installation disk
     ◼   Show the boot of the operating system
     ◼   Show the desktop of the operating system, when the install is finished
     ◼   Show that you can copy a text from your host (e.g., Windows) and the VM (and vice versa)
     ◼   Open a “terminal” and type the “top” command, showing the memory and CPU
         consumption of your VM
     ◼   Open a Task Manager in Windows (or the equivalent program if you have another operating
         system) and show the memory and CPU consumption of the VM
     ◼   With respect to the second part of the lab (cloning and connecting two virtual machines),
         show that the two VMs are running side-by-side on your desktop and that you can “ping”
         one from the other.
5
Some suggestions
◼   How can I record my Desktop?
     ◼   You can use the free tool Screencast-o-Matic: https://screencast-o-matic.com/
     ◼   If possible, reduce the number of video frames per second (e.g., 15 fps instead of
         the default value, which is usually 30fps) in order to decrease the size of the file
◼   I never installed an Ubuntu operating system, nor used Virtualbox. Where can I
    learn?
                            “How to Install Ubuntu 20.04 on VirtualBox in
                                   Windows 10 / Windows 8,” from
                                ProgrammingKnowledge, available at
                          https://www.youtube.com/watch?v=x5MhydijWmc