#!/bin/bash -e

VERSION=3.0.0

echo "================= Installing Redis 3.0 ==================="
sudo wget http://download.redis.io/releases/redis-$VERSION.tar.gz
sudo tar xzf redis-$VERSION.tar.gz && sudo rm -f redis-$VERSION.tar.gz
cd redis-$VERSION
make
sudo ln -s $(pwd)/src/redis-server /usr/local/bin/redis-server
sudo ln -s $(pwd)/src/redis-cli /usr/local/bin/redis-cli

#!/bin/bash -e

# Installs redis-server 3 from chris-lea's PPA
sudo add-apt-repository ppa:chris-lea/redis-server
sudo apt-get update
sudo apt-get install redis-server

Use PPA to install redis
Use PPA to install redis
