create linode server instance
local:
<shell>$ssh root@(IP ADDRESS)
remote:
<shell>$sudo apt-get update
<shell>$sudo aptitude install build-essential
<shell>$mkdir downloads
<shell>$cd downloads
<shell>$wget http://redis.googlecode.com/files/redis-2.2.12.tar.gz
<shell>$tar xzvf redis-2.2.12.tar.gz
<shell>$cd redis-2.2.12/src
<shell>$make
<shell>$(Fuck testing)
<shell>$make install
<shell>$curl -O https://raw.github.com/csanz/configs/master/redis/redis-server
<shell>$curl -O https://raw.github.com/csanz/configs/master/redis/redis.conf
<shell>$sudo mv redis-server /etc/init.d/redis-server
<shell>$sudo chmod +x /etc/init.d/redis-server
<shell>$sudo mv redis.conf /etc/redis.conf
(Edit redis.conf if needed)
<shell>$sudo useradd redis
<shell>$sudo mkdir -p /var/lib/redis
<shell>$sudo mkdir -p /var/log/redis
<shell>$sudo chown redis.redis /var/lib/redis
<shell>$sudo chown redis.redis /var/log/redis
<shell>$sudo update-rc.d redis-server defaults
<shell>$sudo /etc/init.d/redis-server start
<shell>$exit
<shell>$login / heroku
<shell>$mv -rf redis-to-go >> /dev/null