DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING
Experiment-1
Student Name: ROSH UID:22BAI…
Branch: BE-CSE Section/Group:
Semester:6th Date of Performance:
Subject Name: Foundation of Cloud IOT Edge ML Subject Code: 22CSP-367
1. Aim: Install VirtualBox or VMware Workstation on any operating system
and set up various flavours of Linux or Windows as virtual machines.
2. Objective: Installing VirtualBox or VMware Workstation and setting up virtual
machines involves a systematic process.
3. Procedure:
Step 1: Download and Install VirtualBox
1. Go to the VirtualBox download page.
2. Choose the version for your operating system (Windows, macOS, or Linux).
3. Download the installer and follow the instructions to install VirtualBox.
Step 2: Download Ubuntu ISO File
1. Visit the Ubuntu download page.
2. Select the version of Ubuntu you wish to install (typically the latest LTS version).
3. Download the ISO file.
Step 3: Create a New Virtual Machine
1. Open VirtualBox and click on New to create a new virtual machine.
2. Name your VM (e.g., Ubuntu VM) and select the type as Linux and version as Ubuntu.
3. Click Next to proceed.
Step 4: Assign Memory
1. Allocate RAM to the virtual machine (e.g., 2GB or more depending on your system).
2. Click Next.
Step 5: Create a Virtual Hard Disk
1. Select Create a virtual hard disk now and click Create.
2. Choose VDI (VirtualBox Disk Image) as the disk file type and click Next.
3. Select Dynamically allocated to allow the disk size to grow as needed and click Next.
4. Set the size of the virtual hard disk (e.g., 20GB or more) and click Create.
Step 6: Mount the Ubuntu ISO File
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING
1. In the Settings of the new VM, go to Storage.
2. Under Controller: IDE, click the empty disk icon.
3. On the right side, click the disk icon next to Optical Drive and select Choose a disk file.
4. Browse to the downloaded Ubuntu ISO file and select it.
Step 7: Start the Virtual Machine
1. Click Start to boot up the VM.
2. Ubuntu will begin to boot from the ISO file.
Step 8: Install Ubuntu
1. Follow the on-screen instructions to install Ubuntu.
2. Select your language, keyboard layout, and then choose Install Ubuntu.
3. Select Normal installation and choose Erase disk and install Ubuntu for a fresh installation (this will
only affect the virtual disk).
4. Set your time zone and create a user account.
5. Proceed with the installation and let it finish.
6. Once done, restart the virtual machine (you may need to remove the ISO file from the VM's settings
before rebooting).
Step 9: Set Up VirtualBox Guest Additions (Optional but Recommended)
1. With the VM running, go to the Devices menu in VirtualBox and click Insert Guest Additions CD
image.
2. Inside Ubuntu, open a terminal and run the following command to install the guest additions:
bash
Copy code
sudo apt update
sudo apt install build-essential dkms
sudo mount /dev/cdrom /media
sudo sh /media/[Link]
3. Reboot your system after installation.
Step 10: Start Using Ubuntu on VirtualBox
Once installed, you can boot into Ubuntu and start using it inside the virtual machine
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING
4. OUTPUT:
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING
Learning Outcomes:
Acquire the ability to install and configure VirtualBox or VMware Workstation effectively.
Gain practical experience in installing and managing Linux and Windows operating systems on virtual
machines.
Understand how to configure virtual machines, including resource allocation and optimization.
Explore and implement networking options for seamless communication between virtual machines and
the host system.
Build problem-solving and troubleshooting skills related to virtualization environments.