Last active
December 31, 2017 05:53
-
-
Save bjethwan/e0229c04bad2f94c4cf98ae843c83c38 to your computer and use it in GitHub Desktop.
shell script to install redis on aws ec2 (amazon linux)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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