安装redis
yum install redis
下载fedora的epel仓库
yum install epel-release
启动redis服务
systemctl start redis
查看redis状态
systemctl status redis
常用redis命令
systemctl stop redis #停止服务
systemctl restart redis #重启服务
systemctl enable redis #设置开机自启动
设置redis 远程连接和密码
vi /etc/redis.conf
具体参考设置redis
安装redis扩展
yum install php73-php-redis