Last active
November 12, 2016 21:07
-
-
Save bgulla/49ed18b5c27f780733dfdb7b5731fc4e to your computer and use it in GitHub Desktop.
RaspberryPi Scripts needed to get a successful dev environment setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| apt-get update ; apt-get upgrade -y | |
| # Install Docker | |
| sudo apt-get install -y apt-transport-https | |
| wget -q https://packagecloud.io/gpg.key -O - | sudo apt-key add - | |
| echo 'deb https://packagecloud.io/Hypriot/Schatzkiste/debian/ wheezy main' | sudo tee /etc/apt/sources.list.d/hypriot.list | |
| sudo apt-get update | |
| sudo apt-get install -y docker-hypriot | |
| sudo systemctl enable docker | |
| #enable gpio | |
| echo "dtoverlay=w1-gpio" >> /boot/config.txt | |
| sudo modprobe w1-gpio | |
| sudo modprobe w1-therm | |
| cd /sys/bus/w1/devices | |
| ls | |
| cd 28-xxxx (change this to match what serial number pops up) | |
| cat w1_slave |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment