Skip to content

Commit

Permalink
Update installed redis for Vagrant to latest 2.8.x.
Browse files Browse the repository at this point in the history
  • Loading branch information
b4hand committed Dec 22, 2017
1 parent 0b53f6c commit 0da1180
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions provision.sh
Expand Up @@ -23,15 +23,16 @@ sudo apt-get install -y libhiredis-dev libevent-dev python-pip python-dev

# Download and install the thing
cd /tmp
wget http://download.redis.io/releases/redis-2.8.19.tar.gz
tar xf redis-2.8.19.tar.gz
export REDIS_VERSION=2.8.24
wget http://download.redis.io/releases/redis-$REDIS_VERSION.tar.gz
tar xf redis-$REDIS_VERSION.tar.gz
(
cd redis-2.8.19
cd redis-$REDIS_VERSION
make
sudo make install
sudo service redis start
)
sudo rm -r redis-2.8.19{,.tar.gz}
sudo rm -r redis-$REDIS_VERSION{,.tar.gz}
)

# Install python dependencies
Expand Down

0 comments on commit 0da1180

Please sign in to comment.