Created
March 2, 2023 23:20
-
-
Save cyrrill/367c91675e1bb8d65fb2f27012c5850a to your computer and use it in GitHub Desktop.
Redis Stack
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 | |
if [ -x "$(command -v redis-cli)" ]; then | |
exit 0 | |
fi | |
curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg | |
echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/redis.list | |
sudo apt-get update | |
sudo apt-get install redis-stack-server |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment