输入以下命令:
dnf list redis
输出:
redis.x86_64 3.2.10-2.el7
dnf install redis
输入:
redis-server
如果能成功启动redis安装成功。