Install new OS on raspberry pi

Download OS

go to http://www.raspberrypi.org/downloads and download your new OS.

OS to SD-card

unzip the file and insert the SD-card
login with your admin-account and find the mount-point of the sd-card with
diskutil list

in my case it’s /dev/disk1 so unmount the disk (be carful, because you will overwrite all data on that disk ! ! !)
diskutil unmountDisk /dev/disk1

now use dd with to copy the file-image to the SD-card: if is in-file and of is out-file, bs is block-size and here we go
sudo dd bs=1m if=RaspyFi1.0.img of=/dev/disk1

depending on the image, it takes some time…

— for raspbmc use the install.py script from their webpage

Boot from your new SD-card and make basic configs

log into your new system via ssh.
now fire up the config-system
sudo raspi-config

  • change your password
  • set correct time-zone
  • resize sd
reboot
sudo apt-get update
sudo apt-get upgrade

add to iptables
sudo iptables -I INPUT -p tcp –dport 22 -i eth0 -m state –state NEW -m recent –set
sudo iptables -I INPUT -p tcp –dport 22 -i eth0 -m state –state NEW -m recent –update –seconds 60 –hitcount 4 -j DROP

Advertisements

Kommentar verfassen

Trage deine Daten unten ein oder klicke ein Icon um dich einzuloggen:

WordPress.com-Logo

Du kommentierst mit Deinem WordPress.com-Konto. Abmelden / Ändern )

Twitter-Bild

Du kommentierst mit Deinem Twitter-Konto. Abmelden / Ändern )

Facebook-Foto

Du kommentierst mit Deinem Facebook-Konto. Abmelden / Ändern )

Google+ Foto

Du kommentierst mit Deinem Google+-Konto. Abmelden / Ändern )

Verbinde mit %s