Linux

Redis version 7.0 or higher is required.

Debian/Ubuntu

  1. Add the repository to the APT index, update it, and install Redis:
Bash
Copy
  1. Access Redis configuration file /etc/redis/redis.conf for editing.
  2. Comment out the bind setting and set protected-mode option to no.
Bash
Copy
  1. Restart Redis.
Bash
Copy
  1. Run the command with Redis CLI.
Bash
Copy
  1. Confirm that the response returned is PONG.
Copy

Rocky, RHEL 9

  1. Create the file /etc/yum.repos.d/redis.repo with the following contents.
Copy
  1. Run the commands.
Bash
Copy
  1. Access Redis configuration file /etc/redis/redis.conf for editing.
  2. Comment out the bind setting and set protected-mode option to no.
Bash
Copy
  1. Restart Redis.
Bash
Copy
  1. Run the command with Redis CLI.
Bash
Copy
  1. Confirm that the response returned is PONG.
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard