Difference between revisions of "Raspberry PI"

From BITPlan Wiki
Jump to navigation Jump to search
Line 17: Line 17:
 
cd # change directory
 
cd # change directory
 
ls # list directory content
 
ls # list directory content
fdisk -l # list disks
+
sudo fdisk -l # list disks
 +
sudo mount -l # see which partitions are mounted
 
sudo umount /dev/sda2 # unmount file system
 
sudo umount /dev/sda2 # unmount file system
 
sudo fsck -fy /dev/sda2 # filesystem check with automatic forced fix
 
sudo fsck -fy /dev/sda2 # filesystem check with automatic forced fix

Revision as of 11:51, 26 July 2019

Raspbian

Raspbian Buster with desktop and recommended software

  1. Download Zip File from https://www.raspberrypi.org/downloads/raspbian/
  2. Create SD Card as described in https://www.raspberrypi.org/documentation/installation/installing-images/
  3. Insert SD Card into Raspberry PI
  4. Connect Keyboard, Mouse, HDMI-Monitor and 5 Volt Mini USB (2.5 Amps recommended)
  5. 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

Usefull commands

cd # change directory
ls # list directory content
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