目录
使用yum安装redis
[root@localhost ~]# yum install redis -y
启动redis服务
[root@localhost ~]# systemctl start redis
测试连接
显示PONG则表示成功
图形化界面
修改redis配置文件,添加bind 0.0.0.0允许所有人登录
[root@localhost ~]# vim /etc/redis/redis.conf
重启redis服务
[root@localhost ~]# systemctl restart redis
启动RESP测试连接
连接成功界面