目录
下载安装包
从redis官网下载安装包, https://redis.io/download 选择稳定版本, 截止2018.10, 稳定版本为5.0
编译安装
解压 tar zxvf redis-5.1.3
移动 redis-5.1.3 /usr/local/
进入目录/usr/local/redis-5.1.3
编译测试 sudo make test 测试有报 如下错误,不影响安装
[exception]: Executing test client: couldn't execute "src/redis-benchmark": no such file or directory.couldn't execute "src/redis-benchmark": no such file or directory