1.安装 (1)获取源代码 wget http://download.redis.io/releases/redis-4.0.8.tar.gz (2)解压 tar xzvf redis-4.0.8.tar.gz (3)安装 解压后生成redis-4.0.8文件夹 cd redis-4.0.8 make(因获取的是源代码,需要在本机编译) cd src make install PREFIX=/usr/local/games/redis(将redis安装到/usr/local/games/redi…