安装 RedisGears for Redis 数据集成

安装和设置 RedisGears 以进行 Write-behind 部署

Write-behind 要求在 Redis Enterprise 集群上安装带有 Python 插件RedisGears 模块。

Python 插件可以显式安装,也可以与 JVM 插件一起安装(如果集群上需要后者用于其他目的)。

使用redis-di create命令来安装 RedisGears。

下载 RedisGears

根据 Redis Enterprise 安装位置的 Linux 发行版下载 RedisGears。

Ubuntu 20.04 版本

curl -s --tlsv1.3 https://redismodules.s3.amazonaws.com/redisgears/redisgears.Linux-ubuntu20.04-x86_64.1.2.6-withdeps.zip -o /tmp/redis-gears.zip

Ubuntu 18.04

curl -s --tlsv1.3 https://redismodules.s3.amazonaws.com/redisgears/redisgears.Linux-ubuntu18.04-x86_64.1.2.6-withdeps.zip -o /tmp/redis-gears.zip

RHEL8

curl -s https://redismodules.s3.amazonaws.com/redisgears/redisgears.Linux-rhel8-x86_64.1.2.6-withdeps.zip -o /tmp/redis-gears.zip

RHEL7

curl -s https://redismodules.s3.amazonaws.com/redisgears/redisgears.Linux-rhel7-x86_64.1.2.6-withdeps.zip -o /tmp/redis-gears.zip