Skip to content

Instantly share code, notes, and snippets.

@avtaniket
Last active June 22, 2024 04:13
Show Gist options
  • Save avtaniket/990df8fcc46bb4a64d30fdc070eda3b7 to your computer and use it in GitHub Desktop.
Save avtaniket/990df8fcc46bb4a64d30fdc070eda3b7 to your computer and use it in GitHub Desktop.
Install Redis On Amazon Linux 2

Install Redis On Amazon Linux 2

  • Update the system packages:
sudo yum update -y
  • Install the Redis package using the Amazon Linux Extra Packages for Enterprise Linux (EPEL) repository
sudo amazon-linux-extras install epel
sudo amazon-linux-extras install redis6
  • Start the Redis service & Enable Redis to start automatically at boot time
sudo systemctl start redis
sudo systemctl enable redis
  • Verify the Redis installation by checking its version
redis-server --version
redis-cli --version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment