Because of recent work and study is required to redis, essays here to download and install an installation tutorial redis under Linux.
1. Download the compressed package redis
现在最新的redis版本是
5.0.7。直接使用wget 命令下载压缩包。
wget http://download.redis.io/releases/redis-5.0.7.tar.gz
如果提示 wget command not found 我们直接下载安装下wget就好。 yum -y isntall wget
2. Extract the downloaded archive
tar xzf redis-5.0.7.tar.gz
解压完成之后会生成一个redis-5.0.7的文件夹,进入到文件夹里面
![](https://img2018.cnblogs.com/i-beta/1876042/201912/1876042-20191202114101374-212035729.png)
cd-repeat 5.0.7
![](https://img2018.cnblogs.com/i-beta/1876042/201912/1876042-20191202114256302-1610735577.png)
3. Compile
make compile command