User talk:Martin
From SingletonMillerWiki
vanilla pi
Here's my personal list of instructions for setting up a new RaspberryPi on my network.
- burn vanilla image to disk
dd bs=4M if=~/Downloads/2013-05-25-wheezy-raspbian.img of=/dev/sdc
- mount the boot partition, edit config.txt, enable HDMItoVGA cable HDMItoVGASetup
- plug into Pi, added monitor and keyboard to pi
- do first boot setup, expand flash, enable camera, <advanced> enable SSH change host name
- reboot
- ssh into the Pi
- disable screen blanking / timeout Disable_Screen_Blanking
- edit /etc/hosts to manually added other network addresses
- install LDAP client and setup LDAP_Client_Setup
- test LDAP authentication
- add LDAP user to sudo
- install autofs Accessing_Network_Shares
- automount LDAP shares Accessing_Network_Shares#Autofs_for_LDAP
- give at least one LDAP user sudo privs AddingUsers:RPi#Raspian
- remove 'pi' user AddingUsers:RPi#Consider_removing_Pi_altogether
- install autoback script Auto_Update_Backup
- test camera Camera_Module_Setup
- install codec keys (can have more than on keys so file)
build from a backup
Instructions to rebuild a pi or clone from a previous backup
- mount the backup location
-
cd ~
- unzip backup image
unzip /media/nfsshares/Public/RPi_autobuild_backup/<backup>.tar.gz
- burn the image
dd bs=4M if=~/Downloads/2013-05-25-wheezy-raspbian.img of=/dev/sdc
- burn vanilla image to disk
dd bs=4M if=<backup>.img of=/dev/<sdX>
- boot the SD in the new Pi
- ssh to the new pi as an LDAP user with sudo privs
- user
raspi-config
to use whole SD card and (advanced) change hostname - disabling the autobackup script in /etc/cron.daily.