Raspberry PI
From BITPlan Wiki
Raspbian[edit | edit source]
Raspbian Buster with desktop and recommended software
- Download Zip File from https://www.raspberrypi.org/downloads/raspbian/
- Create SD Card as described in https://www.raspberrypi.org/documentation/installation/installing-images/
- Insert SD Card into Raspberry PI
- Connect Keyboard, Mouse, HDMI-Monitor and 5 Volt Mini USB (2.5 Amps recommended)
- Setup Country, pi user password etc. and connect to your WIFI network - after the setup you'll be asked to restart your pi
Enable ssh and vnc[edit | edit source]
sudo raspi-config
In Interfacing Options enable VNC/SSH
Useful Utilities[edit | edit source]
Useful commands[edit | edit source]
remote access[edit | edit source]
ssh pi@ip
on raspberry itself[edit | edit source]
cd # change directory
ls # list directory content
ifconfig # show network configuration e.g. ip
lsusb # list usb devices
sudo apt-get update # update software list
sudo apt-get upgrade # upgrade software to latest version
sudo apt-get install minicom # install software e.g. here minicom
sudo fdisk -l # list disks
sudo mount -l # see which partitions are mounted
sudo umount /dev/sda2 # unmount file system
sudo fsck -fy /dev/sda2 # filesystem check with automatic forced fix
sudo halt # halt
sudo df # show free disk space