Skip to content

Instantly share code, notes, and snippets.

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 Skyblueballykid/5b288c8a619e03bbe5783cf9e6672321 to your computer and use it in GitHub Desktop.
Save Skyblueballykid/5b288c8a619e03bbe5783cf9e6672321 to your computer and use it in GitHub Desktop.
install redis-cli on AWS AMI2 without redis server
#!/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