Course Instructor: Dr Ali Hassan Lab Instructor: Hamza Aleem Shami Student Name



Download 5,2 Mb.
bet1/2
Sana02.11.2022
Hajmi5,2 Mb.
#859504
  1   2
Bog'liq
IoT Lab 01


EC-435 Introduction to IoTs

LAB MANUAL # 01



Course Instructor: Dr Ali Hassan
Lab Instructor: Hamza Aleem Shami
Student Name: _______________________________________________
Degree/ Syndicate: ____________________________________________

LAB # 01: Installation of Raspberry Pi OS (Desktop) on a Virtual Machine



Objective:
In this tutorial you will learn how to install Raspberry Pi OS Desktop on a virtual machine and how to code and run your first program on Raspberry Pi OS.
Tools Used:

Things to bring for the lab

  • Try to bring your own laptop

  • Download following before coming to lab

    • https://www.raspberrypi.com/software/raspberry-pi-desktop/

    • https://www.virtualbox.org/wiki/Downloads

Steps:

  1. Download Raspberry Pi OS Desktop ISO

First, go to this link, and then download the ISO file of Raspberry Pi OS Desktop.
https://www.raspberrypi.com/software/raspberry-pi-desktop/
This file will take some time to download since the file size is more than 3GB.


  1. Install Virtual Box

Now, to install Oracle VM Virtual Box, go to this link, and download the executable file (setup) of Virtual Box, for your desired operating system.
https://www.virtualbox.org/wiki/Downloads

Once downloaded, run the setup to install Virtual Box and follow the steps given below:


Here, you have successfully intsalled Virtual Box. Here one can see that there isn’t virtual machine created by default or by the user.

  1. Create a new virtual machine for Raspberry Pi OS Desktop

Since, there wasn’t any pre created virtual machine, we will create one for Raspberry Pi OS Desktop. Click on ‘New’ button and further set the parmeters in the opened dialogue boxes.

Virtual Machine Name and Type
Give the virtual machine a suitable name and select the version as per your system/hardware requirement (Debian 32-bit in my case).

Ram Allocation
Choose how much RAM you want to allocate to your virtual machine. Recommended memory size is 1GB, but you may choose more (4GB in my case), depending on your available memory.

Virtual Hard Disk
Now, create a virtual hard disk for your virtual machine by allocating some space from hard disk. The default is 8GB but the recommended size 15 to 25GB (16GB in my case).


Now click the ‘Create’ button. As a result, the virtual hard disk will be created, and the pop-up window will be closed. Thus, a new virtual machine will appear in the left column of Virtual Box window. You may also see different settings/specs (general, system, storage etc.) of your virtual machine.


Allocate CPUs for your Virtual Machine
To boost your virtual machine, you may select/allocate more than 1 CPUs (cores) for processing. For that, click ‘Settings’ in Virtual Box window and then goto ‘System’ tab and then into ‘Processor’ panel, and then choose the desired settings depending on your system specifcations.


Associate the Raspberry Pi OS Desktop ISO file to your Virtual Machine
Now, go into the ‘Storage’ tab, and select the ‘Empty’ disk icon below the ‘Controller: IDE.’ On the right, click on the disk icon, select ‘Choose a disk file’, and fetch your downloaded Raspberry Pi OS Desktop ISO file. Click ‘OK’ to save the settings.

Almost half of the installation is done. You have successfully created a virtual machine, allocated RAM and CPU, and associated the Raspberry Pi OS Desktop ISO. Now it is the time to install the Raspberry Pi OS Desktop itself.

  1. Install Raspberry Pi OS Desktop on your virtual machine

In the virtual box, click on the green ‘Start’ arrow-shaped button to power on the virtual machine. After that, in the menu, choose ‘Graphical Install’ with the help of arrow keys.


Choose Language
Select your desired language for the installation to proceed.

Partition Disks
Just follow the steps as shown in the figures and choose appropriate options in the dialogue boxes. As a result, you will see two partitions created on your virtual hard disk:

Download 5,2 Mb.

Do'stlaringiz bilan baham:
  1   2




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish