Grab a fresh copy of Raspbian Jessie Image and write it to SD Card (A non graphical UI installation is fine)
Step 1: Basic Setup/Tweaks
- sudo raspi-config
- Option 8: Update the config tool
- Option 2: Hostname: set as required
- Option 1: Change User Password
- Option 4/I2: Change Timezone: set to appropriate timezone
- Option 7/A1: expand Filesystem
- Option 7/A3: Memory Split: Set to 16M since we don’t need a graphical environment
- reboot on exit or ent “sudo reboot” at the cli
Step 2: Base Updates
- sudo apt-get update
- sudo apt-get upgrade
- sudo reboot
Step 3: Update Pi firmware
- sudo apt-get install rpi-update
- sudo rpi-update