This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Automatic install of Thingspeak server on Ubuntu 12.04 / Raspbmc / Debian (?) | |
# Updated to use ruby 2.1.4 | |
## Install required packages | |
sudo apt-get update | |
sudo apt-get -y install build-essential git mysql-server mysql-client libmysqlclient-dev libxml2-dev libxslt-dev libssl-dev libsqlite3-dev | |
## Install ruby | |
wget http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.4.tar.gz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Configure Java for RXTX on embedded platforms like Raspberry Pi (Raspbian) and Beaglebone (Debian) | |
# | |
if [ -e "/dev/ttyAMA0" ] || [ -e "/dev/ttyO0" ] | |
then | |
for port in `find /dev -name 'tty*'` | |
do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Install Thingspeak server on Ubuntu 12.04 LTS with rvm. | |
# Andrew Bythell <[email protected]> | |
# Install required packages | |
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 | |
## Install rvm |
OlderNewer