Skip to content

Instantly share code, notes, and snippets.

View rkive's full-sized avatar

Aaron Bento rkive

  • Portland, OR
View GitHub Profile
#!/bin/bash
pushd .
cd /tmp/
hostname_component=$(hostname -f | sed -E 's/^\w+-(\w+).*/\1/')
case $hostname_component in
staging)
@rkive
rkive / redis.markdown
Created July 23, 2012 00:38 — forked from bdotdub/redis.markdown
Running redis using upstart on Ubuntu

Running redis using upstart on Ubuntu

I've been trying to understand how to setup systems from the ground up on Ubuntu. I just installed redis onto the box and here's how I did it and some things to look out for.

To install: