Linux
Requires Redis version 7.2 or later.
Prerequisites
Before installing the Redis service, ensure the following requirements are met.
Requirement | Description |
|---|---|
Operating System | Debian 12+, Ubuntu 22.04+, Ubuntu 24.04+, Rocky Linux 9+, or RHEL 9+ |
Privileges |
|
Hardware | 2 vCPU 32 GB RAM minimum. |
Disk space | At least 50 GB of available storage. |
Network access | Required port is open (default port: 6379). A minimum network bandwidth of 1 Gbps is required. A bandwidth of 5 Gbps or higher is strongly recommended for production deployments. |
Debian/Ubuntu
Add the repository to the APT index, update it, and install Redis:
Access Redis configuration file
/etc/redis/redis.conffor editing.Comment out the
bindsetting and setprotected-modeoption to no.
Restart Redis.
Run the command with Redis CLI.
Confirm that the response returned is PONG.
Rocky, RHEL
Create the file
/etc/yum.repos.d/redis.repowith the following contents.
Run the commands.
Access Redis configuration file
/etc/redis/redis.conffor editing.Comment out the
bindsetting and setprotected-modeoption to no.
Restart Redis.
Run the command with Redis CLI.
Confirm that the response returned is PONG.