Related tutorial: http://raspberrypiguide.de/
Command Line Cheatsheet: https://gist.github.com/hofmannsven/8392477
Find all available devices arp -a
Locate Raspberry (b8:27:eb) in Network: Pi Finder
Connect to device via SSH + Name: ssh pi@rasperrypi
Connect to device via SSH + IP: ssh [email protected]
Get system info (e.g. IP): ifconfig
Get network info: iwconfig
Get hostname: hostname
Get hostname IP: hostname -I
Check for all connected USB devices: lsusb
Switch to config: sudo raspi-config
Switch to GUI: startx
Reboot system: reboot / sudo reboot
Shutdown: sudo shutdown -h now
Start SSH while booting: sudo update-rc.d ssh defaults
Related tutorial: http://cd64.de/apache
Update system: sudo apt-get update & sudo apt-get upgrade
Install Apache: sudo apt-get install apache2 php5
Setup rewrite and overriding: sudo a2enmod rewrite » sudo nano /etc/apache2/sites-enabled/000-default
Change AllowOverride None to AllowOverride All within <Directory /var/www/>
Add Apache user via sudo visudo and add www-data ALL=(ALL) NOPASSWD: ALL to the end of the file
Restart Apache: sudo /etc/init.d/apache2 restart or sudo service apache2 restart
Files are stored within /var/www (changing will require root access)
Install MySQL: sudo apt-get install mysql-server
Install PHP with MySQl libs: sudo apt-get install php5 + sudo apt-get install php5-mysql
Play: omxplayer audio.mp3
Volume: + & -
System menu: ctrl + esc
Open programm menu: alt + space
Switch programms: alt + tab
Access dropdown: alt + [letter-with-underline] e.g. alt + f
Close window: ctrl + q
Back to CLI: ctrl + alt + backspace
Related tutorial: http://cd64.de/vnc
Install VNC: sudo apt-get install tightvncserver
Start VNC: tightvncserver
Ethernet Port: 5900
WLAN Port: 5901
Related tutorial: http://cd64.de/filesharing
Install file sharing: sudo apt-get install netatalk
Connect to Server (via ⌘K): afp://192.168.64.xxx
Via interface: http://youtu.be/sXDqMapgU_M
Via terminal: http://www.maketecheasier.com/setup-wifi-on-raspberry-pi/
Install: sudo apt-get install mc
Start: sudo mc