1.下载
2.移到并解压
3.进入redis安装路径
make
make install
4.进入redis/bin或者redis/src路径
./redis-server ../redis.conf
开启服务
./redis-cli
进入redis客户端
5.其他配置参考下面文章
常见问题:
【Redis第一次启动,SHUTDOWN时提示: (error) ERR Errors trying to SHUTDOWN. Check logs.】
【阿里云 CentOS7安装redis4.0.9并开启远程访问】 (比较全面)