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
回答済み 1ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ