-
Notifications
You must be signed in to change notification settings - Fork 0
/
rpi_hints.txt
39 lines (29 loc) · 925 Bytes
/
rpi_hints.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# set up your RPi with a different password
sudo apt-get update
sudo raspi-config
sudo rm /etc/ssh/ssh_host_*
sudo dpkg-reconfigure openssh-server
# install git
sudo apt-get install git-core
git clone https://github.com/safay/bartclock.git
cd bartclock/
sudo apt-get install emacs
# Nice tutorial on setting up Python dev environment on your RPi
# http://raspberry.io/wiki/how-to-get-python-on-your-raspberrypi/
# install python dev tools
sudo apt-get install python-dev
curl -O https://bootstrap.pypa.io/get-pip.py
sudo python get-pip.py
sudo pip install virtualenv
# create a new virtualenv
virtualenv ve
# DotStar tutorial
# https://learn.adafruit.com/adafruit-dotstar-leds
sudo apt-get install python-imaging
git clone https://github.com/adafruit/Adafruit_DotStar_Pi.git
#update RPi firmware
sudo rpi-update
sudo apt-get update
sudo apt-get upgrade
# to ensure user has access to GPIO pins
sudo adduser pi gpio