Skip to content

Instantly share code, notes, and snippets.

@42Factory
42Factory / thingspeak-install2.sh
Last active May 16, 2020 16:50 — forked from silvio-didonna/thingspeak-install2.sh
Bash script to install Thingspeak server on Raspberry Pi running Raspbian.
#!/bin/bash
# Install Thingspeak server on Raspberry Pi running Raspbian.
# Based on work of Andrew Bythell <[email protected]> and Silvio <tnw513>
# Install required packages
sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get -y install build-essential mysql-server mysql-client libmysqlclient-dev
sudo apt-get -y install libxml2-dev libxslt-dev git-core curl rubygems
sudo apt-get -y install ruby2.1 ruby2.1-dev