Raspberry Pi
# Raspberry Pi Model Information
cat /proc/device-tree/model
# Finding the Pi Revision Number by reading the "cpuinfo":
cat /proc/cpuinfo
# New raspberrypi versions:
pinoutSource https://www.raspberrypi-spy.co.uk/2012/09/checking-your-raspberry-pi-board-version/
Installing Golang
# As of Go 1.6 (February 2016), an official ARMv6 package is available for download. So, if your Raspberry Pi has ARMv6 or v7 (see cat /proc/cpuinfo | grep ARM), then just do something like:
wget https://storage.googleapis.com/golang/go1.6.2.linux-armv6l.tar.gz
sudo tar -xzf go1.6.2.linux-armv6l.tar.gz -C /usr/local
sudo chgrp -R staff /usr/local/go
export GOROOT=/usr/local/go
export PATH="$PATH:$GOROOT/bin"Run raspberry pi in virtual machine
Source https://raspberrytips.com/run-raspberry-in-virtual-machine/
Running services on Raspberry pi
Source and example of IFTT integration https://domoticproject.com/creating-raspberry-pi-service/
Systemd: Run it last
Last updated
Was this helpful?