下载redis yum install redis 下载fedora的epel仓库 yum install epel-release redis服务加入开机启动 systemctl enable redis 禁止开机启动 systemctl disable redis 启动 systemctl start redis.service 查看状态 systemctl status redis 停止 systemctl stop redis.service