Skip to content

Instantly share code, notes, and snippets.

@arturo-c
Last active December 19, 2015 00:58
Show Gist options
  • Save arturo-c/5872088 to your computer and use it in GitHub Desktop.
Save arturo-c/5872088 to your computer and use it in GitHub Desktop.
Redis and Resque Server Setup for Ubuntu 12.04
sudo apt-get install make
sudo apt-get update
sudo apt-get install build-essential
wget http://download.redis.io/redis-stable.tar.gz
tar xvzf redis-stable.tar.gz
cd redis-stable
make
sudo make install
sudo apt-get install rubygems
sudo gem install resque -v 1.24.1
sudo gem install json
sudo mkdir /etc/redis
sudo wget -O /etc/redis/redis.conf https://gist.github.com/arturo-c/6640169/raw/64cbe20eadf6efd96dd6bd212781432da1412af6/redis.conf
sudo groupadd redis
sudo useradd -g redis redis
sudo wget -O /etc/init.d/redis-server https://gist.github.com/arturo-c/6639835/raw/c3fd633938092364b368d02a3a7a873e4632a115/redis-server-for-init.d-startup
sudo /etc/init.d/redis-server start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment