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 個回答
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
已回答 2 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南