Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 1.43 KB

01_raspberrypi.md

File metadata and controls

44 lines (33 loc) · 1.43 KB

Raspberry PI

This is an introduction for Linux and OS X users. Windows user may have a look on this pages: http://www.raspberrypi.org/documentation/installation/installing-images/windows.md

SD card

  • Just take care that you have 4 GB minimum and no data on it
  • Insert card and unmount it umount /dev/sdb2

Operating system

  1. Download Debian RaspberyPi OS wget http://downloads.raspberrypi.org/raspbian_latest
  2. Write on SD Card sudo dd bs=4M if=2015-02-16-raspbian-wheezy.img of=/dev/mmcblk0
  3. Connect with SSH ssh pi@192.168.1.2 Password: raspberrypi
  4. Update packages

Links

Login

ssh pi@192.168.1.x

Install dependencies

I prefer the midnight commander. It is a file manager like the good old norton commander. It includes a easy to use text editor, called mceditor. But you can install the editor of your choice.

sudo aptitude update
sudo aptitude install mc git mysql-server mysql-client

Configuration

Setup cli standard editor with:

sudo update-alternatives --config editor

(hit 3 for midnight commander editor (recommended for linux beginners like me ;-)