-
安装最新的稳定版Redis7.0
# yum remove redis # yum install epel-release yum-utils # yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm # yum-config-manager --enable remi # yum install redis
-
下载并编译RedisBloom模块
# git clone https://github.com/RedisBloom/RedisBloom.git # cd RedisBloom # git checkout 2.2 # make
-
将RedisBloom模块文件拷贝到Redis相关目录夏
# cp /path/to/RedisBloom/redisbloom.so /etc/redis/
-
修改redis配置文件加载该模块
loadmodule /etc/redis/redisbloom.so
-
重启redis
# systemctl restart redis
暂无评论