Redis7.1 - Amazon Linux2

0

Hi, Could you please help how to install Redis7.1 - Amazon Linux2 - On-premise? I just can find (Redis6) is available: sudo amazon-linux-extras list | grep redis 56 redis6 available [ =stable ]

1 Antwort
0

Checking through Redis documentation it looks like OSS Redis has only 7.0 and 7.2 releases. If the packages are not available from a repository for latest versions, you can follow Redis documentation to directly install from source.

On a Amazon Linux 2 instance (kernel-5.10), I was able to install the latest Engine release 7.2.4 using below commands. All source files for Redis are available here.

# sudo yum update -y
# sudo yum install gcc make wget tcl -y
# wget https://download.redis.io/releases/redis-7.2.4.tar.gz
# tar -xzvf redis-7.2.4.tar.gz
# cd redis-7.2.4/
# make
# sudo make install

Post installation, you can start the redis-server in the background like this and connect to it using redis-cli,

# redis-server &
# redis-cli
127.0.0.1:6379> info
AWS
beantwortet vor 2 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen