1.官网下载安装包
2.解压
tar -zxvf xxxx.tar.gz
3.编译安装
进入解压后的目录后
make
出现以下内容表示make成功
Hint: It's a good idea to run 'make test' ;) make[1]: Leaving directory `/root/redis-5.0.0/src'
开始安装
/root/redis-5.0./src
make install PREFIX=/usr/local/redis
出现以下内容表示安装成功
Hint: It's a good idea to run 'make test'