Skip to content

Instantly share code, notes, and snippets.

@Integralist
Last active May 30, 2023 02:58
Show Gist options
  • Save Integralist/72161a96641fa4a0033d to your computer and use it in GitHub Desktop.
Save Integralist/72161a96641fa4a0033d to your computer and use it in GitHub Desktop.
Install Redis CLI on AWS Instance
  • ssh 10.6.11.62,eu-west-1
  • sudo yum install gcc
  • sudo yum install wget
  • wget http://download.redis.io/redis-stable.tar.gz
  • tar xvzf redis-stable.tar.gz
  • cd redis-stable
  • make
  • src/redis-cli -h mycachecluster.eaogs8.0001.usw2.cache.amazonaws.com -p 6379

Now run redis commands:

  • Keys *: list all keys
  • set foo "bar": set a new key
  • get foo: get a specific key
@Alkavanyatur
Copy link

I got fatal error: jemalloc/jemalloc.h on AWS

Runned with: make MALLOC=libc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment