Skip to content

Instantly share code, notes, and snippets.

@bjethwan
Last active December 31, 2017 05:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bjethwan/e0229c04bad2f94c4cf98ae843c83c38 to your computer and use it in GitHub Desktop.
Save bjethwan/e0229c04bad2f94c4cf98ae843c83c38 to your computer and use it in GitHub Desktop.
shell script to install redis on aws ec2 (amazon linux)
#!/bin/bash
sudo yum update -y
sudo yum install make -y
sudo yum install gcc -y
wget http://download.redis.io/releases/redis-4.0.6.tar.gz
tar xzf redis-4.0.6.tar.gz
cd redis-4.0.6
cd deps
make hiredis jemalloc linenoise lua geohash-int
cd ..
make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment