安装参考文档
https://redis.io/download

make 可能会报如下错误
/bin/sh: cc: command not found

yum 命令安装 gcc
如报如下错误:
yum提示Another app is currently holding the yum lock; waiting for it to exit…
可参考:https://blog.csdn.net/testcs_dn/article/details/48711805

运行如下命令
[[email protected] redis-5.0.3]# rm -f /var/run/yum.pid

[[email protected] redis-5.0.3]# yum -y install make gcc*

安装成功 gcc 后可直接使用 make 编译了*
Linux 安装Redis 5.0

默认启动方式为非守护进行进行,需修改 redis.conf 为后台进行启动
[[email protected] src]# vi …/redis.conf
将 no 修改为yes
Linux 安装Redis 5.0

Linux 安装Redis 5.0
经过以上步骤安装即可搞定,如有问题可联系qq:787141854
Linux 安装Redis 5.0

相关文章:

  • 2021-11-24
  • 2022-02-26
  • 2022-12-23
  • 2022-12-23
  • 2022-01-17
  • 2021-11-05
  • 2021-10-31
  • 2021-05-05
猜你喜欢
  • 2022-12-23
  • 2021-10-08
  • 2022-01-04
  • 2022-12-23
  • 2022-12-23
  • 2021-05-18
相关资源
相似解决方案