https://github.com/projectweekend/pi-setup
A script for setting up a new Raspberry Pi
https://github.com/projectweekend/pi-setup
Last synced: over 1 year ago
JSON representation
A script for setting up a new Raspberry Pi
- Host: GitHub
- URL: https://github.com/projectweekend/pi-setup
- Owner: projectweekend
- License: mit
- Created: 2014-06-08T19:59:07.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2015-05-30T12:49:58.000Z (about 11 years ago)
- Last Synced: 2025-02-01T19:29:54.072Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 395 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
-------------------------------------------------------------------------------
### Usage
-------------------------------------------------------------------------------
#### Step 1: Clone this repository
```
git clone https://github.com/projectweekend/Pi-Setup.git
```
#### Step 2: Run the script
From the project directory `/Pi-Setup`, run the following command:
```
./pi_setup.sh
```
#### Step 3: Reboot
```
sudo reboot
```
-------------------------------------------------------------------------------
### Features
-------------------------------------------------------------------------------
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`
#### Automatic Items
* apt-get update & upgrade
* install [avahi-daemon](http://en.wikipedia.org/wiki/Avahi_(software))
* install [python-dev](https://packages.debian.org/wheezy/python-dev)
* install [python-pip](https://packages.debian.org/wheezy/python-pip)
* install [virtualenv](http://virtualenv.readthedocs.org/en/latest/)
* install [rpi-update](https://github.com/Hexxeh/rpi-update)
#### Optional Items
* wifi setup (**parameter**: `wireless`)
* GPU memory split (**parameter**: `boot`)
* change hostname (**parameter**: `hostname`)
* change `pi` user password (**parameter**: `password`)
* enable [I2C](http://en.wikipedia.org/wiki/I²C) & [SPI](http://en.wikipedia.org/wiki/Serial_Peripheral_Interface_Bus) pins (**parameter**: `i2c`)
* enable GPIO for serial data (**parameter**: `serial`)
* install a [VNC server](http://www.tightvnc.com) (**parameter**: `vnc`)
#### Optional Software
The following optional installs are available using the `software` parameter:
```
./pi_setup.sh software
```
* [Bluez](http://www.bluez.org/) (This takes a while)
* [iPython Notebook](http://ipython.org/notebook.html)
* [Node.js](http://nodejs.org/)
* [Upstart](http://upstart.ubuntu.com/)