Project

General

Profile

Raspberry Pi IoT Setup » History » Version 1

Spencer Sutterlin, 06/10/2014 01:40 AM

1 1 Spencer Sutterlin
Raspberry Pi IoT Setup
2
======================
3
```
4
nano /etc/network/interfaces # Tweak networking as desired
5
sudo reboot
6
sudo apt-get update
7
sudo apt-get install git vim
8
sudo apt-get install build-essential
9
sudo apt-get install openssl expat libpcap-dev
10
sudo apt-get install libssl-dev libsqlite3-dev libcrypto++-dev libboost-all-dev
11
mkdir ~/ndn
12
cd ~/ndn
13
git clone https://github.com/named-data/PyNDN2.git
14
git clone https://github.com/remap/ndn-pi.git
15
echo "export PYTHONPATH=$PYTHONPATH:$HOME/ndn/PyNDN2/python:$HOME/ndn/ndn-pi" >> ~/.bashrc
16
sudo vim /etc/modules # Add “ipv6”
17
# Copy/install ndn-cxx/NFD from VM to PI
18
sudo visudo
19
Add “Defaults	env_keep += “PYTHONPATH”
20
wget https://bootstrap.pypa.io/get-pip.py
21
sudo python get-pip.py
22
rm get-pip.py
23
sudo pip install pycrypto
24
sudo pip install trollius
25
```