Difference between revisions of "Raspberry PI"
Jump to navigation
Jump to search
Line 14: | Line 14: | ||
*[https://www.realvnc.com/de/connect/download/viewer/ VNC Viewer] | *[https://www.realvnc.com/de/connect/download/viewer/ VNC Viewer] | ||
== Useful commands == | == Useful commands == | ||
+ | === remote access === | ||
+ | <source lang='bash'> | ||
+ | ssh pi@ip | ||
+ | </source> | ||
+ | === on raspberry itself === | ||
<source lang='bash'> | <source lang='bash'> | ||
cd # change directory | cd # change directory |
Revision as of 14:27, 26 July 2019
Raspbian
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
sudo raspi-config
In Interface Options enable VNC/SSH
Useful Utilities
Useful commands
remote access
ssh pi@ip
on raspberry itself
cd # change directory
ls # list directory content
ifconfig # show network configuration e.g. ip
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