-
1Step 1
Install Raspian Jessie lite - 2015-11-21
-
2Step 2
#Change hostname PlantMonitoring-01
sudo nano /etc/hosts sudo nano /etc/hostname sudo /etc/init.d/hostname.sh
-
3Step 3
#expand file system
#enable ic2 (isn't used yet)
#Update tool
sudo raspi-config
-
4Step 4
#Add 1 wire support for ds18b20 temperature sensor from https://learn.adafruit.com/downloads/pdf/adafruits-raspberry-pi-lesson-11-ds18b20-temperature-sensing.pdf
sudo nano /boot/config.txt #add to bottom of file dtoverlay=w1-gpio # instructions found from https://github.com/chamerling/ds18b20 sudo modprobe wire sudo modprobe w1-gpio sudo modprobe w1-therm
-
5Step 5
Setup Wireless
#wireless sudo nano /etc/network/interfaces # interfaces(5) file used by ifup(8) and ifdown(8) # Please note that this file is written to be used with dhcpcd # For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf' # Include files from /etc/network/interfaces.d: auto wlan0 source-directory /etc/network/interfaces.d auto lo iface lo inet loopback iface eth0 inet manual allow-hotplug wlan0 iface wlan0 inet dhcp wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf iface default inet dhcp sudo nano /etc/wpa_supplicant/wpa_supplicant.conf ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 network={ ssid="XXXXXXXX" psk="xxxxxxxxx" proto=RSN key_mgmt=WPA-PSK pairwise=CCMP auth_alg=OPEN }
-
6Step 6
Get Meteor on Raspberry Pi, Follow steps on http://meteor-universal.tumblr.com/
-
7Step 7
#install dependencies for the pi to build Meteor http://meteor-universal.tumblr.com/post/132266856859/1st-time-installation-meteor-12x-universal-raspbian
sudo su - apt-get update && sudo apt-get upgrade -y dpkg -p git-core >/dev/null 2>&1 || apt-get install git-core apt-get install -y rpi-update git curl ca-certificates build-essential debian-keyring autoconf automake libtool flex bison scons i2c-tools locales screen rpi-update apt-get dist-upgrade apt-get autoremove --purge apt-get clean sudo reboot
-
8Step 8
#fix certificate issue https://github.com/4commerce-technologies-AG/meteor/issues/37
sudo curl --cacert /etc/ssl/certs/ca-certificates.crt https://dl.bintray.com cd /tmp curl -L -O "https://archive.raspbian.org/raspbian/pool/main/c/ca-certificates/ca-certificates_20130119+deb7u1_all.deb" sudo dpkg -P --force-all ca-certificates sudo dpkg -i /tmp/ca-certificates_20130119+deb7u1_all.deb
-
9Step 9
#Fix locals for Mongo https://github.com/meteor/meteor/issues/4019
sudo locale-gen en_US.UTF-8 sudo localedef -i en_US -f UTF-8 en_US.UTF-8
-
10Step 10
#git and setup the pi fork of meteor
cd $HOME git clone --depth 1 https://github.com/4commerce-technologies-AG/meteor.git $HOME/meteor/meteor --version
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.