Raspberry Pi IoT Setup » History » Revision 2
Revision 1 (Spencer Sutterlin, 06/10/2014 01:40 AM) → Revision 2/7 (Spencer Sutterlin, 06/10/2014 01:42 AM)
Raspberry Pi IoT Setup ====================== ``` nano /etc/network/interfaces # Tweak networking as desired sudo reboot sudo apt-get update sudo apt-get install git vim sudo apt-get install build-essential sudo apt-get install openssl expat libpcap-dev sudo apt-get install libssl-dev libsqlite3-dev libcrypto++-dev libboost-all-dev mkdir ~/ndn cd ~/ndn git clone https://github.com/named-data/PyNDN2.git git clone https://github.com/remap/ndn-pi.git echo "export PYTHONPATH=$PYTHONPATH:$HOME/ndn/PyNDN2/python:$HOME/ndn/ndn-pi" >> ~/.bashrc sudo vim /etc/modules # Add “ipv6” # Copy/install ndn-cxx/NFD from VM to PI sudo visudo # Add “Defaults env_keep += “PYTHONPATH” (Don't clear PYTHONPATH for root since GPIO sensors must be run as root) wget https://bootstrap.pypa.io/get-pip.py sudo python get-pip.py rm get-pip.py sudo pip install pycrypto sudo pip install trollius ```