0% found this document useful (0 votes)
91 views12 pages

Raspberry Pi - OS Installation and Interface: Shamshudeen J

The document provides instructions for installing Raspbian OS on a Raspberry Pi, including downloading the OS, copying it to an SD card using Etcher, booting the Pi, configuring settings like the username and password using raspi-config, enabling remote access via SSH or VNC, and using the nano text editor. It also lists some common commands for the Raspberry Pi like ifconfig, free, df, killall, and ps for checking network settings, RAM and disk usage, killing processes, and listing running processes.

Uploaded by

Srikanth
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
91 views12 pages

Raspberry Pi - OS Installation and Interface: Shamshudeen J

The document provides instructions for installing Raspbian OS on a Raspberry Pi, including downloading the OS, copying it to an SD card using Etcher, booting the Pi, configuring settings like the username and password using raspi-config, enabling remote access via SSH or VNC, and using the nano text editor. It also lists some common commands for the Raspberry Pi like ifconfig, free, df, killall, and ps for checking network settings, RAM and disk usage, killing processes, and listing running processes.

Uploaded by

Srikanth
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

Raspberry Pi – OS Installation

and Interface
SHAMSHUDEEN J

IoT workshop 8th Jan 2018 to 12th Jan 2018


C-DAC Chennai
Index
• Downloading Raspbian OS
• Copying OS to SD card
• Booting OS in Rpi
• Configuration
• Remote access
• nano- text editor

Raspberry Pi installation & usage 8 Jan 2018


1 2
Downloading OS
● Raspbian OS
– Raspbian Stretch with Desktop
● 1.6GB

● Graphical User Interface

– Raspbian Stretch Lite


● 348MB

● Command Line Interface

– Official link:
https://www.raspberrypi.org/downloads/raspbian/

Raspberry Pi installation & usage 8 Jan 2018


2 3
Copying OS
● Extract the downloaded .zip file to .img file
● Download Etcher and install it
● Connect SD card reader with the SD card inside
● Open Etcher, select .img file and select SD card
● Click “Flash” to begin writing data to the SD card
● SD will unmount automatically after completion of writing data.

Raspberry Pi installation & usage 8 Jan 2018


3 4
Booting OS
● Insert SD card to Rpi
● Connect HDMI to VGA converter
● Connect USB micro-B to Rpi
and turn On Power
● PWR LED – Power On
● ACT LED – SD card activity

Raspberry Pi installation & usage 8 Jan 2018


4 5
Rpi Configuration
● “sudo raspi-config” in terminal or select Rpi
configuration from Preferences

● Change default username and password


● Enable ssh,spi,i2c, camera

Raspberry Pi installation & usage 8 Jan 2018


5 6
● Set Keyboard layout to “US (international)”
● Set Timezone to “Asia/Kolkatta”
● Reboot to accept changes in configurations

Raspberry Pi installation & usage 8 Jan 2018


6 7
Remote access
● Connect to wifi
● use “ifconfig” to check IP address
● SSH(secure shell) provide command line interface to
remote machine. SSH to Rpi from host PC
– Linux: “ssh uname@ipaddress“ and enter
password when prompted
– Windows: use putty application
– Android: Termius app
● VNC (Virtual Network Computing) provide graphical
remote access
– Linux, windows, android: VNC viewer
Raspberry Pi installation & usage 8 Jan 2018
7 8
nano text editor
● Simple text editor to work with Rpi through ssh

73

73

● Other editors: vi, vim

Raspberry Pi installation & usage 8 Jan 2018


8 9
Commands for Rpi
Command Description

free -m RAM usage

df disk memory usage


give admin privileges to
sudo
following command
sudo apt-get update update package list

sudo apt-get upgrade upgrade if any available

sudo apt-get dist-upgrade OS upgradation


kill all instances related to
sudo killall processname
that process
Raspberry Pi installation & usage 8 Jan 2018
9 10
Command Description
check network parameters
like MAC address, IP
ifconfig
address and connected
network SSID
dpkg -l list installed linux packages
list system background
dmesg
messages
cat filename display content of filename
list all running instances of
ps -A | grep processname
processname

Raspberry Pi installation & usage 8 Jan 2018


10 11
Questions ?

Thank You.

Raspberry Pi installation & usage 8 Jan 2018


11 12

You might also like