git clone https://github.com/projectweekend/Pi-Setup.git
From the project directory /Pi-Setup
, run the following command:
./pi_setup.sh
sudo reboot
This setup script will help you perform the following tasks. Launching the script with no parameters (./pi_setup
) will run through all of its steps prompting you to confirm each optional item before it begins. This is handy when setting up a brand new Raspberry Pi, however each optional item can be executed individually by passing the appropriate parameter to the script. Example: ./pi_setup vnc
- apt-get update & upgrade
- install avahi-daemon
- install python-dev
- install python-pip
- install virtualenv
- install rpi-update
- wifi setup (parameter:
wireless
) - GPU memory split (parameter:
boot
) - change hostname (parameter:
hostname
) - change
pi
user password (parameter:password
) - enable I2C & SPI pins (parameter:
i2c
) - enable GPIO for serial data (parameter:
serial
) - install a VNC server (parameter:
vnc
)
The following optional installs are available using the software
parameter:
./pi_setup.sh software
- Bluez (This takes a while)
- iPython Notebook
- Node.js
- Upstart