Skip to content

Instantly share code, notes, and snippets.

@Viyaan
Created July 9, 2020 17:56
Show Gist options
  • Save Viyaan/2999d68833257bd9e4944acc19447856 to your computer and use it in GitHub Desktop.
Save Viyaan/2999d68833257bd9e4944acc19447856 to your computer and use it in GitHub Desktop.
sudo yum install -y gcc
wget http://download.redis.io/redis-stable.tar.gz && tar xvzf redis-stable.tar.gz
cd redis-stable
make
// In case of exception in above make command
cd deps
make hiredis jemalloc linenoise lua geohash-int
cd ..
make install
sudo cp src/redis-cli /usr/bin/
// Connect to Redis
src/redis-cli -c -h learning-redis.ivbbpj.ng.0001.use1.cache.amazonaws.com -p 6379
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment