** 安装
step1:下载
step2:解压
sudo tar xf redis-4.0.2.tar.gz
step3:复制, 放到usr/local⽬录下
sudo mkdir /usr/local/redis/ sudo mv redis-4.0.2/* /usr/local/redis/
step4:进⼊redis⽬录
cd /usr/local/redis/
step5:⽣成
sudo make
step6:测试
sudo make test
step7:安装
sudo make install
step8:配置⽂件, 移动到/etc/⽬录下
sudo mkdir /etc/redis/ sudo cp /usr/local/redis/redis.conf /etc/redis/