CentOS 8 安装最新版 redis
该仓库不仅包含 PHP,还包含了 Redis,但是默认没有启用,查看 redis:
[root@VM-4-10-centos ~]# sudo yum module list redis
Repository epel is listed more than once in the configuration
Last metadata expiration check: 0:25:21 ago on Sat Dec 3 14:38:57 2022.
CentOS Stream 8 - AppStream
Name Stream Profiles Summary
redis 5 [d] common [d] Redis persistent key-value database
redis 6 common [d] Redis persistent key-value database
Remi's Modular repository for Enterprise Linux 8 - x86_64
Name Stream Profiles Summary
redis remi-5.0 common [d] Redis persistent key-value database
redis remi-6.0 common [d] Redis persistent key-value database
redis remi-6.2 common [d] Redis persistent key-value database
redis remi-7.0 [e] common [d] [i] Redis persistent key-value database
Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled
启用并安装:
dnf module install redis:remi-7.0
module 名称格式 package:stream
, 如果需要安装 6.2 版本,就是:
dnf module install
redis:remi-6.2
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论