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 | |
set -e | |
# | |
# Collectd automatic compile and installation script | |
# for debian systems | |
# | |
# Stephen Wood | |
# www.heystephenwood.com | |
# |
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
Setting up the wireless on your raspbian pi is tricky over the commandline. Here's some example settings that should get you online with a typical wpa wireless G network. | |
```/etc/network/interfaces``` | |
``` | |
auto lo | |
iface lo inet loopback | |
iface eth0 inet dhcp |
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 | |
set -e | |
# Installs Hbase and OpenTSDB to /opt | |
# Will start OpenTSDB listening on 0.0.0.0:4242 | |
apt-get install -y vim git-core autoconf openjdk-7-jdk gnuplot-nox make | |
export JAVA_HOME=$(readlink -f /usr/bin/java | sed "s:bin/java::") |
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
############################################################# | |
################### OFFICIAL UBUNTU REPOS ################### | |
############################################################# | |
###### Ubuntu Main Repos | |
deb http://us.archive.ubuntu.com/ubuntu/ lucid main restricted universe multiverse | |
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid main restricted universe multiverse | |
###### Ubuntu Update Repos | |
deb http://us.archive.ubuntu.com/ubuntu/ lucid-security main restricted universe multiverse |
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
# Logrotate script for varnishnca | |
# /etc/logrotate.d/varnishncsa | |
# | |
/var/log/varnish/varnishncsa.log { | |
daily | |
rotate 7 | |
missingok | |
compress | |
delaycompress |
NewerOlder