Raspberry Pi

The Raspberry Pi is my personal „Home-Webcam-Sandbox-Server“

my Raspberry PI

General Setup

apt-get update && apt-get install apache2 bc build-essential curl dnsutils git motion msmtp mtr mailutils ntpdate ngrep php5 tcpdump telnet python whois vim

NodeJS

I'm using Pre-built binaries from https://gist.github.com/adammw/3245130

Webcam

rpi-update by Hexxeh

sudo wget http://goo.gl/1BOfJ -O /usr/bin/rpi-update && sudo chmod +x /usr/bin/rpi-update

https://github.com/Hexxeh/rpi-update

DynDNS

Bigger Console Font

Most of the time I use SSH to access the Raspberry, but on HD TV the font is too small.

#!/bin/bash
# set Console Font
tty | grep -q tty
if [[ $? -eq 0 ]] ; then  # if we are on console/terminal
        setfont /usr/share/consolefonts/Lat7-TerminusBold28x14.psf.gz
else
        echo "$0 must run from a terminal"
fi

Backup

File Based

I use a file based backup to Dropbox. Since the official Dropbox client isn't supported unter ARM i use andreafabrizi/Dropbox-Uploader to save a backup

Security

Permit Root Login

Don't let the Root in!
Edit /etc/ssh/sshd_config an change PermitRootLogin to no. Then restart ssh by /etc/init.d/sshd restart

fail2ban

Shairport

pub/raspberry-pi.txt · Zuletzt geändert: 2013/12/06 19:12 (Externe Bearbeitung)