-
-
Save Skyblueballykid/5b288c8a619e03bbe5783cf9e6672321 to your computer and use it in GitHub Desktop.
install redis-cli on AWS AMI2 without redis server
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 install gcc -y | |
wget http://download.redis.io/redis-stable.tar.gz | |
tar xvzf redis-stable.tar.gz | |
cd redis-stable | |
make MALLOC=libc | |
### To compile against jemalloc, use this | |
# make MALLOC=jemalloc | |
sudo cp src/redis-cli /usr/local/bin/ | |
sudo chmod 755 /usr/local/bin/redis-cli |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment