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


ext4: space where all files will be stored. swap



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

ext4: space where all files will be stored.
swap: an additional space (for safety) which is used when your Raspberry Pi OS consumes too much RAM.


Install GRUB boot loader
After partitioning your disk, the installation wizard will ask you if you want to install the GRUB boot loader on your newly created hard drive.

Select ‘Yes’ and then choose the device starting with ‘/dev/sda’ and then click on ‘Continue’ to proceed.

Once, the installation is finished, your Raspberry Pi OS Desktop is launched (rebooted) automatically. Otherwise, you may always start it from the virtual box main window.
You will see a GRUB menu, which will ask you to launch your preferred OS. Your Raspberry Pi OS (Desktop) is shown as “Debian GNU/Linux”, which will be launched either automatically or by pressing ‘Enter’.
After that, you will see dialogue boxes asking for configuration of your Raspberry Pi OS. You will have to do the following things:
Choose a country, language, time-zone, keyboard configuration.
Create a Raspberry Pi account (username and password).
Update software with latest available versions.
Once done with all the above settings, the final desktop screen of your Raspberry Pi OS will be visible to you after you ‘Restart’ your pi.

Writing and running your first program in Raspbian OS
Open ‘Geany’ editor in your Raspbian OS and create a ‘.cpp’ file with the following code in it.
#include
using namespace std;

int main() {


cout<<"Hello World!"<return 0;
}



Compile, build, and run your code in the editor. The output will be shown in a console window (like terminal or command prompt window).
Tasks:
You must submit a report including screenshots of virtual box and raspberry pi OS desktop, after installation, and the screenshot of editor (containing the code) and output window (showing the output) after running your first program on Raspbian OS. [10 marks]

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