Likewise, an ubuntu 12.04 machine, the included redis is sufficient for our needs.
sudo apt-get install redis-server
/etc/init.d/redis-server
For developer/test machines where redis install may not be easily available, here's how to build it yourself.
Download the latest stable redis. untar it
make; make install
For ubuntu upstart, here's an upstart script to use - this is the default install location of the setup:
description "redis server"
start on runlevel [23]
stop on shutdown
exec sudo -u redis /usr/local/bin/redis-server /etc/redis.conf
respawn
After that, you can just do an
initctl reload-configuration
start redis
Example /etc/redis.conf
Redis, like memcached is a key-value store. It provides us additional flexibility such as larger max values for serving/transferring large files as well as wildcard and set operations on keys. In reality it can act as a drop-in replacement for memcached. In the future the memcached requirement may be dropped in favor of exclusive redis use.