Last active
August 29, 2015 14:18
-
-
Save etobi/6e0a5ca0619fcbdb04b3 to your computer and use it in GitHub Desktop.
install basic raspbian
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget http://downloads.raspberrypi.org/raspbian_latest -O raspbian.zip | |
unzip raspbian.zip | |
diskutil list | |
sudo dd bs=4m if=2015-02-16-raspbian-wheezy.img of=/dev/rdiskXXXX | |
# boot pi | |
nmap -v -sP 192.168.50.1-255 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo raspi-config | |
# expand filesystem | |
# change user password | |
# set default locale | |
# set timezone | |
# Advanced > hostname | |
# reboot | |
mkdir .ssh | |
wget http://etobi.de/publickey.txt -O - > .ssh/authorized_keys | |
vi /etc/network/interface | |
# iface eth0 inet static | |
# address 192.168.50.82 | |
# netmask 255.255.255.0 | |
# gateway 192.168.50.1 | |
sudo apt-get update | |
sudo apt-get upgrade | |
# externe platte einbinden | |
sudo su | |
blkid | |
cfdisk | |
mkfs.ext4 /dev/sba1 | |
echo "UUID=7a938dc5-f53d-4451-8756-36547490128e /data ext4 rw 0 0" >> /etc/fstab | |
mkdir /data/home | |
chmod 777 /data/home | |
mv /home/pi /data/home/pi | |
chown -R pi:pi /data/home/pi | |
ln -s /data/home/pi /home/pi | |
reboot | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment