1.下载安装包
Redis官方: Download | Redis
2.压缩包解压
[root@localhost bin]# mv redis-7.0.4.tar.gz /opt #把压缩包移动到opt
[root@localhost bin]# cd /opt #进入opt
[root@localhost opt]# ls
containerd redis-7.0.4.tar.gz rh
[root@localhost opt]# tar -zxvf redis-7.0.4.tar.gz #解压
[root@localhost opt]# ls
containerd redis-7.0.4 redis-7.0.4.tar.gz rh #解压成功
[root@localhost opt]# cd redis-7.0.4/ #进入解压文件
[root@localhost redis-7.0.4]# ls #查看文件
00-RELEASENOTES deps redis.conf SECURITY.md utils
BUGS INSTALL runtest sentinel.conf
CODE_OF_CONDUCT.md Makefile runtest-cluster src
CONTRIBUTI