if you don't know what is Raspberry Pi, just head to http://www.raspberrypi.org/.
---- Installing the Linux Distro ----
Lets begin with the very basic, downloading and installing a Linux distro into our piI recommend using the Raspbian "Wheezy" as a starting point.
Raspberry pi download page: http://www.raspberrypi.org/downloads
Once you get the distro file "img" you need a little program to load it into a SD card, there are many out there but I like to use: win32disk imager
You can download it from: http://sourceforge.net/projects/win32diskimager/
---- First Commands ----
The first thing I like to do is enable SSHyou can do this by running this command:
sudo raspi-configand enable ssh as shown in the next figure.
once SSH is enabled, you can login to your pi remotely using Putty or any other Telnet/SSH client
Other useful command I like to run the first time I boot up onto my pi is:
this will ensure that I have all the packages up to date.
sudo apt-get updatesudo apt-get upgrade
---- Installing a Graphical Remote Desktop Connection ----
From time to time I like to use a graphical interface to do some task. One way of doing this is using a Remote Desktop Connection.First install Tight Vnc Serve by running this command.
sudo apt-get install tightvncserverafter installing the Tight Vnc Server, you can run it manually every time you need it (using ssh) with this command
vncserver :1 -geometry 1600×900 -depth 16 -pixelformat rgb565:and after you have finished using it, run
vncserver –kill :1to kill the server and stop using any resources.
There is also a way to fire up Tight Vnc Server every time the pi boots, head to the link below for more details.
Source: http://www.howtogeek.com/141157/how-to-configure-your-raspberry-pi-for-remote-shell-desktop-and-file-transfer/all/
---- Installing Git ----
sudo apt-get install git
---- Installing GPIO Drivers ----
sudo apt-get install python-devsudo apt-get install python-rpi.gpio
---- Enable SPI and I2C module ----
sudo nano /etc/modprobe.d/raspi-blacklist.conf
#blacklist spi-bcm2708
#blacklist i2c-bcm2708
---- Install SPI Drivers ----
git clone git://github.com/doceme/py-spidev
sudo python setup.py install