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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인